Framework for energy market communications - Part 503: Market data exchanges guidelines for the IEC 62325-351 profile

IEC 62325-503:2018 specifies a standard for a communication platform which every Transmission System Operator (TSO) in Europe can use to exchange reliably and securely documents for the energy market. Consequently a European market participant (TSO, regional supervision centre, distribution utility, power exchange, etc.) could benefit from a single, common, harmonised and secure platform for message exchange with other participants; thus, reducing the cost of building different information technology (IT) platforms to interface with all the parties involved. This edition cancels and replaces IEC TS 62325-503 published in 2014.
This edition includes the following significant technical changes with respect to the previous edition:
a) Use of ISO/IEC 19464:2014, Advanced Message Queuing Protocol (AMQP) v1.0 specification;
b) Splitting of the node described in the IEC TS 62325-503:2014 into a broker that implements the messaging function and a directory;
c) Increase of operability and resilience of the communication system with the ability for an endpoint to send and receive messages through several brokers;
d) Benefits of standardisation, performance and scalability of the AMQP protocol for transferring messages.

Cadre pour les communications pour le marché de l'énergie - Partie 503: Lignes directrices concernant les échanges de données du marché pour le profil défini dans l’IEC 62325-351

IEC 62325-503:2018 spécifie une norme relative à une plate-forme de communication que chaque gestionnaire de réseau de transport (GRT) en Europe peut utiliser pour échanger en toute fiabilité et sécurité des documents destinés au marché de l’énergie. Par conséquent, un participant aux marchés européens (GRT, centre régional de surveillance, régie de distribution, bourse d’électricité, etc.) peut tirer profit d’une plate-forme commune unique harmonisée et sûre d’échange des messages avec les autres participants, réduisant ainsi le coût de mise en place de différentes plates-formes de technologies de l’information (TI) assurant l’interface avec toutes les parties concernées. Cette édition annule et remplace l'IEC TS 62325-503 parue en 2014.
Cette édition inclut les modifications techniques majeures suivantes par rapport à l’édition précédente:
a) Utilisation de l’ISO/IEC 19464:2014, Advanced Message Queuing Protocol (AMQP) v1.0 specification (disponible en anglais seulement);
b) Répartition du nœud décrit dans l’IEC TS 62325-503:2014 dans un courtier qui met en œuvre la fonction de transmission de messages et un annuaire;
c) Renforcement de l’opérabilité et de la résilience du système de communication avec capacité pour un point d’extrémité d’envoyer et de recevoir des messages par l’intermédiaire de plusieurs courtiers;
d) Avantage issu de la normalisation, des performances et de l’évolutivité du protocole AMQP de transfert de messages.

General Information

Status
Published
Publication Date
25-Jul-2018
Current Stage
PPUB - Publication issued
Completion Date
26-Jul-2018
Ref Project

Buy Standard

Standard
IEC 62325-503:2018 - Framework for energy market communications - Part 503: Market data exchanges guidelines for the IEC 62325-351 profile
English and French language
179 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (sample)

IEC 62325-503
Edition 1.0 2018-07
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Framework for energy market communications –
Part 503: Market data exchanges guidelines for the IEC 62325-351 profile
Cadre pour les communications pour le marché de l'énergie –
Partie 503: Lignes directrices concernant les échanges de données du marché
pour le profil défini dans l’IEC 62325-351
IEC 62325-503:2018-07(en-fr)
---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2018 IEC, Geneva, Switzerland

All rights reserved. Unless 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 IEC's member National Committee in the country of the requester. If you have any 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.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite

ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie

et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des

questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez

les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
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 constant review by the IEC. Please make sure that you have the

latest edition, a corrigenda or an amendment might have been published.
IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org

The stand-alone application for consulting the entire The world's leading online dictionary of electronic and

bibliographical information on IEC International Standards, electrical terms containing 21 000 terms and definitions in

