CN117707710A - Energy storage project simulation test system and method - Google Patents

Energy storage project simulation test system and method Download PDF

Info

Publication number
CN117707710A
CN117707710A CN202410160691.5A CN202410160691A CN117707710A CN 117707710 A CN117707710 A CN 117707710A CN 202410160691 A CN202410160691 A CN 202410160691A CN 117707710 A CN117707710 A CN 117707710A
Authority
CN
China
Prior art keywords
system controller
virtual equipment
energy storage
simulation
serial interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410160691.5A
Other languages
Chinese (zh)
Inventor
褚强平
仇成丰
王建评
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shuangyili Ningbo Battery Co ltd
Original Assignee
Shuangyili Ningbo Battery Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shuangyili Ningbo Battery Co ltd filed Critical Shuangyili Ningbo Battery Co ltd
Priority to CN202410160691.5A priority Critical patent/CN117707710A/en
Publication of CN117707710A publication Critical patent/CN117707710A/en
Pending legal-status Critical Current

Links

Abstract

The application relates to the technical field of energy storage project testing, and provides an energy storage project simulation testing system and method, wherein the system comprises the following steps: the second system controller is used for sending virtual equipment configuration information of the target virtual equipment to the simulation platform, wherein the simulation platform comprises virtual equipment corresponding to the hardware equipment to be tested, and sending virtual equipment parameter information to the first system controller; the simulation platform is used for configuring the target virtual equipment according to the virtual equipment configuration information, and the first system controller is used for determining interface information under the condition of communicating with the target virtual equipment according to the virtual equipment parameter information; the second system controller is also used for sending project test information to a simulation system consisting of the first system controller and the target virtual equipment; the first system controller is connected with the simulation platform and is used for performing read-write control on the target virtual equipment. The method has the effects of reducing the development cost of the energy storage project and shortening the development period.

Description

