System test simulation system of energy storage EMS

By using software-defined virtual device simulation and real-time monitoring mechanisms, the problem of insufficient hardware environment in energy storage EMS system testing was solved, enabling efficient and accurate system-level testing, improving the comprehensiveness and reliability of testing, and ensuring the safe and stable operation of energy storage power stations.

CN122065518APending Publication Date: 2026-05-19CLOUDNINE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CLOUDNINE INFORMATION TECH CO LTD
Filing Date
2025-12-26
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Existing testing methods for energy storage EMS systems are insufficient for thorough system-level functional testing in the absence of a complete hardware environment. They cannot effectively simulate the real-time data and operating status of critical equipment, nor can they easily achieve synchronous monitoring and feedback of control commands issued by the EMS. This may result in hidden defects in the control algorithm and communication logic, posing safety hazards to the actual operation of energy storage power stations.

Method used

The system employs a software-defined virtual device module and a real-time monitoring mechanism for PCS charging and discharging write operations. It achieves diverse protocol parsing and abstract data point mapping through a protocol adaptation and parsing module, and captures control commands in real time through an instruction monitoring and capture module. The core simulation module simulates the dynamic response of the PCS, BMS, and meter, while the operating condition and fault simulation module simulates battery characteristics, thus realizing system-level testing.

Benefits of technology

It enables efficient and accurate simulation of the dynamic response of underlying devices in energy storage systems in pure software or semi-physical simulation environments, reducing testing costs, shortening testing cycles, improving testing efficiency, enhancing the comprehensiveness and reliability of testing, and ensuring the accuracy of functional and performance testing of EMS systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122065518A_ABST
    Figure CN122065518A_ABST
Patent Text Reader

Abstract

The invention discloses a system test simulation system for an energy storage EMS, and the system comprises a protocol adaptation and analysis module which is used for analyzing a plurality of protocols, building a unified abstract data point mapping model, and achieving software definition virtualization irrelevant to a communication protocol of the EMS; the instruction monitoring and capturing module is in communication connection with the EMS and is used for capturing a write-in control instruction sent by the EMS to the PCS simulation module in real time; the core simulation module receives a captured EMS instruction to update power output, calculates and updates battery SOC and single voltage and current according to PCS power / current data, and updates metering data according to PCS alternating current side data; and the working condition and fault simulation module simulates battery characteristics and allows a user to preset or intervene in key parameters and operation logic in real time through an interface. According to the invention, virtualization irrelevant to a communication protocol can be realized, real-time instruction capture and simulation are supported, battery characteristics and parameter intervention are simulated, an efficient and flexible environment is provided for an energy storage EMS test, and the test efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of energy storage system testing technology, and more specifically to a system testing simulation system for energy storage EMS. Background Technology

[0002] With the transformation of the global energy structure and the development of smart grids, energy storage systems (ESS) are increasingly widely used in power systems. An energy storage system typically consists of a battery management system (BMS), a power converter (PCS), electricity metering equipment (meters), and an energy management system (EMS). Among these, the energy storage EMS system serves as the core control hub, responsible for making decisions, scheduling, and controlling the charging and discharging behavior of the PCS, and for collecting and monitoring the operating status of the entire energy storage power station in real time. Therefore, comprehensive and reliable testing of the EMS system's functions and performance is a crucial step in ensuring the safe and stable operation of the energy storage power station. Current testing methods for energy storage EMS systems, especially when lacking a complete hardware environment, make it difficult to conduct thorough system-level functional testing. They cannot effectively simulate the real-time data and operating status of key equipment (BMS, PCS, meters), and cannot easily achieve synchronous monitoring and feedback of control commands issued by the EMS (PCS charging and discharging write operations). This may lead to hidden defects in the EMS's control algorithms and communication logic, posing safety hazards to the actual operation of energy storage power stations. Summary of the Invention

[0003] To address the shortcomings of existing technologies, the present invention aims to provide a test simulation system for energy storage EMS systems. By introducing a software-defined virtual device simulation module and a real-time monitoring mechanism for PCS charging, discharging, and writing actions, the present invention can efficiently and accurately simulate the dynamic response of underlying devices in energy storage systems within a pure software or semi-physical simulation environment, thereby achieving comprehensive, low-cost, and highly efficient system testing of the functions and performance of EMS systems.

