Вы находитесь на странице: 1из 118

Welcome to the

CIM University

San Francisco, California, USA


11 October 2010

1
Introduction to CIM
And Its Role in the Utility Enterprise
Data Preparation, Exchange, Integration,
and Enterprise Information Management

2
Presentation Contents
• Background
• What is the CIM
• How the CIM is used in the Utility Enterprise
– As a semantic model for information exchange
• Three Layer Architecture for Using the CIM Standards
• CIM UML model
• Profiles for business context
• Implementation syntax
– XML Schema – for messaging
– RDF Schema - for model exchange
• Where to get CIM information

3
CIM History
• 1992 – Unified Information turned over a data model based on the EPRI OTS
to the CCAPI Task Force with the understanding it would be turned into an
industry standard model
• 1993 to 1996 - The CCAPI task force expanded the data model with a
primary goal of enabling use of plug compatible applications to help protect
utility investment in applications
– Entity Relationship Visio Diagram with MS Access database
• 1996 – The CIM was turned over to IEC Technical Committee 57, Working
Group 13&14, where it is advancing through the standards process. It covers
both electric utility transmission and distribution business operations
– Converted to UML and initially maintained in Rational Rose
• 2000 – NERC mandates CIM and first IOP test
• 2003 – ISO/RTO Council and EPRI sponsored an initiative to expand CIM
into Market Operations, a.k.a. CME, followed by extensions for Planning and
Dynamics
• 2005 – First edition of IEC 61970-301 CIM Base
• 2005 – CIM Users Group established under UCA Users Group
• 2008 – CIM adopted by UCTE
• 2009 – NIST identifies CIM as key standard for Smart Grid interoperability
• 2010 – ENTSO-E migrates to CIM and holds first IOP test
4
The IEC Common Information Model
(CIM) - What Is It?
• A set of standards in enable system integration and information exchange
based on a common information model
– Provides a general information model and message/file schemas for
messages/files exchanged between systems
• A key differentiator: The CIM standards are based on a Unified Modeling
Language (UML) based information model representing real-world objects
and information entities exchanged within the value chain of the electric
power industry
– Provides common semantics for all information exchanges
• Referred to as Model-Driven Integration (MDI)
– Not tied to a particular application’s view of the world
• But permits same model to be used by all applications to facilitate information sharing
between applications
– Maintained by IEC in Sparx Enterprise Architect modeling tools
– Many tools available generating design artifacts and documentation
– Enable data access to enterprise data warehouse in a standard way

5
GridWise Interoperability Framework

Role of CIM

6
Sample Power System Model
Company
Load Area

Belongs
To
Member
Of
Owns Operates
Operates

Connects Connects Connects Load


To To To

Generator AC Line Substation

7
Application of Information Model

Application 1 Application 2
Common model creates
understanding

SISCO SYSTEMS

8
Information is Needed From Many Individual
Systems
Mobile
VENDOR
HELP!
AM/FM/GIS
Asset
Protection Planning

SCADA
Risk Network
Work Mgmt Analysis Planning

Outage The CIM


Historian
Management

Maintenance
& Inspection
Property Customer
Mgmt Compliance Information

HR Contract
Network Financial Management
Management

9
The Common Language Should Provide Relevant
Information To A User Regardless of Source

Materials
Management Construction
Engineering Concerns
Concerns Concerns

Operations Protection Maintenance


Concerns Concerns Concerns

10
The Needs of Various Users –
Some Same, Some Different
Engineering Concerns Materials Management Concerns Construction Concerns
The logical view of how the type of Planning and tracking material Lifecycle information regarding when
equipment fits (will fit) in the requirements for construction and and how to install equipment:
electrical network. Nominal maintenance. Information about  Field Name
configuration of “as-built” and physical pieces of equipment.  Location
“future” states.  Asset Identifier  Equipment Manufacturer/Model
 Field Name  Compatible Unit  Compatible Unit
 Spatial Location  Equipment Component Type  Equipment Ratings
 Version  Equipment Manufacturer/Model  Work Order
 Physical Connectivity  Serial Number  Work Design
 Load Projections  Location  Installation Schedule &Budget
 Capacity Requirements  Equipment Location History  Permits
 Compatible Unit  Manufacturer Specifications  Manufacturer Specifications
 Equipment Ratings  Safety Requirements

11
The Needs of Various Users –
Some Same, Some Different (continued)

Operations Concerns Maintenance Concerns


Real-time condition of equipment and Protection Concerns Lifecycle information regarding when
electrical network necessary to Setting and configuring relays based and how equipment is maintained:
maintain reliable network operation: on equipment and network protection  Field Name
 Field Name requirements:  Location
 Schematics & Spatial Location  Field Name  Equipment Manufacturer/Model
 Electrical Connectivity  Schematics  Equipment Ratings
 Operational Limits (dynamic)  Electrical Connectivity  Routine Maintenance
 Equipment Status  Maximum Capacity  Testing & Diagnostics
 Clearances  Zones Of Protection Procedures
 Network Measurements (voltage,  Equipment Status  Equipment Condition
current, frequency)  Clearances  Inspection Schedule
 Equipment Faults  Network Measurements  Equipment Repair Records
 Weather Measurements (voltage, current, frequency,  Site Service Records
 Operational Restrictions transients)  Maintenance Budget
 Equipment Faults  Safety Requirements

12
Exchanging Common Language Messages Among Systems
Should Provide Relevant Information To Each System That
Is Harmonious With All Other Systems’ Information

Asset Catalog Planned Outage Crew


Blah, Blah, Blah, Blah, Blah, Blah,
Work Blah, Blah, Blah,
Service Connection Blah, Blah, Blah,
Organization, Organization, Organization,
Request Blah, Blah, Blah Blah, Blah, Blah
Organization, Blah, Blah, Blah
Blah, Blah, Blah, Blah, Blah, Blah
Organization,
Blah, Blah, Blah

Maintenance
Blah, Blah, Blah,
Organization,
Switching Schedule Meter Reading Load Data Set Load Control
Blah, Blah, Blah
Blah, Blah, Blah, Blah, Blah, Blah,
Blah, Blah, Blah, Blah, Blah, Blah,
Organization, Organization, Organization, Organization,
Blah, Blah, Blah Blah, Blah, Blah
Blah, Blah, Blah Blah, Blah, Blah

For example, in each of the message exchanges depicted above, the same Organization is referenced
for different reasons. There should be NO inconsistencies about this Organization in them!
13
For example, a common language-based logical
infrastructure facilitates collaboration among the many
applications involved in Asset Management

Asset Investment Planning Resource


Asset Program Management
Scheduling &
Asset Asset Planning Tool Program Mgmt. Planning
Strategy
Equip./Fleet
Budget Load Forecast Work Mgmt. Portal Management
Asset
Reliability
Portfolios SRCM Facility I&M Supply Chain
Analysis
Management
Executive
Network Contract Mgmt.
Dashboard
Risk Analysis
Contract
Management Asset Repository Management
Revenue
GIS Mobile
Regulatory OMS Workforce
Reporting CIS Metering Mgmt.

SCADA Work
CRM Mobile & Dispatching Collaboration
Financial & Reporting
Management
IVR eBusiness EMS DMS SA/DA
Work
Design
Customer Management Asset Operations
Asset Owner Asset Manager Service Provider
[source: DistribuTECH 2003 paper by Zhou & Robinson] 14
Application To Common Language Mapping –
The Typical Field to Field Process Is Cumbersome

• Individual fields of data models


from data sources are mapped to
each other
• Approach does not scale well as
the number of maps grows
exponentially with each new data
source
• Mapping is a challenge as
‘mappers’ must have an in depth
understanding of all relevant data
sources – a tall order!

15
Using A Semantic Model To
Simplify & Scale Up The Mapping Process
• What is a Semantic Model?
– The key ingredients that make up a semantic model are a vocabulary of
basic terms, a precise specification of what those terms mean and how
they relate to each other.
• How is it used?
– Before making mappings, a model (or an ontology) of a given business
domain is defined.
– The model is expressed in a knowledge representation language and it
contains business concepts, relationships between them and a set of
rules.
– By organizing knowledge in a discrete layer for use by information
systems, semantic models enable communication between computer
systems in a way that is independent of the individual system
technologies, information architectures and applications.
– Compared to one-to-one mappings, mapping data sources to a common
semantic model offer a much more scaleable and maintainable way to
manage and integrate enterprise data.

