1、 IEC 61970-405Edition 1.0 2007-08INTERNATIONAL STANDARD Energy management system application program interface (EMS-API) Part 405: Generic Eventing and Subscription (GES) IEC61970-405:2007(E) THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2007 IEC, Geneva, Switzerland All rights reserved. Unless
2、otherwise specified, 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
3、 questions about IEC 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: ww
4、w.iec.ch About the IEC 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 co
5、nstant review by the 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 committ
6、ee,). It also gives 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
7、.electropedia.org The 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 Centr
8、e: www.iec.ch/webstore/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-405Edition 1.0 2007-08INTERNATIONAL STANDARD Energy
9、 management system application program interface (EMS-API) Part 405: Generic Eventing and Subscription (GES) INTERNATIONAL ELECTROTECHNICAL COMMISSION UICS 33.200 PRICE CODEISBN 2-8318-9252-X 2 61970-405 IEC:2007(E) CONTENTS FOREWORD.4 INTRODUCTION.6 1 Scope.7 2 Normative references .8 3 Terms and d
10、efinitions .8 4 Generic Eventing and Subscription (Normative)8 4.1 Overview .8 4.1.1 General .8 4.1.2 Suitability of the GES to the integration of a variety of application categories .9 4.1.3 Suitability of the GES to the integration beyond the control center.9 4.1.4 Suitability of the GES to the in
11、tegration of tightly coupled and loosely coupled applications (informative) .10 4.2 Using GES A 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 particip
12、ate 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 in
13、ternational 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 rea
14、sonable 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 I
15、EC 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 provides no marking procedure to indicate its a
16、pproval 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, employees, servants or agents including individua
17、l 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
18、 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
19、 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-405 has been prepared by IEC Technical Committee 57: Power systems management and associated information exchange. The text of this
20、standard is based on the following documents: FDIS Report on voting 57/888/FDIS 57/907/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 61970 series, under the general title Energy M
21、anagement System Application Program Interface (EMS-API), can be found on the IEC website. 61970-405 IEC:2007(E) 5 The committee has 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 th
22、e 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 this publication may be issued at a later date. 6 61970-405 IEC:2007(E) INTRODUCTION This part of IEC 61970 is part of the IEC 6
23、1970 series that defines Application Program Interfaces (APIs) for an Energy Management System (EMS). The IEC 61970-4XX and IEC 61970-5XX series documents comprise Component Interface Specifications (CISs). The IEC 61970-4XX series CIS are specified as Platform Independent Models (PIMs), which means
24、 they are independent of the underlying technology used to implement them. PIM specifications are also referred to as Level 1 specifications. The IEC 61970-5XX series CIS, on the other hand, are specified as Platform Specific Models (PSMs). PSM specifications are also referred to as Level 2 specific
25、ations. IEC 61970-4XX CISs specify the functional requirements for interfaces that a component (or application) should implement to exchange information with other components (or applications) and/or to access publicly available data in a standard way. The component interfaces describe the specific
26、event types and message contents that can be used by applications for this purpose. IEC 61970-405 specifies an interface for the efficient transfer of event messages and alarm acknowledge messages in a distributed environment. Small numbers of messages are transferred with short delay but also large
27、 amounts are transferred in short time but with possibly longer delay. This is a typical requirement for a SCADA system that acts as a real time data provider to other sub-systems. Other systems than SCADA may also benefit from the characteristics of Generic Eventing and Subscription (GES) interface
28、. When short delay times as well as bulk message transfer is required, GES is a good fit. The component interface specifications refer to entity objects for the power system domain that is defined in the IEC 61970-3XX series, including IEC 61970-301. 61970-405 IEC:2007(E) 7 ENERGY MANAGEMENT SYSTEM
29、APPLICATION PROGRAM INTERFACE (EMS-API) Part 405: Generic Eventing and Subscription (GES) 1 Scope The IEC 61970-405 Generic Eventing and Subscription (GES) specification specifies a generalized interface for efficient exchange of messages. The specification takes into account the latencies caused by
30、 a Local Area Network (LAN) providing efficient data exchange also over Local Area Networks. The Generic Eventing and Subscription (GES) API is expected to provide one of the primary means for accomplishing application integration. Beyond the scope of the GES API, other APIs address the high perform
31、ance, real-time interactive needs of an application within a running system as well as request/reply oriented generic data access. IEC 61970-405 is derived from the Object Management Group (OMG) Data Acquisition from Industrial Systems section Alarms and Events (DAIS A consequently, power system spe
32、cific (CIM-based) event filtering tools can be used instead of generic event filtering tools. CIM-based event filtering provides for more familiar as well as more powerful and easy to use configuration management. Furthermore, since the GES API can be deployed independent of any application category
33、 specific information model, GES component interfaces do not need to be recompiled when an information model changes. Thus, application category information model changes can be handled via declarative action rather than programmatic action. 12 61970-405 IEC:2007(E) 4.2 Using GES A GES Eventing does
34、 not include access to messaging-specific functionality such as message broker service QOS. However, since GES Eventing is a component interface that is independent of what middleware is deployed between components, the lack of a messaging specific interface is appropriate. The JMS Publish/Subscribe
35、 model defines how components use JMS to publish and subscribe to messages related to a well-known node in a content-based hierarchy. GES Eventing calls these nodes Areas and JMS calls these nodes topics. By relying on the area/topic as an intermediary, event/message publishers are kept independent
36、of subscribers and vice versa. Many messaging service providers, such as MQSeries, group topics into hierarchies and provide various options for subscribing to parts of the hierarchy. GES Area strings consist of an array of area names (fully qualified pathnames) created as a result of navigating a h
37、ierarchical area map. Neither GES Eventing nor JMS places any restriction on what an area/topic object represents. It might be a leaf in a topic hierarchy or it might be a larger part of the hierarchy (for subscribing to a general class of information). Frequently, users like to see data organized i
38、n accordance with a well-known topic hierarchy. GES does not standardize the presentation of well-known (e.g. CIM based) hierarchical views. IECTC57 Namespaces as described in IEC 61970-402 Common Services specification is used with GES in the same way that OPC Batch is used with OPC Data Access and
39、 OPC Alarms and Events by providing a means by which servers can present well-known hierarchical views. The use of the IECTC57 Namespaces together with the IArea/ICategory/IType (refer to Figure 7) interfaces provide the base for CIM-oriented subscription. Thus, GES with Common Services provide a st
40、andard mechanism for describing how CIM objects are ordered in a hierarchy as well as a way for components to use those hierarchies when setting up event (document) subscriptions. 4.2.4 Subscription filtering GES subscription filtering provides the ability to specify property values that are used to
41、 qualify a subscription. In SQL terms, this addition to the GES Filtering is equivalent to adding a “where” clause. For example, a subscriber can indicate that it wishes to receive New Transformer Installation events as well as indicate that it only wants to receive New Transformer Installation even
42、ts pertaining to transformers produced by a given manufacturer. A GES Subscription object (refer to Figure 7) maintains a filter specification set up by a client. The filter is used to specify what notifications shall be sent to the client. A server may support various filter functions and a client
43、can ask the Subscription Home object what filter functions are supported. The subscription home is also used to create any number of subscription manger objects. Each subscription manger is associated with a client that has implemented callback object so that the server can send alarm and event noti
44、fications to the client. 4.2.5 GES Publish/Subscribe wildcards 4.2.5.1 General GES Eventing does not support “wild card” functionality in topic subscription strings. For example, GES Eventing allows components to subscribe to events on the basis of event Category (e.g. “Transformer Installation Requ
45、est”) or on the basis of topics (e.g. all work orders for breakers), but there is no facility to choose all areas at a given level. This specification extends GES Eventing with support for wildcards in topic based filtering. The GES Events interfaces are not changed in order to add support for wild
46、cards in area paths. 14 61970-405 IEC:2007(E) This specification requires a well-known URI for the wildcard. The URI for the wildcard is: http:/omg.org/schema/GES#WILDCARD 4.2.5.2 Example topic hierarchies (informative) To illustrate how subscription topic trees are used, consider a topic tree that
47、consists of a CIM containment model hierarchy as shown in Figure 3. An example area string created by navigating the above tree might be “IECTC57PhysicalModel/NorthArea/AirportSubstation”. In this case, a subscriber could receive all events that pertain to this topic including breaker, transformer,
48、and load-related events. However, if one wants to subscribe to breaker related events from all substations, then the GES requires that the user specifically includes the name of each substation node one may be interested in. This specification includes the added capability to create an area string (
49、array of area names) without having to manually navigate to every node on is interested in. Such a topic string may appear as “IECTC57 PhysicalModel/*/*/Breakers”. North Area Airport Sub Industrial Blvd SubBreaker 12 Load 22 Breaker 13 Transformer 33 Transformer 32 IECTC57Physical Model IEC 1324/07 Figure 3 Populated namespace example for IECTC57PhysicalModel (informative) 4.2.6 Browsing IECTC57 namespaces with GES 4.2.6.1 General IEC 61970-402 Common Services defines three trees or sub-trees used for topic based subsc