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

Preview:

Citation preview

1

Loosely coupled OPC client used to animate GIS

Mariusz PostółMaciej Zbrzezny

www.cas.eu

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

3

GIS – Functions: Inventory & localization

• Topology map

• Inventory

• Modeling

• Hydraulic calculation

• Supply area visualization

• More....

NOT

REAL-TIME SYSTEM

4

AP

PL

ICA

TIO

NA

PP

LIC

AT

ION

Application – general model

Data Data

Business Business

PresentationPresentation

5

Application: integrated architecture

•Data services

•Business services

•Presentation services

3 la

yers

6

Application: distributed architecture

Data services

Business services

Presentation services

3 la

yers

7

Application: communication standards

Data services

Business services

Presentation services

3 la

yers

SQL OPC HTTP/XML

SQL OPC HTTP/XML

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

9

DataIMPORT

IMPORT

Dat

aPor

ter

HT

TP

/XM

L

GIS: Process integration

Business

Presentation

GIS

SERIALOPC/S

CACHE

DATA

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

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

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

13

HTTP / SOAP / WSDL

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

http://Server:9000/OPCRealtimeDataAccess?wsdl

– UML Description

•Available services:–OPCRealtimeDataAccess–OPCBufferedDataAccess

14

OPCRealtimeDataAccess

Service for accessing current data.

• Values

• Items list

• List of available properties and value of properties

15

OPCBufferedDataAccess

• Protection from missing any information

• FIFO queue algorithm

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

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

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

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

19

MASTER

RS485 ETHERNET

WS

WS

PASSIVE OPC SERVER

PASSIVE

MONITOR

CACHE

INTERFACE

OPC

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

21

GIS – Functions: Inventory & localization

P=1.1Mpa

T=96 C

C=0.25 Mpa

22

Thank you for your time