[source: TopQuadrant Technology Briefing, July 2003]


16
The CIM Provides a Semantic Layer
in an Enterprise Architecture
Composite Applications Business Intelligence

Web Services Integration Bus ETL DW


Common
Language

Generic Semantic
Model
Services Metadata

Apps.

17
Subscribers:
Decoupled Information CIM App
Several Application Adapters Receive The Same Message
Each Adapter:
Exchange X.1
X.2
B.1
B.2 •Parses Message, Pulling Out Data Needed By Application
X.3 Subscriber •Transforms Data (if necessary) to Local Application Format
X.4
X.5
•Passes Data To Local Application And/Or Database
Through Most Appropriate Means

CIM App CIM App


X.1 A.1 X.1 C.1
X.2 Grid Dist X.2
X.3 Subscriber Wires DAC Wires X.3 C.3 Subscriber
X.4 A.4 X.4 C.4
X.5 A.5 Model Model X.5 VRU

Outage Distribution
Reporting EMS OMS Automation CIS

Message Type Instance: ChangedNetworkDataSet (Expressed In Common Language) ...


Event History Human Work Substation Data
AM/FM/GIS
Resources Management Automation Warehouse

CIM Publishers:
X.1 App CIM
X.2 Y.1 X.1
One Application Connector:
X.3 Subscriber Y.2 X.2 •Obtains Data From Application And/Or Database
X.4 Y.3 X.3 Publisher •Transforms Data (if necessary) to the “Common
Y.4 X.4
X.5
Y.5 X.5 Language” (a Canonical Data Model)
•Puts Data Into Message Template
•Publishes The Message (Fires & Forgets)
18
 2003-2004 Xtensible Solutions, Inc. 18
The IEC 61968-1 Interface Reference Model (IRM) Provides The Framework For
Identifying Information Exchange Requirements Among Utility Business Functions
All IEC 61968 Activity Diagrams and Sequence Diagrams are organized by the IRM

Business Functions
Distribution Management
External To Distribution
Business Functions
Management
(AM) (OP) (MC) (EMS) (SC)
(NO)
Records & Operational Maintenance Energy (RET) Supply
Network
Asset Planning & & Management & Retail Chain and
Operation
Management Optimization Construction Energy Trading Logistics

Interface Interface Interface Interface Interface Interface Interface


Standard: Part 3 Standard: Part 4 Standard: Part 5 Standard: Part 6 Standard: Part 10 Standard: Part 10 Standard: Part 10

IEC 61968 Compliant Middleware Services

Interface Interface Interface Interface Interface Interface Interface


Standard: Part 7 Standard: Part 8 Standard: Part 9 Standard: Part 10 Standard: Part 10 Standard: Part 10 Standard: Part 10

(NE) (MR) (ACT)


(CS) (HR)
Network Meter Customer (FIN) (PRM)
Customer Human
Extension Reading & Account Financial Premises
Support Resources
Planning Control Management

Electric Distribution Network Generation and Transmission Management,


Planning, Constructing, Enterprise Resource Planning, Supply Chain, and
Maintaining, and Operating General Corporate Services

19
The CIM and Related Standards
• But the CIM standards are more than just an abstract
information model expressed in UML
• Profiles for specifying a subset of the CIM classes and
attributes for a specific business context at a specific
system interface or system interaction
• Implementation models
– Use of XML to create serialized files and messages
• RDF Schema-based standards for power system model exchange
• XML Schema-based standards for information message payloads
– ETL based on CIM for data base access
• DDLs for data tables

20
We Need An Organizing Framework
• Layered Reference Architecture for TC57
• Based on UN/CEFACT
– Information Model
– Contextual Model
– Message Syntax
• Rules for Message Assembly
TC57 Layered Architecture
Information and Semantic Models

Information Model
• Generalized model of all utility objects and their
CIM UML relationships
• Application independent

Context
Contextual layer restricts information model
• Constrain or modify data types
Profile • Cardinality (may make mandatory)
• Cannot add to information model

Message Syntax
Message syntax describes format for instance data
• Can re-label elements
Message
• Change associations to define single structure for
XML Schema message payloads
• Mappings to various technologies can be defined

22
Semantic Models and Profiles
Information and Semantic Models

CIM UML

Context Message Assembly


61968
Rules
CIM/XML
Profile Rules
Project
Rules

Message Syntax
Message CIM/XML Relational
XML Schema RDF Schema Database

23
To Summarize
• The CIM is an abstract information model
standard expressed in UML.
• Profiles specifying a subset of the CIM classes
and attributes for specific business context
• Implementation technologies, such as use of
XML to create serialized files and messages
– Standards for power system models
– Standards for information message payloads
• Also, the CIM UML can be extended
– Standard extensions for new functional areas
– Private extensions for specific utility requirements

24
Let’s Look at each Layer of the CIM

Information and Semantic Models

Information Model
• Defines all concepts needed for any
application
CIM UML

Context
Contextual layer restricts information model
• Specifies which part of CIM is used for
Profiles given profile
• Mandatory and optional
• Restrictions
• But cannot add to information model

Message Syntax
File syntax
XML/RDF • Can re-label elements
• Change associations to define single
Schema structure for message payloads
• Mappings to various technologies can
be defined 25
Foundational Relationships Of The CIM

PowerSystemResource Organisation
Electrical Network Role Used For Entities Performing Roles Such
Planning, Operations, etc. As Operations, Tax Authority

Asset Contact
Physical Plant Filling A Role People Performing Roles Such
Such As A Transformer, Pole, etc. Dispatcher, Field Operator, etc.

Location
Where To Find Something By
Customer
Industrial, Commercial, & Residential
GPS, Address, Electronically, etc.
Which Can Have Multiple Accounts

Document
Information Containers Such As
Trouble Ticket, Work Orders, etc.

26
CIM Packages
WG13

WG14

WG16

27
WG13 CIM Packages - 61970

28
WG14 CIM Packages - 61968
pkg M ain

Common Locations Domain2

Operations

Parts 3, 4 (and 5?)

Assets AssetsLinear AssetsPointOriented AssetM odels T ypeAsset

Part 4

Planning

Parts (5 and 7)?

Work

Part 6

Customers

Part 8

M etering LoadControl PaymentM etering

Part 9

ERPS upport GM LS upport


Part 10?

29
WG16 CIM Market Extensions

Bid
FTR

RTO Security
Constraints

Resource Clearing
Results

30
CIM IEC Standards
• 61970 CIM UML has annual release cycle
– Current official annual release is IEC61970CIM14v13
– Basis for IEC 61970-301 CIM Base Fourth Edition
• Word document auto-generated from the UML electronic model
– Information system and Profile documents are synchronized with
UML model release
• 61968 CIM UML different update cycles
– Basis for IEC 61968-11 CIM Distribution Information Exchange
Model
• Complete CIM UML available as a combined model on
CIMug Sharepoint site
– iec61970cim14v13_iec61968cim10v28_combined

31
The CIM Is Expressed In Unified Modeling
Language (UML) Notation* Asset
(from AssetBasics)
code : String
utc : String
number : String
serialNumber : SerialNumber
Class Name usually describes things in the real world assetType : String
maufacturedDate : AbsoluteDate
installationDate : AbsoluteDate
Structure inServiceDate : AbsoluteDate
height : ShortLength outOfServiceDate : AbsoluteDate
weedAbate : Boolean removalDate : AbsoluteDate
weedRemDate : AbsoluteDate warrantyDate : AbsoluteDate
fumigant : String financialValue : Money
Class Attributes describe fumigantApplyDate : AbsoluteDate status : String
significant aspects about the thing jpaRefNum : String statusDate : AbsoluteDate
critical : Boolean
corpStandard : String
removalReason : String
This Specialization indicates that a “Pole” is a type of condition : String
“Structure.” Since a “Structure” is a type of “Asset,” the Pole plantTransferDate : AbsoluteDate
usage : String
inherits all of the attributes from both Structure and Asset purchaseDate : AbsoluteDate
purchasePrice : Money
Pole purchaseOrderNumber : String
classification : String
species : String
treatment : String
base : String
preservative : String
* For more information on UML notation treatedDate : AbsoluteDate +AttachedTo_Pole
(a standard), refer to Martin Fowler’s book breastBlock : Boolean 0..1
+Support_Streetlights
“UML Distilled,” Addison-Wesley 0..n
Streetlight

