XML For Cim Model Exchange: A. Devos, Member Ieee S.E. Widergren, Sr. Member, Ieee J. Zhu, Member Ieee
XML For Cim Model Exchange: A. Devos, Member Ieee S.E. Widergren, Sr. Member, Ieee J. Zhu, Member Ieee
Keywords:
power system modeling, electronic data
interchange, data models, power system control, transmission
control, data management, data communication, software
standards
I.
INTRODUCTION
<?XML Version=1.0?>
<!DOCTYPE pes_meeting SYSTEM pes.dtd>
<meeting ID=SUM2000>
<where>
<country> USA </country>
<city> Seattle </city>
</where>
<when>
<month> July </month>
<date> 18 </date>
<year> 2000 </year>
</when>
</meeting>
A pragmatic reason for using XML in all these areas, and for
power system model exchange in particular, is the availability
of tools and libraries. Moreover, XML is accompanied by an
extensive technology infrastructure covering functions such as
transformation, presentation, query, schema and exchange
protocols.
A. Vocabularies
XML stands for eXtensible Markup Language. Two of its
antecedents are the Standard Generalized Markup Language
(SGML) and Hypertext Markup Language (HTML).
Because of the web, HTML is the most familiar. In contrast
to HTML, XML is generic. While HTML defines a fixed
vocabulary of tags with which to create web pages, XML
32
1.
2.
3.
<DOCTYPE pes_meeting [
<!ELEMENT meeting (where, when)>
<!ELEMENT where
(country, city)>
<!ELEMENT when
(month, date, year)>
...
]>
XML Framework
Company
A
Database
XML
Import/
Export
XML
Doc.
XSL
transf.
Company
B
Database
XML
Import/
Export
Browser
Tool
XSL
transf.
XML
Doc.
http://www.w3.org/XML/
Author
33
Dan
Connolly
Power
System
Resource
MemberOfCompany
0..*
ContainsPSR
Is a
0..*
Conducting
Equipment
Company
Substation
Switch
Breaker
<rdf:RDF>>
<rdf:Description about=http://www.w3.org/XML>
<des:Author> Dan Connolly </des:Author>
</rdf:Description>
<rdf:RDF>
rdfs:dom ain
Switc h
N orm alO p en:
Boolean V alu e
Switc h
N orm alO p en
rdfs:subC las sO f
Break er
Am pR ating:
C urrentF low
Break er
Am pR ating
rdfs:dom ain
34
<rdfs:Class rdf:ID="Switch">
<rdfs:label>Switch</rdfs:label>
<rdfs:subClassOf
rdf:resource="#ConductingEquipment"/>
</rdfs:Class>
<rdfs:Class rdf:ID="Breaker">
<rdfs:label>Breaker</rdfs:label>
<rdfs:subClassOf rdf:resource="#Switch"/>
</rdfs:Class>
<rdf:Property rdf:ID="Switch.NormalOpen">
<rdfs:label>NormalOpen</rdfs:label>
<rdfs:domain resource="#Switch"/>
<rdfs:range rdf:resource="#Boolean"/>
</rdf:Property>
<rdf:Property rdf:ID="Breaker.AmpRating">
<rdfs:label>AmpRating</rdfs:label>
<rdfs:domain resource="#Breaker"/>
<rdfs:range rdf:resource="#Real"/>
</rdf:Property>
<cim:Substation ID="ID1"
cim:PowerSystemResourceName="East">
<cim:MemberOfCompany resource="#ID3">
<cim:Contain>
<cim:Breaker ID="ID2"
cim:PowerSystemResourceName="11023"
cim:Manufacturer="Admirable Electric"
cim:NormalOpen="true"/>
</cim:Contain>
</cim:Substation>
<cim:Company ID="ID3" CompanyName="BPA" >
<cim:CompanyDescription>
This is a government organization
</cim:CompanyDescription>
</cim:Company>
CIM RDF
Schema
RDF
Syntax
D. Simplified Syntax
RDF syntax provides many ways to represent the same set of
data. For example, an association between two resources can
be written with a resource attribute (as per the
cim:MemberOfCompany element in figure 10) or by nesting one
element within another (as per the cim:Contain element). This
could make it difficult to use some XML tools, such as XSLT
processors, with the CIM XML document.
Therefore, a subset of the RDF Syntax has been proposed [3]
for use in CIM XML documents. The aim of this syntax is to
make it easier for implementers to construct serializers and
deserializers, as well as to improve the effectiveness of
general XML tools when used with CIM XML documents.
The proposed syntax is a proper subset of the standard RDF
syntax. Thus, it can be read by existing RDF deserializers. In
this, it differs from some other proposals for a simplified RDF
syntax, such as 8], [9].
Proprietary
Power System
Data
CIM
in UML
specify
reference
Importer/
Exporter
Power
System Data
as
CIM XML
xmlns:bpa="http://www.bpa.gov/schema
/cim_extension/2001may"
In our prototype CIM XML document, we can add a nonCIM attribute, OriginalPO, to the breaker class, as shown
below. These customized tags for BPA can be simply
ignored if a system import program is not interested in such
extensions.
<cim:Contain>
<cim:Breaker ID="2"
cim:PowerSystemResourceName="11023"
cim:Manufacturer="Admirable Electric"
bpa:OriginalPO="PO123123123"
cim:NormalOpen="true"/>
</cim:Contain>
CONCLUSIONS
IX. ACKNOWLEDGEMENTS
The authors wish to recognize all of those involved in the
CCAPI Task Force and IEC TC57 WG13 for their
considerable efforts in the creation of the CIM. In particular,
we applaud Leila Schneberger for her contribution in
representing the CIM in UML and creating software that
mechanically generates CIM RDF schema. We also want to
acknowledge the role of Margaret Goodrich in working with
the appropriate committees of NERC on the CIM XML
format to recommend this approach.
xmlns:cim="http://www.iec.ch/tc57/schema/cimu08b"
Software reading the CIM XML document can then detect the
CIM XML version and respond accordingly.
B. Model Extensions
The X in XML stands for eXtensible. This means that CIM
XML documents can be extended to model vendor or utility
special needs. The CIM RDF schema can be extended with
new classes and attributes by providing a separate namespace.
Because a separate namespace is used, the customized CIM
XML documents clearly delineate what is CIM standard and
what is custom. Several different custom extensions can exist
and be clearly identified within the same XML document.
When these customized documents are imported to
X. GLOSSARY OF ACRONYMS
CIM Common Information Model: an object-oriented model of power
system operations classes with their attributes and relationships to other
classes.
36
[2]
[6]
[7]
[8]
[9]
BIOGRAPHIES
Arnold deVos (M 96) received his BE(Elec.) from the NSW Institute
of Technology, Sydney, Australia in 1981. He worked in system
operations at the NSW Electricity Commission and developed
software for load forecasting and operational data handling. He also
developed inter-utility data exchange standards for the S.E. Australian
interconnection. Subsequently he joined Megadata P/L (now part of
Logica, UK) where he was the architect of the MOSAIC SCADA
system, and developed its distributed database and user interface. In
1995 he joined ALSTOM ESCA where he developed EMS power
system modelling tools. He is now a partner in Langdale Consultants
where he consults on system integration issues and develops software
to address this area. He is active in several utility forums and is the
author of the CORBA standard interface for EPRI CIM models.
Steve Widergren (M 78, SM 92) received his BSEE and MSEE
from the University of California, Berkeley in 1975, 78 respectively.
He developed and maintained programs for system planning and
control center operations at Pacific Gas & Electric, and American
Electric Power. For the past 18 years he has been associated with
ALSTOM ESCA contributing to the areas of network security
analysis, project delivery, and productization of the firms EMS
product line. He is involved in developing tools to address power
system modeling issues, and in the design of software solutions for
operation in the restructured energy environment. He is a vice-chair of
the PES Energy Control Center Subcommittee, a member of the EPRI
CCAPI Task Force, and a USA technical expert to IEC TC57 WG13
on EMS API.
Jun Zhu (M 94) received his B.S. degree from Huazhong University
of Science & Technology, Wuhan, China, in 1986, his M.E. degree
from Nanjing Automation Research Inst. (NARI), Nanjing, China, in
1989, and his Ph.D. degree from Clemson University, Clemson, SC, in
1994, all in Electrical Engineering. Presently, he is working with
ALSTOM ESCA in the areas of power system modeling and
distribution management (DMS). Previously, he developed
distribution analysis software for Power Technologies, Inc. (PTI).
XI. REFERENCES
[1]
[5]
37