1、 INTERNATIONAL STANDARD IEC 61970-501First edition 2006-03Energy management system application program interface (EMS-API) Part 501: Common Information Model Resource Description Framework (CIM RDF) schema Reference number IEC 61970-501:2006(E) Publication numbering As from 1 January 1997 all IEC pu
2、blications are issued with a designation in the 60000 series. For example, IEC 34-1 is now referred to as IEC 60034-1. Consolidated editions The IEC is now publishing consolidated versions of its publications. For example, edition numbers 1.0, 1.1 and 1.2 refer, respectively, to the base publication
3、, the base publication incorporating amendment 1 and the base publication incorporating amendments 1 and 2. Further information on IEC publications The technical content of IEC publications is kept under constant review by the IEC, thus ensuring that the content reflects current technology. Informat
4、ion relating to this publication, including its validity, is available in the IEC Catalogue of publications (see below) in addition to new editions, amendments and corrigenda. Information on the subjects under consideration and work in progress undertaken by the technical committee which has prepare
5、d this publication, as well as the list of publications issued, is also available from the following: IEC Web Site (www.iec.ch) Catalogue of IEC publications The on-line catalogue on the IEC web site (www.iec.ch/searchpub) enables you to search by a variety of criteria including text searches, techn
6、ical committees and date of publication. On-line information is also available on recently issued publications, withdrawn and replaced publications, as well as corrigenda. IEC Just Published This summary of recently issued publications (www.iec.ch/online_news/ justpub) is also available by email. Pl
7、ease contact the Customer Service Centre (see below) for further information. Customer Service Centre If you have any questions regarding this publication or need further assistance, please contact the Customer Service Centre: Email: custserviec.ch Tel: +41 22 919 02 11 Fax: +41 22 919 03 00 INTERNA
8、TIONAL STANDARD IEC 61970-501First edition 2006-03Energy management system application program interface (EMS-API) Part 501: Common Information Model Resource Description Framework (CIM RDF) schema IEC 2006 Copyright - all rights reserved No part of this publication may be reproduced or utilized in
9、any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the publisher. International Electrotechnical Commission, 3, rue de Varemb, PO Box 131, CH-1211 Geneva 20, Switzerland Telephone: +41 22 919 02 11 Telefax: +41 22 919 03 00 E-
10、mail: inmailiec.ch Web: www.iec.ch R For price, see current catalogue PRICE CODE Commission Electrotechnique Internationale International Electrotechnical Commission 2 61970-501 IEC:2006(E) CONTENTS FOREWORD.3 INTRODUCTION.5 1 Scope.6 2 Normative references .6 3 Terms and definitions .7 4 Structure
11、of an XML document .7 4.1 General .7 4.2 Elements.8 4.3 Attributes.8 5 Metadata and RDF Schema8 5.1 General .8 5.2 Resource.8 5.3 Property 9 5.4 Namespaces .9 5.5 CIM RDF Schema extensions9 6 CIM metadata.12 6.1 General .12 6.2 Schema.12 6.3 Mapping from UML13 6.4 Example CIM RDF Schema elements 15
12、Annex A (informative) CIM RDF Schema generation Mechanism for schema generation.18 61970-501 IEC:2006(E) 3 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ ENERGY MANAGEMENT SYSTEM APPLICATION PROGRAM INTERFACE (EMS-API) Part 501: Common Information Model Resource Description Framework (CIM RDF) schema F
13、OREWORD 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
14、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
15、 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
16、 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 tec
17、hnical 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 Pub
18、lications 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 na
19、tional 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 provides no marking procedure to indicate its approval and cannot be rendered responsible for any equipment declared to
20、 be in conformity with an IEC Publication. 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 Commi
21、ttees 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
22、 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 h
23、eld responsible for identifying any or all such patent rights. International Standard IEC 61970-501 has been prepared by IEC technical committee 57: Power systems management and associated information exchange. The text of this standard is based on the following documents: FDIS Report on voting 57/8
24、01/FDIS 57/813/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. 4 61970-501 IEC:2006(E) IEC 61970 consists of the following part
25、s, under the general title Energy Management System Application Program Interface (EMS-API): Part 1: Guidelines and general requirements Part 2: Glossary Part 301: Common Information Model (CIM) base Part 302: Common information model (CIM) financial, energy scheduling and reservations 1Part 401: Co
26、mponent interface specification (CIS) framework Part 402: Component interface specification (CIS) Common services 1Part 403: Component Interface Specification (CIS) Generic data access 1Part 404: Component Interface Specification (CIS) High speed data access 1Part 405: Component Interface Specificat
27、ion (CIS) Generic eventing and subscription 1Part 407: Component Interface Specification (CIS) Time series data access 1Part 453: Exchange of Graphics Schematics Definitions (Common Graphics Exchange)1Part 501: Common Information Model Resource Description Framework (CIM RDF) schema The committee ha
28、s decided that the contents of this publication will remain unchanged until the maintenance result date indicated on the IEC web site 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 edi
29、tion, or amended. A bilingual edition of this standard may be issued at a later date. 1Under consideration. 61970-501 IEC:2006(E) 5 INTRODUCTION This standard is part of the IEC 61970 series that define an Application Program Interface (API) for an Energy Management System (EMS). This standard is ba
30、sed upon the work of the EPRI Control Center API (CCAPI) research project (RP-3654-1). This part specifies the mapping between the conceptual model specified as Unified Modeling Language (UML) defined in IEC 61970-3XX series: Common Information Model and the machine readable Extensible Markup Langua
31、ge (XML) representation of that schema using the Resource Description Framework (RDF) Schema specification language. 6 61970-501 IEC:2006(E) ENERGY MANAGEMENT SYSTEM APPLICATION PROGRAM INTERFACE (EMS-API) Part 501: Common Information Model Resource Description Framework (CIM RDF) schema 1 Scope Thi
32、s International Standard specifies a Component Interface Specification (CIS) for energy management systems application program interfaces. This part of IEC 61970 specifies the format and rules for producing a machine readable form of the Common Information Model (CIM) as specified in the IEC 61970-3
33、01 standard. It describes a CIM vocabulary to support the data access facility and associated CIM semantics. This part of IEC 61970 supports a mechanism for applications from independent suppliers to access CIM metadata in a common format and with standard services for the purpose of subsequent CIM
34、data access. Secondary objectives are to provide CIM versioning capabilities and a mechanism that is easily extensible to support site-specific needs. The proposed solution: is both machine readable and human readable, although primarily intended for programmatic access; can be accessed using any to
35、ol that supports the Document Object Model (DOM) application program interface; is self-describing; takes advantage of current web standards. This document is the Level 2 Component Interface Specification document that describes in narrative terms (with text and examples based on the CIM), the detai
36、led definition of the CIM metadata interface to be standardized. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced docume
37、nt (including any amendments) applies. IEC 61970-1, Energy management system application program interface (EMS-API) Part 1: Guidelines and general requirements IEC 61970-2, Energy management system application program interface (EMS-API) Part 2: Glossary IEC 61970-301, Energy management system appl
38、ication program interface (EMS-API) Part 301: Common Information Model (CIM) base IEC 60050 series: International Electrotechnical Vocabulary 61970-501 IEC:2006(E) 7 3 Terms and definitions For the purposes of this part of IEC 61970, the terms and definitions given in IEC 61970-2, as well as the fol
39、lowing, apply. 3.1 Common Information Model CIM abstract model that represents all the major objects in an electric utility enterprise typically contained in an EMS information model NOTE By providing a standard way of representing power system resources as object classes and attributes, along with
40、their relationships, the CIM facilitates the integration of EMS applications developed independently by different vendors, between entire EMS systems developed independently, or between an EMS system and other systems concerned with different aspects of power system operations, such as generation or
41、 distribution management. 3.2 Document Object Model DOM platform- and language-neutral interface defined by the World Wide Web Consortium (W3C) that allows programs and scripts to dynamically access and exchange the content, structure and style of documents 3.3 Resource Description Framework RDF lan
42、guage recommended by the W3C for expressing metadata that machines can process simply. It is expressed as a special kind of XML document 3.4 RDF Schema schema specification language expressed using RDF to describe resources and their properties, including how resources are related to other resources
43、, which is used to specify an application-specific schema 3.5 Unified Modelling Language UML modelling language and methodology for specifying, visualizing, constructing, and documenting the artefacts of a system-intensive process 3.6 Extensible Markup Language XML subset of Standard Generalized Mar
44、kup Language (SGML), ISO 8879, for putting structured data in a text file. It is an endorsed recommendation from the W3C NOTE It is license-free, platform-independent and well-supported by many readily available software tools. 4 Structure of an XML document 4.1 General An XML document is a set of c
45、ontainers. The containers can contain other containers as well as content. The two required pieces of a well-formed XML document are the prolog and the root element. The prolog contains statements that indicate the version of the XML standard to which the document conforms and the encoding that is u
46、sed. The prolog for the CIM RDF Schema file is simply: 8 61970-501 IEC:2006(E) The root element contains the XML documents actual contents, which are contained within starting and ending tags. The CIM RDF Schema contains the root element: . : The root element also contains references to namespaces,
47、which define a context for elements that are used within the rest of the document. The element name is preceded by the namespace alias followed by a colon. For example, the RDF Schema namespace is declared: xmlns:rdfs=“http:/www.w3.org/TR/1999/PR-rdf-schema-19990303#“ References to it within the doc
48、ument use the syntax: Comments can appear anywhere within an XML document; they are delimited with characters. 4.2 Elements An element is a container enclosed between start and stop tags. The start tag defines the name of the element and contains any attributes of the element. In the following examp
49、le, Class is the name of the element and ID is its attribute. The stop tag for this element is . 4.3 Attributes The ID attribute is used for the Class elements to be able to reference other element nodes within the CIM RDF Schema document. The element with ID=“Bay“ can be referenced by other elements using the # symbol in front of the attributes value, as “#Bay“. Note that the XML concept of attribute is not the same a