Associations connect classes and are rating : String


armLength : ShortLength
assigned a role that describes the relationship

32
Concepts: Generalization/Inheritance
class DocumentationExampleInheritance
• Breaker: Specialization of
I dent ifiedObject
Core: :
ProtectedSwitch
Pow erS ystemResource

• ProtectedSwitch:
Core: : Specialization of Switch
Equipment

• Switch: Specialization of
Pow erT ransf ormer
Conducting Equipment
Core: :
ConductingEquipment
• ConductingEquipment:
Specialization of
S w itch
Equipment
ProtectedS w itch
• Equipment: Specialization
of PowerSystem
Breaker
Resource

33
class InheritanceHierarchy

Equipment Inheritance Core: :


Identif iedObject

Hierarchy Core: :
Pow erS ystemResource

T apChanger
VoltageControlZone
Core: :
ConnectivityNodeContainer

Core: :
Core: : EquipmentContainer Core: :
CompositeS w itch
Equipment S ubstation

Core: :
VoltageLevel
HeatExchanger

Core: : Bay

Pow erT ransf ormer Plant


Line

Core: : Conductor DCLineS egment


ConductingEquipment

ACLineS egment
S eriesCompensator T ransf ormerWinding

EnergyS ource

EnergyConsumer
Rectif ierInverter

Ground BusbarS ection

Connector Junction

S huntCompensator

RegulatingCondEq
FrequencyConverter

S w itch S ynchronousM achine S taticVarCompensator

ProtectedS w itch LoadBreakS w itch

Breaker
Jumper Fuse Disconnector GroundDisconnector

34
Naming class NamingHierarchyPart1

Core: : Identif iedObject

Hierarchy 1 +
+
+
+
aliasName: String [0..1]
description: String [0..1]
localName: String [0..1]
mRID: String [0..1]
+ name: String [0..1]
+ pathName: String [0..1]

Core: : Core: :
Core: :
ConnectivityNodeContainer Pow erS ystemResource
GeographicalRegion

+Region 0..1

+Regions 0..*

Core: : Core: :
S ubGeographicalRegion +EquipmentContainer
EquipmentContainer
0..1

+Region
+Region 0..1 0..1 +Equipments
0..* Core: :
Equipment

+Lines 0..*
Plant
Line

+Substations 0..*

+Substation Core: :
S ubstation
0..1

+Substation 1

+VoltageLev els 0..*

Core: :
VoltageLevel

+VoltageLev el
0..1

0..* +Bay s

Core: : Bay
+Bay s 0..*

35
Naming class NamingHierarchyPart2

+
Core: : Identif iedObject

aliasName: String [0..1]


+ description: String [0..1]

Hierarchy 2 +
+
+
+
localName: String [0..1]
mRID: String [0..1]
name: String [0..1]
pathName: String [0..1]

M eas: : +Measurements
+Pow erSy stemResource
Core: : T apChanger
M easurement
0..* 0..1 Pow erS ystemResource

HeatExchanger

+HeatExchanger 0..1
Core: :
Equipment

+Pow erTransformer 1

Production: : GeneratingUnit Pow erT ransf ormer

CompositeS w itch
+Pow erTransformer 1

+Sy nchronousMachines 1..*


+CompositeSw itch 0..1 +GeneratingUnit 0..1
+Sw itches 0..* S ynchronousM achine +TransformerWindings 1..*

S w itch Core: : T ransf ormerWinding


ConductingEquipment

Fuse
RegulatingCondEq Conductor
Jumper

Disconnector DCLineS egment

GroundDisconnector S taticVarCompensator ACLineS egment

Connector
ProtectedS w itch FrequencyConverter

BusbarS ection
LoadBreakS w itch S huntCompensator

Breaker Junction

EnergyConsumer
S eriesCompensator

Rectif ierInverter

Ground

EnergyS ource
36
Connectivity
and
Topology
Model

37
Converting a Circuit to CIM Objects
• Example to show how voltage levels, current
transformers, power transformers and generators
are modelled
• Circuit contains a single generating source, load,
line and busbar. The circuit also contains two
power transformers resulting in three voltage
levels of 17kV, 33kV and 132kV

Taken from McMorran, “An Introduction to IEC 61970-301 & 61968-11: The Common Information
Model”, University of Strathclyde, Glasgow, UK

38
Example Circuit as a Single Line
Diagram
EnergyConsumer ACLineSegment

Breaker

Breaker

BusbarSection

Breaker

GeneratingUnit

Current measurement
SynchronousMachine represented by
Measurement connected
to Terminal

39
Representing a Power Transformer as
CIM Objects
• A power transformer is not mapped to a single
CIM class
– Represented by a number of components with a single
PowerTransformer container class
– Two-winding power transformer becomes two
TransformerWinding objects within a
PowerTransformer container
• If a tap changer is present to control one of the
windings
– An instance of the TapChanger class is associated
with that particular winding
– Also contained within the PowerTransformer instance

40
Transformer Class Diagram
Shell of transformer,
containing windings,
insulation, magnetic core,
etc.

Inherits from Equipment,


since does not conduct
electricity

Part of
TransformerWinding, not
separate piece of
equipment

Physically connected to
network and conducts
electricity, so inherits from
ConductingEquipment

41
CIM Mapping for Transformer 17-33

• Transformer 17-33 is
represented as four CIM
objects

42
Transformer Model Diagram from
61970-301CIM Base
PowerSystemResource
(from Core)

Equipment
PowerTransformer TapChanger
(from Core)

+PowerTransformer 1 1 0..n 0..n


+TapChangers +TapChangers
+HeatExchanger +MemberOf_PowerTransformer
0..1
HeatExchanger

+Contains_TransformerWindings +RegulationSchedule
1..n 0..1
1
ConductingEquipment TransformerWinding RegulationSchedule
(from Core)
+TransformerWinding
0..n 1
+To_TransformeWindings +From_TransformerWinding

+From_WindingTests
+To_WindingTest
1 0..n
WindingTest

43
Transformer Winding Attributes

Transformer Winding
 b: Susceptance
 insulationKV: Voltage
 connectionType: WindingConnection
 emergencyMVA : ApparentPower
 g: Conductance
 grounded: Boolean
 r: Resistance
 r0: Resistance
 ratedKV: Voltage
 rated MVA: ApparentPower
 rground: Resistance
 shortTermMVA: ApparentPower
 windingType: WindingType
 x: Reactance
 x0: Reactance
 xground: Reactance

44
Example Circuit with Full CIM Mappings

• Maps to
– 17 CIM classes
– 45 CIM objects
• Could be
extended further
with addition of
objects for
– control areas
– equipment
owners
– measurement
units
– generation and
load curves
– asset data

45
How The CIM Handles Location For Logical Devices
And/Or The Physical Asset Performing The Device’s Role

46
Types Of Document Relationship
Inherited By All Assets

47
Activity Records

48
CIM UML in Enterprise Architect
• The CIM UML model is maintained in Sparx
Enterprise Architect (EA)
• Current ENTSO-E CIM UML Model for IOP
– iec61970cim15v15_iec61968cim10v16_combined.eap
• Go to UML model in EA

49
Questions?

50
Let’s Look at each Layer of the CIM

Information and Semantic Models

Information Model
• Defines all concepts needed for any
application
CIM UML

Context
Contextual layer restricts information model
• Specifies which part of CIM is used for
Profiles given profile
• Mandatory and optional
• Restrictions
• But cannot add to information model

Message Syntax
File syntax
XML/RDF • Can re-label elements
• Change associations to define single
Schema structure for message payloads
• Mappings to various technologies can
be defined 51
Profile Documents
• IEC 61970-4xx series of Component Interface
Standards (CIS)
– Specifies the functional requirements for interfaces that
a component (or application) implements to exchange
information with other components (or applications)
and/or to access publicly available data in a standard
way
– Component interfaces describe the specific message
contents and services that can be used by applications
for this purpose
– Implementation of these messages in a particular
technology is described in Part 5 of the standard

52
Common Power System Model
(CPSM) Profile
• IEC 61970-452 specifies the specific profile (or subset) of the CIM for
exchange of static power system data between utilities, security
coordinators and other entities participating in a interconnected power
system
• All parties have access to the modeling of their neighbor’s systems
that is necessary to execute state estimation or power flow
applications
• A companion standard, IEC 61970-552, defines the CIM XML Model
Exchange Format based on the Resource Description Framework
(RDF) Schema specification language which can be used to transfer
power system model data for a particular profile
• Interoperability tests have validated several vendor’s products for
exchanging complete power system models, partial models, and
incremental updates

