© 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric...

49
© 2005 Your name here © 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVos Steve Widergren

Transcript of © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric...

Page 1: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here© 2005 Widergren, deVos

Ontology and the Age of Integration in the Electric

Power Industry

Arnold deVos Steve Widergren

Page 2: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here© 2005 Widergren, deVos

Download the final version of this presentation at:

http://www.langdale.com.au/SemTech06/

Page 3: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

3

© 2005 Your name here.© 2005 Widergren, deVos

Our Topic

The domain– electric power systems

The problem– interoperation between large, heterogeneous

systems of systems

Some history– An ontology wanna-be: the power industry CIM

Issues– Too big: design center competition, versioning

A semantic technology path forward– Federation: distributed authoring/aggregation of

ideas in an industrial setting

A practitioner’s perspective

Page 4: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

4

© 2005 Your name here.© 2005 Widergren, deVos

Part I

Power Networks, Control Systems, Market Systems, and

New Players at the Fringe

Page 5: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

5

© 2005 Your name here.© 2005 Widergren, deVos

Subcontinents of Electric Power

Page 6: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

6

© 2005 Your name here.© 2005 Widergren, deVos

A Lot of Stuff

Lots of lines

Lots of generators

Lots of other equipment

Power networks are graph-like

Page 7: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

7

© 2005 Your name here.© 2005 Widergren, deVos

All the Way Down to Your House

Page 8: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

8

© 2005 Your name here.© 2005 Widergren, deVos

Many Managing Organizations

Such as– Reliability centers– Operating

companies– Transmission

companies– Distribution

companies– Regulatory

authorities– Regional planning

agencies

Each with their own reasons for being

Figure from California Energy Commission Website

Page 9: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

9

© 2005 Your name here.© 2005 Widergren, deVos

Operations Software

The Power Network is operated from control centers using large-scale software systems.

DataAcquisition

TelemetryNetwork

StateEstimator

CurrentState

NetworkSimulator

NetworkModel

ContingentThreatsAlarms

Supervisory Control

Operator Decisions

Page 10: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

10

© 2005 Your name here.© 2005 Widergren, deVos

Market Software

Power Generation is bid and dispatched using large-scale software systems.

Forecast

CurrentState

Optimiser

NetworkModel

DispatchBids

MarketRules

Page 11: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Org E

Bigger Picture: Evolving Islands

Org B

Division A

Org A

Org D

Org C

Division C

Division A

Division B

Division D

Process X

Process Y

Integration Interfaces:C = Collaboration-basedE = Enterprise-based

E

E

E

E

C C

C

C

C

C

C

C

C

Page 12: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

12

© 2005 Your name here.© 2005 Widergren, deVos

Heterogeneity – Vive la Difference!

Multiple large applications– Within a division– Within an enterprise– Between companies– Across the interconnection

Multiple vendors with multiple products

Multiple versions and mixtures of technology

Overlapping representations/models

Interaction requires a shared view– At least where things overlap

Page 13: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

13

© 2005 Your name here.© 2005 Widergren, deVos

But Shared Models are Pervasive

NetworkModel Bids

Domain Models Message Models

Page 14: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Now Consider the E-commerce Future

Aggregators

Appliances, Equipment, Processes

Gen, T, & D Suppliers

EmergencyOperations

DistributionLinemen

Customer

Energy Service Co.s, Vendors, Utility Programs

Page 15: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Page 16: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

16

© 2005 Your name here.© 2005 Widergren, deVos

Part II

The Power Industry

Common Information Model

“CIM”

Page 17: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

CIM History

An E-R Model for the Network (early 90s)

Became a UML model of 'everything'... (late 90s)

and an IEC standard (2003)

Page 18: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Generation

SCADA

Domain<<Global>>

Wires LoadModel

Core

Meas

Topology

Outage

Protection Financial EnergyScheduling

Reservation

Asset

CIM Packages

Page 19: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

CIM Classification Fragment

PowerSystemResource

(from Core)

Connector

Conductor

EquivalentSource

Ground

Jumper

Junction

RectifierInverter

RegulatingCondEq

StaticVarCompensator

Switch

Fuse