Technical Specifications, Technical Reports and other English and French, with equivalent terms in 16 additional

documents. Available for PC, Mac OS, Android Tablets and languages. Also known as the International Electrotechnical

iPad. Vocabulary (IEV) online.

IEC publications search - webstore.iec.ch/advsearchform IEC Glossary - std.iec.ch/glossary

The advanced search enables to find IEC publications by a 67 000 electrotechnical terminology entries in English and

variety of criteria (reference number, text, technical French extracted from the Terms and Definitions clause of

committee,…). It also gives information on projects, replaced IEC publications issued since 2002. Some entries have been

and withdrawn publications. collected from earlier publications of IEC TC 37, 77, 86 and

CISPR.
IEC Just Published - webstore.iec.ch/justpublished

Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc

details all new publications released. Available online and If you wish to give us your feedback on this publication or

also once a month by email. need further assistance, please contact the Customer Service

Centre: sales@iec.ch.
A propos de l'IEC

La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des

Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications IEC

Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la

plus récente, un corrigendum ou amendement peut avoir été publié.
Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient 21 000 termes et définitions en anglais
Spécifications techniques, Rapports techniques et autres
et en français, ainsi que les termes équivalents dans 16
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.
Recherche de publications IEC -
Glossaire IEC - std.iec.ch/glossary
webstore.iec.ch/advsearchform
67 000 entrées terminologiques électrotechniques, en anglais

La recherche avancée permet de trouver des publications IEC et en français, extraites des articles Termes et Définitions des

en utilisant différents critères (numéro de référence, texte, publications IEC parues depuis 2002. Plus certaines entrées

comité d’études,…). Elle donne aussi des informations sur les antérieures extraites des publications des CE 37, 77, 86 et

projets et les publications remplacées ou retirées. CISPR de l'IEC.

IEC Just Published - webstore.iec.ch/justpublished Service Clients - webstore.iec.ch/csc

Restez informé sur les nouvelles publications IEC. Just Si vous désirez nous donner des commentaires sur cette

Published détaille les nouvelles publications parues. publication ou si vous avez des questions contactez-nous:

Disponible en ligne et aussi une fois par mois par email. sales@iec.ch.
---------------------- Page: 2 ----------------------
IEC 62325-503
Edition 1.0 2018-07
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Framework for energy market communications –
Part 503: Market data exchanges guidelines for the IEC 62325-351 profile
Cadre pour les communications pour le marché de l'énergie –
Partie 503: Lignes directrices concernant les échanges de données du marché
pour le profil défini dans l’IEC 62325-351
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 33.200 ISBN 978-2-8322-5916-0

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: 3 ----------------------
– 2 – IEC 62325-503:2018  IEC 2018
CONTENTS

FOREWORD ........................................................................................................................... 7

INTRODUCTION ..................................................................................................................... 9

1 Scope ............................................................................................................................ 10

2 Normative references .................................................................................................... 10

3 Terms and definitions .................................................................................................... 11

4 High level concepts ....................................................................................................... 12

4.1 What is the purpose of MADES? ........................................................................... 12

4.2 Overview............................................................................................................... 13

4.3 Transparent and reliable message delivery ........................................................... 14

4.4 Components of a MADES system .......................................................................... 15

4.4.1 Endpoint, broker and component-directory ..................................................... 15

4.4.2 Delivery routes and acknowledgements ......................................................... 16

4.4.3 Sharing configuration data of the system ....................................................... 17

4.4.4 Interfaces exposed by the components .......................................................... 19

4.4.5 Architecture examples of MADES systems ..................................................... 21

4.5 Security and message integrity ............................................................................. 24

4.5.1 Security goals and security solution ............................................................... 24

4.5.2 Transport-layer security ................................................................................. 25

4.5.3 Message-level security: signing and encryption ............................................. 26

4.5.4 Non-repudiation ............................................................................................. 27

5 Delivering the messages................................................................................................ 29