53
61970-452 Scope .............................................................................................................................. 7
2 Normative References ............................................................................................... 8
3 Definitions ................................................................................................................. 8

CPSM 4 Overview of Data Requirements ................................................................................ 10


4.1
4.2
Overview .......................................................................................................... 10
General Requirements ..................................................................................... 10

Profile 4.3
4.4
4.5
Transformer Modeling ...................................................................................... 11
Modeling Authorities ........................................................................................ 12
Use of Measurement Classes ........................................................................... 12

TOC
4.5.1 ICCP Data Exchange ........................................................................... 14
4.6 Voltage or Active Power Regulation ................................................................. 14
4.7 Use of Curves .................................................................................................. 14
4.7.1 Generating Unit Reactive Power Limits ................................................ 14

Snippet 5
4.8
CIM
5.1
Definition of Schedules .................................................................................... 15
Classes.............................................................................................................. 16
61970............................................................................................................... 16
5.1.1 IEC61970CIMVersion ........................................................................... 16
5.2 Core Package .................................................................................................. 17
5.2.1 BaseVoltage ......................................................................................... 17
5.2.2 Bay ...................................................................................................... 17
5.2.3 CurveData ............................................................................................ 17
5.2.4 Geographical Region ............................................................................ 18
5.2.5 RegularTimePoint................................................................................. 18
5.2.6 SubGeographical Region ...................................................................... 18
5.2.7 Substation ............................................................................................ 19
5.2.8 Terminal ............................................................................................... 19
5.2.9 Unit ...................................................................................................... 19
5.2.10 VoltageLevel ........................................................................................ 20
5.3 Topology Package ........................................................................................... 21
5.3.1 ConnectivityNode ................................................................................. 21
5.4 Wires Package ................................................................................................. 22
5.4.1 ACLineSegment ................................................................................... 22
5.4.2 Breaker ................................................................................................ 22
5.4.3 BusbarSection ...................................................................................... 23
5.4.4 Disconnector ........................................................................................ 23
5.4.5 EnergyConsumer.................................................................................. 24
5.4.6 Line...................................................................................................... 24
5.4.7 LoadBreakSwitch ................................................................................. 25
5.4.8 PowerTransformer ................................................................................ 25
5.4.9 ReactiveCapabilityCurve ...................................................................... 26
54
5.4.10 RegulatingControl ................................................................................ 26
Let’s Look at each Layer of the CIM

Information and Semantic Models

Information Model
• Defines all concepts needed for any
application
CIM UML

Context
Contextual layer restricts information model
• Specifies which part of CIM is used for
Profiles given profile
• Mandatory and optional
• Restrictions
• But cannot add to information model

Message Syntax
File syntax
XML/RDF • Can re-label elements
• Change associations to define single
Schema structure for message payloads
• Mappings to various technologies can
be defined 55
XML Implementation Technologies
• XML Schema
– Used for generation of message payloads for system
interfaces in system integration use cases
• RDF Schema
– Used for exchange of power system models

56
What is XML?
• eXtensible Markup Language
– A text-based tag language, similar in style to HTML but
with user-definable tags
• Similar in use of ASCII text and tags
– Based on Standard Generalized Markup Language
(SGML), which is ISO 8879.
• Self-describing
• Open industry standard - W3C Recommendation
(spec)
– Broad usage across industries (many XML tools
available)
• Cross-platform and vendor-neutral standard
• Easy to use, easy to implement
57
Basic Syntax
• Starts with XML declaration
<?xml version="1.0"?>
• Rest of document inside the "root element"
<TEI.2>…</TEI.2>
• Tags are used to provide information about the
document content (metadata)
• Start and end tags must match exactly

58
What is an XML Element?
• An XML element is everything from (including) the element's start tag to (including) the
element's end tag.
• An element can contain other elements, simple text or a mixture of both. Elements can
also have attributes.
• <bookstore>
<book category="CHILDREN">
<title>Harry Potter</title>
<author>J K. Rowling</author>
<year>2005</year>
<price>29.99</price>
</book>
<book category="WEB">
<title>Learning XML</title>
<author>Erik T. Ray</author>
<year>2003</year>
<price>39.95</price>
</book>
</bookstore>
• In the example above, <bookstore> and <book> have element contents, because
they contain other elements. <author> has text content because it contains text.
• In the example above only <book> has an attribute (category="CHILDREN").

59
Implementation Syntax – XML Schema

• Example of use of XML Schema


• Mapping Proprietary EMS Interfaces to the CIM
– Provide enterprise system access to transformer data

60
Mapping EMS Interfaces to the CIM –
User access to transformer data

• EMS Native Interface attributes:


– TRANS_NAME – The Transformer’s name
– WINDINGA_R – The Transformer’s primary winding resistance
– WINDINGA_X – The Transformer’s primary winding reactance
– WINDINGB_R – The Transformer’s secondary winding resistance
– WINDINGB_X – The Transformer’s secondary winding reactance
– WINDINGA_V – The Transformer’s primary winding voltage
– WINDINGB_V – The Transformer’s secondary winding voltage

61
Transformer Class Diagram in CIM

62
CIM Interface Mapping
- Beginnings of Profile/Message Payload Definition
Two different interface Aggregation changed
attributes (WINDINGA_R and from 0..n to 2
WINDINGB_R) map to same
CIM attribute Multiplicity
changed from
0..1 to 1

Multiplicity
changed from
0..1 to 1

63
Message Payload in UML

Note:
• Associations changed to aggregations
• Parent classes removed
• Not required in actual message content
• Parent classes already known by both sender and receiver
• Corollary: Only those parts of the CIM used in message exchange
need to be supported by interface applications
• End result – modified class structure
• Example of application of business context to information model

64
Schemas – Meta Data
– A Schema is a description or definition of the structure
of a database or other data source. It provides:
• Allowable content or structure of data of a variety of types
• Abstract definition of the relationships and characteristics of a
class of objects or pieces of data
– Database Schema
• Defines the table names and columns, describes the
relationships between tables (via keys), and acts as a
repository for triggers and stored procedures.
– XML Schema
• Describes the ordering and inter-relationship of
– XML elements (i.e., sequence and nesting of tags) and
– Attributes (i.e., values, types, defaults) in the class of XML
documents to which the schema applies.
(source: “Professional XML Meta Data,” by Kal Ahmed, et al.)
65
XML Schema of CIM
• An XML Schema of the CIM can be generated
with XML tools
• The CIM classes and attributes are used to
define tags
• Then the CIM can be shown in XML as well as
UML
• Example is PowerTransformer

66
Transformer Model Diagram from
61970-301CIM Base
PowerSystemResource
(from Core)

Equipment
PowerTransformer TapChanger
(from Core)

+PowerTransformer 1 1 0..n 0..n


+TapChangers +TapChangers
+HeatExchanger +MemberOf_PowerTransformer
0..1
HeatExchanger

+Contains_TransformerWindings +RegulationSchedule
1..n 0..1
1
ConductingEquipment TransformerWinding RegulationSchedule
(from Core)
+TransformerWinding
0..n 1
+To_TransformeWindings +From_TransformerWinding

+From_WindingTests
+To_WindingTest
1 0..n
WindingTest

67
XML Schema for
Transformer
Message

68
Sample Transformer Interface
Message Payload in XML
<cim:PowerTransformer>
<cim:Naming.name>Transformer SGT1</cim:Naming.name>
<cim:PowerTransformer.Contains_TransformerWindings>
<cim:TransformerWinding.r>0.23</cim:TransformerWinding.r>
<cim:TransformerWinding.x>0.78</cim:TransformerWinding.x>
<cim:TransformerWinding.windingType>WindingType.primary
</cim:TransformerWinding.windingType>
<cim:Equipment.MemberOf_EquipmentContainer>
<cim:VoltageLevel.BaseVoltage>
<cim:BaseVoltage.nominaVoltage>400
</cim:BaseVoltage.nominalVoltage>
</cim:VoltageLevel.BaseVoltage>
</cim:Equipment.MemberOf_EquipmenContainer>
</cim:PowerTransformer.Contains_TransformerWindings>
<cim:PowerTransformer.Contains_TransformerWindings>
<cim:TransformerWinding.r>0.46</cim:TransformerWinding.r>
<cim:TransformerWinding.x>0.87</cim:TransformerWinding.x>
<cim:TransformerWinding.windingType>WindingType.secondary
</cim:TransformerWinding.windingType>
<cim:Equipment.MemberOf_EquipmentContainer>
<cim:VoltageLevel.BaseVoltage>
<cim:BaseVoltage.nominaVoltage>275
</cim:BaseVoltage.nominalVoltage>
</cim:VoltageLevel.BaseVoltage>
</cim:Equipment.MemberOf_EquipmenContainer>
</cim:PowerTransformer.Contains_TransformerWindings>
</cim:PowerTransformer>