[0004] To achieve the above objectives, the present invention provides the following technical solution, including: The protocol adaptation and parsing module is used to parse diverse protocols and establish a unified abstract data point mapping model, realizing software-defined virtualization independent of the communication protocol of the EMS system, laying the foundation for normal interaction between the software simulation module and EMS. The instruction listening and capture module communicates with the EMS system and is used to capture in real time the control write instructions sent by the EMS system to the PCS simulation module through the communication network. The core simulation module is used for simulation and communicates with the command listening and capture module to receive captured EMS write commands and update the power output according to the write commands. It receives power / current data from the PCS, calculates and updates the battery's SOC, single cell voltage and current in real time, and updates the metering data based on the AC side simulation data of the PCS. The operating condition and fault simulation module is used to simulate battery characteristics, allowing users to preset or intervene in key simulation parameters and operating logic in real time through a software interface.

[0005] As a further improvement of the present invention, the protocol adaptation and parsing module includes: The input layer is used to receive protocol files in JSON and Excel formats and system topology configuration files; The configuration management module includes a JSON parser, a configuration validator, a path parser, a vendor identifier, an Excel parser, and a protocol matcher. The JSON parser parses JSON protocol files, the Excel parser parses Excel protocol files, the configuration validator verifies the integrity and validity of the configuration file and outputs configuration error messages when verification fails, the path parser parses file paths, the vendor identifier identifies the manufacturer to which the device belongs based on the vendor identifier and register address rules in the protocol file, and the protocol matcher matches the protocol template. The protocol adaptation module includes a protocol identifier, a protocol adapter, and a data converter. The protocol identifier identifies the protocol type and outputs a protocol error message when an unknown protocol is identified. The protocol adapter provides dedicated communication adaptation logic for different protocol types, converting protocol commands issued by EMS into signals that can be recognized internally by the system. It also converts the status data of the analog module into a protocol format that EMS can receive. The data converter converts and processes the byte order of data from different devices, making the data units standardized and the format unified. The data modeling module includes a data point builder, an attribute assigner, a relation builder, and a model validator. The data point builder constructs a standard data point model, the attribute assigner assigns basic and protocol attributes to the constructed standard data point model, the relation builder establishes the logical relationships between data points in the standard data point model, the model validator validates the standard data point model using validation rules, and optimizes the model using a model optimizer after successful validation; if validation fails, it outputs model error information. The output layer includes a storage adapter for storing the optimized standard data point model.

[0006] As a further improvement of the present invention, the protocol adapter includes a CAN adapter, a Modbus adapter, and a universal adapter to provide dedicated communication adaptation logic for the CAN protocol, the Modbus protocol, and the universal protocol.

[0007] As a further improvement of the present invention, the specific process of normal interaction between the protocol adaptation and parsing module and EMS is as follows: Step 1: Receive the Excel protocol file and the device configuration JSON. Use the protocol parser to parse the Excel protocol file and the device parser to parse the device configuration JSON. Step 2: Input the parsed protocol file into the protocol template library, extract the JSON protocol using the TPL_ID extractor, and then match it using the template matcher. If the match is successful, the existing template is reused; if the match fails, a new template is created. Then, the device and the template are bound together. Step 3: Input the bound device and template into the adapter factory, and perform adaptation through the Modbus adapter and CAN adapter. After the adaptation is completed, input the device instance generator, and generate the device instance and protocol relationship table through the device instance generator.

[0008] As a further improvement of the present invention, the specific method by which the command monitoring and capture module captures the control write commands sent by the energy storage EMS system to the PCS simulation module through the communication network is as follows: The PCS node receives commands from the EMS system, then parses the commands into charging control, discharging control, power-off control, and power configuration, and then inputs them into the state machine management. After that, a physical module is established, and then the physical model is simulated through registers. Then, on the one hand, realization processing is performed to establish communication interfaces for various communication protocol types, and on the other hand, a monitoring system is built to realize alarms and log recording. Configuration management is performed during state machine management, physical module and register simulation.

