1、 IEC 61970-403Edition 1.0 2008-06INTERNATIONAL STANDARD Energy management system application program interface (EMS-API) Part 403: Generic data access IEC61970-403:2008(E) THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2008 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified,
2、 no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs member National Committee in the country of the requester. If you have any questions about IEC
3、 copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or your local IEC member National Committee for further information. IEC Central Office 3, rue de Varemb CH-1211 Geneva 20 Switzerland Email: inmailiec.ch Web: www.iec.ch About the I
4、EC The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is kept under constant review by the
5、 IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been published. Catalogue of IEC publications: www.iec.ch/searchpub The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,). It also gives
6、information on projects, withdrawn and replaced publications. IEC Just Published: www.iec.ch/online_news/justpub Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available on-line and also by email. Electropedia: www.electropedia.org Th
7、e worlds leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary online. Customer Service Centre: www.iec.ch/websto
8、re/custserv If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service Centre FAQ or contact us: Email: csciec.ch Tel.: +41 22 919 02 11 Fax: +41 22 919 03 00 IEC 61970-403Edition 1.0 2008-06INTERNATIONAL STANDARD Energy management system a
9、pplication program interface (EMS-API) Part 403: Generic data access INTERNATIONAL ELECTROTECHNICAL COMMISSION WICS 33.200 PRICE CODEISBN 2-8318-9851-X 2 61970-403 IEC:2008(E) CONTENTS FOREWORD.4 INTRODUCTION.6 1 Scope.7 2 Normative references8 3 Terms and definitions .8 4 Background 8 5 GDA read ac
10、cess9 5.1 General .9 5.2 Read access requirements 9 5.3 GDA resource query module 11 5.3.1 General .11 5.3.2 Resource query module description11 5.3.3 GDA resource query service 12 5.4 GDA filtered query module.13 5.4.1 General .13 5.4.2 Filtered query module description.13 5.4.3 Filtered query serv
11、ice.17 5.5 GDA extended query module .19 5.5.1 General .19 5.5.2 Extended resource query module description .19 5.5.3 Extended resource query service .22 6 GDA update23 6.1 General .23 6.2 GDA update requirements23 6.3 GDA update module 23 6.3.1 General .23 6.3.2 Solution approach24 6.3.3 Resource u
12、pdate service module description26 6.3.4 Resource update service27 6.3.5 Adding and removing resources .28 7 GDA events 28 7.1 General .28 7.2 GDA events Mmdule28 7.2.1 General .28 7.2.2 Events module description .28 7.2.3 Events service .29 8 GDA server status and capabilities30 8.1 General .30 8.2
13、 GDA server module .30 8.2.1 General .30 8.2.2 ServerStatus30 8.2.3 ServerState .31 8.2.4 ServerCapabilities31 8.2.5 GDA server module description31 8.2.6 Status31 Annex A (informative) Use of GDA proxies .32 61970-403 IEC:2008(E) 3 Annex B (informative) Implementation guidelines for GDA developers.
14、33 Bibliography38 Figure 1 DAF resource query11 Figure 2 GDA filtered query14 Figure 3 Example of a complete query filter parse tree15 Figure 4 Extended resource query service UML 19 Figure 5 Example property joining use case20 Figure 6 Join parse tree .21 Figure 7 GDA update module .26 Figure 8 GDA
15、 event model .28 Figure 9 GDA server model 30 Table 1 DAF resource query operations12 Table 2 GDA filtered query elements 15 Table 3 GDA filtered query node types15 Table 4 GDA filtered query operation types.16 Table 5 GDA filtered query OpFilterNode16 Table 6 GDA filtered query PropertyFilterNode .
16、17 Table 7 GDA filtered query ValueFilterNode17 Table 8 GDA filtered query operations 17 Table 9 GDA filtered query join elements21 Table 10 GDA filtered query join types22 Table 11 GDA filtered query join nodes.22 Table 12 GDA filtered query property join node.22 Table 13 GDA extended resource quer
17、y operations 23 Table 14 GDA resource update service operations27 Table 15 GDA resource event service operations29 Table 16 GDA server status .31 Table 17 GDA server state .31 Table 18 GDA server capabilities31 Table 19 GDA server status operations 31 4 61970-403 IEC:2008(E) INTERNATIONAL ELECTROTEC
18、HNICAL COMMISSION _ ENERGY MANAGEMENT SYSTEM APPLICATION PROGRAM INTERFACE (EMS-API) Part 403: Generic data access FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committ
19、ees). 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 Availabl
20、e 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 organi
21、zations 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 ma
22、tters 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 Natio
23、nal 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, I
24、EC 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 prov
25、ides no marking procedure to indicate its approval and cannot be rendered responsible for any equipment declared to 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, employ
26、ees, 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
27、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 po
28、ssibility 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 61970-403 has been prepared by IEC technical committee 57: Power systems management and associa
29、ted information exchange. The text of this standard is based on the following documents: FDIS Report on voting 57/929/FDIS 57/948/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. A list of all parts of the IEC 619
30、70 series, under the general title Energy Management System Application Program Interface (EMS-API), can be found on the IEC website. 61970-403 IEC:2008(E) 5 This publication has been drafted in accordance with the ISO/IEC Directives, Part 2. The committee has decided that the contents of this publi
31、cation 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 edition, or amended. A bilingual version of
32、this publication may be issued at a later date. 6 61970-403 IEC:2008(E) INTRODUCTION This standard is one of the IEC 61970 series parts that define services for utility operational systems. This standard is based upon the work of the Electric Power Research Institute (EPRI) Control Center API (CCAPI
33、) research project (RP-3654-1). The IEC 61970-4xx series specifies a set of interfaces that a component (or application) should implement to be able to exchange information with other components and/or access publicly available data in a standard way. The 61970-4xx series component interfaces descri
34、be the specific event types and message contents that can be used by applications independent of any particular component technology. The implementation of these messages using a particular component technology is described in the 61970-5xx series of documents. Thus, IEC 61970-4xx documents describe
35、 a Platform Independent Model (PIM), while IEC 61970-5xx documents describe a Platform Specific Model (PSM). IEC 61970-403 Generic Data Access (GDA) defines services that are needed to access public entity objects for the power system domain that are defined in the IEC 61970-3xx series: Common Infor
36、mation Model (CIM). GDA permits a client to access data maintained by another component (either an application or database) or system without any knowledge of the logical schema used for internal storage of the data. Knowledge of the existence of the common model is sufficient. This request and repl
37、y oriented service is intended for synchronous, non-real time access of complex data structures as opposed to high-speed data access of SCADA data, for example, which is provided by IEC 61970-404, High Speed Data Access. An example where the GDA would be used is for bulk data access of a persistent
38、store to initialise an analysis application with the current state of a power system network, and then storage of the results with notification. 61970-403 IEC:2008(E) 7 ENERGY MANAGEMENT SYSTEM APPLICATION PROGRAM INTERFACE (EMS-API) Part 403: Generic data access 1 Scope This International Standard
39、provides a generic request/reply-oriented data access mechanism for applications from independent suppliers to access CIM data in combination with IEC 61970-402: Common Services. An application is expected to use the Generic Data Access (GDA) service as part of an initialisation process or an occasi
40、onal information synchronization step. GDA is generic in that it can be used by an application to access any CIM data. GDA is also generic in that it also provides a back end storage mechanism independent query capability that can be used to facilitate the creation of CIM data warehouses. This speci
41、fication provides a simple, concise service that meets the functionality requirements of current and future applications while: avoiding unnecessary complexity; not requiring any specific database technology for implementation. This service is designed to support interaction where the application or
42、 system requesting information is developed, supplied, maintained, or operated by a separate agency from the application supplying the data. Furthermore, the update portion of this service assumes that it is undesirable for one system to directly write into another1). To support these objectives, th
43、e GDA capabilities are divided into three categories: a) read access; b) update access; c) change notification events. It should be noted that the update portion of this service does not support unconditional access to critical real-time data. Rather, the update portion allows a requesting applicati
44、on to ask for data to be changed in a service provider, but the service provider is under no obligation to carry out that change at any particular time. Furthermore, a positive response from the update service does not indicate that the update has occurred, but only that the service provider has suc
45、cessfully received the request and that the request is syntactically and semantically correct. GDA could be classified as an Enterprise Information Integration (EII) technology adapter specialized to the power industry via the assumed use of the CIM. There are a number of EII products currently avai
46、lable on the market, but there is no accepted cross-platform standard for writing connectors for these products and overall these products do not take full advantage of a common semantic model such as the CIM. In recommending GDA, WG 13 is recommending a standard EII connector model in the form of a
47、 simpler, less expensive, and more specialized interface. _ 1) For more information on how 61970 excludes direct control of one application by another, see IEC 61970-402 Annex C: The IEC 61970 services and mapping IEC 61968 verbs. 8 61970-403 IEC:2008(E) Though the target of this IEC standard includ
48、es the utility control center technical domain, generic data access encompasses a general set of concepts that can be applied to many types of systems. Examples of these systems include: Energy and distribution management systems Work and asset management systems Geographic information systems Outag
49、e management systems Other types of technically oriented operational business systems. In recognition that the integration between applications in two or more of these systems is often necessary, the intent of this specification is to address general GDA requirements to the extent that they are common to different types of systems while effectively addressing utility operation application specific needs. 2 Normative references T