69
XML Implementation Technologies
• XML Schema
– Used for generation of message payloads for system
interfaces in system integration use cases
• RDF Schema
– Used for exchange of power system models

70
Big Issue

• “Although we can swap our documents with


each other through XML, we still haven’t a
clue what they mean.”
» (“Professional XML Meta Data,” by Kal Ahmed, et al.)

• Resource Description Framework (RDF) Is


W3C’s Means To Resolve This.

71
RDF Schema
• RDF Schema mechanism is a
set of RDF resources (including
properties) and constraints on
their relationships
• Defines application-specific
RDF vocabularies, for example
CIM vocabulary
• RDF Schema URI
unambiguously identifies a
single version of a schema

[Courtesy Of Leila Schneburger]

72
Technical Approach
• RDF (Resource Description Framework)
- Defines mechanism for describing resources that makes no
assumptions about a particular application domain, nor defines the
semantics of any application domain. The definition of the mechanism
is domain neutral, yet the mechanism is suitable for describing
information about any domain:
– For more information: http://www.w3.org/RDF
– Status: W3C Recommendation 22 February 1999
• http://www.w3.org/TR/REC-rdf-syntax/
• RDF Schema
- Defines a schema specification language. Provides a basic type
system for use in RDF models. It defines resources and properties
such as Class and subClassOf that are used in specifying application-
specific schemas:
– Status: W3C Proposed Recommendation 03 March 1999
• http://www.w3.org/TR/PR-rdf-schema/

73
Technical Approach (Cont.)
• Namespaces
- provide a simple method for qualifying element and attribute names
used in XML documents by associating them with namespaces
identified by URI references:
– Status: WC3 Recommendation 14-January-1999
• http://www.w3.org/TR/REC-xml-names/

• URI (Uniform Resource Identifiers)


- provide a simple and extensible means for identifying a resource:
– Status: Internet RFC August 1998
• ftp://ftp.isi.edu/in-notes/rfc2396.txt

74
XML Namespaces
• Distinguish between duplicate element type and attribute
names
• Collection of element type and attribute names. The
namespace is identified by a URI.
• Declared with an xmlns attribute, which can associate a
prefix with the namespace.
• If XML namespace declaration contains a prefix, refer to
element type and attribute names in that namespace with
the prefix. E.g. cim:Substation, UCTE:Substation
• If XML namespace declaration does not contain a prefix,
the namespace is the default XML namespace, refer to
element type names in that namespace without a prefix.
75
CIM UML=>RDF Schema=>RDBMS

UML. RDF Relational


Model
Object Resource Tuple (i.e. row)
Attribute or Property Attribute (i.e.
association column) or
foreign key
Class Class Relation (i.e.
table)
Resource Tuple value
Description
URI Key value
Value Field value
[Courtesy Of Leila Schneburger]

76
Simple Network Example

SS2

400KV
SS1-SS2
SS1
Cable1 Cable2
12345 MW

Cable3
12345 KV
BB1
12345 MW

SS4
T1

110KV

77
Simple Network Connectivity Modeled with
CIM Topology
T1 T2
SS 2
400KV
BB1
Volts SS1-SS2
(KV) P1 SS 1
(M W)

CN5 DC2 CN4 CN3 Cable1 CN2 Cable2 CN1


BR1

BR3

Cable3
P2
(M W) CN6

TW 1

CN8
T1

TW 2
SS 4

CN7
BDD-RSK2
110KV

78
Siemens 100 Bus Network Model
in RDF
Top of RDF Schema version of Siemens 100 bus model

<?xml version="1.0" encoding="UTF-8"?>


<rdf:RDF xml:base="siemens" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cim="http://iec.ch/TC57/2001/CIM-schema-cim10#"><cim:ACLineSegment rdf:ID="_
6B1DD5C2CB934E86AC53FFD886E2D1B3"><cim:Naming.name>BBD-RSK2</cim:Naming.name><cim:Conductor.bch>2.79
</cim:Conductor.bch><cim:Conductor.x>4.3378</cim:Conductor.x><cim:Conductor.r>0.4761</cim:Conductor.r>
</cim:ACLineSegment><cim:Terminal rdf:ID="_EB6085D9DF364DA78A884D4D0A571371"><cim:Naming.name>T2</cim:Naming.name>
<cim:Terminal.ConnectivityNode rdf:resource="#_CC312D30C85C4236948A4129AEE3B5F7"/>
<cim:Terminal.ConductingEquipment rdf:resource="#_6B1DD5C2CB934E86AC53FFD886E2D1B3"/></cim:Terminal><cim:Terminal
rdf:ID="_7C8354E0DA247DBB3611E2E8BF8A86D"><cim:Naming.name>T1</cim:Naming.name><cim:Terminal.ConnectivityNode
rdf:resource="#_D16FD63501444AECBF8157D1E4764E38"/><cim:Terminal.ConductingEquipment rdf:resource="#_
6B1DD5C2CB934E86AC53FFD886E2D1B3"/></cim:Terminal><cim:ACLineSegment rdf:ID="_E83B07FE54A945539A95FD2DB2CDD4FC">
<cim:Naming.name>BKR-TUR</cim:Naming.name><cim:Conductor.bch>0.39</cim:Conductor.bch><cim:Conductor.x>4.1262
</cim:Conductor.x><cim:Conductor.r>1.0051</cim:Conductor.r></cim:ACLineSegment><cim:Terminal
rdf:ID="_E273D9258F9D42FCA018B274BE6F5FA6"><cim:Naming.name>T2</cim:Naming.name><cim:Terminal.ConnectivityNode
rdf:resource="#_576B6D171B174B8BACB7AFF7289D0434"/><cim:Terminal.ConductingEquipment
rdf:resource="#_E83B07FE54A945539A95FD2DB2CDD4FC"/></cim:Terminal><cim:Terminal
rdf:ID="_B23175B9692441AFBD2C581E86300550"><cim:Naming.name>T1</cim:Naming.name><cim:Terminal.ConnectivityNode
rdf:resource="#_A69ED82F4EB4B65A8840CDD1E064887"/><cim:Terminal.ConductingEquipment
rdf:resource="#_E83B07FE54A945539A95FD2DB2CDD4FC"/></cim:Terminal><cim:Unit rdf:ID="_
5EAAD38A446E429E9905FAC32070D6FC"><cim:Naming.name>Amperes</cim:Naming.name></cim:Unit><cim:ACLineSegment
rdf:ID="_329884C01F6B4DC08492F711088538D6"><cim:Naming.name>CRS-ANY1</cim:Naming.name><cim:Conductor.bch>5.03
</cim:Conductor.bch><cim:Conductor.x>12.90761</cim:Conductor.x><cim:Conductor.r>1.2696</cim:Conductor.r></

79
ACLineSegment in RDF
Siemens 100 bus model - RDF schema

<?xml version="1.0" encoding="UTF-8"?>


<rdf:RDF xml:base="siemens" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cim="http://iec.ch/TC57/2001/CIM-schema-cim10#">

< c i m : A C L i n e S e g m e n t r d f : I D = " _ 6 B 1 D D 5 C 2 C B 9 3 4 E 8 6 A C 5 3 F F D 8 8 6 E 2D 1 B 3 " >


<cim:Naming.name>BBD-RSK2</cim:Naming.name>
<cim:Conductor.bch>2.79</cim:Conductor.bch>
<cim:Conductor.x>4.3378</cim:Conductor.x>
<cim:Conductor.r>0.4761</cim:Conductor.r>
</cim:ACLineSegment>