TransformerWinding

TapChanger

Disconnector LoadBreakSwitch

DCLineSegment

ACLineSegment

Line

Compensator

VoltageControlZone

BusbarSection

LoadArea (from LoadModel)

EquivalentLoad (from LoadModel)

InductionMotorLoad (from LoadModel)

EnergyConsumer

StationSupply (from LoadModel)

CustomerMeter (from LoadModel)

HeatExchanger

Bay (from Core)

VoltageLevel (from Core)

PowerTransformer

Substation (from Core)

EquipmentContainer (from Core)

Equipment (from Core)

SynchronousMachine

GeneratingUnit (from Production)

Breaker

ConductingEquipment (from Core)

ProtectionEquipment (from Protection)

GroundDisconnector

CompositeSwitch

Page 20: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

CIM Network Topology Fragment

Bus/Branch Model

Switch/Node Model

Naming(from Core)

PowerSystemResource(from Core)

TopologicalIsland

ConductingEquipment(from Core)

Measurement(from Meas)

TopologicalNode

1

1..n

+TopologicalIsland

1

+TopologicalNodes 1..n

Terminal(from Core)

0..n0..1

+Terminals

0..n+ConductingEquipment

0..1

0..n

0..1

+Measurements

0..n

+Terminal

0..1

EquipmentContainer(from Core)

ConnectivityNode

0..n

0..1

+ConnectivityNodes

0..n

+TopologicalNode

0..1

0..n

0..1

+Terminals0..n

+ConnectivityNode

0..1

1

0..n

+MemberOf_EquipmentContainer

1

+ConnectivityNodes0..n

Page 21: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

CIM an Early RDF Application

CIM/XML is an RDF standard for network model exchange

– Profile of RDF XML Syntax

– Governed by RDFS version of CIM

Xpetal open source tool converts rose files to RDFS

Custom vocubulary used for cardinality and inverses

Page 22: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

CIM/XML Milestones

Interop tests conducted between numerous vendors

Now published as an IEC (International Electrotechnical Committee) standard

Future: switch from RDFS+custom vocabulary to OWL

Page 23: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Current Situation

Parallel development of CIM by

multiple expert groups:

Engorged, monolithic model for various domains– Wires, markets, asset mgmt…

Messages (interfaces) need derivation for specific applications

