Device, equipment and computer-implemented method for automatically generating SCADA slave interface
By automatically generating SCADA slave interfaces, the problem of long coding time and fragility of SCADA interface implementation in power plant systems is solved, the reliability and consistency of the system are improved, and support for a variety of equipment and manufacturers is achieved.
Patent Information
- Application Number
- CN201980068110.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-10-18
- Filing Date
- 2019-10-17
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-10-17
AI Technical Summary
Existing SCADA interface implementations in power plant systems have problems such as long coding time, high fragility, code quality that relies on engineer skills, and difficulty in processing a large number of data points, resulting in system inflexibility and poor consistency.
By automatically generating SCADA slave interfaces, using SCADA configuration files to map data points to EMS data objects, and generating object binding repositories and SCADA binding information through the object access framework and SCADA binding framework, supporting multiple protocols such as DNP3 and Modbus, reducing custom coding and improving consistency and flexibility.
It achieves rapid generation of SCADA server interfaces, reduces coding time, improves system reliability and data consistency, and enhances support for multiple devices and manufacturers.
Smart Images

Figure CN112955828B_ABST
Abstract
Description
Technical Field
[0001] The present application generally relates to apparatus, devices, methods and software codes for controlling power plant systems (in which energy resources are installed). The energy resources may include, for example, engines, renewable energy sources (wind energy, solar energy) and energy storage systems. The present application also relates to methods, apparatus and software codes for automatically generating supervisory control and data acquisition (SCADA) slave interfaces of energy management systems (EMS). Background Art
[0002] This section illustrates useful background information and is not an admission that any of the techniques described herein represent prior art.
[0003] Modern distributed energy generation, renewable energy generation, and energy storage systems are fundamentally changing the way electricity is generated, distributed, and consumed. The required systems should accelerate deployment and reduce the costs and risks associated with installing these systems. For example, distributed energy platforms can be bundled with advanced software controls to optimize energy savings, aggregate distributed energy resources, enhance grid resilience and reliability, and integrate renewable energy.
[0004] The challenge is further increased by leveraging system modularity as well as intelligent control and data management to deliver consistent power with superior performance and profitability.
[0005] A traditional approach to managing energy assets is to deploy a plant controller that interacts with the equipment. For energy storage systems, the controller interacts with the power control system (PCS) and the battery management system (BMS). Known systems can also utilize software-based controllers.
[0006] SCADA (Supervisory Control and Data Acquisition) is a general industry term for monitoring and control interfaces to industrial systems. An Energy Management System (EMS) is typically supervised by a customer's client application via one of the SCADA protocols (e.g., DNP3, Modbus) for system monitoring and control. Each customer and each power plant system may have its own SCADA data needs.
[0007] Therefore, there is a need for a solution that is easy to set up, accurate, and robust with high reliability to provide an improved SCADA slave interface to the EMS system. Summary of the invention
[0008] According to a first exemplary aspect of the disclosed embodiment, there is provided a computer-implemented method for automatically generating a SCADA (Supervisory Control and Data Acquisition) slave interface of an energy management system (EMS) at an energy management system (EMS) controller device, the method comprising the following steps:
[0009] storing a SCADA configuration file, the SCADA configuration file comprising a point map that maps SCADA data points to EMS data objects, wherein the point map is configured to define EMS data objects that can be accessed via the SCADA slave interface using the SCADA data points;
[0010] Providing EMS data objects encoded in a statically typed programming language, wherein each EMS data object includes entity attributes associated using EMS annotations;
[0011] Provide site configuration information for the Energy Management System (EMS);
[0012] Scanning EMS data objects with EMS annotations through an object access framework (OAF) and combining the EMS data objects with EMS annotations with site configuration information to generate an object binding repository (OBR); and
[0013] The SCADA configuration files are compiled through a SCADA binding framework to combine SCADA data point mappings with an object binding repository (OBR) to generate communication protocol specific SCADA binding information configured to form part of a SCADA slave interface for an energy management system (EMS).
[0014] In an embodiment, the method further comprises the following steps:
[0015] At the SCADA slave interface, receiving a data request from a SCADA client;
[0016] Determine the SCADA protocol for data requests through the EMS SCADA protocol library layer;
[0017] Responsive to the determined SCADA protocol, generating a service call to the peer bridging layer; and
[0018] Translate service calls into EMS data object calls for the SCADA binding layer.
[0019] In an embodiment, the method further comprises the following steps:
[0020] The EMS data object call is connected, through the SCADA binding layer, to at least one method call made to an executable EMS data object coded in a statically typed programming language.
[0021] In an embodiment, executable EMS data object calls are connected to the EMS object layer via an object access framework (OAF) layer.
[0022] In an embodiment, the EMS data object invokes at least one EMS device or EMS service connected to the EMS object layer.
[0023] In an embodiment, an Object Access Framework (OAF) layer is configured to provide binding and metadata.
[0024] In an embodiment, the EMS data object includes at least one of the following:
[0025] Energy resource equipment;
[0026] Energy storage system (ESS);
[0027] Measuring equipment;
[0028] Software logic status; and
[0029] Operating set point.
[0030] In an embodiment, the SCADA data point includes at least one of the following received information:
[0031] Equipment status data;
[0032] The state of charge (SOC) of the energy storage system;
[0033] Measurement readings;
[0034] Active power or reactive power status information;
[0035] Temperature information; and
[0036] Fault status information.
[0037] In an embodiment, the SCADA data point includes at least one of the following information sent:
[0038] Start command;
[0039] Stop command;
[0040] Reset command; and
[0041] Update setpoint command.
[0042] In an embodiment, the SCADA slave interface is configured to operate using at least one of the following protocols:
[0043] DNP3; and
[0044] Modbus.
[0045] In an embodiment, the SCADA data point is configured to include:
[0046] Registers in Modbus; or
[0047] In DNP3, a point or object.
[0048] In an embodiment, the EMS annotation includes at least one of the following:
[0049] an indication of which EMS data objects are part of the public API; and
[0050] Metadata.
[0051] In an embodiment, the metadata includes at least one of the following:
[0052] The units of measurement; and
[0053] A human-readable description.
[0054] In an embodiment, the SCADA configuration file includes at least one of the following protocol information:
[0055] The type of data used;
[0056] Encoded information; and
[0057] Point locations and their mapping to physical EMS device attributes.
[0058] In an embodiment, a SCADA slave interface for an energy management system (EMS) includes at least one of the following:
[0059] a first slave interface for a remote terminal unit (RTU) for controlling the EMS; and
[0060] Second slave interface for local access, for status monitoring and support.
[0061] In an embodiment, at an energy management system (EMS) controller device, an HTTPS Web-based human-machine interface is configured to remotely control the EMS system using a Web browser.
[0062] According to a second exemplary aspect of the disclosed embodiment, there is provided a controller device for an energy management system (EMS) for automatically generating a SCADA slave interface, the controller device comprising:
[0063] a communication interface configured to send and receive information with a SCADA client and an EMS data object;
[0064] at least one processor; and
[0065] at least one memory, the at least one memory comprising computer program code;
[0066] The at least one memory and the computer program code are configured to, together with the at least one processor, cause the apparatus to perform the following steps:
[0067] storing a SCADA configuration file, the configuration file comprising a point map that maps SCADA data points to EMS data objects, wherein the point map is configured to define EMS data objects that can be accessed via the SCADA slave interface using the SCADA data points;
[0068] Providing EMS data objects encoded in a statically typed programming language, wherein each EMS data object includes entity attributes associated using EMS annotations;
[0069] Provide site configuration information for the Energy Management System (EMS);
[0070] Scanning EMS data objects with EMS annotations through an object access framework (OAF) and combining the EMS data objects with EMS annotations with site configuration information to generate an object binding repository (OBR); and
[0071] The SCADA configuration files are compiled through a SCADA binding framework to combine SCADA data point mappings with an object binding repository (OBR) to generate SCADA binding information configured to form part of a SCADA slave interface for an energy management system (EMS).
[0072] According to a third exemplary aspect of the disclosed embodiment, there is provided a computer program implemented on a computer-readable non-transitory medium, the computer program comprising computer-executable program code, which when executed by at least one processor of an apparatus causes the apparatus to perform the following steps:
[0073] storing a SCADA configuration file, the configuration file comprising a point map that maps SCADA data points to EMS data objects, wherein the point map is configured to define EMS data objects that can be accessed via the SCADA slave interface using the SCADA data points;
[0074] Providing EMS data objects encoded in a statically typed programming language, wherein each EMS data object includes entity attributes associated using EMS annotations;
[0075] Provide site configuration information for the Energy Management System (EMS);
[0076] Scanning EMS data objects with EMS annotations through an object access framework (OAF) and combining the EMS data objects with EMS annotations with site configuration information to generate an object binding repository (OBR); and
[0077] The SCADA configuration files are compiled through a SCADA binding framework to combine the SCADA data point mappings with an object binding repository (OBR) to generate SCADA binding information configured to form part of a SCADA slave interface for an energy management system (EMS).
[0078] Different non-binding example aspects and embodiments of the present disclosure have been illustrated above. The above embodiments are only used to explain selected aspects or steps that can be utilized in the implementation of the present invention. Some embodiments can be presented with reference only to certain exemplary aspects of the present invention. It should be understood that the corresponding embodiments can also be applied to other example aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Various aspects of the disclosed embodiments will be described, by way of example only, with reference to the accompanying drawings, in which:
[0080] Figure 1 A schematic diagram of a system according to one aspect of the disclosed embodiment is shown;
[0081] Figure 2 Illustrated in accordance with one aspect of the disclosed embodiment, during development, system startup and compile time, Figure 1 How the different technical components of the system work together to automatically generate SCADA implementations;
[0082] Figure 3 According to one aspect of the disclosed embodiment, at runtime, Figure 1 How the different technical components within the system work together to automatically generate SCADA slave device implementations;
[0083] Figure 4 An example view of a high-level SCADA service concept within an EMS system to which various embodiments of the present invention may be applied is presented;
[0084] Figure 5 presents a schematic diagram of a layer model to which various embodiments of the present invention may be applied;
[0085] Figure 6 An example block diagram of a control device (EMS) to which various embodiments of the present invention may be applied is presented;
[0086] Figure 7An example block diagram of a server device to which various embodiments of the present invention may be applied is presented;
[0087] Figure 8 presents an example block diagram of a remote computer device to which various embodiments of the present invention may be applied; and
[0088] Fig. 9 A flow chart illustrating operation according to an example embodiment of the present invention is shown. DETAILED DESCRIPTION
[0089] In the following description, like numbers denote like elements.
[0090] Figure 1 A schematic diagram of a system 100 is shown according to an example implementation.
[0091] Energy storage system (ESS) 110 may be installed at a power plant site (where energy equipment such as energy storage system is installed). Operational logic is implemented by energy management system (EMS) site controller 120. Operators may require key communication interfaces of EMS site controller 120 to monitor the system and operate.
[0092] The energy storage system (ESS) 110 may include a plurality of ESS units 111-112, 113-114, and each ESS unit 111-112, 113-114 may have its own power conversion system (PCS) 111, 113 and associated batteries 112, 114, respectively. The EMS site controller 120 communicates with the PCS 111, which aggregates the two ESS units 111-114 into a single site ESS 110 with predefined ratings. The ratings may be, for example, 2MW (rated P), 2MVAR (rated Q), and 10MWh (nominal energy capacity). Regardless Figure 1 In the example shown in FIG. 1 , whether there are two ESS units, the number of ESS units can be changed according to the required storage capacity.
[0093] The EMS site controller 120 may have multiple SCADA interfaces 121 , 122 .
[0094] SCADA (Supervisory Control and Data Acquisition) is a general industrial term for monitoring and control interfaces to industrial equipment. The EMS system 100 is usually monitored by a system operator (e.g., a power company), and they use some type of SCADA solution to interact with the EMS site controller 120 and related equipment and / or services 110, 141, 142 and other legacy systems, so the EMS site controller 120 needs to use the same language. SCADA usually uses one of several industrial protocols. For the purpose of SCADA, the EMS system 100 can use, for example, two protocols: Modbus and DNP3.
[0095] At a high level, SCADA introduces a set of control points that can be read to obtain current system parameters (power, state of charge, temperature, fault status) and written to (start, stop, reset, update set points). Control points are called registers in Modbus and points or objects in DNP3. Each point or register maps to an attribute or method of one of the EMS entities (ESS 110, meter 141, PCS 111, 113, service 142 status or operational set points, etc.).
[0096] exist Figure 1 There are two slave interfaces 121, 122 illustrated in FIG. As an example, we can assume that both of them are DNP3 protocol interfaces for, for example, a Remote Terminal Unit (RTU).
[0097] A Remote Terminal Unit (RTU) is a microprocessor controlled electronic device that interfaces physical world objects to a distributed control system or SCADA (Supervisory Control and Data Acquisition) by sending telemetry data to a host system and controlling connected objects using messages from the host supervisory system. Other terms that may be used for an RTU are Remote Telemetry Unit or Remote Control Unit.
[0098] For example, the first SCADA (DNP3) slave interface 121 may be configured to be used for generation RTU 170 (eg, power company) to control ESS operation and perform auxiliary service (eg, frequency regulation) signal exchange.
[0099] For example, the second SCADA (DNP3) slave interface 122 may be configured for a distributed RTU 171 (eg, a local operations team of a power company) to extract system information as part of circuit status monitoring and islanding support.
[0100] In addition, the EMS site controller 120 may have an HTTPS Web-based human-machine interface (HMI) 123 for, for example, an operator engineer to remotely operate the system using a Web browser.
[0101] In an embodiment, the EMS site controller 120 is configured to connect to at least one meter 141, 142. For example, the site meter 141 can be configured to provide a site active power reading (MW) or a site reactive power reading (MVAR). For example, the auxiliary meter 142 can be configured to provide, for example, an auxiliary power reading (MW). For example, the generating RTU 170 can retrieve the follow-up feedback signals from the EMS site controller 120 and send these follow-up feedback signals back to some external auxiliary service system.
[0102] The number of RTUs 170-171 and associated slave interfaces (and protocols used) 121, 122 may vary depending on the implementation and the customer.
[0103] The system 100 may include a power plant subsystem 115 and a controller device (EMS) 120 as separate entities, wherein the controller device 120 may be remote from the subsystem 115 , or the subsystem 115 and the controller device 120 may be arranged on the same subsystem 115 , 120 .
[0104] The power plant subsystem 115 may include: a photovoltaic power source 116, which provides photovoltaic DC power to a photovoltaic DC bus; an inverter 117, which includes a direct current (DC) power input operably connected to the photovoltaic DC bus to receive photovoltaic DC power; and an alternating current (AC) power output, which is used to provide AC power to an AC system.
[0105] The power plant subsystem 115 may also include: a DC-DC converter 118, which includes a first direct current (DC) port, which is connected to the photovoltaic DC bus in parallel with the photovoltaic power source 116; and an energy storage device 110, which is operably connected to a second direct current (DC) port of the DC-DC converter 118.
[0106] The system 100 may further include an energy storage manager (eg, a battery management system BMS) operably connected to the energy storage device 110 for monitoring and controlling the energy storage device. The BMS may be arranged, for example, in a block 111 .
[0107] Figure 1The energy storage system (ESS) 110 or energy storage devices 112, 114 illustrated in FIG. 1 may be defined to include all forms of stationary energy storage devices, including battery storage devices, such as lithium-ion batteries, as well as other electrochemical cells and flow batteries, for example.
[0108] In an embodiment, the (EMS) controller device 120 is configured to communicate with the various devices and elements in the subsystem 115 and send, for example, start / stop commands, send set points, and obtain status and readings.
[0109] In an embodiment, the (EMS) controller device 120 is configured to communicate with a battery management system (BMS) via a communication path. The (EMS) controller device 120 is configured to send commands to the BMS to connect / disconnect the battery string to the DC bus, obtain the DC current limit in both the charging and discharging directions from the BMS in real time, and obtain battery status readings such as DC voltage or charging status from the BMS.
[0110] In an embodiment, the (EMS) controller device 120 may include, for example, a device for generating, processing, and transceiving data related to the power plant system through a communication interface. The device 120 is capable of downloading and locally executing software program code. The software program code may be a client application for the following service, that is, a possible server application for the service is running on the server device 130, 131 of the system 100. Any subsystem 115 device may include a capture device, such as a sensor device, for providing a signal related to the power plant. The sensor device may include, for example, a sensor, a microphone, or a camera. For example, a camera may also be used to provide video data, and a microphone may be used to provide audio data.
[0111] The device 120 is configured to be able to connect to a public network 150 such as the Internet via a connection 152. For example, the connection 152 may be arranged directly via a local connection or via a wireless communication network via a wireless connection. For example, the wireless connection may include a mobile cellular network, a satellite network, or a wireless local area network (WLAN). The wireless communication network may be connected to a public data communication network 150 such as the Internet via a data connection. The device 120 may be configured to be able to connect directly to a public data communication network 150 such as the Internet via a data connection, which may include fixed or wireless mobile broadband access.
[0112] Subsystem 115 or any device within a subsystem may be configured to be able to connect to a public network 150 such as the Internet through a separate connection.
[0113] For example, device 120 and its client application may allow device 120 to log into a power plant data service running on server 130 .
[0114] Real-time interaction may be provided between the device 120, the subsystem 110 and the server 130 to collaborate to obtain power plant system data via the network 150. Real-time interaction may also be provided between the device 120 and a remote user device 160 to collaborate to obtain data via the network 150.
[0115] The user of the apparatus 120 or remote user equipment 160 may be required to log into the selected service of the network server 130 using user credentials.
[0116] In an embodiment, the device of subsystem 115 may include a sensor device that is configured to be included in apparatus 120 or can be connected to apparatus 120 via a local connection, or can be connected to server 130 via network 150. The local connection may include a wired connection or a wireless connection. The wireless connection may include, for example, an acoustic connection, a Bluetooth connection, or a wireless connection. TM , Radio Frequency Identification (RF-ID), ZigBee or Wireless Local Area Network (WLAN). For example, Near Field Communication (NFC) can be used for sensor device identification between the sensor device and any other device. The data provided by at least one sensor device can be used as an input to the control algorithms and software within the (EMS) control device 120. For example, the input can be used to provide, for example, environmental data such as temperature information, brightness information, HVAC information, and smoke detection information.
[0117] Sensor devices arranged to any device of the subsystem 115 may also be directly connected to a public network 150 such as the Internet via a direct local connection or via a wireless cellular network connection.
[0118] In an embodiment, system 100 may include server apparatus 130 including storage device 131 for storing service data, service metrics, and subscriber information via data connection 151. For example, service data may include: configuration data; account creation data; sensor data; sensor ID; control data; historical data; user input data; real-time collaboration data; predefined settings; and attribute data.
[0119] In an embodiment, the proprietary application in the device 120 may be a client application of a service whose server application is running on the server device 130 of the system 100 .
[0120] The proprietary application of the device 120 may receive input data and provide output data from the subsystems 115, 141, 142. The input data may include data captured by sensor devices arranged to any device of the subsystem 115, or data generated directly by any device or service.
[0121] In an embodiment, configuration information or application download information for any device may be automatically downloaded and configured by the server 130. Therefore, the user of the device may not need to perform any initialization or configuration for the service. The system server 130 may also be responsible for the account creation process for services such as sensors, devices, devices, and users.
[0122] In embodiments, the association of a device may be one-time, or permanently stored on any device or server 130 .
[0123] In an embodiment, authentication of any device or apparatus 120 on the system server 130 may utilize hardware or SIM credentials such as an International Mobile Equipment Identity (IMEI) or an International Mobile Subscriber Identity (IMSI). Any device or apparatus 120 may, for example, send authentication information including the IMEI and / or IMSI to the system server 130. The system server 130 authenticates the device by, for example, comparing the received authentication information with authentication information of a registered user stored at the system server database 131. Such authentication information may be used to pair devices and / or apparatuses to generate an association between them for data connection related to the power plant.
[0124] In an embodiment, a service web application can be used for configuration of the system. For example, the service web application can be run on any user device, management device, or remote control device 160, such as a personal computer connected to a public data network (e.g., Internet 150) via connection 153. The control device 160 can also be locally connected to the device 120 via a local connection and configured using the network connection of the device 120. For example, the service web application of the control device can provide search / add tools, determine properties, device settings, and configuration. For example, the service web application of the control device 160 can be a general configuration tool for tasks that are too complex to be performed on the user interface of the device 120.
[0125] In an embodiment, the remote control device 160 may be authenticated and configuration data may be sent from the control device 160 to the system servers 130, 131, where configuration settings may be modified based on the received data. In an embodiment, the modified settings may then be sent to the device 120 via the network 150 and a local connection or wireless carrier. The modified settings may also be sent accordingly to an external device, for example, via the device 120 or directly via the network 150.
[0126] In embodiments, any sensor device may be wireless or wired.
[0127] The key challenges in developing a robust and flexible SCADA server as part of the EMS system 100 are as follows:
[0128] -Project costs. Due to the number of data points for large energy sites, writing custom code to meet all customer SCADA interface requirements is time consuming.
[0129] - Fragile. Hand-coded SCADA implementations that connect customer data with internal system objects are very fragile. Any interface changes or internal system code changes may break data consistency.
[0130] -Code quality. The code quality of the SCADA interface implementation depends on the coding skills of the project engineers. Errors can be difficult to identify. Testing a large number of data points can be difficult to handle.
[0131] Figure 2 Illustrated in accordance with one aspect of the disclosed embodiment, during development, system startup and compile time, Figure 1 How the different technical components within the system work together to automatically generate SCADA implementations.
[0132] In an embodiment, Figure 1 The EMS Site Controller 120 is configured to intelligently process, generate, and enable SCADA server interface creation, minimizing custom coding.
[0133] First, a SCADA configuration language is defined. It is a text-based markup language (e.g., XML) defined for SCADA configuration files 210 that map SCADA data points to EMS data objects. It captures protocol information such as data types, encoding information, point locations, and their mapping to physical EMS device attributes.
[0134] In an embodiment, the SCADA configuration file 210 defines a point map that maps SCADA data points to EMS data objects, wherein the point map is configured to define EMS data objects that can be accessed via the SCADA slave interface using the SCADA data points.
[0135] In an embodiment, the SCADA data point may include at least one of the following received information: equipment status data; energy storage system state of charge (SOC); measurement readings; active power or reactive power status information; temperature information; and fault status information.
[0136] In an embodiment, a SCADA data point may include at least one of the following sent information: a start command; a stop command; a reset command; and an update set point command.
[0137] In an embodiment, the SCADA slave interface may be configured to operate using at least one of the following protocols: DNP3; and Modbus. The SCADA data points may be configured to include: registers in Modbus; or points or objects in DNP3.
[0138] Second, define an EMS annotation library 211 coded in a statically typed programming language. This annotation library can be used in programming source code to indicate the physical properties captured by the programming code. Due to the nature of static typing, the annotated information is retained by the language compiler. The annotations are used by the Object Access Framework (OAF) 220 to create an Object Binding Repository (OBR) 221, which acts as a dictionary that provides fast object access to devices and device properties during runtime.
[0139] In an embodiment, EMS data objects are encoded in a statically typed programming language, wherein each EMS data object includes entity attributes associated using EMS annotations.
[0140] Third, determine the Object Access Framework (OAF) 220. OAF 220 is an EMS component that scans compiled executable computer code based on annotations at startup to build an object binding repository 221. It is the basis for EMS slave interface definition technology (including SCADA binding).
[0141] Fourth, a SCADA binding framework 222 is defined. It is built on top of the object access framework 220, which creates SCADA bindings 223 to programming objects by combining the object binding repository 221 with SCADA specific information.
[0142] In an embodiment, any EMS device 110-118, 141, 142 (e.g., see FIG. 1 ) within the EMS subsystem 115 or external to the subsystem 115 but operably connected to the EMS site controller 120 (e.g., devices 141, 142) Figure 1 ) is configured to be associated with the device physical properties. By using EMS annotations to generate EMS annotated code 211 (EMS data object with EMS annotations), the physical properties are configured to be indicated in the computer code (e.g., EMS data object) of each EMS device 110-118, 141, 142. EMS annotations become an integral part of the EMS code base and can be used in different controlled sites to maintain consistency. For example, when writing device code 211, EMS annotations can be generated at the encoding stage.
[0143] Examples of EMS annotation codes (e.g., EMS data objects having EMS annotations) may include the following EMS annotation codes:
[0144] @EMSProperty(name="Water Temperature",
[0145] description="Water Temperature",
[0146] unit=C,
[0147] min="-40.0",
[0148] max="85.0")
[0149] double getWaterTemperature();
[0150] At startup, OAF 220 scans all EMS objects with annotations 211 , combines them with site configuration information 212 to generate an object binding repository 221 .
[0151] In an embodiment, the site configuration information 212 may include information of site equipment (e.g., site meters, PV meters, and load meters), as well as their associated update intervals, computer network addresses (IP addresses). In addition, the site configuration information 212 may include, for example, information of PCS (power conversion system) configuration and associated computer network addresses and energy storage device (battery) system configuration and associated computer network addresses. This configuration information describes a point map, which is a specification that specifies which points a particular EMS system should make available to the operator's SCADA.
[0152] Furthermore, at startup, the SCADA binding framework 222 compiles the SCADA configuration file 210 and combines the SCADA mapping with the object binding repository 221 to create SCADA binding information 223, which is configured to be used as Figure 1 Part of the EMS SCADA slave interfaces 121-123.
[0153] Figure 3 In accordance with one aspect of the disclosed embodiment, at runtime, Figure 1 to Figure 2 How the different technical components within the system work together to automatically generate SCADA implementations.
[0154] At runtime, if Figure 3 As shown, when the external SCADA client 310 (e.g., Figure 1 160, 170-171) to the EMS SCADA slave interface (e.g., Figure 1 When a data request 311 is sent by the EMS SCADA protocol library 320 (e.g., DNP3 or Modbus), it is first processed by the EMS SCADA protocol library 320 (e.g., DNP3 or Modbus). The request is then passed to the SCADA binding entity 330 established during the startup time (in Figure 2 223), the SCADA binding entity 330 further connects the SCADA data request to the object (eg, Java) call 340.
[0155] The above framework provides several advantages. First, it saves coding time. Project developers do not need to do any custom coding to create a SCADA server that meets the customer data SCADA data interface requirements. Developers only need to create a configuration file 210 for the data requirements. Second, it improves consistency. For example, the same OAF framework 220 and object binding repository 221 can be used by other external interfaces (e.g., Figure 1 The interfaces 121-123, 152) are used, such as HMI and Web services. Data consistency across all interfaces is provided. Third, flexibility is improved. The SCADA interface can be modified by simply changing the SCADA configuration 210 file without changing any code.
[0156] In an embodiment, a data request 311 is received at a SCADA slave interface from a SCADA client 310. The EMS SCADA protocol library layer 320 determines the SCADA protocol of the data request, and generates a service call to the point bridge layer in response to the determined SCADA protocol, and converts the service call to an EMS data object call for the SCADA binding layer 330. The SCADA binding layer 330 can then connect the EMS data object call to at least one method call made to an executable EMS data object (e.g., a Java object) coded in a statically typed programming language 340.
[0157] In an embodiment, the executable EMS data object call is connected to the EMS object layer via the object access framework (OAF) layer. The EMS data object call can be connected to at least one EMS device or EMS service of the EMS object layer. For example, the object access framework (OAF) layer is configured to provide binding and metadata. For example, these interactions will be later in Figure 5 is described in.
[0158] In an embodiment, the EMS data object may include, for example, at least one of: energy resource equipment; energy storage system (ESS); measurement equipment; software logic state; and operation set point.
[0159] Figure 4 An example view of a high-level SCADA service concept within an EMS system to which various embodiments of the present invention may be applied is presented.
[0160] SCADA (Supervisory Control and Data Acquisition) is a general industrial term for monitoring and controlling interfaces with industrial equipment. EMS system 410 is usually monitored by system operators (e.g., power companies), and they use some type of SCADA solution 420-430 to interact with EMS 410 and other legacy systems, so EMS system 410 needs to communicate using the same language. SCADA usually uses one of several industrial protocols. For the purpose of SCADA, EMS system 410 can support, for example, two protocols: Modbus and DNP3.
[0161] At a high level, SCADA presents a set of control points that can be read to get current system parameters (power, state of charge, temperature, fault status) and written to (start, stop, reset, update set points). Control points are called registers in Modbus and points or objects in DNP3. Each point or register maps to an attribute or method of one of the EMS entities. Such entities can include, but are not limited to, ESS status information 411, meters 412 or PCS 413, service status or operational set points, etc.
[0162] Both DNP3 SCADA and Modbus SCADA are implemented as EMS SCADA services 414 and rely on a configuration file 415 to establish the mapping between SCADA points and EMS attributes. The configuration file 415 describes a point map, which is a specification that specifies which points a particular EMS system 410 should make available to the operator's SCADA 420, 430.
[0163] To bind SCADA points to EMS attributes, SCADA services 414 rely on the Object Access Framework (OAF) (in Figure 2 220), and OAF in turn relies on EMS annotations (in Figure 2 410 ), which EMS annotations, for example, indicate which methods and properties are part of the public API and provide metadata (e.g., units of measurement, human-readable descriptions). The point configuration file 415 can be provided in a text-based markup language (e.g., XML) and parsed using the EMS 410 core configuration support.
[0164] It is important to note that unless a method or property is marked with an annotation such as "EMS Property" or "EMS Command", it cannot be bound to, and is effectively invisible to, most external interfaces. Annotations are the primary source of metadata, and the point configuration files 415 provide protocol-specific details and modify annotation properties such as scale and units (e.g., a customer may want to present system power in kilowatts rather than watts). The SCADA service 414 creates bindings for each point, combining data from the OAF and the protocol-specific details provided by the point configuration files 415. Bindings may also contain protocol-specific properties.
[0165] Figure 5 A schematic diagram of a layer model 500 is presented to which various embodiments of the present invention may be applied.
[0166] Architecturally, DNP3 and Modbus SCADA services are very similar. Once the point configuration files provided (such as Figure 4 The SCADA service 505 is started by configuring the SCADA server 505 in the configuration 415 in the SCADA server, which listens and responds on the specified port. The protocol-specific library 510 handles packet-level encoding and decoding and forwards read and write requests to the user layer 520 ( Figure 5 The user layer 520 looks up which binding corresponds to the point addressed by the request and reads or sets the value.
[0167] The protocol library 510 layer handles line-level protocol communications, including addressing, packet encoding and decoding, and error detection. It hides these underlying details from other layers of the system. The protocol library 510 calls several well-defined methods in the peer bridge layer 520 in response to incoming read and write requests.
[0168] The point bridge layer 520 receives requests from the protocol library layer 510 and interprets them as method calls for the EMS object model (devices and services within the EMS system). The point bridge layer 520 implements higher-level protocol logic and semantic conversions between the SCADA protocol data format and command types and the EMS model used.
[0169] The SCADA binding layer 530 defines the following bindings, that is, the bindings are protocol-specific extensions of the object access framework OAF bindings and carry the properties required for the specific features of the SCADA protocol. These include point addresses, protocol data types, scale factors, and unit conversion specifications. If necessary, they also allow overwriting of standard OAF properties.
[0170] The OAF layer 540 provides bindings and stores metadata. A binding is an object that represents an individual element of an EMS API (an object, its attributes, and commands). A binding stores metadata (data type, human-readable description, value range, etc.) and facilitates access and lookup.
[0171] The EMS service layer 550 provides EMS system services (e.g. Figure 4 PCS, ESS and instruments shown).
[0172] In the dot configuration file (for example, Figure 2 There are many protocol-specific details in the configuration file 210 in , but conceptually they are similar. Figure 2 ) is understood as Figure 5 The following is an example of a simple but complete configuration file for a DNP3 and Modbus SCADA interface. As an example, SCADA points are illustrated in bold and EMS attributes are illustrated in underline.
[0173] DNP3 Example:
[0174] <DNP3>
[0175] <Points>
[0176] <AnalogInput name=″ESS Real Power B1_UGMW_GEN7″
[0177] binding=″ SiteEss.getRealPower ″dnp3type=″G30V5″index=″0″
[0178] unit=″kW″scale=″0.1″eventClass=″1″deadband=″0.01″ / >
[0179] <AnalogInput name=″ESS ReactivePower B1_UGMV_GEN7″
[0180] binding=″SiteEss.getReactivePower″dnp3type=″G30V5″
[0181] index=″l″unit=″kVAr″scale=″0.1″eventClass=″1″deadband=″0.01″ / >
[0182] <AnalogOutput name=″ESS Real Power SetPoint″
[0183] binding=″SiteEss.commandReal PowerSignal″index=″0″unit=″kW″ / >
[0184] <BinaryInput name=″ESS Running Bl_UCON_GENX″
[0185] binding=″SiteEss.isEssRunning″index=″0″eventClass=″1″ / >
[0186] <BinaryInput name=″ESS Remote Power B1_ISO UASW_RIGX″
[0187] binding = "SiteEss.isEssPowerRemotelyControlled"
[0188] index = "5" eventClass = "1" / >
[0189] < / Points>
[0190] < / DNP3>
[0191] Modbus Example:
[0192] <ModbusMap>
[0193] <Registers>
[0194] <!--status-booleans-->
[0195] <Input binding = 'SiteEss.hasCriticalFault' index = '0' unsigned = 'true' / >
[0196] <Input binding = 'SiteEss.isParticipating' index = '1' unsigned = 'true' / >
[0197] <Input binding = 'SiteEss.isLocked' index '2' unsigned = 'true' / >
[0198] <Input binding = 'SiteEss.isRunning' index = '3' unsigned = 'true' / >
[0199] <!--status-analog values-->
[0200] <Input binding = 'SiteEss.realPoeer' index = '4' scale = '0.1' / >
[0201] <Input binding = 'SiteEss.getMaxP' index = '5' scale = '0.1' unsigned = 'true' / >
[0202] <Input binding = 'SiteEss.getAverageSoc' index = '6' scale = '10'
[0203] unsigned = 'trus' / >
[0204] <Input binding=′SiteEss.getDcVoltage′index=′7′scale=′10′
[0205] unsigned = 'true' / >
[0206] <Input binding='SiteEss.getDcPower'index='8'scale='0.1'
[0207] unsigned = 'false' / >
[0208] <Input binding=′SiteEss.getAcChargePowerLimit′index=′9′scale=′0.1′
[0209] unsigned = 'true' / >
[0210] <Input binding=′SiteEss.getAcDischargePowerLimit′index=′10′scale=′0.1′
[0211] unsigned = 'true' / >
[0212] <!--control-analog-->
[0213] <Holding binding=′SiteEss.setRealPowerSignal′
[0214] < / Registers>
[0215] < / ModbusMap>
[0216] Figure 6 An example block diagram of a control device (EMS) 120 to which various embodiments of the present invention may be applied is presented. The device 120 may be a user equipment (UE), a user instrument, or a device, such as a remote computer system.
[0217] The overall structure of the device 120 includes a user interface 640, a communication interface 650, a processor 610, and a memory 620 coupled to the processor 610. The device 120 also includes software 630, which is stored in the memory 620 and is operable to be loaded into and executed in the processor 610. The software 630 may include one or more software modules and may be in the form of a computer program product.
[0218] The apparatus 120 may also optionally include a satellite positioning device (GPS) 670 , a capturing device (eg, a sensor device) 660 for capturing local activity data and / or current environment data. The apparatus 120 may also include a user interface controller 680 .
[0219] The processor 610 may be, for example, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a graphics processing unit, or the like. Figure 6 One processor 610 is shown, but the device 120 may include multiple processors.
[0220] The memory 620 may be, for example, a non-volatile memory or a volatile memory, such as a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a random access memory (RAM), a flash memory, a data disk, an optical storage device, a magnetic storage device, a smart card, etc. The device 120 may include a plurality of memories. The memory 620 may be constructed as a part of the device 120, or may be inserted into a slot, a port, etc. of the device 120 by a user. The memory 620 may be used only to store data, or may be constructed as a part of the device for other purposes (e.g., processing data). Proprietary data applications (client control applications) 631, control system data, and environmental data may be stored in the memory 620.
[0221] The user interface controller 680 may include circuitry for receiving input from a user of the device 120, for example via a keyboard, a graphical user interface shown on a display of the user interface 640 of the device 120, speech recognition circuitry, or an auxiliary device (e.g., a headset), and circuitry for providing output to the user, for example via a graphical user interface or a speaker.
[0222] Satellite positioning device 670 is configured to provide location information. Such information may include, for example, location coordinates, speed, direction of movement, time (GPS time), and altitude information.
[0223] The communication interface module 650 implements at least a portion of data transmission. The communication interface module 650 may include, for example, a wireless interface module or a wired interface module. The wireless interface may include, for example, WLAN, Bluetooth, infrared (IR), radio frequency identification (RFID), GSM / GPRS, CDMA, WCDMA, LTE (Long Term Evolution) or 5G radio modules. For example, the wired interface may include, for example, a universal serial bus (USB) or the National Marine Electronics Association (NMEA) 0183 / 2000 standard. The communication interface module 650 may be integrated into the device 120, or into an adapter, a card, etc. that may be inserted into a suitable slot or port of the device 120. The communication interface module 650 may support a radio interface technology or multiple technologies. The device 120 may include multiple communication interface modules 650.
[0224] Those skilled in the art understand that, in addition to Figure 6 In addition to the elements shown, the device 120 may also include other elements, such as a microphone, an additional display, and additional circuits, such as input / output (I / O) circuits, memory chips, application-specific integrated circuits (ASICs), processing circuits for specific purposes (e.g., source encoding / decoding circuits, channel encoding / decoding circuits, encryption / decryption circuits, etc.). Additionally, the device 120 may include a disposable or rechargeable battery (not shown) for supplying power to an external power source when the external power source is not available.
[0225] In an embodiment, the device 120 includes speech recognition devices. Using these devices, for example, predefined phrases can be recognized from speech and translated into control information for the device 120.
[0226] The satellite positioning device 670 and the capture device 660 may be configured to be included in the apparatus 120 or to be connected to the apparatus 120 as separate devices. In the case where the satellite positioning device 670 and the capture device 660 are included in the apparatus 120, they may be connected to the apparatus 120 using an internal bus of the apparatus 120. In the case where the satellite positioning device 670 and the capture device 660 are external devices connected to the apparatus 120, they may be connected to the apparatus 120 using the communication interface 650 of the apparatus 120 or using an internal bus.
[0227] Figure 7 An example block diagram of a server device 130 to which various embodiments of the present invention may be applied is presented.
[0228] The overall structure of the server device 130 includes a processor 710 and a memory 720 coupled to the processor 710. The server device 130 also includes software 730, which is stored in the memory 720 and is operable to be loaded into the processor 710 and executed in the processor 710. The software 730 may include one or more software modules (e.g., a service application 731) and may be in the form of a computer program product.
[0229] The processor 710 may be, for example, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a graphics processing unit, or the like. Figure 7 One processor 710 is shown, but the server device 130 may include multiple processors.
[0230] The memory 720 may be, for example, a non-volatile memory or a volatile memory, such as a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a random access memory (RAM), a flash memory, a data disk, an optical storage device, a magnetic storage device, a smart card, etc. The server device 130 may include a plurality of memories. The memory 720 may be configured as a part of the server device 130, or may be inserted into a slot, a port, etc. of the server device 130 by a user. The memory 720 may be used only to store data, or may be configured as a part of a device for other purposes (e.g., processing data).
[0231] The communication interface module 750 implements at least a portion of the radio transmission. The communication interface module 750 may include, for example, a wireless interface module or a wired interface module. The wireless interface may include, for example, WLAN, Bluetooth, infrared (IR), radio frequency identification (RFID), GSM / GPRS, CDMA, WCDMA, LTE (Long Term Evolution) or 5G radio modules. The communication interface module 750 may be integrated into the server device 130, or into an adapter, card, etc. that may be inserted into a suitable slot or port of the server device 130. The communication interface module 750 may support one radio interface technology or multiple technologies. The server device 130 may use the communication interface 750 to receive captured control system data associated with the environmental data of the device 120 or the subsystem 110.
[0232] An email server process 760 may receive email messages sent from the control device 120 and the remote computer device 160 via the network 150. The server 760 may include a content analyzer module 761 that checks whether the content of the received message meets the conditions set for the new activity data item of the service. The content analyzer module 761 may, for example, check whether the email message contains a valid activity data item to be used. The valid data item received by the email server is then sent to the application server 740, which provides application services related to, for example, user accounts and content management services stored in the user database 770. The content provided by the service system 100 is stored in the content database 780.
[0233] Those skilled in the art understand that, in addition to Figure 7 In addition to the elements shown, the server device 130 may also include other elements, such as a microphone, a display, and additional circuits, such as input / output (I / O) circuits, memory chips, application-specific integrated circuits (ASICs), processing circuits for specific purposes (e.g., source encoding / decoding circuits, channel encoding / decoding circuits, encryption / decryption circuits, etc.).
[0234] Figure 8 An example block diagram of a remote computer device 160 to which various embodiments of the present invention may be applied is presented. The computer device 160 may be a user equipment (UE), a user instrument or device, such as a mobile terminal, a smart phone, a laptop computer, a desktop computer, or other communication device. For example, the computer device 160 may be an RTU for a SCADA interface or a remote device for accessing the EMS device 120, the EMS system devices 141, 142, and the subsystem 115.
[0235] The overall structure of the computer device 160 includes a user interface 840, a communication interface 850, a processor 810, and a memory 820 connected to the processor 810. The computer device 160 also includes software 830, which is stored in the memory 820 and can work to be loaded into the processor 810 and executed in the processor 810. The software 830 may include one or more software modules (e.g., a remote client software application 831) and may be in the form of a computer program product. The computer device 160 may also include a user interface controller 860.
[0236] The processor 810 may be, for example, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a graphics processing unit, or the like. Figure 8 One processor 810 is shown, but the computer device 160 may include multiple processors.
[0237] The memory 820 may be, for example, a non-volatile memory or a volatile memory, such as a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a random access memory (RAM), a flash memory, a data disk, an optical storage device, a magnetic storage device, a smart card, etc. The computer device 160 may include a plurality of memories. The memory 820 may be configured as a part of the computer device 160, or may be inserted into a slot, a port, etc. of the computer device 160 by a user. The memory 820 may be used only to store data, or may be configured as a part of a device for other purposes (e.g., processing data).
[0238] The user interface controller 860 may include circuitry for receiving input from a user of the computer device 160, for example via a keyboard, a graphical user interface shown on a display of the user interface 840 of the computer device 160, speech recognition circuitry, or an auxiliary device (e.g., a headset), and circuitry for providing output to the user, for example via a graphical user interface or a speaker.
[0239] The communication interface module 850 implements at least a portion of the radio transmission. The communication interface module 850 may include, for example, a wireless interface module or a wired interface module. The wireless interface may include, for example, WLAN, Bluetooth, infrared (IR), radio frequency identification (RFID), GSM / GPRS, CDMA, WCDMA, LTE (Long Term Evolution) radio modules or 5G. For example, the wired interface may include, for example, a universal serial bus (USB) or the National Marine Electronics Association (NMEA) 0183 / 2000 standard. The communication interface module 850 may be integrated into the remote computer device 160, or integrated into an adapter, card, etc. in a suitable slot or port that may be inserted into the remote computer device 160. The communication interface module 850 may support a radio interface technology or multiple technologies. The computer device 160 may include multiple communication interface modules 850.
[0240] Those skilled in the art understand that, in addition to Figure 8 In addition to the components shown, the computer device 160 may also include other components, such as a microphone, an additional display, and additional circuits, such as input / output (I / O) circuits, memory chips, application-specific integrated circuits (ASICs), processing circuits for specific purposes (e.g., source encoding / decoding circuits, channel encoding / decoding circuits, encryption / decryption circuits, etc.). Additionally, the computer device 160 may include a disposable or rechargeable battery (not shown) for supplying power to an external power source when the external power source is unavailable.
[0241] Fig. 9A flow chart illustrating the operation according to an example embodiment of the present invention is shown. In step 900, a method for automatically generating a SCADA (supervisory control and data acquisition) slave interface of an energy management system (EMS) at an energy management system (EMS) controller device is started. In step 910, a SCADA configuration file is stored, the configuration file including a point diagram that maps SCADA data points to EMS data objects, wherein the point diagram is configured to define EMS data objects that can be accessed via a SCADA slave interface using SCADA data points. In step 920, EMS data objects encoded in a statically typed programming language are provided, wherein each EMS data object includes entity attributes associated using EMS annotations. In step 930, site configuration information of an energy management system (EMS) is provided. In step 940, EMS data objects with EMS annotations are scanned by an object access framework (OAF), and they are combined with site configuration information to generate an object binding repository (OBR). In step 950, the SCADA configuration file is compiled by the SCADA binding framework to combine the SCADA data point mapping with the object binding repository (OBR) to generate SCADA binding information specific to the communication protocol, which is configured to form a part of the SCADA slave interface of the energy management system (EMS). In step 960, the method ends.
[0242] Without in any way limiting the scope, interpretation, or application of the appended claims, a technical effect of one or more of the example embodiments disclosed herein is an improved system of power plant control.
[0243] A technical effect of one or more example embodiments disclosed herein is improved reliability of a control system.
[0244] Another technical effect of one or more of the example embodiments disclosed herein is improved accuracy of control data.
[0245] Another technical effect of one or more example embodiments disclosed herein is that coding time is saved. The developer does not need to perform any custom coding to create a SCADA server that meets the customer data SCADA data interface requirements. He only needs to create a configuration file according to the data requirements.
[0246] Another technical effect of one or more example embodiments disclosed herein is improved consistency. Other external interfaces (e.g., HMI and Web services) can use the same OAF framework and object binding repository. Therefore, data consistency across all interfaces is provided.
[0247] Another technical effect of one or more example embodiments disclosed herein is increased flexibility. The SCADA interface can be modified by simply changing the SCADA configuration file without changing any code.
[0248] Another technical effect of one or more of the example embodiments disclosed herein is that a wider variety of devices and manufacturers may be used.
[0249] Although various aspects of the invention are set out in the independent claims, further aspects of the invention comprise other combinations of features from the described embodiments and / or the dependent claims with features of the independent claims, not just these combinations explicitly set out in the claims.
[0250] It should also be noted herein that although the above describes example embodiments of the present invention, these descriptions should not be viewed in a limiting sense. Rather, numerous variations and modifications may be made without departing from the scope of the present invention as defined in the appended claims.
Claims
1. A computer-implemented method for automatically generating a Supervisory Control and Data Acquisition (SCADA) slave interface for an Energy Management System (EMS) at an Energy Management System (EMS) controller device, the method comprising the following steps: storing a SCADA configuration file, the SCADA configuration file comprising a point map mapping SCADA data points to EMS data objects, wherein the point map is configured to define the EMS data objects accessible via the SCADA slave interface using the SCADA data points; providing said EMS data objects encoded in a statically typed programming language, wherein each EMS data object includes entity attributes associated using EMS annotations; Providing site configuration information of the energy management system EMS; Scanning the EMS data object with the EMS annotation through the object access framework OAF, and combining the EMS data object with the EMS annotation with the site configuration information to generate an object binding repository OBR; and The SCADA configuration file is compiled by a SCADA binding framework to combine a SCADA data point mapping with the object binding repository OBR to generate communication protocol specific SCADA binding information, which is configured to form a part of the SCADA slave interface for the energy management system EMS.
2. The method according to claim 1, further comprising the steps of: At the SCADA slave interface, receiving a data request from a SCADA client; Determine the SCADA protocol of the data request through the EMS SCADA protocol library layer; generating a service call to a peer bridging layer in response to the determined SCADA protocol; as well as The service call is converted into an EMS data object call for the SCADA binding layer.
3. The method according to claim 2, further comprising the steps of: The EMS data object call is connected, through the SCADA binding layer, to at least one method call made to an executable EMS data object coded in a statically typed programming language.
4. The method according to claim 3, wherein: The executable EMS data object calls are connected to the EMS object layer via the object access framework OAF layer.
5. The method according to any one of claims 2 to 4, wherein: The EMS data object calls at least one EMS device or EMS service connected to the EMS object layer.
6. The method according to claim 4, wherein: The Object Access Framework (OAF) layer is configured to provide binding and metadata.
7. The method according to any one of claims 1 to 4, wherein: The EMS data object includes at least one of the following: Energy resource equipment; Energy storage system ESS; Measuring equipment; Software logic status; and Operating set point.
8. The method according to any one of claims 1 to 4, wherein: The SCADA data point includes at least one of the following received information: Equipment status data; The state of charge SOC of the energy storage system; Measurement readings; Active power or reactive power status information; Temperature information; and Fault status information.
9. The method according to any one of claims 1 to 4, wherein: The SCADA data point includes at least one of the following transmitted information: Start command; Stop command; Reset command; and Update setpoint command.
10. The method according to any one of claims 1 to 4, wherein: The SCADA slave interface is configured to operate using at least one of the following protocols: DNP3; and Modbus.
11. The method according to claim 10, wherein: The SCADA data points are configured to include: Registers in Modbus; or In DNP3, a point or object.
12. The method according to any one of claims 1 to 4, wherein: The EMS note includes at least one of the following: an indication of which EMS data objects are part of the public API; and Metadata.
13. The method according to claim 12, wherein: The metadata includes at least one of the following: The units of measurement; and A human-readable description.
14. The method according to any one of claims 1 to 4, wherein: The SCADA configuration file includes at least one of the following protocol information: The type of data used; Encoded information; and Point locations and mappings of said point locations to physical EMS device properties.
15. The method according to any one of claims 1 to 4, wherein: The SCADA slave interface for an energy management system EMS comprises at least one of the following: a first slave interface for a remote terminal unit RTU, for controlling the EMS; and Second slave interface for local access, for status monitoring and support.
16. The method according to claim 15, wherein: At the energy management system EMS controller device, a HTTPS Web-based human-machine interface is configured to remotely control the energy management system EMS using a Web browser.
17. A controller device for an energy management system (EMS) for automatically generating a SCADA slave interface, the controller device comprising: a communication interface configured to send and receive information with a SCADA client and an EMS data object; at least one processor; as well as at least one memory, the at least one memory comprising computer program code; The at least one memory and the computer program code are configured to, together with the at least one processor, cause the apparatus to perform the following steps: storing a SCADA configuration file, the configuration file comprising a point diagram that maps SCADA data points to EMS data objects, wherein the point diagram is configured to define the EMS data objects that can be accessed via the SCADA slave interface using the SCADA data points; providing said EMS data objects encoded in a statically typed programming language, wherein each EMS data object includes entity attributes associated using EMS annotations; Providing site configuration information of the energy management system EMS; Scanning the EMS data object with the EMS annotation through the object access framework OAF, and combining the EMS data object with the EMS annotation with the site configuration information to generate an object binding repository OBR; and The SCADA configuration file is compiled by a SCADA binding framework to combine a SCADA data point mapping with the object binding repository OBR to generate SCADA binding information, which is configured to form a part of the SCADA slave interface for the energy management system EMS.
18. A computer-readable non-transitory medium having a computer program stored thereon, the computer program comprising computer-executable program code, the computer-executable program code, when executed by at least one processor of a device, causing the device to perform the following steps: storing a SCADA configuration file, the configuration file comprising a point diagram that maps SCADA data points to EMS data objects, wherein: The point map is configured to define the EMS data objects accessible via the SCADA slave interface using the SCADA data points; providing said EMS data objects encoded in a statically typed programming language, wherein each EMS data object includes entity attributes associated using EMS annotations; Provide site configuration information for the energy management system EMS; Scanning the EMS data object with the EMS annotation through the object access framework OAF, and combining the EMS data object with the EMS annotation with the site configuration information to generate an object binding repository OBR; and The SCADA configuration file is compiled by a SCADA binding framework to combine a SCADA data point mapping with the object binding repository OBR to generate SCADA binding information, which is configured to form a part of the SCADA slave interface for the energy management system EMS.