5.1 Unique identification of components and messages .............................................. 29

5.2 Message-type of a message ................................................................................. 29

5.3 Message route towards a recipient endpoint: message-paths ................................ 29

5.4 Restriction on the routes by a broker .................................................................... 31

5.5 Message acceptance by a sender endpoint ........................................................... 31

5.6 Tracking the delivery of a message ....................................................................... 31

5.6.1 Message-status of a message ....................................................................... 31

5.6.2 Delivery events and acknowledgements ......................................................... 32

5.7 Message expiration ............................................................................................... 34

5.8 Reliable transfer of a message .............................................................................. 35

5.8.1 Rationale ....................................................................................................... 35

5.8.2 Transfer between sender application and sender endpoint ............................. 36

5.8.3 Transfer between components using the AMQP protocol ............................... 37

5.8.4 Transfer between recipient endpoint and recipient application ....................... 37

5.9 Storing internal messages in components ............................................................. 38

5.10 Message priority ................................................................................................... 38

5.11 Message delivery order ......................................................................................... 38

5.12 Testing a route between two endpoints: tracing-messages .................................... 38

6 Transferring messages using the AMQP protocol........................................................... 39

6.1 Main principles of the AMQP specification ............................................................ 39

6.1.1 Introduction ................................................................................................... 39

6.1.2 Connection Open ........................................................................................... 40

6.1.3 Session begin ................................................................................................ 40

6.1.4 Link attachment ............................................................................................. 41

6.1.5 Message transfer ........................................................................................... 41

---------------------- Page: 4 ----------------------
IEC 62325-503:2018  IEC 2018 – 3 –

6.1.6 Link recovery and resends ............................................................................. 41

6.1.7 Error management ......................................................................................... 41

6.1.8 Message structure ......................................................................................... 41

6.2 AMQP high-level implementation: the client/broker model ..................................... 42

6.3 AMQP implementation in MADES components ...................................................... 43

6.4 Management of AMQP connections and attachments by an endpoint .................... 45

6.5 Internal message format ....................................................................................... 46

6.5.1 Definitions, design and security checks ......................................................... 46

6.5.2 AMQP format for transferring internal messages ............................................ 46

6.5.3 Encryption ..................................................................................................... 47

6.5.4 Signing .......................................................................................................... 48

6.5.5 Internal message metadata ............................................................................ 49

6.5.6 XML signature example ................................................................................. 53

7 Managing configuration data of the system .................................................................... 54

7.1 Rationale .............................................................................................................. 54

7.2 Directory content and information ownership ......................................................... 54

7.3 On the consistency of configuration data ............................................................... 56

7.3.1 Component consistency ................................................................................. 56

7.3.2 System consistency ....................................................................................... 57

7.3.3 Distributed update implementation ................................................................. 57

7.3.4 Eventual consistency ..................................................................................... 57

7.4 Connection to a component-directory .................................................................... 57

7.5 REST API implementation and available resources ............................................... 58

7.6 Registration process ............................................................................................. 59

7.7 Synchronisation process ....................................................................................... 60

7.7.1 Validity period of replicated data: time-to-live ................................................ 60

7.7.2 Limitation of the synchronisation flow ............................................................ 60

7.7.3 Configuration of the synchronisation process ................................................. 61

7.8 XML schemas of the APIs requests and responses ............................................... 61

7.8.1 Shared types ................................................................................................. 61

7.8.2 registrations resource .................................................................................... 63

7.8.3 endpoints, brokers and components resources .............................................. 65

8 Managing the certificates ............................................................................................... 66

8.1 Definitions and principles ...................................................................................... 66

8.2 Certificates: format and unique ID ......................................................................... 67

8.3 Used certificates and issuers certificates authorities ............................................. 67

8.3.1 Overview ....................................................................................................... 67

8.3.2 Transport-layer security (authorise data exchanges) ...................................... 67