Linkages needed to other (non-CIM) standard (but evolving) models– MIMOSA, OAGIS, OPC (factory

automation, oBix (building automation)…

Page 24: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Engineer CIM as a Federation of Packages

Wires

Assets

Generation

Locations

Markets

Documents

WorkflowMeasurements

Substations

Distributed Energy Resources

Page 25: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Enable CIM in a Federation of Ontologies

MultiSpeak

OPC

Open GIS

MIMOSA

OAGIS

CIM

Proprietary Work

Management Models

OMG

Proprietary CRM Models

Proprietary GIS Models

Proprietary EMS/DMS

Models

Proprietary ERP Models

Page 26: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Challenge – The CIM in UML

UML has limited facilities for 'federated' model building.

No good way for me to extend your model without 'borrowing' it from you.

No good way for me to merge my model with your model.

No good way to evolve packages of the CIM independently

No good way to link CIM to other industry standard models.

No good way to express many semantic constraints (axioms) of a problem domain.

– E.g., line at 345kV bus in one substation must terminate at 345kV bus in another

Page 27: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Solution

Use Web Ontology Language (OWL) to federate different CIM domains.

UML Domain Models

OWLBinding

More about OWL capabilities for federating models anon ...

'Muffin' structure: UML blueberries with OWL dough.

Page 28: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Challenge – Acknowledge Evolution

Conflict between ongoing CIM development and stable interface message definitions.

Domain model and interface standardization are on different timetables.

Possible to define separate message models, but:

– Limited facilities to link message definition back to CIM (use sub-classing? associations?).

– Tendency to bring the whole domain model into each message definition (WG14 XML schemas).

Page 29: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Solution

Use OWL to mediate message definition.

Create OWL version of message definition.

– Captures message semantics.

Link to CIM domain model.

– Similar to federation of domain models with each other.

Generate XSD for message syntax.

– Any syntax flavour you like (pluggable?)

Page 30: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Part III

CIMTool

Page 31: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

A New Modelling Process

Page 32: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Generating OWL with CIMTool

Page 33: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Editing Message with CIMTool

Page 34: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Generating XSD with CIMTool

Page 35: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Sidebar:Transforming UML to OWL

Arnold deVos

Page 36: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Parsing XMIWe used a SAX-based parser– Hand crafted classes for parse states

Lessons:– There are many dialects of XMI

• More than one per UML tool!– XMI specs not found useful in practice

• Reverse engineering required.

Page 37: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Sematic MappingUML Class – OWL ClassUML Association – OWL ObjectProperty– One per end– Mutually inverseOf– Functional or IFP per UML cardinality

UML Attribute – OWL DatatypePropertyUML Class <primitive> - XSD DatatypeUML Class <enumeration> - OWL Class– Plus individuals for the values– Chose not to use enumerated class

Page 38: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Alternative MappingUML Property – OWL Restriction– No global domain and range– Can use the UML role name instead of

Class.Role construct for URICan have both global properties and property restrictions– Make the global property subPropertyOf

the restricted property

Page 39: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Identity MappingXMI uses ID's local to document (at least)– Identify classes, associations, etc.– Used to link these to each other

Use separate transformation to handle ids– Parser preserves ids to enable easy

building of the graph– Id transformation stage builds meaningful

class and property URI's from their names

Page 40: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

OWL SpeciesSome UML metamodel concepts were kept– Stereotype – UML Packages etc.– Required use of OWL/Full

Alternative: drop UML concepts– Can squeeze down into OWL/DL or Lite

Page 41: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

CIMTool

Part of the Solution

Understands a variety of XMI

Generates OWL for model federation

Edits message OWL, generates XSD

Page 42: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Developing CIMTool

Multi-vendor fundingUses open source– Jena– RDFTwig

To be released as open sourceShared infrastructure for– System integrators and vendors– Standards groups (IEC)– Power utilities

Page 43: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

CIMTool Next Steps

Abstract message definitions in OWL– Implement model 'cherry picker' UI

Message semantic validation– Two way XSD/OWL bridge – Recognise classes, properties, subjects,

objects, collections in a grammar– Maybe Schematron meets XSD and

OWL? Has someone done this?

Page 44: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Part IV

Lessons

Page 45: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

55

© 2005 Your name here.© 2005 Widergren, deVos

Power Industry Lessons

KR and ontology a natural evolution of the power industry CIM

Selective aspects of semantic technology can do wonders

– Don’t need it all immediately

Embrace distributed authoring and aggregation of intersecting ontology– Parallel development of related

ontologies by multiple expert groups– Linkage to other (non-CIM) standard

models

Page 46: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

56

© 2005 Your name here.© 2005 Widergren, deVos

OWL v. UML v. XSD Observations

UML good for model visualisation and editing

But OWL provides a better modelling vocabulary– and supports model federation

XSD no good for modelling (but people seduced by XML Spy graphics :-)

But XSD is standard choice for message grammars (alas not RelaxNG)

Page 47: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here.© 2005 Widergren, deVos

Top 3 Missing Semantic Technologies

Graphical notation for OWL– more like UML, not Euler diagrams

On-demand inference– Almost impossible to use KR w/o basic

RDFS level of inference– forward chaining is too slow and always

will beHigher level API's– Current API's all do simple triple

matching under different names (s, p, *) (*, p, *) etc

– SPARQL is fine but lets not repeat the embedded S*QL pattern (please)

Page 48: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

58

© 2005 Your name here.© 2005 Widergren, deVos

Acknowledgement

Scott Neumann• US Chairman of IEC TC57 - Power Systems

Management and Associated Information Exchange

• CTO, Utility Integration Solutions

[email protected] 612 703 4328

Page 49: © 2005 Your name here© 2005 Widergren, deVos Ontology and the Age of Integration in the Electric Power Industry Arnold deVosSteve Widergren.

© 2005 Your name here© 2005 Widergren, deVos

Contact Information

Arnold [email protected]

+61 2 99 862 777

Steve [email protected]

509 375 4556