Final report: Integrated business platform of distributed energy resources – HEILA
Abstract
Publishers version
Full text
Aleksei Mashlakov, Antti Keski-Koukkari, Aleksei Romanenko, Ville Tikka, Peyman Jafary, Antti Supponen, Joni Markkula, Matti Aro, Rinat Abdurafikov, Anna Kulmala, Sami Repo, Samuli Honkapuro, Pertti Järventausta & Jarmo Partanen Final report: Integrated business platform of distributed energy resources – HEILA ISBN 978-952-335-420-3 (PDF) ISSN-L 2243-3376 ISSN 2243-3376 Lappeenranta 2019 LUT Scientific and Expertise Publications LAPPEENRANNAN–LAHDEN TEKNILLINEN YLIOPISTO LUT LAPPEENRANTA–LAHTI UNIVERSITY OF TECHNOLOGY LUT LUT School of Energy Systems LUT Scientific and Expertise Publications Tutkimusraportit – Research Reports Tutkimusraportit Research Reports 101 101
LUT-yliopisto LUT School of Energy Systems Tutkimusraportti 101 LUT University LUT School of Energy Systems Research report 101 Aleksei Mashlakov1, Antti Keski-Koukkari3, Aleksei Romanenko1, Ville Tikka1, Peyman Jafary2, Antti Supponen2, Joni Markkula2, Matti Aro3, Rinat Abdurafikov3, Anna Kulmala3, Sami Repo2, Samuli Honkapuro1, Pertti Järventausta2and Jarmo Partanen1 1LUT University 2Tampere University 3VTT Final report: Integrated business platform of distributed energy resources – HEILA LUT-yliopisto LUT School of Energy Systems PL 20 53851 LAPPEENRANTA ISBN 978-952-335-420-3 (PDF) ISSN-L 2243-3376 ISSN 2243-3376 Lappeenranta 2019
Preface This report is the summary on the results of the ”Integrated business platform of distributed energy resources – HEILA” project realized by LUT University, Tampere University and VTT. The project was started in March 2017 and finalized during the summer 2019. The report introduces the work in different work packages and tasks, and includes the main results, which are described in more detail in various international conference and journal publications, theses works and in other documents. The main funding of the project has been provided by Business Finland. The following companies have also participated in the funding and the work of the steering group: Fingrid Oyj, Helen Oy, Helen Sähköverkko Oy, Lempäälän Energia Oy, PKS Sähkönsiirto Oy (representing R4 consortium), Tampereen Sähköverkko Oy, Convion Oy, GreenEnergy Finland Oy, FinnEnergia Oy, Liikennevirta Oy, MSc Electronics Oy, Nokia Solutions and Networks Oy, Siemens Oy, Wapice Oy. Lappeenranta and Tampere, September 2019 Authors 1
Abstract Energy systems are in a major process of transition from both technology and business perspective. The amount of distributed generation is increasing, load profiles are changing and new types of controllable and uncontrollable resources are being connected to the system (e.g. storage units, electric vehicles). In general, these resources are called distributed energy resources (DERs). The role of microgrids, energy communities and aggregators (virtual power plants) is being particularly emphasized in the electrical system because they create an opportunity for new kind of flexibility provided by DERs, but also introduce new challenges to energy system management. Business potential of intelligent energy solutions is enormous but there are still major barriers that block most of the novel business opportunities in the present energy system. One of the most significant technical barrier is the lack of widely accepted interoperable information exchange solution (data model and interfaces) that is easily accessible and fulfills business needs by all parties dealing with the energy system. HEILA project aims to define, implement and demonstrate an integrated business platform of DERs for information exchange between energy market participants. The first implementation of such a platform will be realized during the project to integrate smart grid demonstrations in Finland to develop, test, pilot and finally also commercialize new smart energy system functionalities consisting of interactions and impacts of multiple participants. Development of such a system begins as a national smart grid demonstration platform in Finland but will be designed to support Europe wide deployment of the system. 2
Contents Nomenclature 5 1 Introduction 8 2 Use case descriptions 11 2.1 Usecasemethodology .............................. 11 2.2 Review of use cases in other projects . . . . . . . . . . . . . . . . . . . . . . . 14 2.3 Generalusecases ................................. 15 2.3.1 Microgrid monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.3.2 Frequency containment reserve for normal operation (FCR-N) . . . . . 15 2.3.3 Flexibility services for distribution system operators (DSOs) (DSO Flexibility)................................... 18 2.4 Detailedusecases................................. 18 2.5 Implementation use cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.6 smart grid architecture model (SGAM) use case architecture . . . . . . . . . . 20 3 HEILA platform 24 3.1 Generalintroduction ............................... 24 3.2 HEILAAPI.................................... 27 3.2.1 Client/Server architecture . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.2.2 Payloadfactory.............................. 27 3.2.3 Metadataregister ............................. 30 3.3 Actormodelling.................................. 34 3.4 Cybersecurity ................................... 36 3.5 Datawarehouse .................................. 37 4 Demonstrations 39 4.1 Laboratories used in demonstrations . . . . . . . . . . . . . . . . . . . . . . . 40 4.1.1 LUT University (LUT) Green Campus . . . . . . . . . . . . . . . . . . 40 4.1.2 Tampere University (TAU) Smart Grid Laboratory . . . . . . . . . . . . 42 4.1.3 Teknologian tutkimuskeskus VTT Oy (VTT) MultiPower . . . . . . . . 42 4.2 Initial implementation results . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 4.2.1 SmartAPItesting............................. 43 4.2.2 First on site implementation . . . . . . . . . . . . . . . . . . . . . . . 43 4.3 Communicationtesting.............................. 45 4.3.1 frequency containment reserve (FCR) use case . . . . . . . . . . . . . 45 4.3.2 DSO flexibility use case . . . . . . . . . . . . . . . . . . . . . . . . . 48 4.4 Open-looptesting................................. 50 4.4.1 FCRusecase ............................... 52 4.4.2 DSO flexibility use case . . . . . . . . . . . . . . . . . . . . . . . . . 55 4.5 Closed-looptesting ................................ 60 5 HEILA as an enabler for national smart energy ecosystem 64 5.1 Whatisanecosystem? .............................. 64 5.2 Finnish smart energy ecosystem - Smart Energy Finland . . . . . . . . . . . . . 67 5.2.1 Workshop results in HEILA project . . . . . . . . . . . . . . . . . . . 67 5.2.2 HEILA role in Smart Energy Finland - ecosystem . . . . . . . . . . . . 68 6 Conclusions 72 References 74 3
Appendices 76 I.Generalusecases................................... 76 II.Detailedusecases .................................. 87 III. Implementation use cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 4
Nomenclature Acronyms AES Advanced Encryption Standard AES-256 Advanced Encryption Standard with 256 bits digest AMI Advanced Metering Infrastructure AMS Aggregator Management System ASDU Application Service Data Unit BESS Battery Energy Storage System CA Common Address CIM Common Information Mode CRP Conditional Re-Profiling DER Distributed Energy Resource DMS Distribution Management System DSO Distribution System Operator EAI Enterprise Application Integration EC European Commission ELK Elasticsearch, Logstash, and Kibana ESB Enterprise Service Bus ESP Encapsulating Security Payload EU European Union EV Electric Vehicle FCR Frequency Containment Reserve FCR-N Frequency Containment Reserve for Normal Operation FMP Flexibility Market Platform GPS Global Positioning System HLUC High-Level Use Case HTTP Hypertext Transfer Protocol HTTPS Hypertext Transfer Protocol Secure ICT Information and Communication Technology IEC International Electrotechnical Commission IED Intelligent Electronic Device IOA Information Object Address IP Internet Protocol IT Information Technology JSON JavaScript Object Notation JSON-LD JavaScript Object Notation for Linked Data 5
LSVPP Large Scale Virtual Power Plants LUT LUT University LV Low-Voltage LVDC Low-voltage Direct Current MGMS Microgrid Management System MMS Manufacturing Message Specification MO Microgrid Operator MQTT Message Queuing Telemetry Transport MV Medium-Voltage OPF Optimal Power Flow OSI Open Systems Interconnection PC Personal Computer PK Public Key PPP Public–Private Partnership PUC Primary Use Case PV Photo-Voltaic RDF Resource Description Framework RMP Reserve Marketplace RSA Rivest–Shamir–Adleman algorithm RTDS Real-Time Digital Simulator SAU Substation Automation Unit SCADA Supervisory Control And Data Acquisition SGAM Smart Grid Architecture Model SHA-512 Secure Hash Algorithm with 512 bits digest SQL Structured Query Language TAU Tampere University TCP Transmission Control Protocol TLS Transport Layer Security TSO Transmission System Operator UDP User Datagram Protocol UML Unified Modeling Language URI Uniform Resource Identifier VPN Virtual Private Network VTT Teknologian tutkimuskeskus VTT Oy XML Extensible Markup Language 6
7
2.2 Review of use cases in other projects The increasing trend of replacing traditional centralized forms of electricity production with renewable DERs has created the need to develop power systems throughout Europe. Therefore, smart grids and its applications have been already studied for several years with the aim of harmonizing European energy system development in the same direction. In this section, some focal use cases of other European smart grid projects are gathered. They were reviewed as a starting point when defining the architecture in HEILA project during the Use Case Aggregation phase. For the HEILA project, a dozen of the previously implemented smart grid projects have been reviewed and the most focal six of them are shortly presented next including the crucial use cases from the projects collected in Table 1. IDE4L was a 3-year demonstration project funded by European Commission (EC), with a vision to develop distributed and hierarchical automation solution and functionalities for complete distribution grid management, which enables clean and reliable energy for the future [ 13 ]. OS4ES “Open System for Energy Services” was also a 3-year EC project, with a central aim to provide a solution that would close the information, communication and cooperation gap between DERs and DSOs [ 14 ]. DREAM “Distributed Renewable resources Exploitation in electric grids through Advanced hierarchical Management” was a EC funded project that included partners which focused on three main features: 1) Market benefits from empowered consumers and prosumers. 2) From “passive” to “active” smart distribution grids. 3) Efficient generation from distributed renewable sources [ 15 ]. SmartNet project aims to provide optimized instruments and modalities to improve the coordination between the grid operators at national and local level and the exchange of information for monitoring and for the acquisition of ancillary services from subjects located in the distribution segment. It receives funding from the European Union’s Horizon 2020 research and innovation program [ 16 ]. FENIX “Flexible Electricity Network to Integrate the eXpected ‘energy evolution’” had an objective to boost DERs by maximizing their contribution to the electric power system, through aggregation into large scale virtual power plants (LSVPP) and decentralized management [ 17 ]. Developing an integrated research infrastructure for smart grid systems is the target of the EU-funded ERIGrid "European Research Infrastructure supporting Smart Grid Systems Technology Development, Validation and Roll Out - project", where 18 of Europe’s top research institutions join forces in order to pool together their know-how and improve research infrastructures within the smart grid sector [ 18 ]. The lack of system validation approaches for Smart Grids is especially addressed by ERIGrid. Table 1 summarizes the use cases from the six selected projects that dealt the same topics we addressed in the HEILA project. The use cases were divided into three clusters and more specifically into general or high-level use cases (HLUCs) and later into detailed or primary use cases (PUCs). In this table, the used clusters are: Business, Control and Monitor. Business 14
cluster included market and operational interactions among Aggregator, DSO and TSO. Control cluster incorporated Real-time control- and Power quality-related HLUCs. Monitor cluster was devoted only to Real-time monitoring since that was the main issue we were dealing with in our monitoring use cases in HEILA. 2.3 General use cases Following the analysis of the focal use cases of the European smart grid projects described above and generating own use cases, a few general use cases were extracted as being essential in HEILA project. The general use cases were focused on processing and exchange of information between the following main actors: DERs, microgrid operators (MOs), aggregators, DSOs, TSOs, marketplaces, and third-party service providers. The selected general use cases were "microgrid monitoring", "microgrid participation in the market as FCR-N", and "provision of microgrid flexibility services to DSO". List of the main actors utilized in HEILA general use cases is presented in Table 2. Each of the use cases was described from the point of MO, DSO, and Aggregator as the main actors. In what follows, a summary of these use cases is provided, while the full version of the general use cases can be found in Appendix I of the the present report. 2.3.1 Microgrid monitoring The monitoring use case is the simplest but a crucial one. The main actor is the MO, who monitors the DERs of the microgrid. The MO acquires, processes, and stores raw measurements, and extracts and publishes the required information. The main objectives are continuous verification of the states of the flexibility reserves / services of the microgrid as well as retrieval of information required by aggregators in order to offer microgrid reserves / services in the flexibility and reserve markets. Where needed, the MO uses third-party services, such as weather forecasting, to estimate the expected flexibility in a short-time. The monitoring use case also includes provision of technical data to the DSO related to the potential for island or off-grid operation. 2.3.2 FCR-N This use case shows how flexible DERs of microgrid could participate in a lucrative hourly market for FCR-N through aggregator. The latter is the main actor in the use case, who collects and processes the information about available volumes of active power reserves published by the MOs, and prepares and submits price bids to the FCR-N market. Having obtained the results of the trading session, the aggregator optimizes the distribution of the to-be-maintained reserves between MOs. Consequently, the MOs perform internal rescheduling of the power flows of DERs within microgrids, and monitor and control the delivery of active power regulation service. Finally, the MOs deliver verification reports for financial settlement to aggregator that verifies the amounts of maintained and activated reserves by each of the MOs and delivers aggregated 15
Table 1: Generic use cases from EU projects considered most relevant for HEILA project. Cluster HLUC PUC Project Business Market interaction among Aggregator, DSO/TSO Flexibility negotiations between the Flexibility Provider, Aggregator, and served roles (such as DSO, balance responsible party (BRP), and TSO) OS4ES Aggregation of DERs in commercial virtual power plants (VPPs) FENIX Market bidding and service procurement IDE4L Operation of a local market by the DSO SmartNet Operation interaction among Aggregator, DSO/TSO Volt/Var Control – Dynamic, Static, Optimization OS4ES LV (MV) cell provision of flexibility DREAM LV (MV) network congestion management based on procurement of scheduled re-profiling (SRP) and conditional re-profiling (CRP) services provided by Aggregators for a local market IDE4L Sharing balancing responsibility between DSO and TSO SmartNet Decentralized peer-to-peer control (contains pre-emptive steps to determine flexibility with model calculations) DREAM Aggregation of DERs in VPP. (Aggregation, scheduling) OS4ES Control Real-time control Real-time flexibility release for the LV cell in emergency situations (e.g. congestion) DREAM Local LV control to solve a contingency in emergency situation DREAM LV (MV) network congestion management based on DSO’s resources and DERs IDE4L Frequency control – Primary, Secondary, and Tertiary OS4ES Power quality Use of flexibility in active power networks ERIGrid Monitor Real-time monitoring LV (MV) network real-time monitoring and state estimation IDE4L Certified Energy Market OS4ES 16
Table 2: Main actors of general use cases deployed in HEILA project. Actor’s Name Actor’s Type Actor’s Description Distributed Energy Resource (DER) Physical resource A distributed physical resource for power generation, demand response, and storage. Prosumer People A provider of DERs (owned himself or together with other partners), and contract customer for microgrid operator that is allowed to monitor and control its DERs. Microgrid Operator (MO) Organization A housing company, cooperative or service company that optimizes the operation of the physical microcomputer network, manages the control of the energy resources of the micro-network, aims to increase microgrid efficiency by selling available DER flexibility 1 , and is responsible for the security of the dedicated network (= physical micro-network). Aggregator Organization An electricity market participant or service provider that pools available active power reserves of microgrids and resells them in different electricity markets. Distribution System Operator (DSO) Organization A natural or legal person responsible for operating, ensuring the maintenance of and, if necessary, developing the distribution system that aims to improve power quality (e.g. congestion management, ramping issues, voltage quality, etc.) in distribution network and reduce expenses by using microgrid flexibility. Transmission System Operator (TSO) Organization A natural or legal person responsible for operating, ensuring the maintenance of and, if necessary, developing the transmission system that aims to optimize the performance of the transmission grid with low-cost reserves of microgrids. Reserve Market Organization An organization that provides a market place to facilitate trading with frequency containment reserves for a fee. Service provider Organization A vendor that provides IT or AI solutions and/or services to microgrid operator or aggregator for a fee. Flexibility Market Organization An organization that provides a market place to facilitate trading of flexibility services for a fee. 1 Available DER flexibility means how much of a certain ancillary service type remains after taking into account "locked" amounts that have been already sold or required to cover base needs. 17
verification data to TSO. 2.3.3 Flexibility services for DSOs (DSO Flexibility) In this use case, the primary actor is the DSO, whose main target is to make use of the flexibility services provided by DERs to improve operation of a certain part of the distribution network. The MOs estimate the amounts of flexibility services they are able to offer to the DSO as part of microgrid monitoring process and publish this data for aggregator(s). The aggregators publish area- or microgrid-specific offers to the market place. The market place transmits this information to the DSO and the latter runs an internal process to define the total amounts of services to buy. The DSO then notifies market place of accepted volumes by area or microgrid, and the market place settles the contract between the aggregators and DSO. The aggregators proceed with distribution of accepted volumes to the MOs, who, in their turn, perform internal rescheduling of DERs and control them to provide the services. Similar to the FCR use case, the MOs prepare verification reports for financial settlement. When the platform supports FCR and DSO Flexibility it would be ready to support additional use cases. For example, procurement of frequency regulation services by DSO for temporary island operation. 2.4 Detailed use cases The detailed use cases further specified the general use cases by representing the business actors by corresponding automation actors and defining these automation actors in terms of interfaces, databases and functions. For instance, if the general use cases consisted only of business entities like the DSO, the Prosumer, the Aggregator, etc., the detailed use cases contained the systems used by those business entities and their interactions, e.g. the distribution management system (DMS), intelligent electronic device (IED), etc. The overall view on the use case semantic between the actors of detailed and general use cases is displayed in Figure 3. The description of the detailed actors can be found in Table 3 and the use case descriptions are available in Appendix II of the present report. 2.5 Implementation use cases The final step was a development of the implementation use cases that would demonstrate the business operations associated with the use of DERs. According to the results obtained at the detalization phase, it was decided that FCR and DSO Flexibility use cases will be demonstrated in HEILA platform while the monitoring use case was included in these two as the core of their operation. The implementation use cases are well combination of architecture requirements where the microgrid resources could be adopted for an existing energy market structure (FCR) and for future smart grid scenarios (DSO Flexibility). Moreover, these use cases operate in different time frames that introduce diverse requirements for the data exchange and can be used 18
Table 3: Main actors of detailed use cases deployed in HEILA project. Actor’s Name Actor’s Type Actor’s Description Intelligent Electronic Device (IED) Device A microprocessor-based controller. DER IED Device A generic device that is responsible for control and monitoring of DER. Automation System (AS) IT system A generic automation system of building or home that involves the control and automation of lighting, heating (such as smart thermostats), ventilation, air conditioning (HVAC), and security, as well as home appliances such as washer/dryers, ovens or refrigerators/freezers. Customer Energy Management System (CEMS) IT system A generic information system (e.g. HEMS, BEMS, etc.) for monitoring and control of customer side flexible resources (DERs and AS) that manages their consumption and generation portfolios. Microgrid Management System (MGMS) IT system A system that aggregates and processes technical information about microgrid for different time periods to optimize scheduling of its resources in order to guarantee quality of supply as well as to allow maximum participation of microgrid resources in flexibility services. Aggregator Management System (AMS) IT system A system that acquires and processes flexibility information of microgrids and other controllable resources on different time-scales to propose flexibility services on market platforms and provide the management of such services. Distribution Management System (DMS) IT system A DMS advanced by applications designed to use resource flexibility to support of the quality of supply of distribution network. Flexibility Market Platform (FMP) IT system A platform for trading of flexibility services between aggregators and grid operators. Transmission System Operator Energy Management System (EMS) IT system A TSO EMS advanced by applications designed to monitor, control, and optimize the performance of the transmission grid with low-cost reserves of microgrids. Reserve Market Platform (RMP) IT system A platform for trading of frequency containment reserves on hourly market. Service Provider Platform (SPP) IT system A system that provides the services of weather and market price forecasts for management systems of aggregator and microgrid operator. 19
Figure 3: Overview of general and detailed use cases. to check the performance of the platform during their simultaneous operation at later stages. The details of the implementation use cases are presented in Appendix III of the present report. 2.6 SGAM use case architecture The preliminary architecture of smart grid use cases studied in HEILA project is briefly introduced here. Also an introduction to different kind of architectures is given. Architectures may be defined for many kind of systems. In HEILA project, the focus of architecture is in the system of systems viewpoint. This means a description of multiple systems and stakeholders how they interact and cooperate. Each system and stakeholder has internal architectures which are not discussed in detail here. One specific system of systems may appear for different actors very differently and may appear centralized and distributed at the same time depending on the observer. Even if the introduction of architectures presents clearly the differences of centralized, decentralized and distributed architectures, the practical architectures are usually hybrid systems where aspects from all architecture types exist in parallel. Many times system of systems are hierarchical systems where it is important to understand how the coordination of complete system is realized which might be done in design or operational phase. Figure 4 visualizes different architecture types. A node represents a decision making point in the architecture. A link is a connection (information exchange) between two decision making points. Centralized architecture brings all information to one point where the decisions are made. Typical example of centralized architecture is a Nordpool market place (centralized system in Figure 5). Decentralized architecture decomposes the global monitoring and control task to 20
partial or/and local tasks which are only loosely connected to each other (green links in Figure 4) or might miss the connection completely. An example of decentralized system is a combination of several markets operated in sequence (Figure 5). Distributed architecture is the most difficult to understand, because truly distributed architectures are very few. All decision making nodes in distributed architecture should be equal, no one should make decisions instead of them. The idea of decision making is based on autonomous decision making and communication / negotiation with neighboring nodes. In that way single decision making node may understand more about global tasks in addition to local tasks dedicated to it. Bilateral trading in Figure 5 is an example of distributed architecture where different market participants create a meshed structure without a central controlling unit. Figure 4: Architecture types. Figure 5: Examples of architecture types from market perspective. Figure 6 represents two examples of distribution grid management. The centralized architecture is based on supervisory control and data acquisition (SCADA) system used for remote real-time monitoring and control of primary substations, advanced metering infrastructure (AMI) used for low voltage network management, and SCADA for microgrids where DSO receives real-time information. All these are integrated together in one centralized system which is typically 21
implemented as an enterprise application integration (EAI) or enterprise service bus (ESB) solution. This is an IT integration viewpoint for the architecture. The same system looks like decentralized architecture, if it is considered from the technical viewpoint of DSO. Grid management system includes hierarchy (control centre, substations and microgrids) and some decisions are made in decentralized way without central decision. Substation automation system merging and utilizing information from IEDs is a typical example of decentralized system working in tight connection with a centralized system. IEDs at substation or along medium voltage feeder may also operate at the same time in distributed architecture. An example of distributed architecture in grid management is peer-to-peer GOOSE communication of IEDs. Another example of decentralized architecture is the frequency control system applied in Nordic countries. Primary frequency control is realized by the turbine controllers of synchronous machines which are local controllers (IEDs) utilizing local frequency measurement for the control decision. Secondary frequency control is implemented on national level providing manual adjustments for primary controllers if needed. Frequency control does not have one centralized node where all decisions are made but multiple nodes which operate in parallel and partly in sequence. Many times the architectures which are said to be distributed are actually more close to decentralized than distributed architecture. Typically distributed architecture includes a coordinator or a master which has more power to make decisions compared to other decision making nodes. In that case the architecture is a hybrid architecture of distributed and centralized/decentralized architectures. An example of such system is a microgrid management based on blockchain technology where exists multiple equal decision makers (e.g. IEDs of DERs) communicating peer-to-peer and a microgrid central controller communicating with Aggregator, DSO, etc. and making decisions external to microgrid. Figure 6: Examples of architecture types from market perspective. 22
The information exchange architecture proposed in HEILA is decentralized and aims to enable efficient real-time data exchange between all energy market actors (including DER owners). The future energy system will include both distributed customer driven renewable based parts and centralized market actor driven systems and is, therefore, inherently a decentralized system. The concept of the proposed decentralized information exchange architecture in business use is represented in Figure 7. The basic operational principle of the information exchange platform is that all real-time communication happens directly between the actors required to communicate with each other and not through any centralized point. The need to build numerous dedicated point-to-point communication links is being tackled by utilizing a unified interface at the connection point of each actor. All communication utilizes the public internet and no dedicated communication channels are built. Figure 7: The concept of the decentralized information exchange architecture. 23
standard ways to generate Smart API payload objects using abstract packet definitions, that can be set up in configuration file (payloadstructure.yaml) using human-readable format of data representation. The structures defined in the configuration file are used to format requests from client to server, guaranteeing that the data is provided in the way, that is expected by the server. On the other side of the communication the configuration defines a number of standard endpoints, that can be populated with callbacks to server-side functions. Such functions can serve as both input and output points for data and signal streams. The code, presented in Figure 10 describes structure of Smart API objects for both Request and Response, related to the same type of request (in this case Bid-type) under Structure subkey. Nodes of the tree, located under this key are either Smart API concepts such as Entity or ValueObject, their possible attributes like Type, uniform resource identifier (URI), Name, Unit and Quantity or Special concepts of HEILA like QueryIterator, that assist construction of payload. In the case of QueryIterator - the purpose of this concept is to create lists of managed entities in the response using single entity template and a database query that returns a list of rows in comparison to a single row, that is expected otherwise. In addition to that Queries key defines relation of the Response to database query. In this case the query is defined under the name of QueryRedis, that uses database named FakeRedis (as defined in database.yml) and it will execute a call to getRedisBid member function of the class, that manages FakeRedis database (also defined in database.yml). The function is usually expected to return a row or a list of row of database records that result from query to database. The data, obtained from query is the substituted to the response structure using numerical mapping with ValueDbIndex parameters for ValueObjects. Finally for the server side the structure defines a callback function tag, that will be used to signal server class about new request and, which is supposed to process the request and write necessary updates to the database before they could be used in creation of response. Figure 11 presents a sample call to HEILA client, that will execute Bid request to TSO actor. Here, callback defines the function, that will handle response of server, payload_type defines the type of request to be used (should match the root key in payloadstructure.yml). Finally, the rest of parameters, that are passed to the run call are converted into a dictionary, that is used in parametrization of the request structure. In Figure 10 the list of required parametrization parameters is provided under Arguments key. 3.2.3 Metadata register A generic model of decentralized machine-to-machine environment implies grid decomposition where each IoT system is considered as a part of a larger ecosystem of interconnections rather than just a single solution. In order to work in this architecture, autonomous systems require metadata registry that acts as a "phone book" and shares the information about the types of 30
Figure 10: Example of payload structure for Bid-type request. 31
Figure 11: Example of Bid-type request performed by reserve marketplace (RMP) actor. data, services, and control capabilities the other systems possess as well as requirements for their access. The metadata registry deploys functionalities of semantic web to discover the virtual representations of the devices based on the semantic meaning of these representations and their interconnections. The same idea is realized in HEILA metadata registry for autonomous interactions between the HEILA management systems. In the case of HEILA actors, these representations include exposition of their capabilities, properties, and types that are transformed to the machine-readable knowledge about them. Consequently, the registry provides vital semantic metadata to enable automated discovery of HEILA systems with required parameters for corresponding energy services. There are two general types of registry services, which can be described as "white" and "yellow" pages. The former ones assume that the actor discovery is based on the semantic type of the actors, while the the latter ones rely on service-oriented discovery. HEILA metadata registry adopts the actor-based search to enable system interactions for different services. Every system in the platform follows sequential actions that could be purposely divided into "Register", "Search", and "Access". During the "Register" part, HEILA systems aim to become visible in the environment by sending a registration request to the registry with own metadata information. The basic metadata contained in such requests include namespaces, actor type, interface information, and its public key (PK). However for some systems as microgrid management systems (MGMSes), it also consists of services they provide, type of the resource they manage, and maximum power available for the services. The example of registration request for MGMS with "MGMSRegistration" entity is presented in Figure 12. The metadata in the request is semantically described with resource description framework (RDF) data model predominately with Smart API ontology which was internally enriched for the platform testing purposes by new entities. These entities are mostly related to the anticipated organization and terminology of decentralized smart grid architecture. RDF is encoded in Turtle format but can be also converted to JavaScript object notation for linked data (JSON-LD) or RDF/extensible markup language (XML). The adopted metadata for system description is not an exhaustive but rather minimum required for the interactions in HEILA platform environment. 32
Figure 12: MGMS registration request. At the searching stage, the metadata serves as the basis for filtering the systems with specific types. The search is built by sending a request filled with required parameters, and, in the case of "AMSSearch" request presented in Figure 13, this required parameter is only the type of the system. The expected response will return the stored data of the corresponding systems registered at the moment of the request. An example of such response is illustrated in Figure 14. Finally, having received the registry response, the requester can leverage the data and query the other systems implementing the "Access" part. 33
Figure 13: aggregator management system (AMS) search request. Figure 14: AMS search response. 3.3 Actor modelling Since the main objectives of the first version of the HEILA platform were mostly related to the data exchange, internal operation and functionality of the different actors were not the main focus, and development regarding these can be continued in following projects. Meanwhile, the actors in the present version of the platform were modeled using state-machine based approach with only baseline functionality. The state-machine simulated sequential logic of the actors 34
as continuous transition between the actor states. The actors incorporate some attributes of reactivity, proactiveness, and social abilities. Most of the state transitions are provoked by actor reactions to changes that occur in the platform. The examples of these changes can be a time condition or received request of the other actor. Also, pursuing their design objectives, some actors proactively initiate some of the interactions using their social abilities. However, in the conditions of restricted intelligence, the proactiveness of these interactions is initiated in a rule-based fashion. The HEILA actors corresponding to the implementation use case actors were implemented leveraging Actor Base and Slot Base classes. The Actor Base class implements generic methods for the actors while the Slot Base class is in charge of the actor actions for a specific time slot. The generic methods of the Actor Base include handling register, search, and access routines as well as performing thread and time-based routines for given slots and updating active slot handling objects with respect to the current time. The Slot Base class incorporates basic requirements to time slot and processes state transition on time tick. The state transition actions are predetermined by the design objectives of the actors in particular implementation use case and performed by Slot Handler class of each actor. An example of the slot sequential logic for the AMS Slot Handler in FCR implementation use case in presented in Figure 15 and is explained in what follows. When the AMS Slot Handler is initialized by AMS actor class for a hourly time slot, it requires the forecast of Fingrid FCR price for its hour from AMS to change its state. In the Hourly Market Prices Obtained state, the AMS Slot Handler can be up to 5:30 hours before the referenced bidding time to the RMP actor. If the time condition is passed, the AMS Slot Handler starts querying MGMSes found by AMS during the registration phase for flexibility entities. The transition for the next state is performed if all of the flexibility entities are obtained or the time before the bidding is less than 3:00 hours. Having proceeded to the next state, the AMS Slot Handler prepares the offer to submit to the RMP actor. If the offer is calculated, the AMS Slot Handler goes to a state number 6 and is waiting for the request from the RMP actor. Having received the request and posted the offer, the AMS Slot Handler progresses to an Offer Posted state. Subscribing to the reserve notification in this state, the AMS Slot Handler achieves the requirement for a transition to the next state where it is waiting for the reserve notification to be published by the RMP actor. Having received the notification, the AMS Slot Handler forwards it to the MGMSes that shared flexibility entities and is consecutively moved to a state number 10. In this state, the AMS Slot Handler is in idle state until the time after the end of the reserved time slot is exceeding 30 minutes. Then, the AMS Slot Handler subscribes to a verification notification from the MGMSes that were reserved for FCR service transitioning to a state number 12. If all of the required verification notifications are received by the AMS Slot Handler, it reaches the end of its sequential logic. 35
Figure 15: An example of AMS Slot Handler state transition. 3.4 Cybersecurity Cybersecurity is one of the key aspects that needs to be properly addressed when novel concepts are applied in real-life systems. The main issues addressed in this implementation of system are access control, data authenticity and data malleability. The access control is ensured by multiple layers of encryption of the communication. At the outer level the data is encrypted with TLS defined for HTTPS and MQTT protocols, that are used as transports. Inside the payload the segments of data, that communicate useful information are encrypted using hybrid encryption where the payload is encrypted by symmetric unique advanced encryption standard (AES) key and the key itself is encrypted asymmetrically with Rivest–Shamir–Adleman algorithm (RSA) PK of the party to which the message is intended. Such encryption also partially addresses the issue of authenticity as any response can only be decrypted by the holder of the corresponding private key. The exchange of information about PKs happens through requests to Registry actor for which the PK is preshared for all participants. This approach minimizes the risk of man-in-the-middle type of attacks and the only major weak point is potential leak of Registry PK. This, however can be addressed by use of multiple Registries with independent public-private keys. Finally, data malleability is also addressed by used encryption algorithms. The payload encryption is implemented with asymmetric key encryption scheme and described in Figure 16 based on the interactions of Registry and the other Actors. At the initial step illustrated in Figure 16 by 1 where every Actor has received preshared Registry PK in addition to its own asymmetric key pair. Then, when Actor is sending the register request, it encrypts the registration payload with the Registry PK. Having received Actor register request, registry decrypts it with own private key, if the registration is successful, it returns the registration acknowledgement encrypted with Actor PK. Moreover, in order to communicate with other Actors, each of the 36
Actors requests other Actor search from Registry. As a response to such request, the registry sends to the Actor the found Actors’ metadata and attached to them keys pairs that are further used by the Actor to interact with filtered actors. For instance, if Actor A receives request from Actor B it cannot decrypt the request payload until it fetches the Registry for corresponding Actor key. Thus, this mechanism of environment interactions via the registry extends the role of the registry as a trust authority by provision of encryption key management. Figure 16: Registry encryption key management: 1- Preshared Registry PK; 2 - Registration request with actor’s own PK; 3 - Query PK of other actors; 4 - Asymmetrically encrypted communication. Further improvements to the cybersecurity that are yet to be implemented and which will continue to reduce security risks are: use of session and message-specific numbers used once (nonces) which will reduce possibility of replay attacks and generation of digital signatures for payloads to improve data authenticity. 3.5 Datawarehouse The data warehouse is essential part of the HEILA demonstrations platform as it serves development of the platform but also showcasing of the results. During HEILA project demonstrations, all test results are collected with logs to centralized Kibana data warehouse. This way it is easy to follow how actors in different sites are operating throughout the tests, get a good general view for whole system and gather specific test results. It should be, however, noted that in business use of the data exchange platform, all data does not need to be gathered to a centralized place. The data warehouse implementation is based on software stack called Elasticsearch, Logstash, and Kibana (ELK) stack [ 20 ] providing features from log data ingestion to versatile querying and visualisation of the log data. The Logstash provides an open source serves side data processing pipeline that ingest data from varying data sources and forward transformed data to Elasticsearch [ 21 ]. Elasticsearch provides search interface to utilize multitenant-capable full-text search engine with an HTTP web interface and schema-free JavaScript object notation (JSON) documents. 37
Finally, topmost software Kibana [ 22 ] serves as a user interface to enable easy visualisation of the log data. In practice, ELK stack implementation in HEILA environment offers centralised logging service that enables easy logging and log management. HEILA environment offers Python module to remotely ingest logs to ELK stack implementation from each demo site. Log messages include variety of metadata in addition to timestamp to enable effective analysis based on the log evens. Figure 17 illustrates simple example view of the Kibana dashboard. In the figure number of successful verification notification is presented as a list but also as a user-friendly graph. Figure 17: Example illustration of the Kibana dashboard. 38
4 Demonstrations Two use cases have been selected to be demonstrated in HEILA project as already described in section 2. The selected use cases are DSO flexibility and FCR. Monitoring use case is a part of both the selected demonstration/implementation use cases. The selection criteria was such that the demonstration use cases should represent situations where functionalities provided by such data exchange infrastructure as the HEILA platform would be needed in real business cases. The selected use cases require monitoring and control of DERs at various locations. Also, microgrids and their effect on system operation is a topical research question. The aim of the demonstrations is to implement and test the operation of the HEILA platform and its applicability for the selected use cases. The HEILA platform has two main purposes of use: • Providing a testing platform for test cases that cannot be implemented in one laboratory or pilot site. The testing platform can be used for research and development purposes and enables system-level testing that has not been possible before HEILA. It can be utilized by the project research partners but also by companies in further projects after HEILA. • Providing a first prototype of the data exchange infrastructure that can be used in the future smart grid to connect also small-scale resources as a part of system operation. Demonstrations verify the correct operation of the platform, give information on its characteristics (e.g. transfer times) and reveal further development needs. The demonstrations provide also new information on how the selected use cases could be implemented. The implementation does not, however, constrain all the details but the HEILA platform enables also different types of message structures, use case sequences etc. This section describes the demonstration set-up, initial Smart API testing and the three use case demonstration testing steps. At first, communication testing was conducted. At this stage, all messages were exchanged according to the use case sequence diagrams using Smart API and physical resources were simulated i.e. no real resources were included in testing. The second stage is open-loop testing where physical resources are included as a part of the test case and change their outputs based on either the frequency measurement (FCR use case) or on DSO control signal (DSO flexibility use case). However, measurements from the resources are not fed back to the network model and hence the loop is not closed. In closed-loop testing, there would be a virtual electrical connection between laboratories and the measurements from the real physical resources would be utilized in the real-time network simulation. In HEILA project, initial steps towards closed-loop testing were taken but the complete implementation will be left as future work. 39
Figure 23: Communication test set-up for FCR use case. aggregator notifies MGMSes about reserved products, which in turn modify operation plan of resources they are managing for accepted hours. At midnight, first operating hour starts and different sites perform autonomous FCR-N control. After operating hours, different sites deliver product verification information to aggregator that gathers them for later use. In communication tests, logs are gathered in several steps for each of messaging protocols. This allows investigation of different parts of messaging sequence in case of both protocols. Figures 24 and 25 present communication test results for HTTP and MQTT protocols over 6 test cycles and 18 hour period. As presented in Figure 24 HTTP communication test results are presented from situation where HTTP client (Actor B) sends POST request to Flask (Actor A) up to a point where HTTP client (Actor B) completes requesting activities. Total time for the whole messaging sequence varies from about 1,5 to 148,5 seconds. Time for the whole message sequence is about 78,6 s when looking at points where percentage first time deviates from 100% level. Highest values 89,1 and 25,1 seconds are at message sequence parts 2 and 6, respectively. It should be noted that in part 2 times are affected by fact that currently Smart API calls are synchronized. Moreover, in 46
(a) (b) (c) (d) (e) (f) Figure 24: HTTP communication testing results part 6 times are affected by retrying requests in cases where respond is not something what was expected, for example if respond was empty. When looking at times of parts 5 and 6 where a respond is transferred from Actor A to Actor B times vary between about 0,15 and 25,4 seconds and that includes possible retries. As can be seen from Figure 25, communication test results for MQTT are presented in similar way that for HTTP. Total time for the whole messaging sequence varies from about 11,3 to 1 hour 5 minutes and 43 seconds. Highest values 3548,1 and 158,5 seconds are at message sequence parts 4 and 2, respectively. It should be noted that in part 4 times are affected by fact that if Actor B sends a request to Actor A, then Actor A can withhold respond until requested information is ready. So, in case of FCR use case, AMS can send Verification Notification request to MGMS well before operating hour starts and MGMS can respond just after operation hour is over and all 47
(a) (b) (c) (d) (e) (f) Figure 25: MQTT communication testing results required measurement information is available. Furthermore, in part 2 times are affected by the fact that currently Smart API calls are synchronized. When looking at times of part 6 where a respond is transferred from Actor A to Actor B times vary between about 2,5 milliseconds and 100 seconds. Now AMS and MGMS at Kajaani datahub locate on same computer as MQTT broker, which can lead to very small transfer times and again, synchronization of Smart API calls affect maximum times on part 6. 4.3.2 DSO flexibility use case In the initial plan, DSO Flexibility test cycle operates 3 hours in real time. DSO Flexibility test sequence (use case) starts by delivering flexibility information from different sites to aggregator in 10 minutes. In next 10 minutes aggregator forms offers, flexibility market platform (FMP) requests them and delivers offerings information to DSO. Next, between 20 and 30 minutes from 48
start of the cycle, DSO sends bids for suitable offers to FMP, which in turn notifies aggregator and DSO about reserved products. Then, aggregator notifies MGMSes about reserved products, which again modify their operation plan for accepted hours. After one hour from the beginning of the test cycle, operating hour starts and aggregator waits that DSO notifies it to activate reserved products. If aggregator receives activation notification, it conveys message to different sites, which will operate their equipment accordingly. After operating hour, different sites deliver product verification information to aggregator that gathers them for later use. The DSO flexibility use case was tested partially. Information exchange between laboratories utilizing Smart API was not been able to finalize. However, DSO’s internal information exchange was completed. Figure 26 represents the implementation of DSO and FMP parts of DSO flexibility use case. There are three computers in TAU lab: substation automation unit (SAU), FMP and OpenDSS as shown below. The OpenDSS engine is used for simulating electric power distribution network containing substations, medium voltage feeders and power sources, i.e. it represents the real physical power system for the testing environment. The OpenDSS computer is also capable of exchanging data with SAU via HTTP server (Apache HTTP server). HTTP client at SAU computer sends a HTTP message with XML payload to HTTP server at OpenDSS computer to request the status of distribution network. The same message may include also information if some control variables (reactive power setpoint of generator, on-load tap changer setpoint or active power curtailment of generator in this case) is requested to change in simulation model. In reality this request would generate multiple messages, because some of them flow to distribution automation and others flow to aggregators providing flexibility for a DSO. HTTP server set new setpoints for the simulation model of OpenDSS Engine and will receive simulation results as a response. HTTP server sends further the requested measurements data (voltage, active power, reactive power, etc.) to HTTP client at SAU computer. SAU computer includes the intelligent part of DSO decision making. PostgreSQL database is utilized as an integration and storage element between different interfaces and internal functionalities. In the database, one table is created for measurement and setpoints data. Every time HTTP client reads server data, it inserts data to the table in database. The HTTP server also provides timestamp for the data, which is also inserted to the measurement and set points table. So, different interfaces and functionalities may read the most recent data values from the table by sending the respective structured query language (SQL) queries to the database. HTTP client requesting data from OpenDSS reads new setpoints from the database and it writes the received measurement values to the database. In similar way the internal functionality (optimal power flow (OPF) functionality) read and write values from/to database. OPF solves an optimal solution periodically. In this use case the optimal solution includes minimization of grid losses and curtailed generation while network congestion (overcurrent, overvoltage and undervoltage) needs 49
to be avoided. The OPF solution is realized by inserting updated setpoints to database which HTTP client will read and send to corresponding controllers (controllers in OpenDSS simulation model in this case). Information exchange with external interface implemented by Smart API is also realized with SQL read and write. Smart API interface exchange information with FMP, which further exchange information with other market participants of the use case. From SAU computer perspective, it does not see the difference between simulated environment (simulated distribution grid in OpenDSS and simulated market in FMP) or real system and therefore the testing of SAU’s functionalities is feasible in the integrated laboratory environment. The conclusions of DSO flexibility communication testing are such that all interfaces work correctly, information exchange utilizing SQL database and HTTP client/server is appropriate for the use case, and coordination and synchronization of events may be realized with SQL database and communication delays. Simulation of events and responses which are slow enough is feasible, if at least one OpenDSS simulation solution (preferably more) is available for the next round of functional sequence of use case. Artificial information exchange delays may be added when those are critical/interesting for the performance of the functionality. Abstraction of DSO functionality, simulation tool, FMP, microgrid functionality, etc. enables easy modification of each of them (loosely coupled subsystems) and opens possibility for multiple kind of combinations in testing. Figure 26: Information exchange between SAU and OpenDSS. 4.4 Open-loop testing Open-loop testing has been implemented on the basis of the structure, described in the previous chapter (communication testing). The major difference is that, instead of simulated DER, the 50
real hardware has been connected to the system to be controlled by HEILA MGMS actors. On LUT side that connection has been established through an intermediate IEC104 Master software, that provided HTTP API with the ability to provide controlled device with a task for individual 6-minute long intervals. Each task can be either: "Idle", "Charge", "Discharge" or "Manual". During the idle task the battery maintains 0 Active Power reference, while during charge and discharge the active power is constant 10 kW charging or discharging respectively. Finally, during manual task the controlling system provided a preset active power curve with 1s resolution that defined the active power response of the system with 1 kW granularity for each second of the upcoming 6-minute interval. On VTT side the hardware connection has been established through an intermediate Modbus connection with the ability to provide control signals (operation mode) for ABB COM600 grid automation controller, which controls IEDs in the MultiPower laboratory. Operation modes in FCR use case can be “Normal” or “FCR”. In operation mode “FCR” the COM600 monitors grid frequency and disconnects/connects load with threshold value of 49,95 Hz. Due to restrictions on available devices in the MultiPower lab, the load is disconnected/connected as whole instead of step-wise operation that would follow current rules on FCR market. In addition, grid emulator feeds the low voltage network inside the MultiPower laboratory and controls frequency according to Figure 28. On TAU side DSO grid is simulated in RTDS or OpenDSS. Grid simulation combines all laboratories together electrically although they are physically located in different places without direct electrical connection. Microgrids in LUT and VTT in addition to other grid components are modelled in RTDS or OpenDSS, but the status and control of them is realized based on decisions made in HEILA platform. In open-loop testing the control loop is not completely closed. For example, when DSO makes an activation request to microgrids in DSO flexibility use case, the corresponding activation message is delivered to microgrids and forwarded directly to simulator. In closed-loop testing, the electrical parameters of microgrids in RTDS/OpenDSS simulation would be changed based on actual measurements. Open-loop testing assumes that activation happens as requested within specified time (a communication delay may be added). The benefit of open-loop testing is to avoid/minimize delays and synchronization problems of virtual simulation environment, which does not exist in real-life. Open-loop testing may be utilized for use case functional testing to verify correct operation of use case implementations. Detailed testing of technical performance would require closed-loop testing environment. Another essential part of TAU’s laboratory is the Substation Automation Unit shown in Figure 27. Substation automation unit is an advanced distribution automation solution based on hierarchical and decentralized decision making. It is capable of e.g. autonomous congestion management in 51
distribution grid at very local area (e.g. in low voltage network) if needed. DSO functionalities are implemented in Substation Automation Unit that contains PostgreSQL database for storing monitoring and forecast data required for local decision making (predicting congestion, requesting flexibility services, utilizing DSO’s own or contracted resources, and activating flexibility services). Database will deliver bids and activations to Smart API for information exchange between TAU, VTT and LUT laboratories. Activation messages are also forwarded via Socket or manufacturing message specification (MMS) client to RTDS simulation. FMP emulates the market place utilized for congestion management including detailed location information about flexibility resources. The information exchange between Substation Automation Unit, FMP and other actors is realized via information exchange platform (HEILA Smart API). From DSO’s perspective DERs and microgrids are controlled indirectly via market. Modified version of congestion management concept presented in reference [ 25 ] will be utilized in the demonstration. Figure 27: TAU smart grid lab. 4.4.1 FCR use case Test objectives. The objective for FCR open-loop testing is to test the whole use case and verify that the physical resources operate as expected i.e. power changes according to the component characteristics when frequency changes. Test description. In this use case the hardware resources were considered procured by TSO for FCR. The frequency signal, that was used as reference has been predefined from historical data on the basis of having significant deviations from the nominal grid frequency (Olkiluoto 52
event from June 2018). 6 hours of frequency data has been selected and pre-shared between laboratories. The 3-second average curve of frequency, used in testing is presented in Figure 27. Figure 28: The frequency sequence used in FCR open-loop tests. The MultiPower and GreenCampus laboratories represented microgrids in the test set-up and one controllable resource was utilized from both laboratories. At GreenCampus, BESS was selected and at MultiPower a controllable load was used. The BESS at LUT was operated according to a droop curve. Due to some restrictions in MultiPower equipment during the testing period the load was controlled in a way that differs from the current FCR rules. The MGMS in the MultiPower connected/disconnected a single load with certain threshold value. The test sequences were accelerated with respect to real life scenario to decrease the amount of time needed for testing. Test outcomes. Both communication and open-loop tests were successfully conducted and verified that the data exchange platform concept and implementation operate as expected and that it was possible to include real hardware in the testing. Some deficiencies in the test set-up were detected and will be dealt with in future work. Some open-loop test results from MultiPower are represented in Figure 29 and from GreenCampus in Figure 30. In MultiPower, the frequency seen by the controllable load was produced by a grid emulator to which the frequency sequence was fed through a Modbus interface. There were some issues with this interface and, therefore, the frequency in the lab did not follow the sequence exactly. Luckily, in cases where the frequency goes below the threshold value the grid emulator was operating correctly. Furthermore, the figure illustrates clearly that load is disconnected if frequency is below the threshold value. In GreenCampus, the MGMS calculated a power set point for the battery based on the frequency sequence. The BESS output measurements indicate that in general the battery was able to track 53
Figure 29: Open-loop testing results from MultiPower. Power measurement of the controllable load (yellow), frequency threshold to disconnect/connect the load (red), predefined frequency sequence (blue) and the frequency seen by the load (orange). Figure 30: Open-loop testing results from GreenCampus. Delivered active power measurements on output of BESS. Vertical axis is in kW. the provided reference signal. This verifies that the communication of registration, market and control commands occurred in a timely manner despite the test sequence being accelerated with respect to real life scenario, where it would be operated in a real time. However, notable overshoots are present in the response signal of BESS. The potential causes for such behavior are imperfections in the measurement of active power or cable reflections, caused by sharp active power change fronts. Detailed analysis is to be conducted in order to establish the root cause which, however, does not directly relate to the subject of this research. 54
4.4.2 DSO flexibility use case Test objectives. The objective for DSO flexibility open-loop testing is to test partial use case (DSO’s internal operational part) and verify the functional performance of OPF functionality in distribution grid congestion situation. Test description. Partial open-loop testing (DSO internal operational phase) includes the similar implementation than utilized in communication testing of DSO flexibility use case in subchapter 4.3.2. Tests do not include physical resources and initial part of the use case is also excluded. It is expected that market trading and closing has already happen, and therefore DSO know what flexibility resources, where and at what price has available for the operational phase. Distribution grid and it’s response to control decisions is simulated in OpenDSS. Flexibility activation messages will be send to DERs and OpenDSS in the open-loop testing, otherwise the impact of flexibility activation would not be seen. In this test it is assumed that both flexibility offers from LUT and VTT microgrids would be needed based on DSO’s predicions, and therefore the both bids would be accepted. It is further assumed that partial activation of bids (splitting of bids) is possible and acceptable for DERs and aggregators. Also offered bid volumes are enough to solve the predicted congestion together with DSO’s own or contracted measures (on-load tap changer and reactive power control of generator). Production unit has non-firm connection contract with DSO, and therefore production curtailment is also possible measure for congestion condition. The cost of that is very high for the DSO, which makes it the least preferable option for congestion management. Simulated grid is presented in Figure 31, which shows also a potential congestion condition in the grid (overvoltage in node 5 in the example). Green arrows in the figure represent the active power flow and blue arrows are the reactive power flow. Negative sign of reactive power of the generator means that generator is underexcited (consumes reactive power from the grid). The model includes representation of supplying grid (nodes 1 and 2), primary transformer and it’s on-load tap changer (between nodes 2 and 3) and two medium voltage feeders. The first feeder has a generator in the end of the feeder and two loads. Microgrids at LUT and VTT are associated to those load points. The second feeder has one load point. In this case the congestion may appear as overvoltage in the first feeder due to generator feed-in, or as undervoltage on second feeder due to demand. Because over- and undervoltage problems may happen at the same time, the optimal solution for the problem is not trivial. Control variables for OPF functionality are tap position of on-load tap changer, reactive power of generator, flexibility activation from microgrids (conditional re-profiling (CRP) products), or production curtailment of generator. Controls have different costs for the DSO and previous control variables were listed from the cheapest to most expensive. Voltage should stay between 0.95 - 1.05 pu. 55
are most likely due to external traffic, which always exists, but reduces possibilities to compare the results reliably. Although the communication latency is rather short most of the time, it includes stochasticity and sometimes the latency might be many times higher than the expected value. This issue will impact how well the synchronization methods are able to synchronize event happening at the same time in different location but the information is received at different time. Due to the uncertainties associated to these results, further studies on the delays should be conducted at following projects. Figure 39: Round trip times for TAU to LUT measurement (top) & TAU to VTT measurement (bottom) - WITHOUT VPN connection. 62
Figure 40: Round trip times for TAU to LUT measurement (top) & TAU to VTT measurement (bottom) - WITH VPN connection. 63
5 HEILA as an enabler for national smart energy ecosystem The previous sections describe the technical work conducted in HEILA project. In addition to developing technical solutions for future smart energy functionalities, HEILA has contributed also to defining the national smart energy ecosystem for Finland. Energy business is experiencing several concurrent disruptions related to changes in electricity production, consumption and storage, transport sector and development of ICT. New type of collaboration between different actors is necessary to cope and flourish in the new operational environment. The main contribution of HEILA project towards the national ecosystem is defining and implementing the national testing platform that currently consists of laboratories of LUT, VTT and TAU but is planned to be extended to include also other laboratories and, more importantly, real-life pilot sites. This focal platform enables new type of collaboration between different energy actors and is an important enabler for the smart energy ecosystem. There are also other ongoing activities on smart energy ecosystem topic and HEILA work is closely linked to all of them. A clear need for defining and building a national-level ecosystem for smart energy has been identified for several reasons. Currently, there are several advanced piloting activities which are, however, a bit scattered at national level. There is a need for integrating the existing pilots and environments better to enable more efficient national innovation environment that is capable of developing, implementing and testing advanced smart energy functionalities, also on system level. At the same the existing infrastructure can be used more efficiently. In addition to the national innovation environment, this will enable Finland to present more significant entities on international level. Some other development trends also steer more interest towards national ecosystems. Generally, the progress is more towards public–private partnership (PPP)-type instruments where companies, research organizations and public funding organizations are increasingly working together and sharing the funding. On EU level the discussion has been towards innovation hubs which can represent one way for allocating funding in the future. Overall, Finnish initiatives such as Smart Energy program by Business Finland rely strongly on platform and ecosystem structures. 5.1 What is an ecosystem? There is no established definition for an ecosystem in business world. However, it is widely agreed that a functioning ecosystem should have certain characteristics. For an ecosystem to thrive, it should have a common goal, rules and a strategy to achieve that goal. The goal can be something abstract like enhancing the living conditions or something concrete like creating new export products. An ecosystem is more than just a network of different actors. In a network there is no shared agenda, only individual needs and a network to receive and provide help. 64
Ideally, an ecosystem is like a living organism where its inhabitants live to achieve a common goal by exploiting and benefiting the ecosystem reciprocally. In order for that to happen the ecosystem needs one facilitator who superintends that the rules are obeyed and the reciprocity is realized. It is not always easy to say what is required from the players to operate in an ecosystem or to what they are eligible/entitled to. In an ecosystem there has to be a shared agenda but it doesn’t mean that there couldn’t be any individual projects where all the monetary benefits go to individual players. But if a player wants to benefit from the ecosystem, it must also give something to the ecosystem. It could provide, for example, useful data or results of a research. The idea behind the concept comes from biology and ecosystems in nature. However, it is not exactly the same. In nature, ecosystem provides the living conditions and the rest is a game of life - the fittest will survive. In a business world ecosystem all the inhabitants share a common goal and a will to achieve it. Ecosystems can be divided into a variety of types (see e.g. [ 27 ]) and defined in multiple ways. There are many different ecosystems depending for instance on the general objective and partner profiles. Commonly ecosystems are classified as knowledge ecosystems, innovation ecosystems and business ecosystems. Such classification is not always straightforward as ecosystems typically have some characteristics for these different types. Typically same ecosystem can have more innovation-oriented and more business-oriented activities. Figures 41 and 42 depict the relation of the above mentioned ecosystem types. The national smart energy ecosystem that is aimed for in HEILA and also other currently active initiatives is an innovation ecosystem. The activities in the innovation ecosystem will lead to formation of also business ecosystems. [28] Figure 41: Different types of ecosystems have different goals and actors. All three types of ecosystems build around a focal company or platform and are partly overlapping. 65
Figure 42: Different types of ecosystems. Innovation ecosystem has certain typical characteristics. It normally has a common goal which is shared by all participants. Innovation ecosystem is a network of all relevant actors, especially integrating different actors together, for instance big companies and startups or business actors and researchers. Innovation ecosystems are as a principle open and dynamic. They do not have strict management structures nor major formalities. They are not centrally managed, however they are coordinated by a suitable actor. Innovation ecosystems are typically linked internationally with similar or supporting ecosystems. Nationally they seek to have clear impact on national development and discussions for instance around regulation and policies. Innovation ecosystems are typically based on certain platform or pilot site which they can utilize flexibly. They typically share data and ideas in open manners. Innovation ecosystems also develop ways of working together, including for instance common innovation actions and joint project development. Innovation ecosystems develop new tools for collaboration between the partners for instance within virtual workspaces. The operation model of an innovation ecosystem is actor-driven and dynamic. Activities can be raised quickly and with efficient preparations whenever there is a common interest within the ecosystem. Activities can be prepared and lead by any partner depending on the situation. For instance research projects are increasingly prepared from need point of view instead of technology development point of view. At the same, the role of common vision becomes essential for identifying the research needs on a high enough level of ambition. Business ecosystems share many characteristics with innovation ecosystems. However it is clear that they are more business-driven and have more focus on customer values and strategic development agendas. In business ecosystems the actual business relationships between actors 66
are highlighted. More focus is in achieving new business opportunities together. 5.2 Finnish smart energy ecosystem - Smart Energy Finland Finland, as a member of the European Union, has agreed to decrease its CO2 emissions and to increase the share of renewable power production. The same trend can be widely seen also in other parts of the world. This creates a need to invent new smart energy solutions that are suitable for decentralized and weather dependent power production. In addition to the trend of decarbonization, also digitalization can be seen as a megatrend around the world. Services are shifting online and a new way of combining and exchanging data through digital platforms can be seen as efficient and functional solution. Building such platforms creates a need to understand more than one domain. One needs to understand the users of the service, the markets they operate on and the ICT technology in order to build a functioning and relevant platform. Finland has certain advantages in the race of creating new smart energy concepts/solutions. We have advanced energy systems with smart grid capabilities, open energy markets with possibilities for new entrants, strong competence in digital technologies and already existing labs, pilot sites and test networks, for example for 5G. The next step is to create larger cross-cutting pilots that would combine the knowledge of multiple domains into comprehensive solutions. First step towards it is bringing together wide range of actors from energy and ICT sectors. Finnish smart energy ecosystem as a definition means network of all relevant actors, working together for the Finnish agenda within smart energy sector. The ecosystem utilizes a network of pilot and test platforms provided and enabled by HEILA project. As an organization the ecosystem must be flexible and open, meaning efficient management structures and no partnership fees. The ecosystem development work is strongly related to ways of working together in order to enable efficient co-operation and exchange of ideas between the partners. The ecosystem should jointly find new innovations driving the latest development. The ecosystem should also identify new funding schemes for projects developing these innovations. The ecosystem should also be active in national discussions for instance for policy and regulation development. 5.2.1 Workshop results in HEILA project Workshops have been and will be an important working method when defining the national ecosystem. The ecosystem concept has been discussed in several HEILA steering group meetings and a dedicated workshop for the ecosystem discussion was arranged in March 2018. This subsection represents the results of this workshop. These results have been utilized in HEILA project and the linked parallel activities as an important input for ecosystem definition and forming. The workshop was divided into two parts. At first, the Finnish smart energy agenda was discussed 67
trying to define common goals for the national smart energy ecosystem. The aim was to define main big objectives, enablers, barriers, gaps and co-operation schemes for the national smart energy ecosystem. As a result of the discussion dozens of ideas were gathered of which the general guidelines will be presented next. As a common agenda for the whole ecosystem two main concepts were determined. "Save the world" refers to global challenge of reducing harmful CO2 emissions and increasing the amount of renewable power production. "Keep the lights on" suggests that the focus should also be in maintaining or possibly even improving Finland’s self-sufficiency in energy throughout the year. Other objectives for the ecosystem aim at creating new export products in energy domain and building Finland’s image as a testing platform for advanced energy markets. During the discussion some key enablers for the Finnish smart energy ecosystem to thrive were recognized. First of all, we already have a complete infrastructure for the smart solutions to take place in energy domain and also strong history in technology and energy cooperation in Finland. Also culture of trial was recognized as a Finnish thing. On the other hand, also some barriers were found challenging the development of strong national ecosystem. Finnish mindset of inadequacy and inability to cash in on innovations were seen as the key challenge. Technology was seen really good, but the ability to commercialize it was not. Also a lack of sufficient amount of global actors in Finland was seen a challenge. Increasing the visibility of energy domain was considered very important. When further developing the concept of national energy ecosystem, some co-operation schemes were brainstormed. Cross-disciplinary know-how and system knowledge, both pointing towards understanding the big picture, were seen as critically important. As a summary, it was stated that the innovation ecosystem should enable the continuous development of overall competence through co-operation between universities, research organizations and industry. In the last phase of the ecosystem workshop, actors that should be involved in the ecosystem were listed. Besides the usual energy domain actors, like electricity retailers, DSOs, regulators and TSO, emerging new actors were identified. For example, aggregator, technology and service providers, banks, investors, ministries and building automation manufacturers were added to the list. 5.2.2 HEILA role in Smart Energy Finland - ecosystem Need for and structure of the national smart energy ecosystem. The energy system is under major disruption which requires new type of collaboration between different actors. Finland can remain as a forerunner in energy sector only if we succeed in forming suitable ecosystems in which actors can combine their capabilities to arrive to competitive solutions in global scale. 68
New collaboration between companies and also research organizations enables new openings, innovations and business opportunities and growth for Finland. In practice, innovations do not just emerge by themselves but finding the new opportunities requires a lot of discussions and brainstorming together. The national smart energy ecosystem should provide a platform for these kinds of discussions. The ecosystem should benefit all its participants. The Finnish national smart energy ecosystem forms by combining different piloting areas and previous and ongoing activities in Finland. When the different piloting areas having a different focus are linked, more comprehensive and advanced studies are possible. This will benefit all Finnish stakeholders. A clear consensus on joint national ecosystem has clear benefits on international level networking and builds new Finnish competitiveness both in terms of high-level research and company development activities. The national smart energy ecosystem consists of individual actors and infrastructures as represented in Figures 43 and 44. The ecosystem structure should be flexible so that the benefits are not lost to excessive bureaucracy but some general rules need to be defined. The ecosystem has different layers of operation: There needs to be a general collaboration layer that provides possibilities for new type of collaboration between ecosystem participants through e.g. joint events, facilitating enhanced knowledge and infrastructure sharing and providing ecosystem guidelines and contract templates. Also joint communication and dissemination activities need to be conducted to guarantee optimal visibility of Finnish know-how internationally and to contribute to export growth. In addition to the general collaboration layer, also a technical layer combining different pilot sites and laboratories is needed. HEILA platform provides technical solutions for this. There needs to be a facilitator taking care of the ecosystem operation. Figure 43: The national smart energy ecosystem links different actors and facilities. 69
Figure 44: Role of national ecosystem in linking different actors and providing services. Linking different actors and pilot sites in a nation-wide ecosystem enables developing and testing solutions for all layers depicted in Figure 45. Interoperability is one of the key issues when building the future smart energy system and it is vital to be able to operate on all levels of the system and to initiate collaboration between actors operating on different layers. Figure 45: Layer structure and management of interoperability across layers. The ecosystem enables testing of solutions for different layers. HEILA connects regional pilot platforms and ecosystems There are several regional piloting platforms and ecosystems active in Finland such as Smart Otaniemi, Smart Energy Åland, 70
EnergyVaasa, SENECC, Marjamäki and LUT Green Campus. The national smart energy ecosystem is a collaborative effort of the local platforms and ecosystems as visualized in Figure 46. HEILA platform technical solutions can be used to integrate the different piloting platforms so that the full potential of the platforms can be obtained and also system-level studies conducted. In practice, HEILA platform will enable fast and easy connection of multiple pilots, test sites and labs through one platform where control commands and data exchange can be executed in standardized manner. Figure 47 represents the geographical distribution of some of the pilot sites already existing. Figure 46: HEILA technical solutions enable integrating local piloting platforms as one nationwide piloting platform. Figure 47: Smart energy pilot sites exist in different parts of Finland. 71
Appendix I – General Use Cases Microgrid monitoring (DSO) Name: Microgrid data sharing to those who should have access to those (real-time monitoring) Main actor: DSO Goal of main actor: In order to be able to take timely actions to maintain power quality and security of supply, utilize microgrid in island operation, the DSO wants to know: 1. how long a certain microgrid can operation off-grid 2. how long several microgrids can keep a part of the distribution grid in island operation mode; frequency measurement from islanded part (if not otherwise available) 3. net demand of the microgrid (if not otherwise observable) 4. flexibility resources - related information: oaggregated SoC / expected SoC (if electric vehicles) oDR oproduction curtailment oQ capacities 5. obtain a rate (kW, kVAr) at which a microgrid is currently providing flexibility resources to DSO at the PCC/connection point (duplicates DSO Flexibility use-case?) 6. amounts of active power reserves (upwards and downwards) maintained by microgrids (to make sure no congestion is on the way, to minimize own costs for conditional reprofiling products) Participants: MO: Operates microgrid and provides/publishes processed data at the level of microgrid to Aggregator(s) and the DSO Aggregator: an alternative channel for the DSO to obtain technical parameters; publishes price curves, sets amounts of active power reserves maintained by microgrids (probably not relevant) Preconditions/boundary conditions: Contracts exist: MOs - Aggregators, DSO-Aggregators (about being an alternative channel) Microgrid is connected to DSO DSO knows from which microgrid it wants to obtain monitoring data (DSO knows which Aggregator could provide data if direct monitoring not possible) Diagram: Main success scenario: 1. DSO obtains monitoring data from microgrid connected to the DSO's grid Success guarantee: DSO obtained monitoring data from microgrid (from the correct one) in time (net demand). MO(s) log and store the monitoring data for certain period (to resolve any dispute) Trigger: DSO tries to obtain/read monitoring data from MO (alternatively from Aggregator) Exceptions / expansions: - Open questions and other requirements: (e.g. regulatory and technical boundaries) The information goes directly from MOs to the DSO's the microgrid is connected to, alternatively - via Aggregator. Should we include price offers to this use case The trading of flexibility between DSO and Aggregator should be open and fair and not include any hidden additional substitute, if the aggregator is the local retailer from the same consolidated corporation 2
Appendix I – General Use Cases Microgrid monitoring (Aggregator) Name: Monitoring of Microgrids (Aggregator) Main actor: Aggregator Goal of main actor: 1. Monitoring and being aware of flexibility potential on different time scales to make offers on flexibility markets or to upwards actors (e.g. TSO, DSO) Participants: Microgrid operator (MO): publishes the data about flexibility potential of all Microgrid’s resources on different time scales to Aggregator in predefined format Preconditions/boundary conditions: 1. The automation needed for flexibility monitoring, forecasting, data exchange and acquisition is installed on all levels and operates 2. Aggregator is authorized to obtain the flexibility data of MOs 3. ICT infrastructure is secure and reliable 4. Format of data exchange is defined Diagram: Main success scenario: Aggregator receives the data published by MO(s) Aggregator processes the data Aggregator updates the data of flexibility potential Success guarantee: The data about potential flexibility of Microgrids are delivered to Aggregator in full volume and standard format sufficient to accurately evaluate available flexibility Trigger: Periodically (e.g. every 1 minute) Event based subscription: critical change in flexibility potential or price sensitivity of MO Request of Aggregator Exceptions / expansions: 1a. Aggregator did not receive the data from MO 1a1. Aggregator sends a request to the MO 1a1a. MO returns requested data 1a1b. MO still does not return requested data 1a2b. Aggregator does not consider the corresponding MO for the next predefined period Open questions and other requirements: (e.g. regulatory and technical boundaries) Microgrid monitoring (Microgrid operator) Name: 3
Appendix I – General Use Cases Main actor: Microgrid operator Goal of main actor: End results and benefits Continuous validation of the state of flexibility resources to guarantee purchased flexibility services to different markets Continuous monitoring of power quality of internal customer (prosumer) connection point Continuous monitoring of DER states (e.g. SOC/SOH of batteries, output of PV, etc.) Participants: Microgrid operator: Operates microgrid Prosumer: Partner of microgrid, provider of DERs (owned himself or together with other partners), and contract partner for microgrid operator. Prosumer is a passive actor that allows the microgrid operator to monitor its DERs. DER: Provider of flexibility resources for microgrid (owned together with microgrid partners or single prosumer) Aggregator: Purchaser of flexibility services Maintenance service companies: Maintain microgrid IT and automation systems and DERs Preconditions/boundary conditions: Microgrid and DERs have a grid connection DSO is supplying electricity for microgrid (responsible for grid services in microgrid connection point) Contracts for internal management and ownership of DERs exists Contracts with Aggregators exists DERs are observable Measurement data processing algorithms and systems work without errors. Diagram: Main success scenario: 1. Acquiring state of the DERs with reporting (publishing) 2. Data processing: validation, filtering, compressing/aggregation 3. Data storage 4. Data compiling: Extracting information from raw data 5. Real-time monitoring: alarms, events, data flow 6. Off-line monitoring: supervision of (grid component) maintenance needs Success quarantee: Valid measurements from the microgrid are received by the microgrid operator. Trigger: Microgrid operator: Monetary benefits for microgrid operator for providing flexibility services Sub-trigger for MO: Monitoring the state for controlling the microgrid is required to ensure the microgrid operation and fulfilling the DSO requirements Sub-trigger for MO: Microgrid monitoring the state of the DERs, and therefore the microgrid, is required for offering and providing flexibility services Prosumer: Monetary benefits for prosumer for allowing the microgrid operator to operate prosumer's DERs DSO: responsibilities of their grid operation Aggregator: Revenue from trading power products Maintenance service companies: revenue from maintenance service Exceptions / expansions: 4
Appendix I – General Use Cases Microgrid operator gathers DER data by requesting (polling) and not by listening to DER broadcasting. Faults in monitoring the state, faults in internal DER operation (leading into providing incorrect data), faults in validation algorithm, faults in filtering algorithm, faults in DSO grid, faults in microgrid. Open questions and other requirements: (e.g. regulatory and technical boundaries) Permissions for operating DERs with chain ownerships. 5
Appendix I – General Use Cases FCR (Microgrid operator) Name: Microgrids as frequency containment reserves (from microgrids' point of view) Main actor: Microgrid operator (MO) Goal of main actor: MO wants to efficiently use DERs by providing active power reserves Participants Aggregator: wants to pool (a certain minimum amount of) available active power reserves of microgrids and to resell them either on FCR market or to DSOs (for island operation) DER: wants efficient use of equipment for its faster payback; wants to use equipment for own purpuses too. Preconditions/boundary conditions: All required contract between participants exist All systems work Diagram: Main success scenario: 1. MO receives the command from Aggregator to maintain a certain amount of active power reserve (allocation) 2. MO distributes the received allocation to DERs to physically maintain and deliver active power reserves 3. MO monitor DERs to establish actual amounts of maintained and activated reserves 4. MO reports on actual amounts to Aggregator Success guarantee: Aggregator has timely and complete information on activated and maintained active power reserves from MO Trigger: Step 1 of main success scenario Exceptions / expansions: 1a. DER did not report about its activated or maintained FCR 1a1. communication failure: MO resends a request to the DER 1a2. communication congestion/DER busy: MO makes a conservative assumption about this DER 2a. MO did not publish the data about its activated or maintained FCR 2a1. Aggregator actions similar to 1a1, 1a2 Open questions and other requirements: (e.g. regulatory and technical boundaries) Ideas about MO reporting to Aggregator: time-based report on maintained amount of reserves event-based report on activated amounts of reserves 6
Appendix I – General Use Cases FCR (Aggregator) Name: Microgrids as frequency containment reserves (from aggregators' point of view) Main actor: Aggregator Goal of main actor: to pool (a certain minimum amount of) available active power reserves of microgrids and to resell them either on FCR market or to DSOs (for island operation) Participants: Reserve Market (Platform): wants to provide trading services (possibly for a fee). Microgrid operator: wants to efficiently use DERs by providing active power reserves. DSO: wants to avoid network congestion caused by microgirds' participating in frequency regulation (wants to avoid paying for conditional reprofiling products) Preconditions/boundary conditions: All the required contracts between participants are in place. All systems work. Diagram: Main success scenario: 1. Aggregator obtains data to establish available active power reserves of microgrids (MOs) 2. Aggregator prepares price bids and submits them to Reserve Markets 3. Aggregator obtains the results of the trading session and optimizes/allocates the to-be-maintained active power reserves to MOs 4. MOs maintain the active power reserves allocated by Aggregators and start sending reports/updates to Aggregators. 5. Aggregator validates the amounts of delivered maintained and activated reserves by each of the MOs (using their reports and updates) 6. Aggregator bills the buyer of active power reserves and send payments to MOs. Success guarantee: Aggregators allocated active power reserves to be maintained by MOs and MOs maintained them The data about ordered and delivered amounts of maintained and activated reserves are logged Trigger: Time event: Aggregator prepares to participate on reserve market. Exceptions / expansions: Open questions and other requirements: (e.g. regulatory and technical boundaries) - in case MO can't maintain active power reserves, the Aggregator needs to immediately know about it in order to realize rescheduling 7
Appendix I – General Use Cases DSO flexibility (Microgrid operator) Name: Flexibility of distributed energy resources to improve operation of parts of distribution network (from microgrid operators' point of view). Main actor: Microgrid operator (MO) Goal of main actor: To efficiently use DERs by providing flexibility services. Participants: Aggregator: wants to gather flexibility services of microgrids and resell them to DSO. DER owners: want faster payback for equipment, want to use it for own purposes too. Preconditions/boundary conditions: All required contracts between the participants are in place All systems work (data connections, MO's own systems, which collect data from DERs and estimate available amounts of flexibility services, etc.) MO gets notification from Aggregator to start delivery of a flexibility service. Main success scenario: 1. MOs provides information on available amounts to Aggregator(s) 2. MOs receive information from Aggregators about (full or partial) acceptance of offers 3. MOs prepare internal running schedules for their DERs 4. MOs report to Aggregators on delivered amounts of services (continuous reporting while delivering) 5. MOs get paid for delivered amounts of flexibility services. Success guarantee: Provision of flexibility services does not lead to violation of MO's service obligations within microgrid. MO receives adequate payment for delivered flexibility services Trigger: MO gets notification from Aggregator to start delivery of a flexibility service. Exceptions / expansions: - Open questions and other requirements: (e.g. regulatory and technical boundaries) - 8
Appendix I – General Use Cases DSO flexibility (Aggregator) Name: Flexibility of distributed energy resources to improve operation of parts of distribution network (from aggregators' point of view). Main actor: Aggregator Goal of main actor: To gather flexibility services of microgrids and resell them to DSO. Participants: DSO: wants to efficiently manage congestions and power quality by using flexibility services; wants to pay only for delivered service. Microgrid Operator: wants to efficiently use DERs by providing flexibility services. Flexibility Market (FM): wants to provide trading services (for a fee if independent from DSO). Preconditions/boundary conditions: All necessary contracts between participants are in place. All systems work (data connections, control systems of DERs, microgrids, etc.) Aggregator gets a notification that his offered flexibility services accepted. Main success scenario: 1. Aggregator obtains forecasts and reports from MO(s) containing information about amounts of available flexibility services 2. Aggregator prepares and submits price bids/offers for DSO flexibility services to FM 3. Aggregator receives notification from FM when DSO accepts price offer on FM 4. Aggregator orders MO(s) to activate/schedule the delivery of flexibility service. 5. MO reports to Aggregator about activated resources and the delivery of flexibility service. 6. Aggregator reports to DSO about activated amounts of resources and delivery of flexibility service. 7. Aggregator bills the DSO and pays Microgrid Operators. Success guarantee: Delivery of service is possible to validate - continuous validation reporting, data is logged. Aggregator gets paid after validation of service delivery. Trigger: DSO accepts a certain amount of flexibility service offered by Aggregator Exceptions / expansions: 1. Information in the database is not up-to-date or missing: 1a. Try obtaining the data by requesting the relevant MO(s). 2. DSO declines the offer 2a. Stop here 3. Microgrid Operator is not capable of delivering the promised amount of flexibility service. 3a. Aggregator tries to reallocate delivery to other relevant MOs Open questions and other requirements: 9
Appendix I – General Use Cases DSO flexibility (DSO) Name: Flexibility of distributed energy resources to improve operation of parts of distribution network (from DSOs' point of view). Main actor: DSO Goal of main actor: 1. To efficiently manage congestions and power quality by using flexibility services. Participants: Aggregator: wants to gather flexibility services of microgrids and resell them to DSO Flexibility market (FM): wants to provide trading services (for a fee if independent from DSO). Balance responsible party (BRP): gets informed and compensated by DSO if necessary Preconditions/boundary conditions: 1. All contracts are in place 2. All systems work (data connections, trading platform, systems of the aggregator and DSO) 3. DSO forecasted a violation of power quality or shortage of transmission capacity Main success scenario: DSO reads price offers about available flexibility of microgrids for desired location/area from FM DSO checks technical, economic feasibility of the offer(s), defines plan of possible control actions for the offer(s) DSO selects the offer(s) from the FM FM sends contract agreement to DSO and when needed DSO issues activation request to Aggregator(s) with needed amount of flexible resources DSO gets activation/validation reports from Aggregator(s) DSO pays for the requested flexibility service to Aggregator(s) DSO informs and compensates BRP(s) if necessary Success guarantee: DSO observes the improvements after validation notification received from Aggregator Trigger: Power quality violation or shortage of transmission capacity Exceptions / expansions: 1a. Aggregator did not provide the information because of communication channel failure 2a. DSO declines offers that are not technically feasible 3a. DSO declines offers that are not economically feasible 4a. Aggregator(s) could not realize its promises Open questions and other requirements: 10
Appendix II – Detailed Use Cases Appendix II – Detailed Use Cases Contents Detailed terminology...................................................................................................................................2 Monitoring microgrid DERs (Microgrid operator) detailed...................................................................6 Monitoring (Aggregator) detailed............................................................................................................14 Monitoring (DSO) detailed.......................................................................................................................21 FCR (Microgrid operator) detailed.........................................................................................................25 FCR (Aggregator) detailed.......................................................................................................................33 FCR (TSO) detailed...................................................................................................................................40 DSO flexibility (Microgrid Operator) detailed.......................................................................................50 DSO flexibility (Aggregator) detailed......................................................................................................56 DSO flexibility (DSO) detailed.................................................................................................................62 1
Appendix II – Detailed Use Cases MGMS.DA Function Microgrid Management System Data Acquisition MGMS.DM Function Microgrid Management System Data Management MGMS.DP Function Microgrid Management System Data Processing MGMS.DBM Function Microgrid Management System Data Base Management MGMS.FF Function Microgrid Management System Flexibility Forecast Issues: Legal Contracts, Legal Regulations, Constraints and others Issue - here specific ones Impact of Issue on Use Case Reference – law, standard, others Preconditions, Assumptions, Post condition, Events Actor/System/Information/ Contract Triggering Event Pre-conditions Assumptio n Postconditions MGMS Has the technical possibility to monitor the states of the DERs in the microgrid. MGMS The microgrid operator has legal contracts to monitor DERs DER State can be monitored internally and the state can be reported/response sent to microgrid operator. Referenced Standards and / or Standardization Committees (if available) Relevant Standardization Committees Standards supporting the Use Case Standard Status General Remarks General Remarks 8
Appendix II – Detailed Use Cases 2 Drawing or Diagram of Use Case 9
Appendix II – Detailed Use Cases 3 Step by Step Analysis of Use Case Scenario No. Primary Actor Triggering Event Pre-Condition Post- Condition Primary scenario 1: Time based published DER state DER.IED Time interval triggers publishing/broadcasting/reporting a DER state (based on a DER parameter i.e. change in DER state). MGMS.DA has subscribed to event publication (based on pre-defined DER state changes): MGMS has knowledge about all DERs and how to subscribe to their broadcasting/publishing/reporting. MGMS receives the published DER state report. Alternative scenario 1: Event based publishing DER.IED An event (i.e. an alarm) triggers publishing/broadcasting/reporting a DER state (based on a DER parameter i.e. change in DER state). MGMS.DA has subscribed to event publication (based on pre-defined DER state changes): MGMS has knowledge about all DERs and how to subscribe to their broadcasting/publishing/reporting. MGMS receives the published DER state report. Alternative scenario 2: Requesting DER states sequentially MGMS.DA A certain moment (i.e. the beginning) of a request sequence for DER states. Requests can be done: MGMS has knowledge about all DERs and how to connect/message them. All DER states are queried that can/need be requested. 10
Appendix II – Detailed Use Cases Steps – Normal Sequence Scenario Name : Primary scenario 1: Time based published DER state Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID *Confirmation messages are currently not included in the scenario 1 Periodically Request Data: DER Measurements DER.IED requests the data from DER.SM DER.IED DER.SM Request signal [der measurements] TT1 TR4 SA4 A0 2 Data Update: DER Measurements DER.IED samples data from DER.SM DER.SM DER.IED Report [der measurements] TT1 TR4 SA4 A0 3 Calculations: DER state DER.IED calculates current state of the DER DER.IED DER.IED No information exchange 4 POST Data: DER state DER.IED publishes a report, that is acquired by MGMS.DA DER.IED MGMS.DA Report [der state] TT1 TR4 SA4 A0 5 Request Data: Processed Data MGMS.DA transfers an input data to MGMS.DP MGMS.DA MGMS.DP Request to process data [der state] Report [active power (f)] TT1 TR4 SA4 A0 6 Calculations: Data validation MGMS.DP "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. MGMS.DP MGMS.DP No information exchange 7 Update Data: Processed Data MGMS.DP returns the processed data to MGMS.DA MGMS.DP MGMS.DA Report [der state] TT1 TR4 SA4 A0 8 Send Data: DER state MGMS.DA transfers the processed data to MGMS.DM MGMS.DA MGMS.DM Report [der state] TT1 TR4 SA4 A0 9 Store Data: DER state MGMS.DM transmits the report checked by MGMS.DP to MGMS.DBM MGMS.DM MGMS.DBM Request to store data [der state] Report [der state] TT1 TR4 SA4 A0 10 Request Data: DER Flexibility Forecast MGMS.DM request DER Flexibility Forecast report MGMS.DM MGMS.RV Request signal [der flexibility forecast] Report [der state] TT1 TR4 SA4 A0 11 Calculations: DER Flexibility Forecast MGMS.DP creates DER Flexibility Forecast MGMS.RV MGMS.RV No information exchange 12 Update Data: DER Flexibility Forecast MGMS.DP returns the report data to MGMS.DM MGMS.DP MGMS.DM Report [der flexibility forecast] TT1 TR4 SA4 A0 13 Store Data: DER Flexibility Forecast MGMS.DM transfers the processed data to MGMS.DBM MGMS.DM MGMS.DT Request signal to store data [der flexibility forecast] Report [der flexibility forecast] TT1 TR4 SA4 A0 11
Appendix II – Detailed Use Cases Steps – Alternative, Error Management, and/or Maintenance/Backup Scenario Scenario Name : Alternative scenario 1: Event based publishing Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 3a1 Event based Data Update: DER state DER.IED processes and analyses the data, then generates a new report that will be transmitted to the MGMS.DA if DER state has changed DER.IED DER.IED No information exchange Scenario Name : Alternative scenario 2: Requesting DER states sequentially Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 3b1 Request Data: DER state MGMS.DA requests a data report from DER.IED MGMS.DA DER.IED Request signal [der state] TT1 TR4 SA4 A0 Scenario Name : Alternative scenario 1: Requesting DER states fails Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 1 Requesting DER states Requests are sent from Microgrid Management System's function 'Data Aquisition' to a DER that can/need to be queried. MGMS.DA None or a DER None or a request of DER's state 2 An error occurres between sending a request and receiveng a response The reason may be anything from internet network operation faults to DER operation faults. The result is the message (the request or the response) is lost. 3 Microgrid operator does not receive a response Microgrid operator does not receive a response about DERs' states. None None 4a Requesting the state of a DER again Requesting the state of a DER again (might not end in receiving the DER state) 4b Predicting a DER state Using a prediction of the DER state e.g. based on historical behaviour Historical data/State predictor algorithm Microgrid operator DER state prediction Scenario Name : Alternative scenario 2: Publising a DER state fails Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements 12
Appendix II – Detailed Use Cases ID 1 Trigger for broadcast The state of a DER changes (that should be a trigger publishing) or timing sequence Internal DER monitoring Internal DER state 2 Error occurres that prohibits the DER state report to be received The reason may be anything from internet network operation faults to DER operation faults. 3 Microgrid does not receive a report Microgrid Management System's function 'Data Aquisition' does not receive a report about DER state change None 4a Microgrid knows that a timed report is not received Microgrid Management System knows that a timed report is not received that an error occurred in reportorting None 4b Microgrid does not know about DER state change Microgrid Management System does not know about DER state change since Microgrid Management System's function 'Data Aquisition' has not received any reports (that are not based on time sequence) None 13
Appendix II – Detailed Use Cases Monitoring (Aggregator) detailed 1 Description of the Use Case Name of Use Case Real-time monitoring of microgrids by Aggregator (RTMM) Version Management Changes / Version Date Name Author(s) or Committee Domain Expert Primary, additional Area of Expertise / Domain / Role Title Approval Status draft, for comments, for voting, final Version 0.1: Technical part of the use case 17.11.2017 Author: Aleksei Mashlakov (LUT) Reviewers: Ville Tikka Samuli Honkapuro Primary Energy experts, core team First draft Draft for comments Version 0.2: Revised version of 0.1 (adjusted terminology and architecture) 04.01.2018 Aleksei Mashlakov (LUT) Primary Core team Second draft Draft for review Version 0.3: Review based on the comments. 26.03.2018 Aleksei Mashlakov (LUT) Primary Core team Final Final Version 0.4: Primary IT experts Basic Information to Use Case Source(s) / Literature Link Conditions (limitations) of Use Relation to Higher Level Use Case Cluster Higher Level Use Case Monitor Flexibility management of Microgrids Maturity of Use Case Under development Prioritization High 14
Appendix II – Detailed Use Cases Generic, Regional or National Relation Generic View - Technical / Business Technical Further Keywords for Classification Real-time monitoring Scope and Objectives of Use Case Scope of Function The use case consists in monitoring of aggregated data about flexibility potential and reserve verification of microgrids by aggregator. The flexibility data include supply and demand flexibility potential at the point of common coupling (PCC) on different time scales. The verification data contain current operational point of activated microgrid flexibility. Monitoring of detailed technical data within microgrids by aggregator is out of the scope of this use case. The use case reveals only monitoring of lower level data without it further analysis, etc. Objectives of Function The flexibility data are needed by aggregator to estimate the available flexible resources that could be offered to the flexibility or reserve markets to maximize financial profits of microgrid flexibility. The verification data are mainly needed by aggregator to verify the delivery of promised service and get financial reward. Narrative of Use Case Short description Monitoring by aggregator is performed by subscription to the updates of aggregated flexibility potential of microgrids for different time periods as well as for reserve verification of microgrids. Aggregator then combines these real-time (reserve verification) data and also analyses forecasted (flexibility potential) data to use them on flexibility and/or reserve markets with maximum financial profit. “Real-time” in this context could mean something in between 1 millisecond and some minutes (soft real-time). Complete description Accurate monitoring and forecasting of microgrid flexibility are the basic processes for aggregator that allow him to achieve sustainable business profit on flexibility/reserve markets by: Composing right market strategy Decreasing the amount of electricity imbalance Verification of the contract promises Sharing the income between the participants in a fair way This use case presents the required interfaces for operation of the RTMM. Aggregator presented in this interface by aggregator management system (AMS) directly interacts with microgrid management systems (MGMSs) from where it receives new published reports with necessary data, processes them, and utilizes it for verification or flexibility/reserve market bids. Data considered by the use case are: Forecasted values of supply and demand flexibility potential (every cycle ~ 15 min) for market planning Soft real-time data used for verification of control commands/frequency regulation The data publishing of MGMS can happen periodically, based on event/threshold crossed or request. The first two subscription triggers can complement each other if operating together (e.g. if data sharing every minute, the event update can happen during this minute). 15
Appendix II – Detailed Use Cases Actors: Detailed Terminology Actor Name Actor Type Actor Description Further information specific to this Use Case AMS System Aggregator Management System AMS.DM Function Aggregator Management System Data Management AMS.DBM Function Aggregator Management System Data Base Management AMS.DA Function Aggregator Management System Data Acquisition AMS.DP Function Aggregator Management System Data Processing DMS System Distribution Management System DMS.DA Function Distribution Management System Data Acquisition MGMS System Microgrid Management System MGMS.DM Function Microgrid Management System Data Management MGMS.DBM Function Microgrid Management System Data Base Management MGMS.DT Function Microgrid Management System Data Transmission MGMS.FO Function Microgrid Management System Flexibility Optimization Issues: Legal Contracts, Legal Regulations, Constraints and others Issue - here specific ones Impact of Issue on Use Case Reference – law, standard, others Customer-owned distributed energy resources (DERs) information Data from customer-owned DERs is required as input of the AMS. Pre-condition: MGMS has all the rights/contracts to share internal data to AMS. Preconditions, Assumptions, Post condition, Events Actor/System/Information/Contract Triggering Event Pre-conditions Assumption Post-conditions AMS The system is up and running. MGMS The system is up and running. Referenced Standards and / or Standardization Committees (if available) Relevant Standardization Committees Standards supporting the Use Case Standard Status General Remarks General Remarks 16
Appendix II – Detailed Use Cases 2 Drawing or Diagram of Use Case 17
Appendix II – Detailed Use Cases DMS.DA acquires it 2 Data is acquired by DMS.DA DMS.DA transfers the received report to DMS.DM DMS.DA DMS.DM Report (Executed regulation) TT1, TR4, SA2, A0 3 Data is delivered to DMS.DM DMS.DM transfers the received report to DMS.AV DMS.DM DMS.AV Report (Executed regulation) TT1, TR4, SA2, A0 4 Data is delivered to DMS.AV Report is verified by DMS.AV and transferred back to DMS.DM DMS.AV DMS.DM Verified report TT1, TR4, SA2, A0 5a Verified report is transferred to DMS.DM Report is transferred to Database Management DMS.DM DMS.DBM Verified report TT1, TR4, SA2, A0 5b Acknowledgement is transferred to DMS.DM Acknowledgement report of approved DER operation is transferred to DMS.DA DMS.DM DMS.DA Acknowledgement report TT1, TR4, SA2, A0 6a Verified report is ready to be transferred to database Report is stored into database DMS.DBM DMS.DB Verified report TT1, TR4, SA2, A0 6b Acknowledgement is transferred to DMS.DA Acknowledgement report of approved DER operation is sent to AMS.DT DMS.DA AMS.DT Acknowledgement report TT1, TR4, SA4, A0 Steps – Alternative, Error Management, and/or Maintenance/Backup Scenario Scenario Name : AS1: Normal sequence Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 24
Appendix II – Detailed Use Cases FCR (Microgrid operator) detailed 1 Description of the Use Case Name of Use Case Frequency containment reserve (FCR) by microgrid operator (MO) Version Management Changes / Version Date Name Author(s) or Committee Domain Expert Primary, additional Area of Expertise / Domain / Role Title Approval Status draft, for comments, for voting, final Version 0.1: Technical part of the use case 17.11.2017 Author: Aleksei Mashlakov (LUT) Reviewers: Ville Tikka Samuli Honkapuro Primary Energy experts, core team First draft Draft for comments Version 0.2: (adjusted terminology) 04.01.2018 Aleksei Mashlakov (LUT) Primary Core team Second draft Draft for review Version 0.3: (Harmonizing detailed use cases with Implementation use case) 11.04.2018 Aleksei Mashlakov (LUT) Primary Core team Final Final Basic Information to Use Case Source(s) / Literature Link Conditions (limitations) of Use Relation to Higher Level Use Case Cluster Higher Level Use Case Monitoring Flexibility management of Microgrids Maturity of Use Case Under development Prioritization High Generic, Regional or National Relation Generic View - Technical / Business 25
Appendix II – Detailed Use Cases Technical Further Keywords for Classification FCR, flexibility management, microgrid management Scope and Objectives of Use Case Scope of Function The use case consists in process description of maintenance, activation, and verification of Frequency Containment Reserve (FCR) by microgrid operator (MO). Objectives of Function This use case allows MO to obtain compensation for the FCR flexibility services. Narrative of Use Case Short description – max 3 sentences Initially, MO carries out a flexibility forecast and then transmits the data to Aggregator that tries to sell this flexibility on the hourly FCR market. Then, if microgrid flexibility was reserved, MO provides frequency control, collects the data about activated and maintained FCR to send them to Aggregator for verification. Complete description Verification of the activation and maintenance of the reserve capacity is a part of the Aggregator's responsibilities in front of the other market parties. This functionality is based on the MO reports that are needed to: check declared promises of these resources fairly divide revenue between resources of microgrids participating in FCR provide proof of work for upwards market actors On the Microgrid level, several monitoring devices and systems are needed for data collection and frequency control: Smart meters and sensors for signals acquisition and processing by frequency controller (IED.FC) that is the connection point of microgrid customers/prosumers for microgrid management system (MGMS). Aggregator that is presented in this interface as a aggregator management system (AMS) directly interacts only with MGMSs from where it receives new published reports with necessary data. Data acquisition considered by the use case are: Time-stamped or frequency synchronized aggregated flexibility capacity (kW) activated or maintained for FCR. There are different scenarios how this interface could be implemented. The Normal Scenario 1 assumes that data about FCR maintenance are delivered to MGMS and consequently to AMS periodically whenever FCR activation took place or not (time based). In Alternative scenario 1, IED.FC delivers data to MGMS as well as MGMSs to AMS only in case of FCR activation (event based). Alternative scenario 2 proposes to deliver data to MGMS and AMS only in case of the request. The use case can be divided in the following parts: 1. Flexibility Forecast: MGMS defines the available flexibility for the next 36 hours based on the weather forecast of Service Provider, historical data of microgrid loads, etc.* *The part of the UC devoted to the initial flexibility monitoring is omitted since it is described in monitoring UC. 2. Reserve Notification: AMS notifies MGMS about the amount of flexibility needed to be maintained for FCR, MGMS reserves necessary volume of the resources giving corresponding control commands to IED.FC. 3. Frequency control: Scheduled resources of microgrid provide frequency support 4. Reserve Verification: Scheduled resources of microgrid share the data about current actual volume of the reserve maintained and activated to MGMS, MGMS analyzes the obtained data and verifies that control commands were made in accordance with scheduled reserve notification, then it sends these data to AMS. 26
Appendix II – Detailed Use Cases Actors: Detailed Terminology Actor Name Actor Type Actor Description Further information specific to this Use Case IED.FC Device Intelligent Electronic Device Frequency Controller IED.SM Device Intelligent Electronic Device Smart Meter MGMS System Microgrid Management System MGMS.DA Function Microgrid Management System Data Acquisition MGMS.DP Function Microgrid Management System Data Processing MGMS.DT Function Microgrid Management System Data Transmission MGMS.DM Function Microgrid Management System Data Management MGMS.DBM Function Microgrid Management System Data Base Management Issues: Legal Contracts, Legal Regulations, Constraints and others Issue - here specific ones Impact of Issue on Use Case Reference – law, standard, others Customer-owned distributed energy resources (DERs) information Data from customer-owned DERs is required as input of the MGMS. Preconditions, Assumptions, Post condition, Events Actor/System/Information/Contract Triggering Event Pre-conditions Assumption Post-conditions MGMS The system is up and running. IED.FC The device is up and running. IED.SM The device is up and running. Referenced Standards and / or Standardization Committees (if available) Relevant Standardization Committees Standards supporting the Use Case Standard Status General Remarks General Remarks 27
Appendix II – Detailed Use Cases 2 Drawing or Diagram of Use Case 28
Appendix II – Detailed Use Cases 29
Appendix II – Detailed Use Cases 3 Step by Step Analysis of Use Case Scenatio No. Primary Actor Triggering Event Pre-Condition Post-Condition 1.NS1: Reserve Notification AMS AMS has received a bid approval from the Reserve Market. MGMS has supplied AMS with available flexibility and AMS bids these resources on a hourly Reserve Market. MGMS has sent the Reserve Notification to all necessary resources. 2. NS2: Frequency control IED.FC Deviation of frequency more than threshold. Reserve Notification was acknowledged by IED.FC. Control action was taken to decrease frequency deviation. 3. NS3: Reserve Verification MGMS Periodically (e.g. every minute, every hour) Data of microgrid flexibility activated and maintained for FCR is stored by MGMS.DBM. 4.AS1: Event based subscription report IED.FC IED.SM generates the report about FCR maintenance and activation if FCR activation took place. MGMS has subscribed for timestamped flexibility capacity used for FCR. Data of microgrid flexibility activated for FCR is stored by MGMS.DBM. 5. AS2: Request based report AMS.DT DER.FC has received a request about validation report from AMS. MGMS was requested verification report. Data of microgrid flexibility activated and maintained for FCR is stored by MGMS.DBM. 6.AS3: Report from IED.FC failed MGMS.DT No data were acquired after a timeout or request. Request was sent to IED.FC or timeout is settled in case of subscription. Data of microgrid flexibility activated and maintained for FCR is not stored by MGMS.DBM Steps – Normal Sequence Scenario Name : 1.NS1: Reserve Notification Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID *Confirmation messages are currently not included in the scenario 1 Update Data: Reserve Notification AMS.DA sends an updated Reserve Notification report to AMS.DM AMS.DA AMS.DM Report [Reserve Notification] TT1 TR4 SA2 A0 2 Send Data: Reserve Notification AMS.DM sends Reserve Notification report to AMS.DT AMS.DM AMS.DT Request to send [reserve notification]Report [reserve notification] TT1 TR4 SA2 A0 3 POST Data: reserve Notification AMS.DT publishes a report to MGMS.DA AMS.DT MGMS.DA Report [reserve notification] TT1 TR4 SA2 A0 4 Request Data: Data Validation MGMS.DA transfers an input data to MGMS.DP MGMS.DA MGMS.DP Send signal [data validation] Report [input data] TT1 TR4 SA2 A0 5 Calculations: Data validation MGMS.DP "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. MGMS.DP MGMS.DP No information exchange 6 Update Data: MGMS.DP returns the processed data to MGMS.DA MGMS.DP MGMS.DA Report [data TT1 TR4 SA2 A0 30
Appendix II – Detailed Use Cases Data Validation validation] Alarm signal [data validation] 7 Store Data: Reserve Notification MGMS.DA transfers the processed data to MGMS.DBM to store them MGMS.DA MGMS.DBM Store signal [reserve notification] Report [reserve notification] TT1 TR4 SA2 A0 8 Send Data: Reserve Notification MGMS.DM requests MGMS.DT to send reserve notification to IED.FC MGMS.DM MGMS.DT Send signal [reserve notification] Report [reserve notification] TT1 TR4 SA2 A0 9 POST Data: Reserve Notification MGMS.DT sends data to IED.FC MGMS.DT IED.FC Report [reserve notification] TT1 TR4 SA2 A0 Scenario Name : 2.NS2:Frequency control Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID *Confirmation messages are currently not included in the scenario 1 Periodically Request Data: Frequency Measurements IED.FC samples data from IED.SM IED.FC IED.SM Request signal [frequency measurements] TT4, TR4, SA1, A5 2 Update Data: Frequency Measurements IED.SM updates the data IED.SM IED.FC Report [frequency measurements] TT4, TR4, SA1, A5 3 Periodically Calculations: Frequency Control IED.FC processes and analyses the data, then generates a new report that will be transmitted to the MGMS.DA IED.FC IED.FC No information exchange Scenario Name : 3.NS3: Reserve Verification Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID *Confirmation messages are currently not included in the scenario 1 Periodically Request Data: Active Power (f) IED.FC requests the data from IED.SM IED.FC IED.SM Request signal [active power (f)] TT1 TR4 SA4 A0 2 Data Update: Active Power (f) IED.FC samples data from IED.SM IED.SM IED.FC Report [active power (f)] TT1 TR4 SA4 A0 3 POST Data: Active Power (f) IED.FC publishes a report, that is acquired by MGMS.DA IED.FC MGMS.DA Report [active power (f)] TT1 TR4 SA4 A0 4 Request Data: Processed Data MGMS.DA transfers an input data to MGMS.DP MGMS.DA MGMS.DP Request to process data [active power (f)] Report [active TT1 TR4 SA4 A0 31
Appendix II – Detailed Use Cases power (f)] 5 Calculations: Data validation MGMS.DP "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. MGMS.DP MGMS.DP No information exchange 6 Update Data: Processed Data MGMS.DP returns the processed data to MGMS.DA MGMS.DP MGMS.DA Report [active power (f)] TT1 TR4 SA4 A0 7 Send Data: Active Power (f) MGMS.DA transfers the processed data to MGMS.DM MGMS.DA MGMS.DM Report [active power (f)] TT1 TR4 SA4 A0 8 Store Data: Active Power (f) MGMS.DM transmits the report checked by MGMS.DP to MGMS.DBM MGMS.DM MGMS.DBM Request to store data [active power (f)] Report [active power (f)] TT1 TR4 SA4 A0 9 Request Data: Reserve Verification MGMS.DM request Reserve Verification report MGMS.DM MGMS.RV Request signal [reserve verification] Report [active power (f)] TT1 TR4 SA4 A0 10 Calculations: Reserve Verification MGMS.DP creates Verification Notification MGMS.RV MGMS.RV No information exchange 11 Update Data: Reserve Verification MGMS.DP returns the report data to MGMS.DM MGMS.DP MGMS.DM Report [reserve verification] TT1 TR4 SA4 A0 12 Store Data: Reserve Verification MGMS.DM transfers the processed data to MGMS.DBM MGMS.DM MGMS.DT Request signal to send data [reserve verification] Report [reserve verification] TT1 TR4 SA4 A0 Steps – Alternative, Error Management, and/or Maintenance/Backup Scenario Scenario Name : 4. AS1: Event based subscription report Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 2a1 Event based/Threshold crossed Data Update: Active Power (f) IED.SM processes and analyses the data, then generates a new report that will be transmitted to the IED.FC if threshold was crossed IED.SM IED.FC Report [active power (f)] TT1 TR4 SA4 A0 Scenario Name : 5. AS2: Request based report Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 1-2a1 Request Data: Active Power (f) MGMS.DA requests a data report from IED.FC MGMS.DA IED.FC Request signal [active power (f)] 1-2a2 POST IED.FC sends the data to IED.FC MGMS.DA Report [active power TT1 TR4 SA4 A0 32
Appendix II – Detailed Use Cases Data: Active Power (f) MGMS.DA (f)] Scenario Name : 6. AS3: Report from IED.FC failed Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 3a1 Data acquisition fails IED.FC could not transmit a report to MGMS.DA because An error occurred between end points IED.FC MGMS.DA NONE 3a2 Data notification MGMS.DA notifies MGMS.DT that some IED.FC has not respond MGMS.DA MGMS.DT Notification, Microgrid ID 3a3 Data acquisition MGMS.DT sends request to MGMS.DA MGMS.DT MGMS.DA State request 33
Appendix II – Detailed Use Cases sent to corresponding MOs. 4 Reports to different microgrids is created AMS.DT sends reports to those microgrids that were included in the bid that got accepted AMS.DT MGMS.DA Notification of accepted bid (ID, time, price) TT1, TR4, SA4, A0 Scenario Name : PS3: Aggregator aggregates reports from (possibly) several microgrids about load/production unit's functioning and stores it to Database in case of a need for verification. Step No. Event Description of Process/Activity Informatio n Producer Information Receiver Information Exchanged Technical Requirements ID 1 Data about operation of reserve targets are periodically retrieved from the MGMS database AMS.DA receives a report from MGMS.DT MGMS.DT AMS.DA Time-series of forecasted powers and time-series of actual powers TT1, TR4, SA4, A0 2 Data is received from (possibly) several microgrids AMS.DA transfers the report to AMS.DM AMS.DA AMS.DM Time-series of forecasted powers and time-series of actual powers TT1, TR4, SA2, A0 3 Data is transferred to AMS.DM Data is stored in AMS.DB AMS.DM AMS.DB Time-series of forecasted powers and time-series of actual powers TT1, TR4, SA2, A0 Steps – Alternative, Error Management, and/or Maintenance/Backup Scenario Scenario Name : AS1: System Operator (DSO) wants a verification of the operation of reserves that have been active. Step No. Event Description of Process/Activity Informatio n Producer Information Receiver Information Exchanged Technical Requirements ID 1 Need for FCR verification is realized DMS.DT sends a request for FCR verification DMS.DT AMS.DA Request for FCR report TT1, TR4, SA4, A0 2 Request is received from DMS.DT AMS.DA transfers the request to AMS.DM AMS.DA AMS.DM Request for FCR report TT1, TR4, SA2, A0 3 Request is transferred to AMS.DM AMS.DM retrieves the report from Database AMS.DM AMS.DB Request for FCR report TT1, TR4, SA2, A0 4 Report is received from Database AMS.DM receives the report from Database AMS.DB AMS.DM FCR report (Timeseries of forecasted powers and time-series of actual powers) TT1, TR4, SA2, A0 5 Report is transferred to AMS.DM AMS.DM transfes the report in question to AMS.DT AMS.DM AMS.DT FCR report (Timeseries of forecasted powers and time-series of actual powers) TT1, TR4, SA2, A0 6 Report is transferred to AMS.DT AMS.DT sends the report to DSO (DMS.DA) AMS.DT DMS.DA FCR report (Timeseries of forecasted powers and time-series of actual powers) TT1, TR4, SA4, A0 40
Appendix II – Detailed Use Cases FCR (TSO) detailed 1 Description of the Use Case Name of Use Case Frequency Containment Reserve by TSO Version Management Changes / Version Date Name Author(s) or Committee Domain Expert Primary, additional Area of Expertise / Domain / Role Title Approval Status draft, for comments, for voting, final 0.1 22.11.2017 Sami Repo (TUT) Primary Core team First draft Draft for review 0.2 Harmonizing use case with the sequence diagram 12.4.2018 Matti Aro (VTT) Primary Core team Second draft Draft for review 0.3 Technical requirements, refocusing to TSO 20.04.2018 Aleksei Mashalkov (LUT) Primary Core team Final Final Basic Information to Use Case Source(s) / Literature Link Conditions (limitations) of Use Relation to Higher Level Use Case Cluster - Monitoring, control, market Higher Level Use Case Control Frequency Containment Maturity of Use Case – in business operation, realized in demonstration project, realised in R&D, in preparation, visionary Realized in R&D Prioritization Medium Generic, Regional or National Relation Generic View - Technical / Business Technical Further Keywords for Classification 41
Appendix II – Detailed Use Cases Frequency Containment, Reserve Market, Flexibility Management Scope and Objectives of Use Case Scope of Function This use case consists of maintenance, activation and verification of Frequency Containment Reserve by Transmission System Operator (TSO) Objectives of Function This use case enables TSO to maintain and operate Frequency Containment Reserve with low-cost reserves of microgrids in order to continuously maintain the necessary balance between power consumption and production. Narrative of Use Case Short description – max 3 sentences Transmission System Operator purchases flexible capacity from Reserve Market Platform in order to maintain the power balance in the grid. Afterwards, the reserve owners send verification of the regulation to TSO via Aggregator. Complete description This use case illustrates a scenario, where TSO uses low-cost reserves of microgrids as a Frequency Containment Reserve (FCR). In these case TSO: determines how much Frequency Containment Reserve (FCR) it will need for the future - Reserve Allocation acquires that FCR from Reserve Market Platform (RMP) - Reserve Notification monitors the operation of its reserve targets - Reserve Verification TSO is represented as energy management system (EMS). It interacts with reserve market platform (RMP) and aggregator management system (AMS). Actors: Detailed Terminology Actor Name see Detailed Terminology List Actor Type see Detailed Terminology List Actor Description see Detailed Terminology List Further information specific to this Use Case EMS System Energy Management System EMS.DA Function Energy Management System Data Acquisition EMS.DT Function Energy Management System Data Transmission EMS.DM Function Energy Management System Data Management EMS.RV Function Energy Management System Reserve Verification EMS.RA Function Energy Management System Reserve Allocation EMS.DBM Function Energy Management System Data Base Management RMP Market Platform Reserve Market Platform RMP.DA Function Reserve Market Platform Data Acquisition RMP.DMB Function Reserve Market Platform Data Base Management RMP.DM Function Reserve Market Platform Data Management RMP.DT Function Reserve Market Platform Data Transmission RMP.MO Function Reserve Market Platform Market Operations 42
Appendix II – Detailed Use Cases RMP.MOP Function Reserve Market Platform Merit Order Placement RMP.DP Function Reserve Market Platform Data Processing AMS System Aggregator Management System AMS.DM Function Aggregator Management System Data Management AMS.DP Function Aggregator Management System Data Processing AMS.DT Function Aggregator Management System Data Transmission AMS.DBM Function Aggregator Management System Data Base Management DMS System Distribution Management System DMS.DT Distribution Management System Data Transmission DMS.DM Distribution Management System Data Management DMS.SF Distribution Management System State Forecast Issues: Legal Contracts, Legal Regulations, Constraints and others Issue - here specific ones Impact of Issue on Use Case Reference – law, standard, others Preconditions, Assumptions, Post condition, Events Actor/System/Information/Contract Triggering Event Pre-conditions Assumption Post-conditions AMS The system is up and running EMS The system is up and running RMP The platform is up and running Referenced Standards and / or Standardization Committees (if available) Relevant Standardization Committees Standards supporting the Use Case Standard Status General Remarks General Remarks 43
Appendix II – Detailed Use Cases 2 Drawing or Diagram of Use Case 44
Appendix II – Detailed Use Cases 45
Appendix II – Detailed Use Cases 3 Step by Step Analysis of Use Case Scenario No. Primary Actor Triggering Event Pre-Condition Post-Condition Primary scenario 1: Reserve Allocation EMS Periodically before the next market cycle. TSO requires additional resources for hourly reserve market. The reserve allocation data is delivered to RMP. Primary scenario 2: Reserve Notification RMP Periodically before the next market cycle. TSO has allocated the volume of the resources required for hourly reserve market. TSO is notified about purchased reserves for hourly reserve market. Primary scenario 3: Reserve Verification AMS Time based report TSO has purchased some FCR from the RMP. TSO has received verification about operation of reserve targets. Alternative scenario 1: Reserve Verification AMS Event based report TSO has purchased some FCR from the RMP. TSO has received verification about operation of reserve targets. Alternative scenario 2:Reserve Verification EMS Request of the report TSO has purchased some FCR from the RMP. TSO has received verification about operation of reserve targets. Alternative scenario 3:Reserve Notification RMP Before the next market cycle RMP request validation from DMS. The capacity limit for the resources from the specific area is exceeded. RMP receives validation of resource activation. Steps – Normal Sequence Scenario Name : Primary scenario 1: Reserve Allocation Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID *Confirmation messages are currently not included in the scenario 1 Request Data: Reserve Allocation EMS.DM requests Reserve Allocation report from EMS.RA EMS.DM EMS.RA Request signal [reserve allocation] TT1 TR4 SA2 A0 2 Calculations: Reserve Allocation EMS.RA calculates Reserve Allocation report EMS.RA EMS.RA No information exchange 3 Update Data: Reserve Allocation EMS.RA sends an updated Reserve Allocation report to EMS.DM EMS.RA EMS.DM Report [reserve allocation] TT1 TR4 SA2 A0 4 Send Data: Reserve Allocation EMS.DM sends Reserve Allocation report to EMS.DT EMS.DM EMS.DT Request to send [reserve allocation]Report [reserve allocation] TT1 TR4 SA2 A0 5 POST Data: Reserve Allocation EMS.DT publishes a report to RMP.DA EMS.DT RMP.DA Report [reserve allocation] TT1 TR4 SA2 A0 6 Request Data: Data Validation RMP.DA transfers an input data to RMP.DP RMP.DA RMP.DP Send signal [data validation] Report [input data] TT1 TR4 SA2 A0 7 Calculations: Data RMP.DP "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. RMP.DP RMP.DP No information exchange 46
Appendix II – Detailed Use Cases validation 8 Update Data: Data Validation RMP.DP returns the processed data to RMP.DA RMP.DP RMP.DA Report [data validation] Alarm signal [data validation] TT1 TR4 SA2 A0 9 Store Data: Reserve Allocation MGMS.DA transfers the processed data to MGMS.DBM to store them RMP.DA RMP.DBM Store signal [reserve allocation] Report [reserve allocation] TT1 TR4 SA2 A0 Scenario Name: Primary scenario 2: Reserve Notification Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID *Confirmation messages are currently not included in the scenario 1 Request Data: Merit Order List RMP.DM requests merit order list from RMP.MOP RMP.DM RMP.MOP Request signal [merit order list] Report [Offers] TT1 TR4 SA2 A0 2 Calculations: Merit Order Placement RMP.MOP calculates Merit Order List RMP.MOP RMP.MOP No information exchange 3 Update Data: Merit Order List RMP.MOP updates Merit Order List for RMP.DM RMP.MOP RMP.DM Report [merit order list] TT1 TR4 SA2 A0 4 Request Data: Reserve Notification RMP.DM requests Reserve Notification from RMP.MO RMP.DM RMP.MO Request signal [reserve notification] Report [merit order list] TT1 TR4 SA2 A0 5 Calculations: Reserve Notification RMP.MO calculates Reserve Notification RMP.MO RMP.MO No information exchange 6 Update Data: Reserve Notification RMP.MO updates Reserve Notification for RMP.DM RMP.MO RMP.DM Report [reserve notification] TT1 TR4 SA2 A0 7 Send Data: Reserve Notification RMP.DM sends Reserve Notification report to RMP.DT RMP.DM RMP.DT Request to send [reserve notification]Report [reserve notification] TT1 TR4 SA2 A0 8 POST Data: reserve Notification RMP.DT publishes a report to EMS.DA RMP.DT EMS.DA Report [reserve notification] TT1 TR4 SA2 A0 9 Request Data: Data Validation EMS.DA transfers an input data to EMS.DP EMS.DA EMS.DP Send signal [data validation] Report [input data] TT1 TR4 SA2 A0 10 Calculations: Data validation EMS.DP "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. EMS.DP EMS.DP No information exchange 11 Update Data: Data Validation EMS.DP returns the processed data to EMS.DA EMS.DP EMS.DA Report [data validation] Alarm signal [data validation] TT1 TR4 SA2 A0 12 Store Data: Reserve Notification EMS.DA transfers the processed data to EMS.DBM to store them EMS.DA EMS.DBM Store signal [reserve notification] Report [reserve notification] TT1 TR4 SA2 A0 47
Appendix II – Detailed Use Cases Scenario Name: Primary scenario 3: Reserve Verification Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID *Confirmation messages are currently not included in the scenario 1 Request Data: MGs Reserve Verification AMS.DM periodically requests the report from AMS.DBM AMS.DM AMS.DBM Request signal [mgs reserve verification] TT1 TR4 SA2 A0 2 Update Data: MGs Reserve Verification AMS.DBM transmits an updated report to AMS.DM AMS.DBM MGMS.DM Report [mgs reserve verification] TT1 TR4 SA2 A0 3 Send Data: MGs Reserve Verification AMS.DM transfers a report to AMS.DT AMS.DM AMS.DT Send signal to send [mgs reserve verification] Report [mgs reserve verification] TT1 TR4 SA2 A0 4 POST Data: MGs Reserve Verification AMS.DT POST a report to AMS.DA AMS.DT EMS.DA Report [mgs reserve verification] TT1 TR4 SA4 A0 5 Request Data: Data Validation EMS.DA transfers an input data to EMS.DP EMS.DA EMS.DP Send signal [data validation] Report [input data] TT1 TR4 SA2 A0 6 Calculations: Data validation EMS.DP "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. EMS.DP EMS.DP No information exchange 7 Update Data: Data Validation EMS.DP returns the processed data to EMS.DA EMS.DP EMS.DA Report [data validation] Alarm signal [data validation] TT1 TR4 SA2 A0 8 Store Data: Input Data EMS.DA transfers the processed data to EMS.DBM to store them EMS.DA EMS.DBM Store signal [Input data] Report [data validation] TT1 TR4 SA2 A0 9 Request Data: Reserve Verification EMS.DM request Reserve Verification report EMS.DM EMS.RV Request signal [reserve verification] Report [mgs reserve verification] TT1 TR4 SA4 A0 10 Calculations: Reserve Verification EMS.DP creates Verification Notification EMS.RV EMS.RV No information exchange 11 Update Data: Reserve Verification EMS.DP returns the report data to EMS.DM EMS.DP EMS.DM Report [reserve verification] TT1 TR4 SA4 A0 12 Store Data: Reserve Verification EMS.DM transfers the processed data to EMS.DBM EMS.DM EMS.DT Request signal to send data [reserve verification] Report [reserve TT1 TR4 SA4 A0 48
Appendix II – Detailed Use Cases verification] Steps – Alternative, Error Management, and/or Maintenance/Backup Scenario Scenario Name : Alternative scenario 1: Reserve Verification Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 2a1 Event based/Threshold crossed Data Update: MGs Reserve Verification AMS.DBM processes and analyses the data, then generates a new report that will be transmitted to the AMS.DM if threshold was crossed AMS.DBM AMS.DM Report [mgs reserve verification] TT1 TR4 SA4 A0 Scenario Name : Alternative scenario 2: Reserve Verification Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 1-4a1 GET Data: MGs Reserve Verification EMS.DA requests a data report from AMS.DT EMS.DA AMS.DT Request signal [mgs reserve verification] TT1 TR4 SA4 A0 1-4a2 Request Data: MGs Reserve Verification AMS.DT requests MGs Reserve Verification from AMS.DBM AMS.DT AMS.DBM Request signal [mgs reserve verification] TT1 TR4 SA2 A0 1-4a3 Request Data: MGs Reserve Verification AMS.DBM retrieves the data from AMS.DB AMS.DBM AMS.DB Request signal [mgs reserve verification] TT1 TR4 SA2 A0 1-4a4 Update Data: MGs Reserve Verification AMS.DM retrieves the data from AMS.DB AMS.DB AMS.DBM Report [mgs reserve verification] TT1 TR4 SA2 A0 Scenario Name : Alternative scenario 3: Reserve Notification Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID *Confirmation messages are currently not included in the scenario 1 Request Data: Reserve Validation RMP.DM requests Reserve Validation report from RMP.DA RMP.DM RMP.DA Request signal [reserve validation] Report [offers list] TT1 TR4 SA2 A0 2 GET Data: Reserve Validation RMP.DA requests Reserve Validation report from DMS.DT RMP.DA DMS.DT Request signal [reserve validation] Report [offers list] TT1 TR4 SA4 A0 3 Request Data: Reserve Validation DMS.DT imports the data to DMS.DM DMS.DT DMS.DM Request signal [reserve validation] Report [offers list] TT1 TR4 SA2 A0 4 Request Data: Reserve Validation DMS.DM requests Reserve Validation report from DMS.CV DMS.DM DMS.CV Request signal [reserve validation] TT1 TR4 SA2 A0 49
Appendix II – Detailed Use Cases been accepted on the market notification from Aggregator of accepted bid (up- or down regulation, amount (MW), time period, price, location) SA4, A0 2 MGMS.DA has received the accepted bid MGMS.DA transfers the notification to MGMS.DM MGMS.DA MGMS.DM Regulation information (up- or down regulation, amount (MW), time period, price, location) TT1, TR4, SA2, A0 3 MGMS.DM has received the accepted bid MGMS.DM reads the notification and generates separate notifications to be sent for proper CEMS's via MGMS.DT MGMS.DM MGMS.DT Regulation information (up- or down regulation, amount (MW), time period, price, location) TT1, TR4, SA2, A0 4 Accepted bid is separeted into single notifications concerning separate CEMSs MGMS.DT sends the notifications to proper CEMS's MGMS.DT CEMS Regulation information (up- or down regulation, amount (MW), time period, price, location) TT1, TR4, SA4, A0 Scenario Name : PS3: Activation of CRP regulation Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 1 Notification MO receives activation notification from Aggregator of accepted bid AMS.DT MGMS.DA Control command TT3, TR4, SA4, A2 2 MGMS.DA has received notification of accepted bid MGMS.DA sends the notification to MGMS.DM MGMS.DA MGMS.DM Control command TT3, TR4, SA2, A2 3 Notification is send to MGMS.DM MGMS.DM sends the notification to MGMS.DT for distribution to proper CEMSs MGMS.DM MGMS.DT Control command TT3, TR4, SA2, A2 4 Notification is send to MGMS.DT MGMS.DT distributes the control commands to CEMSs based on the activation notifications. MGMS.DT CEMS Control command TT3, TR4, SA4, A2 5 CEMS has executed the regulation CEMS sends verification of regulation to MGMS.DA CEMS MGMS.DA Verification TT1, TR4, SA4, A0 6 MGMS.DA has received verification of regulation MGMS.DA sends verification of regulation to MGMS.DM MGMS.DA MGMS.DM Verification TT1, TR4, SA2, A0 7 MGMS.DM has received verification of regulation MGMS.DM creates summary report of verification notifications and sends it to MGMS.DT MGMS.DM MGMS.DT Verification TT1, TR4, SA2, A0 8 MGMS.DT has received verification of regulation MGMS.DT sends the summary report of verifications to AMS.DA MGMS.DT AMS.DA Verification TT1, TR4, SA4, A0 56
Appendix II – Detailed Use Cases DSO flexibility (Aggregator) detailed 1 Description of the Use Case Name of Use Case Version Management Changes / Version Date Name Author(s) or Committee Domain Expert Primary, additional Area of Expertise / Domain / Role Title Approval Status draft, for comments, for voting, final 0.1 24.11.2017 Author: Ville Tuominen (TUT) Primary Core team First draft Draft for review 0.2 5.1.2018 Ville Tuominen (TUT) Primary Core team Second draft Draft for review 0.3 Harmonizing Detailed UC with sequence diagram 9.4.2018 Matti Aro (VTT) Primary Core team Third draft Draft for review 0.4 Added Sequence Diagrams and Technical Requirements 23.4.2018 Matti Aro (VTT) Primary Core team Final Final Basic Information to Use Case Source(s) / Literature Link Conditions (limitations) of Use Relation to Higher Level Use Case Cluster - Monitoring, control, market Higher Level Use Case Control Flexibility management Maturity of Use Case Under development Prioritisation High Generic, Regional or National Relation Generic View Technical 57
Appendix II – Detailed Use Cases Further Keywords for Classification Flexibility services, distributed energy resources Scope and Objectives of Use Case Scope of Function This use case describes how Aggregator operates as an intermediary between Microgrid Operator (MO) and Flexibility Market Platform (FMP) (and DSO) enabling MO to participate in the Flexibility Market Platform without direct contact there. Objectives of Function Objective of Aggregator here is to participate in the FMP with a portfolio that includes Distributed Energy Resources (DERs) possibly from several microgrids. Narrative of Use Case Short description – max 3 sentences Use case describes the role of Aggregator in trading of flexible resources between Microgrid Operator and Flexibility Market Platform. Complete description This use case shows required interfaces and functionalities for Aggregator to trade flexibility services between MO and FMP. Microgrid Operator provides its flexible resources to Aggregator who then creates bids out of (possibly) several microgrids. In this use case all the communication and interaction between MO, FMP and DSO is assumed to go through the Aggregator. Actors: Detailed Terminology Actor Name see Detailed Terminology List Actor Type see Detailed Terminology List Actor Description see Detailed Terminology List Further information specific to this Use Case AMS IT system Aggregator Management System AMS.DB Function Aggregator Management System Data Base AMS.DT Function Aggregator Management System Data Transmission AMS.DA Function Aggregator Management System Data Acquisition AMS.TS Function Aggregator Management System Trading System DMS IT system Distribution Management System DMS.DA Function Distribution Management System Data Acquisition DMS.DT Function Distribution Management System Data Transmission FMP IT Platform Flexibility Market Platform FMP.DA Function Flexibility Market Platform Data Acquisition MGMS IT system Microgrid Management System MGMS.DA Function Microgrid Management System Data Acquisition MGMS.DT Function Microgrid Management System Data Transmission 58
Appendix II – Detailed Use Cases Issues: Legal Contracts, Legal Regulations, Constraints and others Issue - here specific ones Impact of Issue on Use Case Reference – law, standard, others Preconditions, Assumptions, Post condition, Events Actor/System/Information/Contract Triggering Event Pre-conditions Assumption Post-conditions AMS The system is up and running DMS The system is up and running MGMS The system is up and running Referenced Standards and / or Standardization Committees (if available) Relevant Standardization Committees Standards supporting the Use Case Standard Status General Remarks General Remarks The focus is in Conditional Re-Profiling (CRP) 2 Drawing or Diagram of Use Case 59
Appendix II – Detailed Use Cases 3 Step by Step Analysis of Use Case Scenario No. Primary Actor Triggering Event Pre-Condition Post-Condition Primary scenario 1: Aggregator provides CRP bids to Flexibility Market Platform (FMP) AMS.DA Periodically before gate closure. Microgrid(s) has flexible resources to be provided in FMP. Bids are sent to FMP Primary scenario 2: Aggregator's bid(s) gets accepted in FMP AMS.DA Violation of power quality was forecasted by DSO and thus Aggregators bid(s) is accepted from the FMP. Aggregator has provided bid(s) to FMP. Information about accepted bid(s) is sent to MO. 60
Appendix II – Detailed Use Cases Primary scenario 3: Aggregator's bid(s) gets activated by DSO AMS.DA Violation of power quality was detected by DSO and activation signal is received by Aggregator. Accepeted bid(s) and the resources it concerns are ready to act on command Resources that were reserved are activated. Steps – Normal Sequence Scenario Name : PS1: Aggregator provides CRP bids to Flexibility Market Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 1a Forecast update Periodically Service Provider sends price forecasts to AMS.DA SP AMS.DA Price forecast TT1, TR4, SA4, A0 1b Flexibility report Periodically MGMS.DT sends periodically a report of the flexibility to AMS.DA MGMS.DT AMS.DA Time series of available up and down flexibility for every cycle step (Location, Power [kW], Direction (up/down), Duration time [s], Activation time [s]) TT1, TR4, SA4, A0 2 Data aggregation AMS.DA sends all received flexibility reports to AMS.DM for data management AMS.DA AMS.DM Time series of available up and down flexibility for every cycle step (Location, Power [kW], Direction (up/down), Duration time [s], Activation time [s]) TT1, TR4, SA2, A0 3 Data management AMS.DM aggregates information from all flexible resources that it has for the next time period and sends that data to Trading System for bid creation AMS.DM AMS.TS Time series of available up and down flexibility for every cycle step (Location, Power [kW], Direction (up/down), Duration time [s], Activation time [s]) TT1, TR4, SA2, A0 4 Bid creation AMS.TS creates flexibility bids for the markets AMS.TS AMS.TS Time series of available up and down flexibility for every cycle step (Location, Power [kW], Direction (up/ down), Duration time [s], Activation time [s],Price [€/ MW]) TT1, TR4, SA2, A0 5 Bids are created and ready to be send for the markets AMS.TS sends the bids to AMS.DM to be sent to markets AMS.TS AMS.DM Time series of available up and down flexibility for every cycle step (Location, Power [kW], Direction (up/ down), Duration time [s], Activation time [s],Price [€/ MW]) TT1, TR4, SA2, A0 6 Bids are created and ready to be send for the markets AMS.DM sends the bids to AMS.DT to be sent to markets AMS.DM AMS.DT Time series of available up and down flexibility for every cycle step (Location, Power [kW], Direction (up/ down), Duration time [s], Activation time [s],Price [€/ MW]) TT1, TR4, SA2, A0 7 Bid(s) is ready to be sent to FMP AMS.DT sends the offer to FMP.DA AMS.DT FMP.DA Time series of available up and down flexibility for every cycle step (Location, Power [kW], Direction (up/ down), Duration time [s], Activation time [s],Price [€/ MW]) TT1, TR4, SA4, A0 8 Confirmation FMP confirms that the bid(s) is FMP.DA AMS.DT FMP informs AMS about TT1, TR4, 61
Appendix II – Detailed Use Cases notice received in the market place received bids SA4, A0 Scenario Name : PS2: Aggregator's bid(s) gets accepted in FMP Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 1 Bid is accepted FMP sends notification to AMS that the bid is accepted as a reserve for CRP FMP.DT AMS.DA Notification of accepted bid (ID, time, price) TT1, TR4, SA4, A0 2 Notification is received AMS.DA sends the notification to Data Management AMS.DA AMS.DM Notification of accepted bid (ID, time, price) TT1, TR4, SA2, A0 3 Notification is sent to Data Management Data Management separetes the DERs of different microgrids from the bid to be sent to corresponding MOs. AMS.DM AMS.DT Notification of accepted bid (ID, time, price) TT1, TR4, SA2, A0 4 Reports to different microgrids is created AMS.DT sends reports to those microgrids that were included in the bid that got accepted AMS.DT MGMS.DA Notification of accepted bid (ID, time, price) TT1, TR4, SA4, A0 Scenario Name : PS3: Aggregator's bid(s) gets activated by DSO Step No. Event Description of Process/Activity Information Producer Information Receiver Information Exchanged Technical Requirements ID 1 Bid is activated DSO sends notification to AMS that the bid that was accepted to a reserve now needs to be activated DMS.DT AMS.DA Notification of activated bid (ID, time, price) TT3, TR4, SA4, A2 2 Notification is received AMS.DA sends the notification to Data Management AMS.DA AMS.DM Notification of activated bid (ID, time, price) TT3, TR4, SA2, A2 3 Notification is sent to Data Management Data Management separetes the DERs of different microgrids from the bid to be sent to corresponding MOs. AMS.DM AMS.DT Notification of activated bid (ID, time, price) TT3, TR4, SA2, A2 4 Reports to different microgrids is created AMS.DT sends activation commands to those microgrids that were included in the bid that got activated AMS.DT MGMS.DA Notification of activated bid (ID, time, price) TT3, TR4, SA4, A2 5 Regulation is executed inside microgrids MO sends report of activated (executed) regulations MGMS.DT AMS.DA Report/timeseries TT1, TR4, SA4, A0 6 Report of executed regulation from (several) microgrid is received AMS.DA sends the report to Data Management for report aggregation AMS.DA AMS.DM Report/timeseries TT1, TR4, SA2, A0 7 Reports are aggregated in Data Management Data Management aggregates reports from (possibly) several microgrids and creates one report corresponding the initial bid. Then sends it to Data Transmission AMS.DM AMS.DT Report/timeseries TT1, TR4, SA2, A0 8 Report is ready to be sent to DMS AMS.DT sends the report of activated regulations to DMS.DA AMS.DT DMS.DA Report/timeseries TT1, TR4, SA4, A0 62
Appendix II – Detailed Use Cases 63
Appendix II – Detailed Use Cases DSO flexibility (DSO) detailed 1 Description of the Use Case Name of Use Case Flexibility management of Microgrids by DSO (FMM) Version Management Changes / Version Date Name Author(s) or Committee Domain Expert Primary, additional Area of Expertise / Domain / Role Title Approval Status draft, for comments, for voting, final Version 0.1: Technical part of the use case 17.11.2017 Author: Aleksei Mashlakov (LUT) Reviewers: Ville Tikka Samuli Honkapuro Primary Energy experts, core team First draft Draft for comments Version 0.2: (adjusted terminology) 04.01.2018 Aleksei Mashlakov (LUT) Primary Core team Second draft Draft for review Version 0.3: (harmonizing detailed use cases with implementation use case) 22.03.2018 Aleksei Mashlakov (LUT) Primary Core team Final Final Basic Information to Use Case Source(s) / Literature Link Conditions (limitations) of Use Relation to Higher Level Use Case Cluster Higher Level Use Case Control Flexibility management Maturity of Use Case Under development Prioritization High Generic, Regional or National Relation 64
Appendix II – Detailed Use Cases Generic View - Technical / Business Technical Further Keywords for Classification Power quality control, flexibility management, microgrid control Scope and Objectives of Use Case Scope of Function This use case demonstrates how Distribution System Operator (DSO) interacts with both Flexibility Market Operator (FMO) in order to evaluate the feasibility of applications of flexible resources and Aggregator to activate flexibility of microgrids if necessary. Objectives of Function This is needed by DSO to improve power quality in the network and optimize expenses in the conditions of grid fragmentation and high DER adoption. Narrative of Use Case Short description – max 3 sentences This use case demonstrates how DSO interacts with FMO and Aggregator to improve power quality in the network by use of flexibility potential of microgrids as conditional re-profiling (CRP) product. Complete description Microgrid flexibility as a flexibility market commodity could reach and balance the following goals of DSO for scenarios of high DER adoption: Mitigation of congestions in the LV/MV networks Handling ramping issues Reduction of the LV/MV network losses Minimizing the load control actions and tap changer operations Reducing the voltage violation at each node Maintain frequency stability within the temporary island operation of distribution grid This use case provides the required interfaces for operation of the DSO flexibility management. DSO is represented by the automation system called Distribution Management System (DMS) that can directly interact with the following actors: Aggregator Management System (AMS) that distributes capacity control commands of DMS to microgrids whose flexibility was purchased in advance. Flexibility Market Platform (FMP) that provides aggregated flexibility potential information of microgrids and price bids for activation of this capacity. The use case can be divided on cycle ahead and real-time actions that include following parts: Purchase of CRP product: On the cycle-ahead part DMS provides state forecast of the grid and defines possible power quality violation. To prevent deterioration of the power quality, DMS requests list of flexibility offers from FMP that corresponds to DMS control area, then DMS calculates state optimization, and purchases CRP products by requesting bids from FMP. Activation of purchased CRP: On the real-time part, DMS uses state estimation of the grid and, if the quality deterioration is detected, it defines optimal real-time set points (state optimization) for microgrid flexibility and sends activation commands to microgrids through AMS. Verification phase: Finally, the DMS is receiving verification reports allowing to verify the implementation of sent 65