8.3.3 Message-level security (protect message confidentiality and

authenticate message issuer) ........................................................................ 68

8.4 Trusting the certificates of others components ...................................................... 68

8.4.1 Authentication................................................................................................ 68

8.4.2 Signing and encryption .................................................................................. 68

8.5 Renewing the (nearly) expired certificates ............................................................. 68

8.6 Revoking a component .......................................................................................... 69

9 Managing the version of the MADES specification ......................................................... 69

9.1 MADES version of this document .......................................................................... 69

9.2 Issue, version meaning, upgrading recommendations ........................................... 69

9.3 Changing the signature or the encryption algorithms ............................................. 70

---------------------- Page: 5 ----------------------
– 4 – IEC 62325-503:2018  IEC 2018

10 Administrating and operating the components................................................................ 70

11 Interfaces for the applications ........................................................................................ 71

11.1 Endpoint webservice interface for applications ...................................................... 71

11.1.1 Overview ....................................................................................................... 71

11.1.2 SendMessage service .................................................................................... 72

11.1.3 ReceiveMessage service ............................................................................... 73

11.1.4 ConfirmReceiveMessage service ................................................................... 75

11.1.5 CheckMessageStatus service ........................................................................ 75

11.1.6 ConnectivityTest service ................................................................................ 77

11.1.7 WSDL for the endpoint webservice interface .................................................. 77

11.2 File System Shared Folders (FSSF) ...................................................................... 84

11.2.1 Overview ....................................................................................................... 84

11.2.2 Folders and file naming convention ................................................................ 84

11.2.3 Concurrent access to files ............................................................................. 86

11.2.4 Configuring FSSF .......................................................................................... 86

Bibliography .......................................................................................................................... 87

Figure 1 – MADES overall view ............................................................................................. 12

Figure 2 – MADES scope in a layered architecture ............................................................... 13

Figure 3 – MADES message delivery .................................................................................... 14

Figure 4 – MADES components, interactions and protocols .................................................. 15

Figure 5 – Possible routes for delivering a message ............................................................. 16

Figure 6 – Communication protocols for delivering a message .............................................. 17

Figure 7 – Data flows between a component-directory and its registered components.......... 18

Figure 8 – Data flows with several component-directories ..................................................... 19

Figure 9 – Component-directory services and protocols ........................................................ 19

Figure 10 – MADES Interfaces, services and protocols ......................................................... 20

Figure 11 – Minimal MADES system (without broker) ............................................................ 21

Figure 12 – Minimal MADES system (with broker) ................................................................. 21

Figure 13 – MADES system with a party in a central role ...................................................... 22

Figure 14 – MADES system with several brokers .................................................................. 23

Figure 15 – Using a single endpoint for several business processes ..................................... 24

Figure 16 – MADES transport security .................................................................................. 25

Figure 17 – Security: protected endpoint ............................................................................... 25

Figure 18 – Security: exposed endpoint ................................................................................ 26

Figure 19 – Message signing and signature verification ........................................................ 26

Figure 20 – Message encryption and decryption ................................................................... 27

Figure 21 – Non-repudiation ................................................................................................. 28

Figure 22 – Message-status along the delivery ..................................................................... 32

Figure 23 – Tracking events while delivering a message ....................................................... 33

Figure 24 – Reliable transfer ................................................................................................. 36

Figure 25 –Transfer between sender application and sender endpoint .................................. 36

Figure 26 – Transfer between recipient endpoint and recipient application ............................ 37

Figure 27 – The nine AMQP frames ...................................................................................... 40

Figure 28 – Structure of an AMQP message ......................................................................... 42

---------------------- Page: 6 ----------------------
IEC 62325-503:2018  IEC 2018 – 5 –

Figure 29 – AMQP in MADES components ............................................................................ 44

Figure 30 – Certificates and certification authorities (CAs) of a MADES system .................... 67