<cim:Terminal rdf:ID="_EB6085D9DF364DA78A884D4D0A571371">
<cim:Naming.name>T2</cim:Naming.name>
<cim:Terminal.ConnectivityNode rdf:resource="#_CC312D30C85C4236948A4129AEE3B5F7"/>
< c i m : T e r m i n a l . C o n d u c t i n g E q u i p m e n t r d f : r e s o u r c e = " # _ 6 B 1 D D 5 C 2 C B 9 3 4 E 8 6 A C 5 3 F F D 8 8 6 E 2D 1 B 3 " / >
</cim:Terminal>

<cim:Terminal rdf:ID="_7C8354E0DA247DBB3611E2E8BF8A86D">
<cim:Naming.name>T1</cim:Naming.name>
<cim:Terminal.ConnectivityNode rdf:resource="#_D16FD63501444AECBF8157D1E4764E38"/>
< c i m : T e r m i n a l . C o n d u c t i n g E q u i p m e n t r d f : r e s o u r c e = " # _ 6 B 1 D D 5 C 2 C B 9 3 4 E 8 6 A C 5 3 F F D 8 8 6 E 2D 1 B 3 " / >
</cim:Terminal>

80
ACLineSegment in RDF
Siemens 100 bus model - RDF schema

<?xml version="1.0" encoding="UTF-8"?>


<rdf:RDF xml:base="siemens" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cim="http://iec.ch/TC57/2001/CIM-schema-cim10#">

< c i m : A C L i n e S e g m e n t r d f : I D = " _ 6 B 1 D D 5 C 2 C B 9 3 4 E 8 6 A C 5 3 F F D 8 8 6 E 2D 1 B 3 " >


<cim:Naming.name>BBD-RSK2</cim:Naming.name>
<cim:Conductor.bch>2.79</cim:Conductor.bch>
<cim:Conductor.x>4.3378</cim:Conductor.x>
<cim:Conductor.r>0.4761</cim:Conductor.r>
</cim:ACLineSegment>

<cim:Terminal rdf:ID="_EB6085D9DF364DA78A884D4D0A571371">
<cim:Naming.name>T2</cim:Naming.name>
<cim:Terminal.ConnectivityNode rdf:resource="#_CC312D30C85C4236948A4129AEE3B5F7"/>
< c i m : T e r m i n a l . C o n d u c t i n g E q u i p m e n t r d f : r e s o u r c e = " # _ 6 B 1 D D 5 C 2 C B 9 3 4 E 8 6 A C 5 3 F F D 8 8 6 E 2D 1 B 3 " / >
</cim:Terminal>

<cim:Terminal rdf:ID="_7C8354E0DA247DBB3611E2E8BF8A86D">
<cim:Naming.name>T1</cim:Naming.name>
<cim:Terminal.ConnectivityNode rdf:resource="#_D16FD63501444AECBF8157D1E4764E38"/>
< c i m : T e r m i n a l . C o n d u c t i n g E q u i p m e n t r d f : r e s o u r c e = " # _ 6 B 1 D D 5 C 2 C B 9 3 4 E 8 6 A C 5 3 F F D 8 8 6 E 2D 1 B 3 " / >
</cim:Terminal>

81
Containment in RDF
Substation VOL
Substation VOL with
with 230 230 KV voltage
KV voltage level
level and and Bay
Bay 240W79 with 240W79 with Breaker CB
Breaker CB

<cim:Substation rdf:ID="_277B2933524E43E19DAAF1D138DC62C4">
<cim:Naming.name>VOL</cim:Naming.name>
<cim:Substation.LoadArea rdf:resource="#_BA2173878B0645A7AC8EA57B6249D537"/>
</cim:Substation>

<cim:VoltageLevel rdf:ID="_C20AF84C15E047218D75C47870C34C87">
<cim:Naming.name>230K</cim:Naming.name>
<cim:VoltageLevel.MemberOf_Substation rdf:resource="#_277B2933524E43E19DAAF1D138DC62C4"/>
<cim:VoltageLevel.BaseVoltage rdf:resource="#_CF8BD1450E264399891F7FE5653D0760"/>
</cim:VoltageLevel>

<cim:BusbarSection rdf:ID="_5E0DBC09FE4D4A0DB902FEFF18AA4C30">
<cim:Naming.name>VOL 2304</cim:Naming.name>
<cim:Equipment.MemberOf_EquipmentContainer rdf:resource="#_C20AF84C15E047218D75C47870C34C87"/>
</cim:BusbarSection>
Further down in document
<cim:Bayr df:ID="_7DBBA5E32C834B6AB08BB6FB07155D46">
<cim:Naming.name>240W79</cim:Naming.name>
<cim:Bay.MemberOf_VoltageLevelr df:resource="#_C20AF84C15E047218D75C47870C34C87"/>
</cim:Bay>

<cim:Breakerr df:ID="_4A74B55420834E40B85F0304B6F9ADF8">
<cim:Naming.name>CB</cim:Naming.name>
<cim:Switch.normalOpen>false</cim:Switch.normalOpen>
<cim:Equipment.MemberOf_EquipmentContainerr df:resource="#_7DBBA5E32C834B6AB08BB6FB07155D46"/>
</cim:Breaker>

82
Measurement in RDF
<cim:Measurement rdf:ID="_5B22599688AC4DE6B99FD8B13C1BA36F">
<cim:Naming.name>LN 1 MVAr</cim:Naming.name>
<cim:Measurement.MeasurementType rdf:resource="#_83D7B035901D4D2E80C040609D5ED7EC"/>
<cim:Measurement.Unit rdf:resource="#_61784D3DA1954750A4E09444BE5206CB"/>
</cim:Measurement>

<cim:MeasurementValue rdf:ID="_FF332A9A82FF43719AAF4E5DAFCFB9CD">
<cim:Naming.aliasName>ICCP ID 24</cim:Naming.aliasName>
<cim:Naming.name>MVAr</cim:Naming.name>
<cim:MeasurementValue.MeasurementValueSource
rdf:resource="#_F0F5BA1CDE23483A8C80D20A4907A272"/>
<cim:MeasurementValue.MemberOf_Measurement rdf:resource="#_
5B22599688AC4DE6B99FD8B13C1BA36F"/></cim:MeasurementValue>

83
Implementation Syntax – WG13 61970

• Part 501 specifies the translation of the CIM in UML form


into a machine readable format as expressed in the
Extensible Markup Language (XML) representation of
that schema using the Resource Description Framework
(RDF) Schema specification language
– The resulting CIM RDF schema supports CIM Model Exchange
specifications, as presented in IEC 61970-452 and others
• Part 552 describes the CIM XML format at a level for
implementation to support the model exchange
requirements in IEC 61970-452
– This standard relies upon the CIM RDF Schema of IEC 61970-
501

84
Basics: Schema from CIM

CIM Power
(in UML) System Data

CIM as

Exporter
Enterprise XML/RDF specifies
Architect Schema

UML Power
to RDF System Data
Transformers as
XML/RDF

85
Key Standards
and Related Organizations UCA : User groups

Open TC57
Application
Group WG9 W3C
MultiSpeak Coordination
Distribution
(NRECA) WG19 Feeders
WG7
Control
CIM/61850 WG17 Centers

WG14 WG18 WGs 10


DMS Substations
EPRI
WG13 UCA2
EMS WG16
EPRI Project
CCAPI CIM
OLE Project
Process Object ebXML
Control Mgmt.
(OPC) Group OASIS

86
Where to Get More Information About
the CIM and Related Standards
• Visit CIM User Group (CIMug) Web Site
– http://cimug.ucaiug.org
• Single site for gaining access to information about the CIM and related
standards
– Includes all standards being developed by IEC TC57 Working Groups 13, 14, 16,
and 19
• Now provide access to:
– Announcements of CIM-related activities and events
– Calendar of activities
– CIM electronic model in various formats
– Lists of CIM-related tools and access to open source tools
– Documents that are publicly available
• Draft IEC TC57 CIM standards for CIMug members
– Lists of the CIMug working groups and works in progress as well as minutes of
meetings and conference calls
– CIM issues lists and status of resolution
– Help desk
– Discussion forums
– Links to other CIM-related sites

87
Questions?
• Contact tsaxton@xtensible.net
• Thank you