[0009] As a further improvement to the present invention, the specific method of simulation by the core simulation module is as follows: The system receives commands from the EMS system and simulates the PCS controller, PCS state machine, and PCS physical model through the PCS simulation module to update power output according to the commands from the EMS system. It also simulates the BMS controller and BMS state machine through the BMS simulation module to receive power / current data from the PCS and calculate and update the battery's SOC, cell voltage, current, battery temperature, and health status in real time. The meter simulation module receives power / current data from the PCS and automatically classifies and counts electricity consumption according to the electricity pricing strategy. During off-peak hours, it prioritizes charging and accumulates the electricity consumption to the off-peak level; during peak hours, it prioritizes discharging and accumulates the electricity consumption to the peak level; and it flexibly adjusts the data during normal periods. Simultaneously, the meter's basic data, including A / B / C phase voltage, current, and frequency harmonics, is updated synchronously with the PCS operating status.

[0010] As a further improvement to the present invention, the specific method by which the operating condition and fault simulation module simulates battery characteristics is as follows: The PCS data, environmental data, and parsed JSON configuration are input into the BMS core. The BMS core calculates battery cycle degradation, temperature degradation, and time degradation to simulate battery health, and performs SOC calculation to simulate voltage.

[0011] The beneficial effects of this invention are as follows: The protocol adaptation and parsing module enables the parsing of diverse protocols and the unified abstract data point mapping, breaking communication protocol limitations and achieving software-defined virtualization, allowing interaction with the EMS system without relying on specific hardware; the command monitoring and capture module captures control commands in real time, ensuring the accuracy of command feedback during testing; the core simulation module simulates the dynamic responses of the PCS, BMS, and meter, updating battery status and metering data in real time to reproduce realistic operating scenarios; the operating condition and fault simulation module simulates battery characteristics and fault states, improving the comprehensiveness of testing. The advanced nature of this invention lies in its use of communication protocol-independent virtualization technology, supporting multi-device and multi-protocol simulation testing, solving problems such as the inability to perform system-level testing and obtain real-time command feedback when lacking hardware environments, reducing testing costs, shortening testing cycles, and improving testing efficiency. Furthermore, the subdivided structure of the protocol adaptation module improves protocol compatibility, multiple protocol adapters expand the scope of application, standardized interaction processes ensure adaptation reliability, a complete command capture process improves processing accuracy, the subdivided simulation of the core simulation module improves data authenticity, and the battery characteristic simulation of the operating condition module enhances test realism. Attached Figure Description

[0012] Figure 1 This is a flowchart illustrating the protocol adaptation and parsing module of the present invention. Figure 2 This is a flowchart illustrating the normal interaction between the protocol adaptation and parsing module of this invention and EMS. Figure 3This is a flowchart of the instruction monitoring and capture module of the present invention; Figure 4 This is a flowchart illustrating the simulation process of the core simulation module of this invention; Figure 5 This is a flowchart for simulating battery characteristics in the operating condition and fault simulation module. Detailed Implementation

[0013] The present invention will now be described in further detail with reference to the embodiments shown in the accompanying drawings.

[0014] Reference Figure 1 As shown, the system test simulation system for the energy storage EMS in this embodiment includes: The protocol adaptation and parsing module is used to parse diverse protocols and establish a unified abstract data point mapping model, realizing software-defined virtualization independent of the communication protocol of the EMS system, laying the foundation for normal interaction between the software simulation module and EMS. The instruction listening and capture module communicates with the EMS system and is used to capture in real time the control write instructions sent by the EMS system to the PCS simulation module through the communication network. The core simulation module is used for simulation and communicates with the command listening and capture module to receive captured EMS write commands and update the power output according to the write commands. It receives power / current data from the PCS, calculates and updates the battery's SOC, single cell voltage and current in real time, and updates the metering data based on the AC side simulation data of the PCS. The operating condition and fault simulation module simulates battery characteristics, allowing users to preset or intervene in key simulation parameters and operational logic in real time via a software interface. The protocol adaptation module first parses the EMS protocol to establish a unified model, the command monitoring module captures control commands, the core simulation module simulates the device state based on the commands, and the operating condition module simulates battery characteristics and faults. This process solves the problem of not being able to test the EMS system when lacking a hardware environment. It achieves system-level testing through software simulation, ensures accurate feedback through real-time command monitoring, improves test reliability through dynamic simulation, reduces testing costs and time, and achieves highly efficient system testing.