Figure 31 – WSDL 1.1 definitions .......................................................................................... 78

Table 1 – Characteristics of the tracking events .................................................................... 34

Table 2 – Final state of a message in an endpoint ................................................................ 38

Table 3 – Services of the client / broker model ...................................................................... 43

Table 4 – Rules for setting up connection/attachment and for message transfer ................... 45

Table 5 – Internal message – AMQP format: header section ................................................. 46

Table 6 – Internal message – AMQP format: properties section ............................................ 46

Table 7 – Internal message – AMQP format: application-properties section .......................... 47

Table 8 – Internal message – AMQP format: application-data section ................................... 47

Table 9 – Encryption – Processing metadata attributes for the "AES-256" cipher .................. 48

Table 10 – Signing – Processing metadata attributes for the "SHA-512" Algorithm ................ 49

Table 11 – MessageMetadata (type) ..................................................................................... 50

Table 12 – InternalMessageType (type: string enumeration) ................................................. 51

Table 13 – ProcessingMetadata (type) .................................................................................. 51

Table 14 – MessageProcessor (type) .................................................................................... 51

Table 15 – Map (type) ........................................................................................................... 51

Table 16 – MapEntry (type) ................................................................................................... 51

Table 17 – ValueType (type: string enumeration) .................................................................. 52

Table 18 – Component-directory – content of an entry .......................................................... 55

Table 19 – Certificate (type) .................................................................................................. 55

Table 20 – MadesImplementation (type) ............................................................................... 56

Table 21 – MessagePath (type) ............................................................................................ 56

Table 22 – BrokerRestriction (type) ....................................................................................... 56

Table 23 – HTTP operations ................................................................................................. 58

Table 24 – HTTP return codes .............................................................................................. 58

Table 25 – Component-directory API .................................................................................... 59

Table 26 – Endpoint interface – Generic error ....................................................................... 72

Table 27 – Endpoint interface – Value for errorCode ............................................................. 72

Table 28 – SendMessage – Request elements ...................................................................... 72

Table 29 – SentMessage (type) ............................................................................................ 73

Table 30 – SendMessage – Response elements ................................................................... 73

Table 31 – SendMessage – Additional error elements ........................................................... 73

Table 32 – ReceiveMessage – Request elements ................................................................. 74

Table 33 – ReceiveMessage – Response elements............................................................... 74

Table 34 – ReceivedMessage (type) ..................................................................................... 74

Table 35 – ReceiveMessage – Additional error elements ...................................................... 74

Table 36 – ConfirmReceiveMessage – Request elements ..................................................... 75

Table 37 – ConfirmReceiveMessage – Response elements .................................................. 75

Table 38 – ConfirmReceiveMessage – Additional error elements .......................................... 75

Table 39 – CheckMessageStatus – Request elements .......................................................... 75

---------------------- Page: 7 ----------------------
– 6 – IEC 62325-503:2018  IEC 2018

Table 40 – CheckMessageStatus – Response elements ....................................................... 76

Table 41 – MessageStatus (type) .......................................................................................... 76

Table 42 – MessageTraceItem (type) .................................................................................... 76

Table 43 – MessageState or MessageTraceState (Type: string enumeration) ....................... 76

Table 44 – CheckMessageStatus – Additional error elements ............................................... 77

Table 45 – ConnectivityTest – Request elements .................................................................. 77

Table 46 – ConnectivityTest – Response elements ............................................................... 77

Table 47 – ConnectivityTest – Additional error elements ....................................................... 77

Table 48 – FSSF – Folders and filename format ................................................................... 85

Table 49 – FSSF – Tokens used to generate the filenames ................................................... 85

---------------------- Page: 8 ----------------------
IEC 62325-503:2018  IEC 2018 – 7 –
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
FRAMEWORK FOR ENERGY MARKET COMMUNICATIONS –
Part 503: Market data exchanges guidelines for the IEC 62325-351 profile
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
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.