Report on the Implementation of the CIM As the Reference Data Model for the Project D2.4
Total Page:16
File Type:pdf, Size:1020Kb
Real proven solutions to enable active demand and distributed generation flexible integration, through a fully controllable LOW Voltage and medium voltage distribution grid WP 2 – Innovative Distribution Grid Use Cases and Functions Report on the implementation of the CIM as the reference data model for the project D2.4 2015 The UPGRID Consortium This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 646.531 WP 2 – INNOVATIVE DISTRIBUTION GRID USE CASES AND FUNCTIONS D.2.1 REPORT ON THE IMPLEMENTATION OF THE CIM AS THE REFERENCE DATA MODEL FOR THE PROJECT PROGRAMME H2020 – Energy Theme GRANT AGREEMENT NUMBER 646.531 PROJECT ACRONYM UPGRID DOCUMENT D2.4 TYPE (DISTRIBUTION LEVEL) ☒ Public ☐ Confidential ☐ Restricted DUE DELIVERY DATE 31/12/2016 DATE OF DELIVERY STATUS AND VERSION V1.0 NUMBER OF PAGES 129 WP / TASK RELATED WP2/T2.3 WP / TASK RESPONSIBLE COMILLAS AUTHOR (S) José Antonio Rodríguez Mondéjar (COMILLAS), José María Oyarzabal Moreno (TECNALIA) PARTNER(S) CONTRIBUTING Vattenfall, GE, Iberdrola, ITE, Energa, IEN, Powel FILE NAME D_2_4 Report on the implementation of the CIM as the reference data model for the project v1.2 2 | 129 WP 2 – INNOVATIVE DISTRIBUTION GRID USE CASES AND FUNCTIONS D.2.1 REPORT ON THE IMPLEMENTATION OF THE CIM AS THE REFERENCE DATA MODEL FOR THE PROJECT DOCUMENT HISTORY VERS. ISSUE DATE CONTENT AND CHANGES 0.0 1/10/2016 Initial draft with TOC 0.1 1/12/2016 First draft by the partners 1.0 12/12/2016 First version of the document (for official review) 1.1 16/12/2016 Modification of Chapter 5.3 with data from the Polish demo 1.2 21/12/2016 Integration of the reviewer comments 1.2c 1/12/2017 Deliverable set up as “Public” according to the UPGRID Amendment 1 3 | 129 WP 2 – INNOVATIVE DISTRIBUTION GRID USE CASES AND FUNCTIONS D.2.1 REPORT ON THE IMPLEMENTATION OF THE CIM AS THE REFERENCE DATA MODEL FOR THE PROJECT EXECUTIVE SUMMARY This deliverable reports the using of the CIM (Common Information Model) as the reference data model of the project UPGRID. The CIM models the information that defines a power system, both the static and the dynamic view, to facilitate the integration of EMS (Energy Management System) and DMS (Distribution Management System) applications developed independently by different vendors. The CIM is standardized through the IEC 61970, IEC 61968 and 62325 series. The CIM also provides two methods for transmitting the CIM data using the XML language: the CIM RDF XML format for transferring the full CIM model of a power system or for transferring changes in the CIM model; and the CIM XML format for transferring simple changes in the CIM model or add new data, as meter readings. The aims of using the CIM in the UPGRID project were: • Common language to interoperate between working groups. This objective was fundamental in the project. The development of distribution networks has historically followed different approaches in the countries where demos are placed (Spain, Portugal, Sweden, and Poland). For instance, components have different local names that depend on the technical background and the country language. • Common messaging between applications to be developed in the project. If an application is going to be deployed in different demos, the CIM offers a common way, using XML messages, for interchanging electrical data and related data. • Fast development of applications. The CIM is based on object-oriented modelling using UML. So, the development time of applications will be shortened thanks to this approach, because many tools in the market provide a direct link between the UML model and the final application code. These goals have been achieved through the following tasks performed at WP2 and WPs of the demos: • CIM modelling of the data requirements of the components to be developed at WP2. This modelling has provided a common vocabulary for the developers. Additionally, the best strategy (CIM RDF XML format or CIM XML format) has been established for communicating the CIM data between each component and other DMS applications. Also, a full profile based on CIM XML has been generated for one of the components for guiding the development of the interfaces of this component and the rest of the components of WP2. • Development of a CIM interface based on CIM XML RDF between the different existing databases and the LVNMS (Low Voltage Network Management System) in the Spanish demo. In this case, an application gets the electrical and asset data disseminated in different databases and generates the CIM data. The configuration and continuous update of the LVNMS are based on this data. To achieve the objective, the CIM model was extended to fulfil the data requirements of the Spanish demo and some limitations of the application. The CIM has proved their capacity using its own mechanism for generating the extensions when the standard CIM classes cannot fulfil the 4 | 129 WP 2 – INNOVATIVE DISTRIBUTION GRID USE CASES AND FUNCTIONS D.2.1 REPORT ON THE IMPLEMENTATION OF THE CIM AS THE REFERENCE DATA MODEL FOR THE PROJECT requirements. Nevertheless, the majority of the used CIM classes belongs to the standard core of the CIM model. • Development of an alternative profile for the Spanish demo. In the last task, some new classes were added due to the application limitations. This task has generated a full model of the distribution network without these limitations. Only 2 new classes were necessary to add. This task has proved the power of the standard CIM core for modelling distribution systems and, also, as in the last task, the ability to include new classes inside the CIM, if they are necessary. • Development of a CIM interface, also based on CIM XML RDF, between the existing database and the LVNMS in the Swedish demo. This task is similar to the Spanish demo, except that new classes have not been added because the Swedish demo has fewer data requirements, and the Swedish application for doing the translation to the CIM format is more flexible. This also proves the adaptability of the CIM. Moreover, the use of CIM has allowed sharing experiences between developer groups to facilitate the comparisons between solutions, and generate a practical guideline about using CIM, in addition to the ample available bibliography. • Development of a CIM interface in the Polish demo, based on the CIM XML format, for transferring mainly reading data between applications. This proves the adaptability of CIM by offering solutions of varying degrees of complexity: the CIM XML format for communicating a simple set of data, the CIM RDF XML format for complex electric models. This document has also displayed some disadvantages of working with the CIM. The main one is the development from scratch of CIM solutions using only as input the IEC standard documents. The IEC only provides PDF documents that cannot be copied. The IEC must provide the codes of the models as the CIM XML schemas or the CIM RDF XML schemas. Another negative aspect is the learning curve of the CIM model. The model is fractioned in hundreds of classes with many relationships between classes. New tools are necessary that permit an engineer with a non-deep object oriented programming background to deal with this issue. In summary, the CIM has played, and it is playing, an important role in the UPGRID project because it has provided a common vocabulary, a common way for modelling the distribution networks and a common way for transmitting the associated data. And also, its flexibility permits one to include new element types in the future in a way compatible with what has already been developed, without waiting to be standardized. 5 | 129 WP 2 – INNOVATIVE DISTRIBUTION GRID USE CASES AND FUNCTIONS D.2.1 REPORT ON THE IMPLEMENTATION OF THE CIM AS THE REFERENCE DATA MODEL FOR THE PROJECT TABLE OF CONTENTS EXECUTIVE SUMMARY _________________________________________________________________ 4 TABLE OF CONTENTS __________________________________________________________________ 6 LIST OF FIGURES ______________________________________________________________________ 8 LIST OF TABLES ______________________________________________________________________ 11 ABBREVIATIONS AND ACRONYMS ______________________________________________________ 13 1. INTRODUCTION ___________________________________________________________________ 14 2. BRIEF INTRODUCTION TO CIM ________________________________________________________ 15 2.1 THE CIM MODEL _______________________________________________________________________ 15 2.2 COMMUNICATION OF THE CIM DATA ______________________________________________________ 17 2.2.1 CIM RDF XML _________________________________________________________________________________ 17 2.2.2 CIM XML ____________________________________________________________________________________ 19 2.3 CIM PROFILES _________________________________________________________________________ 23 3. THE CIM PHOTO AT THE BEGINNING OF THE PROJECT ____________________________________ 25 4. THE APPLICATION OF CIM IN THE DEVELOPMENT OF WP2 COMPONENTS ____________________ 29 4.1 CIM VERSION HARMONIZATION ___________________________________________________________ 29 4.2 MATCHING BETWEEN COMPONENT DATA MODEL REQUIREMENTS AND THE CIM ___________________ 30 4.4 PROFILE DEVELOPMENT _________________________________________________________________ 38 4.4.1 LOAD AND GENERATION FORECASTING AT SECONDARY SUBSTATION ___________________________________ 39 4.5 STUDY ON THE USE OF THE CIM MODEL