[0015] Reference Figure 1 As shown, as a further improvement of the present invention, the protocol adaptation and parsing module includes an input layer, a configuration management module, a protocol adaptation module, a data modeling module, and an output layer. The input layer receives the protocol and topology configuration files; the configuration management module verifies the parsed files; the protocol adaptation module converts the protocol format; the data modeling module constructs a unified data model; and the output layer stores the model. This improvement enhances the flexibility and compatibility of protocol adaptation, ensuring that protocols from different manufacturers' devices can be parsed, and assisting the core module in achieving a communication protocol-independent testing environment.

[0016] Reference Figure 1 As shown, as a further improvement of the present invention, the protocol adapter includes a CAN adapter, a Modbus adapter, and a universal adapter. Dedicated adaptation logic is provided for different protocol types to convert EMS commands and simulated data formats. This improvement expands the system's applicability and supports simulation testing of mainstream industrial protocols.

[0017] Reference Figure 2 As shown, as a further improvement of the present invention, the normal interaction process between the protocol adaptation and parsing module and EMS includes receiving configuration, matching protocol templates, and generating device instances. The module receives and parses the protocol file, matches existing templates or creates new templates, and generates adapted device instances. This improvement standardizes the protocol adaptation process and enhances adaptation efficiency and reliability.

[0018] Reference Figure 3 As shown, as a further improvement of the present invention, the instruction monitoring and capture module specifically includes receiving instructions, parsing instructions, managing state machines, physical simulation, and monitoring and recording. Instructions are received through PCS nodes, the instruction type is parsed, instruction execution is managed through a state machine, physical device responses are simulated, and the instruction processing is monitored and recorded simultaneously. This improvement ensures the real-time performance and accuracy of instruction capture, assisting the core module in achieving dynamic simulation.

[0019] Reference Figure 4 As shown, as a further improvement of the present invention, the core simulation module specifically includes PCS simulation, BMS simulation, and meter simulation. Power output is updated according to EMS instructions, battery status is calculated in real time, power consumption is categorized and statistically analyzed, and meter data is synchronized. This improvement enhances the realism and accuracy of the simulation data, restoring the actual operating state of the energy storage system.

[0020] Reference Figure 5 As shown, as a further improvement of the present invention, the specific method of the operating condition and fault simulation module includes inputting data, calculating battery degradation, and simulating voltage. It receives PCS and environmental data, calculates battery health, and simulates battery voltage changes. This improvement enhances the comprehensiveness of the test and supports EMS system testing under fault scenarios.

[0021] In summary, this invention provides a test simulation system for energy storage EMS systems that includes modules such as protocol adaptation and parsing, command monitoring and capture, core simulation, and operating condition simulation. It utilizes communication protocol-independent virtualization technology to achieve multi-device, multi-protocol simulation testing, real-time monitoring of control commands, and simulation of device dynamic responses. This solves the problems of insufficient hardware environment for comprehensive EMS system testing and inability to obtain real-time command feedback, achieving low-cost, high-efficiency, and comprehensive system testing. It improves the reliability and security of energy storage EMS system testing, providing a guarantee for the stable operation of energy storage systems.

[0022] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A system test simulation system for energy storage EMS, characterized in that: include: The protocol adaptation and parsing module is used to parse diverse protocols and establish a unified abstract data point mapping model, realizing software-defined virtualization independent of the communication protocol of the EMS system, laying the foundation for normal interaction between the software simulation module and EMS. The instruction listening and capture module communicates with the EMS system and is used to capture in real time the control write instructions sent by the EMS system to the PCS simulation module through the communication network. The core simulation module is used for simulation and communicates with the command listening and capture module to receive captured EMS write commands and update the power output according to the write commands. It receives power / current data from the PCS, calculates and updates the battery's SOC, single cell voltage and current in real time, and updates the metering data based on the AC side simulation data of the PCS. The operating condition and fault simulation module is used to simulate battery characteristics, allowing users to preset or intervene in key simulation parameters and operating logic in real time through a software interface.