88
How Are CIM Standards Used?
• Unlike most standards we use
– Ex: ICCP/TASE.2 Communication Protocol standard
– Fixed functionality, very stable, easy to test compliance, but inflexible
• CIM standards can be strictly applied and tested for compliance
– Ex: CIM/XML Power system model exchange
– Product interfaces can be developed and tested for compliance
– Subject of several EPRI-sponsored interoperability tests for specific
interface definition

90
Example: Power Flow Network Model Exchange

Information and Semantic Models

Information Model
• Defines all concepts needed for
Conforms to exchange of operational load flow
IEC 61970-301 CIM CIM UML models
– Reused parts
– New extensions

Context
Contextual layer restricts information model
Conforms to
Power System • Specifies which part of CIM is used for
IEC 61970-452, 453, static/dynamic model exchange
456, others Model Profile • Mandatory and optional
Model Exchange Group • Restrictions
Profile • But cannot add to information model

Message Syntax File syntax


Conforms to • Can re-label elements
IEC 61970-501 and -552 CIM/RDF • Change associations to define single
CIM XML Model Exchange Format Schema structure for message payloads
• Mappings to various technologies can
be defined

91
Ex: Power Flow Network Model Exchange
Information Model
• Defines all concepts needed for
Conforms to CIM UML exchange of operational load flow
IEC 61970-301 CIM models
– Reused parts
– New extensions

Contextual layer restricts information model


Concrete
Conforms to • Specifies which part of CIM is used for
IEC 61970-452 static model exchange
Message Model Exchange
Profile • Mandatory and optional
Profile • Restrictions
• But cannot add to information model

File syntax
Conforms to • Can re-label elements
IEC 61970-552-4 CIM/XML
RDFSchema • Change associations to define single
CIM XML Model Exchange Format structure for message payloads
• Mappings to various technologies can
be defined

92
The IEC Standards for Power System Model
Exchange
• The CIM translated into the industry standard eXtensible Markup
Language (XML):
– Uses a standard XML format that any EMS can understand using
standard Internet and/or Microsoft technologies
• IEC 61970 series of standards
– Part 301 CIM Base
• Specifies UML model
– Parts 452 and 456 CIM Model Exchange Specification
• Specifies guidelines for the definition of specific profiles (or subsets) of the
CIM for particular power system model exchange requirements
– Part 501 CIM RDF Schema
• Specifies mapping between UML model and XML model using RDF Schema
• This was mandated by NERC for exchange of models between Reliability
Coordinators
– Part 552 CIM XML Model Exchange Format
• Specifies simplified RDF Schema and extensions to transfer incremental
updates via difference file

93
How Are CIM Standards Used?
• Unlike most standards that we are used to
– Ex: IDDP/TASE.2 Communication Protocol standard
– Fixed functionality, very stable, easy to test compliance, but inflexible
• CIM standards can be strictly applied and tested for compliance
– Ex: CIM/XML Power system model exchange
– Product interfaces can be developed and tested for compliance
– Subject of several EPRI-sponsored interoperability tests for specific
interface definition
• CIM can also be used as a starter kit
– Basis for an Enterprise Semantic Model (ESM) which includes other
models/semantics from other sources
– Ex: Sempra Information Model (SIM)
– Interfaces are usually project-defined, so no standard tests
– System interfaces are managed and tested for each project

94
GridWise Interoperability Framework

Role of CIM

95
Enterprise Semantic Models
– CIM + Other Industry Standards

Merge – resolve Other


Private UML
CIM UML semantic Information
Extensions differences Models

Context
Contextual layer restricts information model
• Constrain or modify data types
Profile • Cardinality (may make mandatory)
• Cannot add to information model

Message Syntax
Message/data syntax describes format for instance
Schemas data
XSD, RDFS, • Can re-label elements
DDL • Change associations to define single structure for
message payloads
• Mappings to various technologies can be defined

96
Building and Using an ESM for Generating
Canonicals (XSDs, DDLs, others)

Semantic Formalization Semantic Consistency

Existing Terminology
and Metadata
ClassA

ClassB

ClassC

3) Generate Canonicals
1) Establish Vocabulary 2) Develop ESM •Syntactically and semantically
•Control Content •Model using vocabulary terms consistent canonical models
•Collaborate •Refine context
•Identify and refine semantics
Context Refinement

Compliments Xtensible MD3i


97
Role of Enterprise Semantic Model
Application Process Business
Open Information Integration Intelligence
Standards
BPM/Workflow
Definitions
Business

Enterprise
Semantic Enterprise Integration Platforms
Model

Applications
Metadata

98
Let’s Apply to a Utility Project
- Interface Architecture

Other
CIM UML
CIM UML Bridge Information
Extensions Models

Context
Profile 1
System Interface Profile 1
Profile 1 Profile 2 Profile 3
Design
Document

Interface Syntax
Message CIM/RDF
DDL
XML Schema Schema

99
Ex: Project Interaction Test

Conforms to Enterprise Semantic Model


Utility ESM ESM • Defines all concepts needed for
Enterprise
– Reused parts
– New extensions for project

Contextual layer restricts ESM


Conforms to • Specifies which part of ESM is used for
Concrete Profiles defined specific system interaction
Message for each
Profile • Mandatory and optional
system interaction • Restrictions
• But cannot add to information model

File syntax
Conforms to • Can re-label elements
WSDLs and Message XML • Change associations to define single
Schema structure for message payloads
XML Schemas • Mappings to various technologies can
be defined

100
Project Integration
Architecture

101
Data Architecture
– Model

CIM CIS OTHER


REFEFENCE
MODELS

SEMPRA Semantic Model


MODEL

MESSAGES
Business Business Business
Entity Entity Entity

SCHEMAS
DB Schema XML Schema

102
Use of ESM to Implement a Service Oriented
Architecture (SOA)

• CAISO designed a new power market system


– Multi-year program that involved many vendors, new systems, as
well as numerous legacy systems
• Includes EMS, Full Network Model, Outage Management, PI
Historian, Market Systems, many others
• External interfaces to Market Participants included
• Integration Competency Center decided on a Service
Oriented Architecture (SOA) for the integration framework
– Require all new applications and systems to be “Integration
Ready” with service-enabled interfaces
– Use only standard CAISO-defined services
– Payloads based on the CIM
– Based on Web services
– CIM and Model Driven Integration (MDI) methodology used to
define information exchange

103
Interface Examples:
Interface Type Example Implemented Utilized by Description
by
Information submitBid(XML) Vendor Enterprise These interfaces are for creating
Creation or modifying information within a
system of record.

Information publishCleanBidSet(XML) CAISO Vendor These interfaces are for


Transfer transferring information and
releasing custody.

Information receiveCleanBidSet(XML) Vendor EAI These interfaces are implemented


Interest by vendors to allow systems to
receive information as it becomes
available. This indicates a
subscription type interest in data.

Information getResourceInfo(XML) Vendor Enterprise These interfaces are implemented


Sharing XML by the vendors to surface
information currently within
custody to the enterprise.

(Slide from Stipe Fustar, KEMA)


104
System A Integration Layer
WS receiveMarketMeterData WS broadcastMarketMeterData

retrieveMarketMeterData WS PI

WS receiveMarketMeterData WS broadcastMarketMeterData

BITS
retrieveMarketInterchange WS

broadcastInvoiceData WS receiveInvoiceData WS

WS broadcastStatusInvoiceData

broadcastGeneralLedgerData WS receiveGeneralLedgerData WS
MC

(Slide from Stipe Fustar, KEMA)


105
(Slide from Stipe Fustar, KEMA)
106
(Slide from Stipe Fustar, KEMA)
107
CAISO Project Statistics
22 Systems
• Dispatch System • Default Energy Bids • OASIS
• MP Report Interface • Real Time Metering • Interchange Scheduling
• Load Forecast System
• Transmission Capacity • Adjusted Metering
• Congestion Revenue Rights
Calculator • Market Participants
• Real Time Nodal System – Bidding
• Intermittent Resources
• Settlement and Market – Market Results • Compliance
Clearing – Settlement • RMR Validation
• Bid Interface and Validation – Outage Scheduling • Generation Outage Scheduling
– Dispatch Signals • Transmission Outage
7 Vendors • Forward Market Nodal Scheduling
• Siemens - Market Systems System • Market Quality System
• ABB - EMS system (ATF updates)
• Areva - Settlement System • EMS
• Legacy - CAISO system
• Nexant - Congestion
Revenue Rights System
• MCG - Interchange Appr 130 integrations between the 22 systems
Scheduling System Appr 75 message schemas
• Potomac - Default Energy Appr 175 service definitions
Bids
Appr 450 publisher/consumer testable data transfers
between systems

