22
1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny www.cas.eu

1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

Embed Size (px)

Citation preview

Page 1: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

1

Loosely coupled OPC client used to animate GIS

Mariusz PostółMaciej Zbrzezny

www.cas.eu

Page 2: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

2

CONTROL PROCESS

• Łódź citizens #: 1M

• Heating plants: 3

• Total thermal output: 2560MW

• Heat distribution network: ~800km

~500miles

• Number of nodes: ~7 000

• Production in cogeneration:– Hot water– Electric power– Steam

Page 3: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

3

GIS – Functions: Inventory & localization

• Topology map

• Inventory

• Modeling

• Hydraulic calculation

• Supply area visualization

• More....

NOT

REAL-TIME SYSTEM

Page 4: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

4

AP

PL

ICA

TIO

NA

PP

LIC

AT

ION

Application – general model

Data Data

Business Business

PresentationPresentation

Page 5: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

5

Application: integrated architecture

•Data services

•Business services

•Presentation services

3 la

yers

Page 6: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

6

Application: distributed architecture

Data services

Business services

Presentation services

3 la

yers

Page 7: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

7

Application: communication standards

Data services

Business services

Presentation services

3 la

yers

SQL OPC HTTP/XML

SQL OPC HTTP/XML

Page 8: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

8

PROCESS

INTRFC

OPC

INTRFC

GIS: Process integration

Data(OPC/C)

Business

Presentation

GISCACHE

OP

C S

ER

VE

R GIS

BLACK BOX

MultisourceConnect/Disconnect/reconnectItems databaseGroup managementSubscriptionRead (synch/asynch/deadband)Write ???SecurityShutdown

To do it we need: To know OPC specification

To write a lot of lines of code (XX 000)

To develop for the same platform

To know internal architecture & interfaces specifications

Page 9: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

9

DataIMPORT

IMPORT

Dat

aPor

ter

HT

TP

/XM

L

GIS: Process integration

Business

Presentation

GIS

SERIALOPC/S

CACHE

DATA

Page 10: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

10

Dat

aPo

rter

SQ

L

P1 = aa+a+...

PUSH(Q1, d+c)

DataPorter –OPC client

SQL CONNECTIVITY

XML CONNECTIVITY

OPC CONNECTIVITY

a = aa + 10 bb

Average(a, b, c, d)

HORIZONTAL

VE

RT

ICA

L

XM

L

- P1- P2- P3- P4

TAGS

- Q1- Q2- Q3- Q4

QUEUES

OP

CS

- aa- bb- cc- dd

TAGS

OP

CS

- a- b- c- d

TAGS

Page 11: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

11

Dat

aPo

rter

CONFIGURATIONCONFIGURATION

GIS

SMALLWORD

OPC

COMMSERVER

SQL

ORACLE

ST

AT

IST

IC P

RO

CE

SS

OR

TR

AN

SP

OR

T E

NG

INE

SQ

LO

PC

XM

L

DataPorter - OPC client

Page 12: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

12

DataPorter FEATURES

• Multi-sources;

• Easy configurable;

• Advanced transport algorithm: deadbands and minimal update rates;

• Transactions;

• Buffered queues;

Dat

aPo

rter HTTP/SOAP/WSDL

THERE IS NO NEED

THERE IS NO NEED

TO MAKE THE GIS CLIENT

TO MAKE THE GIS CLIENT

SO COMPLICATED

SO COMPLICATED

Page 13: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

13

HTTP / SOAP / WSDL

• Easy to access well defined interface:– WSDL description:

http://Server:9000/OPCRealtimeDataAccess?wsdl

– UML Description

•Available services:–OPCRealtimeDataAccess–OPCBufferedDataAccess

Page 14: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

14

OPCRealtimeDataAccess

Service for accessing current data.

• Values

• Items list

• List of available properties and value of properties

Page 15: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

15

OPCBufferedDataAccess

• Protection from missing any information

• FIFO queue algorithm

• Transaction algorithm – connect to queue;– start transaction;– get elements; – end transaction – remove queue contents

Page 16: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

16

SOC

SOC

SB

s

Corporate network

SE

RV

R

View

GIS

View

SCs

Corporate field network

SOCSOC K

Ds

SPM

EC EC EC

TCH

TCH

SYSTEM INTEGRATION

Page 17: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

17

NAT

KxxxKxxx

KxxxKxxx

VLANSYM

SOC

SOC

SOCSOC

TCH

TCH

Corporate field network

EC EC EC

KOM

KOM

SQL

SYSTEMS INTEGRATION

View

SE

RV

ER

Corporate network

GIS

View

SB

k

WALL SCREEN

SQL OPC

Page 18: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

18

NAT

KxxxKxxx

KxxxKxxx

SCk

VLANSYM

SOC

SOC

SB

s

SCs

SOCSOC K

Ds

SPM

TCH

TCH

Corporate field network

EC EC EC

KOM

KOM

ORACLE

View

SE

RW

ER

Corporate network

GIS

View

SB

k

SYSTEMS INTEGRATION - GIS

WIZ

OP

CS

OP

CS

OP

CSS

OC

GISUNTOUCHABLE

UNTOUCHABLE

Page 19: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

19

MASTER

RS485 ETHERNET

WS

WS

PASSIVE OPC SERVER

PASSIVE

MONITOR

CACHE

INTERFACE

OPC

Page 20: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

20

Main Components

OP

CB

SO

PC

Sr Dat

aPo

rter

GIS

Clie

nt

GIS

Ser

ver

•OPC

•OPC

GISHTTP /

SOAP

OP

CS

rO

PC

Sr

Page 21: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

21

GIS – Functions: Inventory & localization

P=1.1Mpa

T=96 C

C=0.25 Mpa

Page 22: 1 Loosely coupled OPC client used to animate GIS Mariusz Postół Maciej Zbrzezny

22

Thank you for your time