2. The system test simulation system for energy storage EMS according to claim 1, characterized in that: The protocol adaptation and parsing module includes: The input layer is used to receive protocol files in JSON and Excel formats and system topology configuration files; The configuration management module includes a JSON parser, a configuration validator, a path parser, a vendor identifier, an Excel parser, and a protocol matcher. The JSON parser parses JSON protocol files, the Excel parser parses Excel protocol files, the configuration validator verifies the integrity and validity of the configuration file and outputs configuration error messages when verification fails, the path parser parses file paths, the vendor identifier identifies the manufacturer to which the device belongs based on the vendor identifier and register address rules in the protocol file, and the protocol matcher matches the protocol template. The protocol adaptation module includes a protocol identifier, a protocol adapter, and a data converter. The protocol identifier identifies the protocol type and outputs a protocol error message when an unknown protocol is identified. The protocol adapter provides dedicated communication adaptation logic for different protocol types, converting protocol commands issued by EMS into signals that can be recognized internally by the system. It also converts the status data of the analog module into a protocol format that EMS can receive. The data converter converts and processes the byte order of data from different devices, making the data units standardized and the format unified. The data modeling module includes a data point builder, an attribute assigner, a relation builder, and a model validator. The data point builder constructs a standard data point model, the attribute assigner assigns basic and protocol attributes to the constructed standard data point model, the relation builder establishes the logical relationships between data points in the standard data point model, the model validator validates the standard data point model using validation rules, and optimizes the model using a model optimizer after successful validation; if validation fails, it outputs model error information. The output layer includes a storage adapter for storing the optimized standard data point model.

3. The system test simulation system for energy storage EMS according to claim 2, characterized in that: The protocol adapters include a CAN adapter, a Modbus adapter, and a universal adapter, providing dedicated communication adaptation logic for the CAN protocol, Modbus protocol, and universal protocol.

4. The system test simulation system for energy storage EMS according to claim 3, characterized in that: The specific process of normal interaction between the protocol adaptation and parsing module and EMS is as follows: Step 1: Receive the Excel protocol file and the device configuration JSON. Use the protocol parser to parse the Excel protocol file and the device parser to parse the device configuration JSON. Step 2: Input the parsed protocol file into the protocol template library, extract the JSON protocol using the TPL_ID extractor, and then match it using the template matcher. If the match is successful, the existing template is reused; if the match fails, a new template is created. Then, the device and the template are bound together. Step 3: Input the bound device and template into the adapter factory, and perform adaptation through the Modbus adapter and CAN adapter. After the adaptation is completed, input the device instance generator, and generate the device instance and protocol relationship table through the device instance generator.

5. The system test simulation system for energy storage EMS according to any one of claims 1 to 3, characterized in that: The specific method by which the instruction monitoring and capture module captures the control write instructions sent by the energy storage EMS system to the PCS simulation module through the communication network is as follows: The PCS node receives commands from the EMS system, then parses the commands into charging control, discharging control, power-off control, and power configuration, and then inputs them into the state machine management. After that, a physical module is established, and then the physical model is simulated through registers. Then, on the one hand, realization processing is performed to establish communication interfaces for various communication protocol types, and on the other hand, a monitoring system is built to realize alarms and log recording. Configuration management is performed during state machine management, physical module and register simulation.

6. The system test simulation system for energy storage EMS according to any one of claims 1 to 3, characterized in that: The specific simulation method of the core simulation module is as follows: The system receives commands from the EMS system and simulates the PCS controller, PCS state machine, and PCS physical model through the PCS simulation module to update power output according to the commands from the EMS system. It also simulates the BMS controller and BMS state machine through the BMS simulation module to receive power / current data from the PCS and calculate and update the battery's SOC, cell voltage, current, battery temperature, and health status in real time. The meter simulation module receives power / current data from the PCS and automatically classifies and counts electricity consumption according to the electricity pricing strategy. During off-peak hours, it prioritizes charging and accumulates the electricity consumption to the off-peak level; during peak hours, it prioritizes discharging and accumulates the electricity consumption to the peak level; and it flexibly adjusts the data during normal periods. Simultaneously, the meter's basic data, including A / B / C phase voltage, current, and frequency harmonics, is updated synchronously with the PCS operating status.

7. The system test simulation system for energy storage EMS according to any one of claims 1 to 3, characterized in that: The specific method by which the operating condition and fault simulation module simulates battery characteristics is as follows: The PCS data, environmental data, and parsed JSON configuration are input into the BMS core. The BMS core calculates battery cycle degradation, temperature degradation, and time degradation to simulate battery health, and performs SOC calculation to simulate voltage.