108
Pacificorp Use of CIM
• PacifiCorp is successfully using CIM to design both interfaces and
databases
– CIM was adopted in 1999 as PacifiCorp’s application integration standard
– Used for both messaging and database design for new projects
– Existing interfaces are reworked when the need arises
• Model Driven Integration based on the CIM viewed internally as “Best
Practice”
– Having a common vocabulary reduces semantic misinterpretation
– Reusing messages minimizes integration costs
– Minimal knowledge of internal application designs required
– Xtensible MDI Workbench used for message creation, management, and
maintenance
• CIM is here to stay
– CIM is standard design practice
– PacifiCorp vendors are getting used to the idea
– PacifiCorp’s data warehouse is based on the CIM
– EMS/SCADA system (Ranger) uses a CIM-based data maintenance tool

109
CIM Scorecard – Examples of CIM use
Business Application/ Message(s) CIM Pct of
Units Project message
that is CIM

Power Substation IntervalRead, SubstationEquipment.Measurement MeasurementList 90%


Delivery Measurements

Outage Center TroubleCalls, TroubleReportAlerts, TroubleReportDetails, OutageManagement 80%


Call Handing TroubleReportSummary, Customer Info, Customer Balance,
Customer Account Balance

Retail Access RegisterReadRequest, BillDeterminant, CustDrop, CustomerMeterDataSet, 80%


Project Enroll.DACust, EnrollmentChange, NonDACust, CustomerServiceAgreement,
Reg.ESSRegister, Register.ESS, ESStatusChange, MeasurmentList,
SESSESSRelationshipChange, RegisterReadResponse, Document, ActivityRecord,
CnIConsumption, DAEnrollConsumption, CustomerBilling,
EnrollmentChange, NonDAEnrollConsumption, BillingDeterminant
ESSStatusChange

Pole Attachment FacilityPoint, JointUse.Agreement, JointUse.Attachment, AssetList 70%


System JointUse.Notice, JointNoticeRequest, FacilityPoint

Transmission Transmission PlannedOutage.Change PlannedOutageNotification 50%


Planned
Outages

Transmission TransmissionData, STLossData, LTLossData, Settlement and MarketClearing 70%


Wholesale Billing Scheduling.LoadData,
System ConsumptionData, InvoiceData

EMS SCADA WeatherData MeasurementList 100%

110
CIM Scorecard Cont’d
Business Application/ Message(s) CIM Pct of
Units Project message
that is CIM

Power Availability GeoThermalPlantGeneration MeasurementList 60%


Supply/ Information
Generation System

Hydro FlowDisplay MeasurementList 100%


Information
Website

Generation SolutionNotification, Performance, SolutionProject, Work 90%


Equipment EquipmentGroupRepetitiveTasks, WorkHistory
Performance Inventory.StockingPlan,
Work WorkHistoryDocument
Management

Commercial CRS MarkToMarketData MarkToMarket (Not in CIM) 80%


& Trading

California ISO EDI810 Settlement 50%


interface

Corporate Giving EmployeeDetails, ContributionPayrollDetails Employee (erpPerson) 70%


Campaign

Sarbanes Oxley ChangeAuditReport ChangeAudit (Not in CIM) 90%


Audit

111
Addressing Objections to the Use of
the CIM Standards
• Claim: CIM is not stable
– Fact: The CIM UML model is evolving as new applications are identified
– Fact: Only small part of CIM information model is used for a given interface, so change of information model
unlikely to affect specific interface.
– Solution: Version control - tie interface designs to project specifications, not directly to standard
• CIM is to complex too learn and contains many parts I do not need
– Fact: The overall CIM UML model is large and complex
– Reality: A typical interface requires only very small subset of information model
• CIM creates too much overhead in message content
– Fact: Only instantiated concrete class/attributes are actually sent in a message instance
– Reality: Message payload is no larger than any XML formatted message
• I don’t want to add in an extra step of converting to CIM for system integration
– Fact: There is an extra step of mapping to CIM for one connection
– Reality: Consequence of not mapping to a common language is solution that does not scale:
• n(n-1) instead of 2n connection mappings
• I can’t expect my vendors to adopt the CIM model for their interface
– Fact: Only a few parts of the CIM need to be “Known” by the vendor
– Reality: Approach is to specify the mappings to a common language (CIM) as part of the interface contract
• I don’t want to convert all my metadata to the CIM
– Fact: CIM is a starter kit
– Reality: Use CIM as appropriate for building your own ESM – far better than starting from scratch
• CIM does not contain everything I need or in the form I need for my interfaces
– Fact: CIM UML is extensible
– Reality: Many utilities still use the CIM as a starting point, using namespaces to maintain traceability

112
CIM Usage
• Many EMS vendors support power system model exchange using CIM/RDF/XML,
some with CIM-based databases behind the scenes
• EPRI has sponsored 12 interoperability tests for transmission model exchange and
service validation and more recently for planning and distribution
• Utilities have implemented CIM-based integration using EAI technologies
– Utilities have used the CIM as the basis for developing common messages for integration
• Asset and work management vendors as well as GIS application vendors are
supporting CIM/XSD standards
• AMI (Smart Meter) projects use IEC 61968 Part 9 for meter related information
exchange
• CIM has been extended into the power market, planning, and dynamic model
exchange
• CIM provides a foundation for Service-Oriented Architecture (SOA) and Web service
implementations
• Vendors have developed tools to build CIM-based information exchange messaging,
ESB and OPC interfaces, and repository applications that can process CIM-aware data
• MultiSpeak is converting to CIM-based UML models and XML
• ENTSO_E is converting power model exchanges and day-ahead forecasts for
planning/operational applications to CIM based format
– Second IOP conducted in July 2010 (first was UCTE IOP in March 2009)
• Many Smart Grid-related activities based on CIM
– Separate presentations during week

113
CIM Acceptance
• In use at dozens of utilities throughout world
– In North America, used at TSOs, RTO/ISOs and NERC as well
– In Europe now being adopted by UCTE and TOs
• 50+ applications based on CIM
• 40+ suppliers sell application/products based on CIM
– See CIM Reference List for Details
• Endorsed by other standards organizations
– Multispeak, Zigbee, HAN, UCTE, etc.
• Foundation for information exchange between utilities and/or other
external organizations
• Foundation for Model-Driven Integration (MDI) architecture based on
Enterprise Information Model (EIM) within an enterprise
• Key building block in Smart Grid to achieve interoperability
• CIM User Group to deal with questions and issues arising from
increased use

114
Concluding Remarks
• Bottom line: CIM standards are different and
much more powerful
– Can be applied in many ways
– Support many types of functions/applications through
combination of reuse and extension
– Architecture supports future, unknown applications

115
Questions?
• Contact tsaxton@xtensible.net
• Thank you

116
Profiles Defined
• Equipment  Topology
– Identifies equipment,  The result of topology processing.
describes basic i.e. Description of how equipment
characteristics, and electrical connects into buses and how
connectivity that would be buses makeup connected systems
input to topology processing
• Schedules  State Variables
– Describes input to functions  This is the set of state variables
that derive parameters for a used in the mathematical
specific point in time formulation that the algorithms
• Measurement Specs work with
– Describes how SCADA will  Schematic Layouts
obtain measurements and  Describes how equipment objects
what equipment objects are are placed on schematic diagrams
measured
• Measurement Set  Dynamics
– The set of SCADA values for  Adds dynamics to static network
measurements for a particular model
point in time  Diagram Layout

120
61970 Profile Groups •Provided by Jay Britton

61970-456 Profile Group Future 61970-


45x Profile
State
Variables Dynamic
Models

Measurement
Topology
Set

61970-453
Measurement Profile
Specifications

61970-452
Equipment Schematic
Profile Model Layouts
Group
Boundary
Objects
Common Schedules
Objects

121
Typical Workflow for Model
Exchange

Equipment State
Topology
Variables

•E1 •T1 •S1

•S2

•T1.1 •S3

•Time •E1.1 •S4


•T1.2

•S5

•T1.3
•S6

•Profile
•S7
•Full model
•DifferentialModel
•S8
•Predecessor
•DependsOnModel

122

Вам также может понравиться