Energy storage project simulation test system and method
Technical Field
The application relates to the technical field of energy storage project testing, in particular to an energy storage project simulation testing system and method.
Background
The equipment of the energy storage project comprises various hardware devices such as an inverter (English: power Conversion System, abbreviated as PCS), a battery management system (English: battery Management System, abbreviated as BMS), a battery cell, an air conditioner, a fire protection device, an ammeter and the like, and the number of the various hardware devices is also large.
At present, when the energy storage project is developed, corresponding hardware devices are prepared according to the types of hardware devices and the number of the hardware devices required by the actual energy storage project, then a complete experimental platform is built based on the prepared hardware devices, and corresponding development and testing are performed on the experimental platform.
However, the inventors recognize that, with respect to the related art in the above, the inventors consider that there are drawbacks: the development of the energy storage project requires the preparation of a large amount of hardware equipment, which results in greater development cost and longer development period of the energy storage project.
Disclosure of Invention
One or more embodiments of the present application provide an energy storage project simulation test system and method to solve or at least partially alleviate the problems of the related art that the development cost of the energy storage project is high and the development period is long.
In a first aspect of the present application, an energy storage project simulation test system is provided, and the following technical scheme is adopted:
the energy storage project simulation test system comprises: a first system controller, an analog platform, and a second system controller; the simulation platform comprises virtual equipment corresponding to hardware equipment to be tested in the energy storage project;
the second system controller is respectively connected with the first system controller and the simulation platform; the second system controller is used for sending virtual equipment configuration information of target virtual equipment corresponding to the hardware equipment to be tested to the simulation platform and sending virtual equipment parameter information to the first system controller; the simulation platform is used for configuring information of the target virtual equipment according to the virtual equipment configuration information, and the first system controller is used for determining interface information under the condition of communicating with the target virtual equipment according to the virtual equipment parameter information;
the second system controller is further used for sending project test information to a simulation system formed by the first system controller and the target virtual equipment so as to perform project test;
the first system controller is connected with the simulation platform and is used for performing read-write control on the target virtual equipment.
In one embodiment, the energy storage project simulation test system further comprises: a switch;
the first network port of the first system controller is connected with a second network port corresponding to the target virtual equipment through the switch;
the virtual equipment configuration information comprises connection configuration information of the second network port, and the virtual equipment parameter information comprises connection configuration information of the second network port; the simulation platform is used for configuring the second network port according to the connection configuration information of the second network port, and the first system controller is used for controlling the first network port to establish a communication link with the second network port according to the connection configuration information of the second network port.
In one embodiment, a first serial interface of the first system controller is connected with a second serial interface corresponding to the target virtual device;
the virtual equipment configuration information comprises connection configuration information of the second serial interface, and the virtual equipment parameter information comprises connection configuration information of the first serial interface; the first system controller is used for configuring the first serial interface according to the connection configuration information of the first serial interface, and the simulation platform is used for configuring the second serial interface according to the connection configuration information of the second serial interface, so that the first serial interface and the second serial interface form a communication link capable of communicating.
In one embodiment, the connection configuration information of the second network port is a virtual IP address and a port number corresponding to the target virtual device, and the first system controller is configured to control the first network port to establish a communication link with the second network port through the virtual IP address and the port number.
In one embodiment, the connection configuration information of the first serial interface includes: the interface identifier of the second serial interface, the baud rate of the first serial interface, the parity bit of the first serial interface, the data bit of the first serial interface and the stop bit of the first serial interface;
the connection configuration information of the second serial interface includes: the interface identifier of the first serial interface, the baud rate of the first serial interface, the parity bit of the first serial interface, the data bit of the first serial interface and the stop bit of the first serial interface.
In one embodiment, the second system controller is configured to send, to the simulation platform, a point table corresponding to the target virtual device;
the simulation platform is used for configuring the data storage area corresponding to the target virtual device according to the point table.
In one embodiment, the second system controller is configured to send test data corresponding to the target virtual device to the simulation platform;
the simulation platform is used for receiving test data and running the target virtual equipment according to the test data;
the first system controller is used for receiving real-time data after the target virtual equipment operates.
In one embodiment, the second system controller is configured to send a linkage instruction corresponding to the target virtual device to the simulation platform;
the simulation platform is used for receiving the linkage instruction and simultaneously controlling the target virtual equipment to execute linkage operation according to the linkage instruction;
the first system controller is used for receiving real-time data after the target virtual device executes the linkage instruction.
Compared with the related art, one or more embodiments of the present application include at least one of the following beneficial technical effects: in this embodiment, a simulation platform may be used to simulate virtual devices of different hardware devices to be tested in the energy storage project to be developed, so that when the energy storage project is developed, it is not necessary to prepare a large number of physical hardware devices to be tested, thereby reducing the development cost of the energy storage project and shortening the development period.
In a second aspect of the present application, a method for simulating and testing an energy storage project is provided, where the method is applied to a second system controller of the energy storage project simulation test system according to any one of the embodiments, and the following technical scheme is adopted:
sending virtual equipment configuration information corresponding to the hardware equipment to be tested to the simulation platform, so that the simulation platform configures information of target virtual equipment corresponding to the hardware equipment to be tested according to the virtual equipment configuration information;
transmitting virtual device parameter information to the first system controller, so that the first system controller determines interface information when communicating with the target virtual device according to the virtual device parameter information;
and sending project test information to the simulation platform and the first system controller so that the target virtual equipment and the first system controller in the simulation platform can perform project test according to the project test information.
In a third aspect of the present application, a method for simulating and testing an energy storage project is provided, where the method is applied to a simulation platform of an energy storage project simulation test system according to any one of the embodiments, and the following technical scheme is adopted:
receiving virtual equipment configuration information corresponding to hardware equipment to be tested;
configuring information of a target virtual device corresponding to the hardware device to be tested according to the virtual device configuration information;
receiving project test information;
and running the project test information.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following brief description will be given to the accompanying drawings of the embodiments, and it is apparent that the accompanying drawings in the following description relate only to some embodiments of the present application, not to the limitation of the present application.
Fig. 1 is a schematic structural diagram of an energy storage project simulation test system according to some embodiments of the present application.
Fig. 2 is a schematic diagram of a second structure of an energy storage project simulation test system according to some embodiments of the present application.
FIG. 3 is a flow diagram of a simulation platform according to some embodiments of the present application.
Fig. 4 is a schematic diagram of a simulation platform simulation BMS according to some embodiments of the present application.
Fig. 5 is a flowchart illustrating a method for simulating and testing an energy storage item according to some embodiments of the present application.
Fig. 6 is a second flow chart of a method for simulating and testing an energy storage item according to some embodiments of the present application.
Fig. 7 is a flowchart illustrating a method for simulating and testing an energy storage item according to some embodiments of the present application.
Detailed Description
For the purposes of clarity, technical solutions and advantages of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings showing various embodiments according to the present application, and it should be understood that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden on the person of ordinary skill in the art based on the embodiments described herein, are intended to be within the scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising," "including," "having," "containing," and the like in the description of the present application and in the claims and drawings are used for open ended terms. Thus, a method or apparatus that "comprises," includes, "" has "or" has, for example, one or more steps or elements, but is not limited to having only the one or more elements. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present application, it should be understood that the terms "center," "lateral," "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "axial," "radial," "circumferential," and the like indicate an orientation or positional relationship based on that shown in the drawings, merely for convenience of description and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be configured and operated in a particular orientation, and thus should not be construed as limiting the present application.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "attached" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
As noted above, it should be emphasized that the term "comprises/comprising" when used in this specification is taken to specify the presence of stated features, integers, steps or components but does not preclude the presence or addition of one or more other features, integers, steps, components or groups thereof. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "a" and "an" in this specification may mean one, but may also be consistent with the meaning of "at least one" or "one or more". The term "about" generally means that the value mentioned is plus or minus 10%, or more specifically plus or minus 5%. The term "or" as used in the claims means "and/or" unless explicitly indicated to the contrary, only alternatives are indicated.
The term "and/or" in this application is merely an association relation describing an associated object, and indicates that three relations may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In this application, the character "/" generally indicates that the associated object is an or relationship.
Fig. 1 is a schematic structural diagram of an energy storage project simulation test system according to some embodiments of the present application.
One or more embodiments of the present application disclose an energy storage project simulation test system. Referring to fig. 1, the energy storage item simulation test system includes:
a first system controller, an analog platform, and a second system controller.
The first system controller may be an energy management system (english: energy Management System, abbreviated as EMS) controller.
The simulation platform comprises virtual equipment corresponding to the hardware equipment to be tested in the energy storage project, namely, a plurality of modules are arranged in the simulation platform, each module realizes the function of the hardware equipment in a code form, and thus each module is one virtual equipment or each module is one type of virtual equipment.
By way of example, the simulation platform may take the form of hardware of a host computer, and the application is not limited to a particular hardware form of the simulation platform.
The second system controller is respectively connected with the first system controller and the simulation platform; the second system controller is used for sending virtual equipment configuration information of the target virtual equipment corresponding to the hardware equipment to be tested to the simulation platform and sending virtual equipment parameter information to the first system controller; the simulation platform is used for configuring information of the target virtual equipment according to the virtual equipment configuration information, and the first system controller is used for determining interface information under the condition of communicating with the target virtual equipment according to the virtual equipment parameter information; the second system controller is also used for sending project test information to a simulation system formed by the first system controller and the target virtual equipment so as to carry out project test.
The second system controller may be an upper computer, a server or a computer, which is not limited in the specific hardware form of the second system controller, and the schematic diagram of the present application is illustrated by taking the computer as an example.
For example: the hardware equipment to be tested needed in the energy storage project to be developed at present is a battery management system (English: battery Management System, abbreviated as BMS), then the second system controller determines that the virtual equipment corresponding to the battery management system is a target virtual equipment, the hardware equipment to be tested needed in the energy storage project to be developed at present is an air conditioner, then the second system controller determines that the virtual equipment corresponding to the air conditioner is a target virtual equipment, and of course, when the simulation platform simulates, the simulation platform can simulate not only 1 hardware equipment at a time but also a plurality of identical hardware equipment at the same time, and at the moment, a plurality of target virtual equipment exist, for example: if 5 BMS are simulated at the same time, the virtual devices corresponding to the 5 BMS are target virtual devices, and the simulation platform may also simulate a plurality of different hardware devices, for example: 6 BMSs, 6 air conditioners and 1 fire control controller can be simulated at the same time, and at the moment, virtual equipment corresponding to the 6 BMSs, the 6 air conditioners and the 1 fire control controller is determined to be target virtual equipment.
The simulation platform can support simulation and simulate a plurality of inverters (English: power Conversion System, abbreviated as PCS), a plurality of BMSs, a plurality of air conditioners, a plurality of fire control controllers and a plurality of electric meters, and can greatly facilitate development and debugging work of energy storage projects.
The analog platform and the second system controller can be connected through an interface control.
The first system controller is connected with the simulation platform and is used for performing read-write control on the target virtual equipment.
The functions of the target virtual device simulated by the simulation platform and the hardware device to be tested are the same when the target virtual device is running, so that the first system controller can also perform read-write control required by test with the target virtual device simulated by the simulation platform, for example: the real-time data of the running time can be read from the simulation platform when the test information of the running project of the target virtual equipment in the simulation platform is tested, and the functional data which is required to be simulated by the target virtual equipment in the simulation platform can be written into the simulation platform.
In this embodiment, a simulation platform may be used to simulate virtual devices of different hardware devices to be tested in the energy storage project to be developed, so that when the energy storage project is developed, it is not necessary to prepare a large number of physical hardware devices to be tested, thereby reducing the development cost of the energy storage project and shortening the development period.
In one embodiment, when the target virtual device is a PCS and/or a BMS, because the PCS and the BMS perform information transmission through a network port when performing information interaction with a first system controller (e.g., EMS), the energy storage project simulation test system in the present application further includes: and a switch.
The first network port of the first system controller is connected with a second network port corresponding to the target virtual equipment through the switch;
the virtual equipment configuration information comprises connection configuration information of the second network port, and the virtual equipment parameter information comprises connection configuration information of the second network port; the simulation platform is used for configuring the second network port according to the connection configuration information of the second network port, and the first system controller is used for controlling the first network port to establish a communication link with the second network port according to the connection configuration information of the second network port.
Multiple network ports can be arranged in the hardware of the simulation platform to meet the requirements of the physical interfaces of the simulated virtual equipment.
For example: the hardware of the simulation platform can support 2 network ports, as shown in fig. 2, there are 6 BMS and 6 PCS in the current energy storage project, and the network ports corresponding to the target virtual devices in the simulation platform can be connected with the network ports corresponding to the first system controller through the switch to form a communication link.
In one embodiment, since the number of PCS and BMS simulated by the simulation platform is plural, virtual IP needs to be used for distinguishing, at this time, the connection configuration information of the second network port is a virtual IP address and a port number corresponding to the target virtual device, and the first system controller is configured to control the first network port to establish a communication link with the second network port through the virtual IP address and the port number.
It should be noted that, the target virtual device simulated by the simulation platform and the first system controller may be in communication connection using the Modbus TCP protocol.
For example, the BMS device simulated by the simulation platform sets the ip address field to 192.168.1.199-204, the port number 10001-10006,Modbus Slave id to 1, and the first system controller may access the BMS1 through 192.168.1.199 10001 and perform normal data interaction; the PCS equipment simulated by the simulation platform sets the ip address field as 192.168.1.221-226, the port number as 10011-10016,Modbus Slave id as 1, and the first system controller can access the PCS1 through 192.168.1.221 10011 to perform normal data interaction.
For example, the second portal configuration information of the BMS1 simulated by the simulation platform is:
[bms#1];
ETH0_IP=192.168.1.199;
LOCAL_PORT=10001。
in one embodiment, when the target virtual device is a virtual device corresponding to an air conditioner, a fire controller and an ammeter, because the air conditioner, the fire controller and the ammeter perform information transmission through serial interfaces when performing information interaction with the first system controller, the first serial interface (english: cluster communication port, abbreviated as: COM) of the first system controller is also required to be connected with the second serial interface of the target virtual device.
The virtual equipment configuration information comprises connection configuration information of the second serial interface, and the virtual equipment parameter information comprises connection configuration information of the first serial interface; the first system controller is used for configuring the first serial interface according to the connection configuration information of the first serial interface, and the analog platform is used for configuring the second serial interface according to the connection configuration information of the second serial interface, so that the first serial interface and the second serial interface form a communication link capable of communicating.
Multiple serial interfaces may be provided in the hardware of the simulation platform to meet the physical interface requirements of the simulated virtual device.
For example, if the simulated virtual device includes 6 air conditioners, 1 fire control controller and 2 electric meters, as shown in fig. 2, the 6 air conditioners are connected with one RS485 bus RS485-1, the 1 fire control controller is connected with one RS485 bus RS485-2, and the 2 electric meters are respectively RS485-3 and RS485-4 through independent RS485 connection.
In one embodiment, the connection configuration information of the first serial interface includes: the interface identification of the second serial interface, the baud rate of the first serial interface, the parity bit of the first serial interface, the data bit of the first serial interface and the stop bit of the first serial interface;
the connection configuration information of the second serial interface includes: the interface identification of the first serial interface, the baud rate of the first serial interface, the parity bit of the first serial interface, the data bit of the first serial interface, and the stop bit of the first serial interface.
Continuing with the example of FIG. 2, where the target virtual device simulated by the simulation platform is 6 air conditioners, then the interface identifier of the first serial interface is set for air conditioners 1-6 as: COM1, the baud rate of the first serial interface is 9600, the parity bit of the first serial interface is n, the data bit of the first serial interface is 8, the stop bit of the first serial interface is 1, the corresponding Modbus Slave id is 1-6, and the first system controller can access 6 pieces of air-conditioning data through COM 1; the fire protection, electricity meter 1, electricity meter 2 are similar to the air conditioning arrangement and will not be described in detail here.
For example, the virtual device configuration information of COM1 is:
[com#1];
COM_PORT=COM1;
COM_BAUD=9600;
COM_PARIYT=N;
COM_DATA_BITS=8;
COM_STOP_BITS=1。
in one embodiment, the second system controller is configured to send a point table of the target virtual device to the simulation platform; the simulation platform is used for configuring the target virtual equipment according to the point table.
Because the simulation platform can simulate a plurality of hardware devices, independent data partition processing needs to be performed on different hardware devices, in this embodiment, a point table (mb_mapping) of different data partitions may be set, then different storage areas are bound through the data partition mb_mapping mapping, and a start address and an end address of each storage area of the device, after the simulation platform receives the point table, the data storage areas of the virtual devices corresponding to the simulated hardware devices to be tested may be configured according to the point table.
In one embodiment, the second system controller is configured to send test data corresponding to the target virtual device to the simulation platform; the simulation platform is used for receiving the test data and running the target virtual equipment according to the test data; the first system controller is used for receiving real-time data after the target virtual equipment operates.
When the energy storage project is developed, after the simulation platform simulates virtual equipment of all hardware equipment required by the energy storage project, the whole project is built, at the moment, the second system controller can send test data to each target virtual equipment in the simulation platform, after the simulation platform receives the test data and operates, the first system controller can receive an operation result, whether the currently developed energy storage project meets requirements or not can be determined through the operation result, and if not, corresponding modification is carried out.
The testing herein may include: the modification of the operation data and the fault alarm data are input in an analog mode.
Taking BMS equipment as an example, the data such as total voltage and total current of real BMS hardware equipment are collected and changed in real time, but because the simulation platform in the application is simulated and is virtual equipment, the data on the simulation platform can be changed by means of operation of a second system controller, and therefore, during testing, project test information needs to be input into the virtual equipment through the second system controller, and then the virtual equipment can achieve the same operation purpose as the real hardware equipment after operating the project test information.
In one embodiment, when the target virtual device is a plurality of identical devices, the second system controller is configured to send a linkage instruction corresponding to the target virtual device to the simulation platform; the simulation platform is used for receiving the linkage instruction and simultaneously controlling the target virtual equipment to execute linkage operation according to the linkage instruction; the first system controller is used for receiving real-time data after the analog platform executes the linkage instruction.
After the simulation platform simulates the virtual devices of all hardware devices required by the energy storage project, the multiple virtual devices can be simultaneously controlled to simultaneously execute a certain operation through the linkage instruction, for example: and synchronously controlling each cluster of the BMS to perform high-voltage power-on/power-off operation.
The following describes in detail the flow of the operation of the simulation platform in the present application:
1. and (5) reading a configuration file.
As shown in fig. 3, the simulation platform software reads the virtual device configuration information config. Ini, extracts relevant configuration information therefrom, and initializes the thread parameters of the target virtual device corresponding to the hardware device to be simulated (BMS, PCS, air conditioner, fire controller, electricity meter).
By way of example, the configuration file config. Ini is:
[bms#1];
ETH0_IP=192.168.1.199;
LOCAL_PORT=10001;
[com#1];
COM_PORT=COM1;
COM_BAUD=9600;
COM_PARIYT=N;
COM_DATA_BITS=8;
COM_STOP_BITS=1。
2. simulation platform hardware initialization.
And initializing hardware (network port and COM port) corresponding to each target virtual device in the simulation platform by the simulation platform according to the corresponding parameters in the virtual device configuration information.
3. The simulation platform simulates system information initialization.
When the target virtual equipment is BMS and PCS, because the BMS and PCS to be simulated by the simulation platform are large in quantity and use the same network port, virtual ip technology is needed to be adopted to set virtual ips of the virtual BMS equipment and the virtual PCS equipment, and the first system controller can access different ip addresses through the switch to achieve the effect of the virtual equipment.
4. The data storage area is initialized.
And initializing the data storage area in the simulation platform according to the areas of different virtual devices, and performing independent data partition processing on the different virtual devices.
The method comprises the steps of setting an ID of a virtual device, setting an mbmapping of different data partitions, binding different storage areas through mbmapping mapping of the data partitions, associating the mbmapping with threads of the current simulation device, setting a starting address and an ending address of the modbus storage area, indicating supported instructions, and directly accessing the required data storage area through thread parameters after initialization is completed.
5. And starting each target virtual device thread, wherein each target virtual device is provided with an independent server, waits for the first system controller to access data, and automatically links according to the real-time data.
In FIG. 3, analog PCS thread [1] corresponds to PCS data store [1], analog PCS thread [2] corresponds to PCS data store [2], and so on; the simulated BMS thread [1] corresponds to the BMS data storage area [1], the simulated BMS thread [2] corresponds to the BMS data storage area [2], and so on; the simulated other device thread [1] corresponds to the other data store [1], the simulated other device thread [2] corresponds to the other data store [2], and so on.
The scheme when the simulation platform simulates the BMS device is described in detail below using the BMS as an example, as shown in fig. 4.
BMS equipment has total accuse and cluster accuse architecture design, and the information is summarized to total accuse and cluster accuse detailed information is related to, including monomer temperature voltage, and the data volume is huge, and especially on large-scale energy storage project, the cluster number is up to tens, and corresponding data volume that needs the simulation is huge. Currently, the modbus access points of a single BMS device are limited to 65536, and cannot meet the requirement of total control and cluster control on huge data access. In addition, the modbus point positions of different manufacturers are different in address, and the simulation requirement cannot be met through simple data segmentation, for example, the BMS data total voltage modbus address of the A manufacturer is 0x101 (hexadecimal), the BMS data total voltage address of the B manufacturer is 0x2055 (hexadecimal), the address difference is large, and the simulation requirement cannot be met through simple data segmentation.
The second system controller inputs virtual device configuration information required for simulating the BMS device to the simulation platform through the control of the simulation platform.
According to the method and the device, the data access is distinguished in a mode that different BMS total controls and cluster controls are defined for the modbus slave id, and the problem of data point location coverage is solved. For example: in fig. 4, the slave id of the master control of the analog BMS is 1, the slave id of the analog BCU cluster control is 2-33 (the maximum 32 clusters are supported for the analog, the large energy storage requirement is met), wherein the slave id of the analog BCU cluster control 1 is 2, the slave id of the analog BCU cluster control 2 is 3, and so on. Each slave id maps an independent data point table mb_mapping, has 65536 independent points, and when receiving a slave id request, the BMS simulation device 1 actively switches and accesses the received slave id mb_mapping, processes and responds data with the received slave id, thereby solving the problem that BMS protocols of different manufacturers can simulate access.
And in this application, different virtual BMS1-BMS6 equipment distinguishes through virtual ip and different port numbers, and different independent threads simulate, and every virtual BMS equipment all possesses same simulation method, reaches the effect of simulating a plurality of BMS in simulation platform.
The user can access the modified or imported analog data through the background control, and the first system controller can compare and analyze the read data and the pre-modified or imported data to debug the BMS protocol analysis work. Particularly, fault alarm data are subjected to analog input, such as emergency stop triggering, fire control, BMS hardware faults, 1-3 level alarm items and the like, so that a security policy mechanism of an energy storage item is conveniently debugged.
Meanwhile, the virtual equipment BMS has a data linkage function, and when receiving a one-key grid-connected/off-grid instruction issued by the EMS, the virtual equipment BMS synchronously controls each cluster of the BMS to perform high-voltage power-on/power-off operation, and simulates the effect of a real control instruction. When the current point position data is detected, the charging and discharging states of the BMS are automatically switched, and when the fault point position data is detected, signals such as charge inhibition and discharge inhibition are automatically switched, so that the energy storage project debugging control logic and strategy are greatly facilitated.
Fig. 5 is a flowchart illustrating a method for simulating and testing an energy storage item according to some embodiments of the present application.
One or more embodiments of the present application disclose a database query method. Referring to fig. 5, the method is applied to the second system controller of the energy storage project simulation test system in any one of the above embodiments, and includes the following steps:
step S101, virtual equipment configuration information corresponding to the hardware equipment to be tested is sent to the simulation platform, so that the simulation platform configures information of a target virtual equipment corresponding to the hardware equipment to be tested according to the virtual equipment configuration information.
Step S102, sending the virtual equipment parameter information to the first system controller so that the first system controller determines interface information under the condition of communicating with the target virtual equipment according to the virtual equipment parameter information.
And step S103, project test information is sent to the simulation platform and the first system controller, so that the target virtual equipment in the simulation platform and the first system controller perform project test according to the project test information.
Fig. 6 is a second flow chart of a method for simulating and testing an energy storage item according to some embodiments of the present application.
One or more embodiments of the present application disclose a database query method. Referring to fig. 6, the method is applied to the simulation platform of the energy storage project simulation test system in any one of the above embodiments, and includes the following steps S201 to S204:
step 201, receiving virtual device configuration information corresponding to a hardware device to be tested.
Step S202, information of a target virtual device corresponding to the hardware device to be tested is configured according to the virtual device configuration information.
Step S203, receiving project test information.
Step S204, running project test information.
Fig. 7 is a flowchart illustrating a method for simulating and testing an energy storage item according to some embodiments of the present application.
One or more embodiments of the present application disclose a database query method. Referring to fig. 7, the method is applied to the first system controller of the energy storage project simulation test system in any one of the above embodiments, and includes the following steps:
step S301, receiving virtual device parameter information, where the virtual device parameter information includes interface information when communicating with a target virtual device.
Step S302, interface information under the condition of communicating with the target virtual equipment is determined according to the virtual equipment parameter information.
Step S303, receiving real-time data when the target virtual equipment in the simulation platform runs project test information.
Although the present application is disclosed above, the scope of protection of the present application is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the present application, and such changes and modifications would fall within the scope of the invention.
The foregoing has outlined the basic principles, main features and advantages of the present application. It will be appreciated by persons skilled in the art that the present application is not limited to the embodiments described above, and that the embodiments and descriptions described herein are merely illustrative of the principles of the present application, and that various changes and modifications may be made therein without departing from the spirit and scope of the application, which is defined by the appended claims. The scope of protection of the present application is defined by the appended claims and equivalents thereof.

Claims (10)

1. An energy storage project simulation test system, comprising: a first system controller, an analog platform, and a second system controller; the simulation platform comprises virtual equipment corresponding to hardware equipment to be tested in the energy storage project;
the second system controller is respectively connected with the first system controller and the simulation platform; the second system controller is used for sending virtual equipment configuration information of target virtual equipment corresponding to the hardware equipment to be tested to the simulation platform, and the second system controller is used for sending virtual equipment parameter information to the first system controller; the simulation platform is used for configuring information of the target virtual equipment according to the virtual equipment configuration information, and the first system controller is used for determining interface information under the condition of communicating with the target virtual equipment according to the virtual equipment parameter information;
the second system controller is further used for sending project test information to a simulation system formed by the first system controller and the target virtual equipment so as to perform project test;
the first system controller is connected with the simulation platform and is used for performing read-write control on the target virtual equipment.
2. The energy storage item simulation test system of claim 1, further comprising: a switch;
the first network port of the first system controller is connected with a second network port corresponding to the target virtual equipment through the switch;
the virtual equipment configuration information comprises connection configuration information of the second network port, and the virtual equipment parameter information comprises connection configuration information of the second network port; the simulation platform is used for configuring the second network port according to the connection configuration information of the second network port, and the first system controller is used for controlling the first network port to establish a communication link with the second network port according to the connection configuration information of the second network port.
3. The energy storage item simulation test system of claim 1, wherein a first serial interface of the first system controller is connected with a second serial interface corresponding to the target virtual device;
the virtual equipment configuration information comprises connection configuration information of the second serial interface, and the virtual equipment parameter information comprises connection configuration information of the first serial interface; the first system controller is used for configuring the first serial interface according to the connection configuration information of the first serial interface, and the simulation platform is used for configuring the second serial interface according to the connection configuration information of the second serial interface, so that the first serial interface and the second serial interface form a communication link capable of communicating.
4. The energy storage project simulation test system according to claim 2, wherein the connection configuration information of the second network port is a virtual IP address and a port number corresponding to the target virtual device, and the first system controller is configured to control the first network port to establish a communication link with the second network port through the virtual IP address and the port number.
5. The energy storage item simulation test system of claim 3, wherein the connection configuration information of the first serial interface comprises: the interface identifier of the second serial interface, the baud rate of the first serial interface, the parity bit of the first serial interface, the data bit of the first serial interface and the stop bit of the first serial interface;
the connection configuration information of the second serial interface includes: the interface identifier of the first serial interface, the baud rate of the first serial interface, the parity bit of the first serial interface, the data bit of the first serial interface and the stop bit of the first serial interface.
6. The energy storage project simulation test system according to claim 1, wherein the second system controller is configured to send a point table corresponding to the target virtual device to the simulation platform;
the simulation platform is used for configuring the data storage area corresponding to the target virtual device according to the point table.
7. The energy storage item simulation test system of claim 1, wherein the energy storage item simulation test system comprises a plurality of test modules,
the second system controller is used for sending test data corresponding to the target virtual equipment to the simulation platform;
the simulation platform is used for receiving test data and running the target virtual equipment according to the test data;
the first system controller is used for receiving real-time data after the target virtual equipment operates.
8. The energy storage item simulation test system of claim 1, wherein the energy storage item simulation test system comprises a plurality of test modules,
the second system controller is used for sending linkage instructions corresponding to the target virtual equipment to the simulation platform;
the simulation platform is used for receiving the linkage instruction and simultaneously controlling the target virtual equipment to execute linkage operation according to the linkage instruction;
the first system controller is used for receiving real-time data after the target virtual device executes the linkage instruction.
9. An energy storage project simulation test method, wherein the energy storage project simulation test method is applied to the second system controller of the energy storage project simulation test system as set forth in any one of claims 1 to 8, and the energy storage project simulation test method comprises:
sending virtual equipment configuration information corresponding to a hardware equipment to be tested to a simulation platform, so that the simulation platform configures information of a target virtual equipment corresponding to the hardware equipment to be tested according to the virtual equipment configuration information;
transmitting virtual equipment parameter information to a first system controller, so that the first system controller determines interface information under the condition of communicating with the target virtual equipment according to the virtual equipment parameter information;
and sending project test information to the simulation platform and the first system controller so that the target virtual equipment and the first system controller in the simulation platform can perform project test according to the project test information.
10. An energy storage project simulation test method, which is characterized in that the energy storage project simulation test method is applied to a simulation platform of an energy storage project simulation test system according to any one of claims 1-8, and comprises the following steps:
receiving virtual equipment configuration information corresponding to hardware equipment to be tested;
configuring information of a target virtual device corresponding to the hardware device to be tested according to the virtual device configuration information;
receiving project test information;
and running the project test information.
CN202410160691.5A 2024-02-05 2024-02-05 Energy storage project simulation test system and method Pending CN117707710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410160691.5A CN117707710A (en) 2024-02-05 2024-02-05 Energy storage project simulation test system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410160691.5A CN117707710A (en) 2024-02-05 2024-02-05 Energy storage project simulation test system and method

Publications (1)

Publication Number Publication Date
CN117707710A true CN117707710A (en) 2024-03-15

Family

ID=90161011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410160691.5A Pending CN117707710A (en) 2024-02-05 2024-02-05 Energy storage project simulation test system and method

Country Status (1)

Country Link
CN (1) CN117707710A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153568A (en) * 2016-03-04 2017-09-12 施耐德电气美国股份有限公司 System and method for operating virtual electric power environment
US20180046485A1 (en) * 2016-08-10 2018-02-15 American Megatrends, Inc. Platform simulation for management controller development on virtual machines
CN114755518A (en) * 2022-04-08 2022-07-15 国网湖南省电力有限公司 Test method and test platform for control logic of energy storage system
CN115174373A (en) * 2022-06-30 2022-10-11 山东有人智能科技有限公司 Modbus device point table generation method, device and storage medium
CN115454844A (en) * 2022-09-09 2022-12-09 北京天玛智控科技股份有限公司 Software testing system and method
CN116089304A (en) * 2023-02-20 2023-05-09 双一力(宁波)电池有限公司 Simulation test method and system for energy storage system
CN116266840A (en) * 2021-12-16 2023-06-20 中国石油天然气股份有限公司 Well site data acquisition and transmission method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153568A (en) * 2016-03-04 2017-09-12 施耐德电气美国股份有限公司 System and method for operating virtual electric power environment
US20180046485A1 (en) * 2016-08-10 2018-02-15 American Megatrends, Inc. Platform simulation for management controller development on virtual machines
CN116266840A (en) * 2021-12-16 2023-06-20 中国石油天然气股份有限公司 Well site data acquisition and transmission method
CN114755518A (en) * 2022-04-08 2022-07-15 国网湖南省电力有限公司 Test method and test platform for control logic of energy storage system
CN115174373A (en) * 2022-06-30 2022-10-11 山东有人智能科技有限公司 Modbus device point table generation method, device and storage medium
CN115454844A (en) * 2022-09-09 2022-12-09 北京天玛智控科技股份有限公司 Software testing system and method
CN116089304A (en) * 2023-02-20 2023-05-09 双一力(宁波)电池有限公司 Simulation test method and system for energy storage system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李涛永;张顺丽;张元星;尚伟丽;: "基于虚拟终端的能效监测设备性能测试技术", 电信科学, no. 1, 20 June 2017 (2017-06-20) *

Similar Documents

Publication Publication Date Title
CN110134115B (en) Hardware-in-loop test platform and test method for new energy vehicle power battery management system
CN108919778B (en) electric automobile vehicle control unit testing arrangement
CN105738854A (en) Simulation memory test board system for intelligent ammeter embedded application and test method
CN110165782B (en) High-integration satellite centralized power supply monitoring equipment
CN108663628A (en) A kind of high-tension battery packet Portable multifunctional tester
CN203689120U (en) New energy vehicle battery management system master and slave control board hardware-in-the-loop test system
CN103048984B (en) Multi-channel ARINC(aeronautical radio incorporated) 700 bus monitoring device and realizing method thereof
CN107390128A (en) A kind of fuel cell battery hybrid system energy management test platform and method
CN106066643A (en) The test system and method for Bidirectional charging-discharging machine controller
CN109213132A (en) A kind of method, device and equipment that UDS diagnostic interface software generates
CN105914884B (en) One-to-many intelligent substation process layer virtual secondary equipment and implementation method
CN102842939A (en) Battery management system and battery management method
CN108490279A (en) The test system and method for battery management system
CN110262360A (en) Frequency converter simulator and analogy method
CN207832980U (en) A kind of new energy vehicle power battery pack and battery management engine bench test system
CN109471033A (en) A kind of synthesis working condition measurement system, method and the battery test system of power battery
CN110764036B (en) Intelligent distribution transformer terminal test method and system
CN103166798A (en) Integrated monitoring system for data backup and disaster recovery system and backup and disaster recovery device
CN109031005B (en) Distributed relay protection device testing method and relay protection tester
CN107609210A (en) One kind is used for the emulation of spaceborne information system and verification platform
CN104578419A (en) Transformer substation communication power supply monitoring system and method
CN117707710A (en) Energy storage project simulation test system and method
CN203689146U (en) New energy vehicle battery management system master and slave control board hardware-in-the-loop test system
CN111781882A (en) Virtualization console for wind tunnel test
CN218352516U (en) ModbusRTU test system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination