SIST EN 62361-100:2016
(Main)Harmonization of quality codes across TC 57 - Part 100: Naming and design rules for CIM profiles to XML schema mapping
Harmonization of quality codes across TC 57 - Part 100: Naming and design rules for CIM profiles to XML schema mapping
This part of IEC 62361 describes a mapping from CIM profiles to W3C XML Schemas.
The purpose of this mapping is to facilitate the exchange of information in the form of XML
documents whose semantics are defined by the IEC CIM and whose syntax is defined by a
W3C XML schema.
/
Harmonisation des codes qualité à travers le TC 57 - Partie 100: Règles de désignation et de conception dans la mise en correspondance des profils CIM avec les schémas XML
L'IEC 62361-100:2016 décrit le mapping entre les profils CIM et les schémas XML W3C, destiné à faciliter l'échange d'informations sous la forme de documents XML dont la sémantique est définie par le CIM de l'IEC et dont la syntaxe est définie par un schéma XML W3C.
Harmonizacija kod kakovosti v TC 57 - 100. del: Pravila za poimenovanje in načrtovanje profilov CIM po shemi preslikave XML
Ta del standarda IEC 62361 opisuje preslikavo iz profilov CIM v sheme W3C XML. Namen preslikav je olajšati izmenjavo informacij v obliki dokumentov XML, katerih semantika je določena z modelom IEC CIM, sintaksa pa s shemo W3C XML.
General Information
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 62361-100:2016
01-november-2016
+DUPRQL]DFLMDNRGNDNRYRVWLY7&GHO3UDYLOD]DSRLPHQRYDQMHLQ
QDþUWRYDQMHSURILORY&,0SRVKHPLSUHVOLNDYH;0/
Harmonization of quality codes across TC 57 - Part 100: Naming and design rules for
CIM profiles to XML schema mapping
/
Harmonisation des codes qualité à travers le TC 57 - Partie 100: Règles de désignation
et de conception dans la mise en correspondance des profils CIM avec les schémas
XML
Ta slovenski standard je istoveten z: EN 62361-100:2016
ICS:
33.200 Daljinsko krmiljenje, daljinske Telecontrol. Telemetering
meritve (telemetrija)
SIST EN 62361-100:2016 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 62361-100:2016
---------------------- Page: 2 ----------------------
SIST EN 62361-100:2016
EUROPEAN STANDARD EN 62361-100
NORME EUROPÉENNE
EUROPÄISCHE NORM
September 2016
ICS 33.200
English Version
Power systems management and associated information
exchange - Interoperability in the long term -
Part 100: CIM profiles to XML schema mapping
(IEC 62361-100:2016)
Gestion des systèmes de puissance et échanges Management von Systemen der Energietechnik und
d'informations associés - Interopérabilité à long terme - zugehöriger Datenaustausch - Langfristige Interoperabilität -
Partie 100: Mapping des profils CIM avec le schéma XML Teil 100: Abbilden von CIM Profilen auf XML Schemen
(IEC 62361-100:2016) (IEC 62361-100:2016)
This European Standard was approved by CENELEC on 2016-07-20. CENELEC members are bound to comply with the CEN/CENELEC
Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.
Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC
Management Centre or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation
under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the
same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,
Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia,
Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland,
Turkey and the United Kingdom.
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels
© 2016 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN 62361-100:2016 E
---------------------- Page: 3 ----------------------
SIST EN 62361-100:2016
EN 62361-100:2016
European foreword
The text of document 57/1704/FDIS, future edition 1 of IEC 62361-100, prepared by IEC/TC 57
"Power systems management and associated information exchange" was submitted to the IEC-
CENELEC parallel vote and approved by CENELEC as EN 62361-100:2016.
The following dates are fixed:
(dop) 2017-04-20
• latest date by which the document has to be implemented at
national level by publication of an identical national
standard or by endorsement
(dow) 2019-07-20
• latest date by which the national standards conflicting with
the document have to be withdrawn
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC [and/or CEN] shall not be held responsible for identifying any or all such
patent rights.
This document has been prepared under a mandate given to CENELEC by the European Commission
and the European Free Trade Association.
Endorsement notice
The text of the International Standard IEC 62361-100:2016 was approved by CENELEC as a
European Standard without any modification.
In the official version, for Bibliography, the following notes have to be added for the standards indicated:
IEC 61968 NOTE Harmonized in EN 61968 series.
IEC 62325 NOTE Harmonized in EN 62325 series.
2
---------------------- Page: 4 ----------------------
SIST EN 62361-100:2016
EN 62361-100:2016
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications
The following documents, in whole or in part, are normatively referenced in this document and are
indispensable for its application. For dated references, only the edition cited applies. For undated
references, the latest edition of the referenced document (including any amendments) applies.
NOTE 1 When an International Publication has been modified by common modifications, indicated by (mod),
the relevant EN/HD applies.
NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is
available here: www.cenelec.eu.
Publication Year Title EN/HD Year
IEC 61968-11 - Application integration at electric EN 61968-11 -
utilities - System interfaces for
distribution management -
Part 11: Common information model
(CIM) extensions for distribution
IEC/TS 61970-2 - Energy management system application CLC/TS 61970-2 -
program interface (EMS-API) -
Part 2: Glossary
IEC 61970-301 - Energy management system application EN 61970-301 -
program interface (EMS-API) -
Part 301: Common information model
(CIM) base
IEC 62325-301 - Framework for energy market EN 62325-301 -
communications -
Part 301: Common information model
(CIM) extensions for markets
IEC 62325-450 2013 Framework for energy market EN 62325-450 2013
communications -
Part 450: Profile and context modelling
rules
W3C XML Schema 2004 XML Schema - - -
Part 1 Part 1: Structures
IETF RFC 3986 2005 Uniform Resource Identifier (URI): - -
Generic Syntax
3
---------------------- Page: 5 ----------------------
SIST EN 62361-100:2016
---------------------- Page: 6 ----------------------
SIST EN 62361-100:2016
IEC 62361-100
®
Edition 1.0 2016-06
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Power systems management and associated information exchange –
Interoperability in the long term –
Part 100: CIM profiles to XML schema mapping
Gestion des systèmes de puissance et échanges d'informations associés –
Interopérabilité à long terme –
Partie 100: Mapping des profils CIM avec le schéma XML
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 33.200 ISBN 978-2-8322-3454-9
Warning! Make sure that you obtained this publication from an authorized distributor.
Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.
® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale
---------------------- Page: 7 ----------------------
SIST EN 62361-100:2016
– 2 – IEC 62361-100:2016 © IEC 2016
CONTENTS
FOREWORD . 5
INTRODUCTION . 7
1 Scope . 8
2 Normative references. 8
3 Terms and definitions . 8
4 System context . 10
4.1 Profiling process . 10
4.2 CIM . 11
4.3 Contextual model . 11
4.4 Contextual model artefacts . 11
4.4.1 Contextual model artefacts and CIM subset . 11
4.4.2 Contextual model artefacts definition . 11
4.5 Mapping contextual model to XML schema . 14
4.5.1 General . 14
4.5.2 Traceability . 14
4.6 XML Schema Representation . 14
4.7 Namespaces . 15
5 Mapping specifications . 15
5.1 General . 15
5.1.1 Example . 15
5.1.2 Mapped name . 16
5.2 Profile mapping . 16
5.2.1 General . 16
5.2.2 Namespace and version . 17
5.2.3 Schema top level element . 17
5.2.4 Types . 18
5.2.5 Semantic annotation . 18
5.3 Structured classes . 19
5.4 Compound classes . 20
5.5 Basic types . 21
5.6 Simple types . 21
5.6.1 Mapping rules . 21
5.6.2 Possible facets . 22
5.7 Data Types mapping . 23
5.8 Enumeration classes mapping . 25
5.9 CodeList classes mapping . 26
5.10 Simple properties mapping . 27
5.11 Compound properties mapping . 28
5.12 Object properties . 29
5.12.1 Mapping rules overview . 29
5.12.2 Typed object properties mapping . 29
5.12.3 By reference object properties mapping . 29
5.12.4 Union object properties mapping . 30
5.13 Exclusive property group mapping . 32
5.14 Documentation and categorized documentation . 33
5.14.1 General mapping . 33
---------------------- Page: 8 ----------------------
SIST EN 62361-100:2016
IEC 62361-100:2016 © IEC 2016 – 3 –
5.14.2 Documentation mapping . 33
5.14.3 Categorized documentation mapping . 33
5.14.4 Stereotype mapping . 33
5.15 Names . 34
5.16 Mapping order . 34
5.16.1 General mapping order basis . 34
5.16.2 Alphabetical based mapping order . 35
5.16.3 Business context based mapping order . 36
5.17 Changing name rules . 36
Annex A (normative) Use of dedicated XML schemas for datatypes, enumerations
and codelists . 38
A.1 Context: . 38
A.2 Modular schema design and mapping: . 38
A.3 Artefact mapping . 39
A.3.1 General rule . 39
A.3.2 Datatype, enumeration or codelist mapping: . 39
A.3.3 Simple property mapping . 40
Annex B (informative) Contextual model representations . 41
Annex C (informative) Changing name rules examples . 42
C.1 Changing name rule context . 42
C.2 Changing name rules when using "union" super class . 42
C.2.1 General . 42
C.2.2 Changing name rule when CIM association end role name and CIM
super class name are the same . 42
C.2.3 Changing name rule when CIM association end role name is the CIM
super class name prefixed by a qualifier followed by an underscore . 43
C.2.4 Changing name rule when CIM association end role name and the CIM
super class name are completely different . 44
C.3 Changing name rules when using complex properties with the same name . 45
C.3.1 General . 45
C.3.2 Changing name rule when CIM association end role name and CIM
super class name are the same . 45
C.3.3 Changing name rule when CIM association end role name is the CIM
super class name prefixed by a qualifier followed by an underscore . 46
C.3.4 Changing name rule when CIM association end role name and the CIM
super class name are completely different . 48
Bibliography . 50
Figure 1 – Example XML Schema CIM-based profile . 16
Figure 2 – Example of alphabetical order . 34
Figure 3 – Example of business order . 34
Figure 4 – Example business context order of a schema . 36
Figure C.1 – Example of end role name matching super class name . 42
Figure C.2 – Contextual model end role name matching super class name . 43
Figure C.3 – Example of end role name with a qualifier . 43
Figure C.4 – Contextual model end role name with a qualifier . 44
Figure C.5 – End role name and super class name different . 44
Figure C.6 – Contextual model with end role name different from super class name . 45
---------------------- Page: 9 ----------------------
SIST EN 62361-100:2016
– 4 – IEC 62361-100:2016 © IEC 2016
Figure C.7 – Example of end role name matching super class name . 46
Figure C.8 – Contextual model end role name matching super class name . 46
Figure C.9 – Example of end role name with a qualifier . 47
Figure C.10 – Contextual model end role name with a qualifier . 47
Figure C.11 – End role name and super class name different . 48
Figure C.12 – Contextual model with end role name different from super class name . 48
Table 1 – Contextual model artefacts . 12
Table 2 – Basic Types . 21
Table 3 – Facets . 23
Table B.1 – Contextual model representation . 41
---------------------- Page: 10 ----------------------
SIST EN 62361-100:2016
IEC 62361-100:2016 © IEC 2016 – 5 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
POWER SYSTEMS MANAGEMENT AND ASSOCIATED INFORMATION
EXCHANGE – INTEROPERABILITY IN THE LONG TERM –
Part 100: CIM profiles to XML schema mapping
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 62361-100 has been prepared by IEC technical committee 57:
Power systems management and associated information exchange.
This is the first edition of the standard.
The text of this standard is based on the following documents:
FDIS Report on voting
57/1704/FDIS 57/1735/RVD
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
---------------------- Page: 11 ----------------------
SIST EN 62361-100:2016
– 6 – IEC 62361-100:2016 © IEC 2016
In this document, the following print types are used:
• Words printed in Arial Black apply to terms that are defined as contextual model artefacts
in 4.4.2,
• Words printed Courier New apply to terms that are used as XML Schema representation
(as defined in 4.6) or in XML examples,
• Words printed “between quotes” apply to terms that are used as tokens in the normative
clauses or that are defined as CIM artefacts.
A list of all parts of the IEC 62361 series, under the general title: Power systems management
and associated information exchange – Interoperability in the long term, can be found on the
IEC website.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC website under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
IMPORTANT – The 'colour inside' logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct
understanding of its contents. Users should therefore print this document using a
colour printer.
---------------------- Page: 12 ----------------------
SIST EN 62361-100:2016
IEC 62361-100:2016 © IEC 2016 – 7 –
INTRODUCTION
The IEC 62361 series defines standards which address areas of interest that impact multiple
standards and provide consistency for implementations.
This part of the IEC 62361 series describes a mapping from CIM profiles to W3C XML
Schemas and defines the rules that CIM XML message payloads shall adhere to.
The principle objective of this part of IEC 62361 is to facilitate the exchange of information in
the form of XML documents whose semantics are defined by the IEC CIM and whose syntax
is defined by a W3C XML schema. This will facilitate the integration of all applications that
use the XML Schema message payloads developed by the WGs and implemented
independently by different vendors into their systems.
The common information model (CIM) specifies the basis for the semantics for message
payload exchanges defined by the IEC. The profile specifications, which are contained in
other parts of the IEC 62361 series, specify the content of the message payloads exchanged.
The format/syntax of those payloads is specified in this part of IEC 62361.
---------------------- Page: 13 ----------------------
SIST EN 62361-100:2016
– 8 – IEC 62361-100:2016 © IEC 2016
POWER SYSTEMS MANAGEMENT AND ASSOCIATED INFORMATION
EXCHANGE – INTEROPERABILITY IN THE LONG TERM –
Part 100: CIM profiles to XML schema mapping
1 Scope
This part of IEC 62361 describes a mapping from CIM profiles to W3C XML Schemas.
The purpose of this mapping is to facilitate the exchange of information in the form of XML
documents whose semantics are defined by the IEC CIM and whose syntax is defined by a
W3C XML schema.
2 Normative references
The following documents, in whole or in part, are normatively referenced in this document and
are indispensable for its application. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any
amendments) applies.
IEC 61968-11, Application integration at electric utilities – System interfaces for distribution
management – Part 11: Common information model (CIM) extensions for distribution
IEC TS 61970-2, Energy management system application program interface (EMS-API) –
Part 2: Glossary
IEC 61970-301, Energy management system application program interface (EMS-API) –
Part 301: Common information model (CIM) base
IEC 62325-301, Framework for energy market communications – Part 301: Common
information model (CIM) extensions for markets
IEC 62325-450:2013, Framework for energy market communications – Part 450: Profile and
context modelling rules
XML Schema Part 1: Structures Second Edition W3C Recommendation 28 October 2004
IETF RFC 3986 Uniform Resource Identifier (URI): Generic Syntax January 2005
Semantic Annotations for WSDL and XML Schema W3C Recommendation 28 August 2007
3 Terms and definitions
For the purposes of this document, the terms and definitions of IEC TS 61970-2 apply, as well
as the following.
NOTE Refer to the International Electrotechnical Vocabulary, IEC 60050, for general glossary definitions.
3.1
artefact
element of a model that represents objects of a given domain and their characteristics
---------------------- Page: 14 ----------------------
SIST EN 62361-100:2016
IEC 62361-100:2016 © IEC 2016 – 9 –
3.2
canonical model
abstract model that represents all the major objects of a given domain (energy, electricity…)
with artefacts
3.3
common information model
CIM
canonical model (abstract model) that represents all the major objects in an electric utility
enterprise typically needed to model the operational aspects of a utility
Note 1 to entry: CIM is defined in the IEC 61968, IEC 61970 and IEC 62325 series.
Note 2 to entry: This note applies to the French language only.
3.4
contextual model
restricted subset of CIM artefacts
3.5
extensible markup language
XML
markup language that defines a set of rules for encoding documents in a format that is both
human-readable and machine-readable
Note 1 to entry: This is defined in the XML Specification produced by the World Wide Web Consortium (W3C).
Note 2 to entry: This note applies to the French language only.
3.6
profile
uniquely named subset of CIM classes, associations and attributes needed to accomplish a
specific type of interface
1
Note 1 to entry: A profile, as used in this document, is defined in IEC 62325-450:2013 and IEC 62361-101 .
3.7
resource description format
RDF
family of World Wide Web Consortium (W3C) specifications originally designed as a metadata
data model
Note 1 to entry: This term has come to be used as a general method for conceptual description or modelling of
information that is implemented in web resources, using a variety of syntax formats.
Note 2 to entry: This note applies to the French language only.
3.8
semantic annotation for WSDL and XML Schema
SAWSDL
set of extension attributes for the Web Services D
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.