Energy management system function test method and related equipment
By obtaining and reporting the actual working condition data of the battery, configuring the simulated power station to simulate the actual working condition, the test invalidity problem caused by random data in the existing technology is solved, and effective testing and optimization of the functions of the energy management system are achieved.
Patent Information
- Application Number
- CN202411896290.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-15
AI Technical Summary
In the prior art, random data is used to conduct analytical functional testing of energy management systems, resulting in data cleaning and preprocessing problems, and the curve display cannot be generated, making the test invalid.
By obtaining the actual working condition data of multiple batteries and configuring a simulated power station, the simulated power station communicates with the energy management system to be tested, and reporting the actual working condition data through the simulated power station, the energy management system can process and generate test results.
Effective testing of the functions of the energy management system has been achieved, helping users optimize energy management, improve energy efficiency, and achieve sustainable energy use goals.
Smart Images

Figure CN119828644A_ABST
Abstract
Description
Background Art
[0002] In the energy storage system, the battery system includes battery packs, energy management system (EMS), battery management system (BMS), power conversion system (PCS), and other electrical equipment. During the operation of the energy storage system, the battery analysis module in the energy management system processes and calculates the data reported by the battery management system and displays the analysis results of the data on various analysis pages.
[0003] In the related art, random data is usually used to test the battery analysis module of the energy management system. However, the battery analysis module involves data cleaning and preprocessing, which causes the random data to be identified as abnormal data and cannot generate a curve to be displayed on the page, making the analysis function test of the energy management system invalid. Summary of the invention
[0004] The present disclosure provides an energy management system function test method, apparatus, computer equipment and storage medium, which at least to some extent overcome the problem provided in the related art that the use of random data leads to invalid analysis function test of the energy management system.
[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0006] According to one aspect of the present disclosure, there is provided a method for testing the function of an energy management system, comprising: obtaining actual operating condition data of a plurality of batteries, the actual operating condition data being operating condition data collected according to a preset sampling frequency within a preset time period during the actual operation of the plurality of batteries; configuring a simulated power station, the simulated power station being configured with a plurality of simulated batteries, one simulated battery corresponding to one battery, the simulated power station being communicatively connected with an energy management system to be tested; reporting the actual operating condition data of the plurality of batteries to the energy management system to be tested through the simulated power station according to the preset sampling frequency, so that the energy management system to be tested processes the actual operating condition data of the plurality of batteries to obtain processing results; and obtaining test results of the energy management system to be tested according to the processing results and preset processing results.
[0007] In one embodiment of the present disclosure, the configuration of the simulated power station includes: configuring multiple battery management systems for the simulated power station, and one battery management system corresponds to a test scenario; wherein one battery management system is configured with at least one battery cluster, one battery cluster is configured with at least one battery module, and one battery module is configured with the multiple simulated batteries.
[0008] In one embodiment of the present disclosure, the actual operating condition data of the multiple batteries are reported to the energy management system to be tested according to the preset sampling frequency through the simulated power station, including: reporting the actual operating condition data of the multiple batteries in a key-value pair manner through a preset script program, wherein the key of the reported message is the point table code of the simulated power station, and the value of the reported message is the actual operating condition data of the multiple batteries at each sampling time.
[0009] In one embodiment of the present disclosure, the actual operating condition data includes at least one of the following: battery performance data collected by the battery management system at a preset sampling frequency within a preset time period when the battery management system is tested; battery performance data obtained by experimentally testing the multiple batteries and collecting the data at a preset sampling frequency within a preset time period.
[0010] In one embodiment of the present disclosure, after obtaining the actual operating condition data of the multiple batteries, the method further includes: modifying and marking part of the actual operating condition data of the multiple batteries, wherein the processing results corresponding to the modified part of the operating condition data are inconsistent with the preset processing results.
[0011] In one embodiment of the present disclosure, before configuring the simulated power station, the method further includes: configuring test parameters of the energy management system to be tested, wherein the test parameters include boundary values and an algorithm used by the energy management system to be tested.
[0012] In one embodiment of the present disclosure, the test result of the energy management system to be tested is obtained based on the processing result and the preset processing result, including: if the processing result is inconsistent with the preset processing result, the test result of the energy management system to be tested is determined to be abnormal; based on the difference between the processing result and the preset processing result, a test modification suggestion is generated, and the test parameters are changed based on the test modification suggestion.
[0013] In one embodiment of the present disclosure, the method further includes: if the processing result is consistent with the preset processing result, determining that the test result of the energy management system to be tested is normal.
[0014] In one embodiment of the present disclosure, the preset processing result includes at least one of the following: for actual operating condition data that does not exceed the preset boundary value, it is displayed in the drawing area of the user interface of the energy management system to be tested according to the first preset rule, and there is no alarm information in the alarm area of the user interface; for actual operating condition data that exceeds the preset boundary value, it is displayed in the drawing area according to the second preset rule, and the corresponding alarm information is displayed in the alarm area; for the preset boundary value not displayed in the drawing area, the boundary value is displayed in the alarm area without displaying the alarm information; for the situation where the actual operating condition data is reported cyclically, the drawing area displays the curve of the actual operating condition data after duplication; for the situation where the actual operating condition data is interrupted in reporting, the drawing area displays the corresponding curve according to the third preset rule.
[0015] According to another aspect of the present disclosure, there is provided an energy management system functional testing device, including: a data acquisition module, used to acquire actual operating condition data of multiple batteries, the actual operating condition data being operating condition data collected according to a preset sampling frequency within a preset time period during the actual operation of the multiple batteries; a system configuration module, used to configure a simulated power station, the simulated power station is configured with multiple simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicatively connected with an energy management system to be tested; a data reporting module, used to report the actual operating condition data of the multiple batteries to the energy management system to be tested through the simulated power station according to the preset sampling frequency, so that the energy management system to be tested processes the actual operating condition data of the multiple batteries to obtain processing results; a result determination module, used to obtain the test result of the energy management system to be tested according to the processing result and the preset processing result.
[0016] According to another aspect of the present disclosure, a computer device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-mentioned energy management system function test method by executing the executable instructions.
[0017] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned energy management system function test method is implemented.
[0018] According to another aspect of the present disclosure, a computer program product is provided, including executable instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the executable instructions from the computer-readable storage medium, and the processor executes the executable instructions, so that the computer device executes the above-mentioned energy management system functional testing method.
[0019] In the embodiments of the present disclosure, actual operating data of multiple batteries are obtained, and the actual operating data are operating data collected according to a preset sampling frequency within a preset time period during the actual operation of multiple batteries; a simulated power station is configured, and the simulated power station is configured with multiple simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicatively connected with the energy management system to be tested; the actual operating data of multiple batteries are reported to the energy management system to be tested according to the preset sampling frequency by the simulated power station, so that the energy management system to be tested processes the actual operating data of multiple batteries to obtain processing results; according to the processing results and the preset processing results, the test results of the energy management system to be tested are obtained. The present disclosure can realize effective testing of the functions of the energy management system through the actual operating data of multiple batteries, help users optimize energy management, improve energy efficiency, and achieve sustainable energy use goals.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0022] Figure 1 A schematic structural diagram of an energy storage system provided in an embodiment of the present disclosure is shown.
[0023] Figure 2 A structural schematic diagram of another energy storage system provided in an embodiment of the present disclosure is shown.
[0024] Figure 3 A flow chart of a method for functional testing of an energy management system provided in an embodiment of the present disclosure is shown.
[0025] Figure 4 A flow chart of another energy management system function testing method provided in an embodiment of the present disclosure is shown.
[0026] Figure 5 A flow chart of another energy management system function testing method provided in an embodiment of the present disclosure is shown.
[0027] Figure 6 A flow chart of another energy management system function testing method provided in an embodiment of the present disclosure is shown.
[0028] Figure 7 A schematic diagram showing a user interface of an energy management system provided in an embodiment of the present disclosure.
[0029] Figure 8 A flowchart showing an example of a method for functional testing of an energy management system provided in an embodiment of the present disclosure is shown.
[0030] Fig. 9 A schematic structural diagram of an energy management system function testing device provided in an embodiment of the present disclosure is shown.
[0031] Fig.10 A structural block diagram of a computer device provided in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0032] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0033] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0034] Since the energy people need is highly temporal and spatial, in order to rationally use energy and improve energy utilization, it is necessary to use a medium or device to store one form of energy in the same form or convert it into another form of energy, and then release it in a specific form based on future application needs. At present, the main way to generate green electricity is to develop green energy such as photovoltaics and wind power to replace fossil energy.
[0035] At present, the generation of green electricity generally relies on photovoltaics, wind power, and hydropower, etc. However, wind and solar energy generally have problems of strong intermittency and large volatility, which will cause instability in the power grid, insufficient electricity during peak hours, and too much electricity during valley hours. Unstable voltage will also cause damage to electricity. Therefore, insufficient electricity demand or insufficient grid acceptance capacity may cause the problem of "abandoning wind and solar power". To solve these problems, we must rely on energy storage. That is, converting electrical energy into other forms of energy through physical or chemical means and storing it, and converting energy into electrical energy and releasing it when needed. In simple terms, energy storage is like a large "power bank". When photovoltaic and wind energy are sufficient, electrical energy is stored and the stored electricity is released when needed.
[0036] Taking electrochemical energy storage as an example, the present disclosure provides an energy storage device, which has a group of chemical batteries in it. The chemical elements in the batteries are mainly used as energy storage media. The charging and discharging process is accompanied by chemical reactions or changes in the energy storage media. In simple terms, the electricity generated by wind and solar energy is stored in chemical batteries. When the use of external electricity reaches a peak, the stored electricity is released for use, or transferred to places where electricity is scarce for use.
[0037] At present, energy storage (i.e. energy storage) has a wide range of application scenarios, including energy storage on the power generation side, energy storage on the grid side, and energy storage on the power consumption side. The corresponding types of energy storage devices include:
[0038] (1) Large-scale energy storage power stations applied to wind power and photovoltaic power stations can help renewable energy generation meet grid connection requirements and improve the utilization rate of renewable energy. As a high-quality active / reactive regulating power source on the power supply side, energy storage power stations can achieve load matching of electric energy in time and space, enhance the ability to absorb renewable energy, reduce instantaneous power changes, reduce the impact on the power grid, improve the absorption of new energy generation, and are of great significance in power grid system backup, relieving peak load power supply pressure, and peak and frequency regulation.
[0039] (2) Energy storage containers used on the grid side mainly perform peak load regulation, frequency regulation, and grid congestion relief. They can achieve peak load shaving and valley filling of power loads, that is, charging the energy storage batteries when the power load is low and releasing the stored power during the peak load period, thereby achieving a balance between power production and consumption;
[0040] (3) Small energy storage cabinets used on the power consumption side, mainly for self-generation and self-use of electricity, peak-valley price difference arbitrage, capacity cost management and improving power supply reliability. According to different application scenarios, energy storage on the power consumption side can be divided into industrial and commercial energy storage cabinets, household energy storage devices, energy storage charging piles, etc., which are generally used in conjunction with distributed photovoltaics. Industrial and commercial users can use energy storage for valley-peak price difference arbitrage and capacity cost management. In the power market that implements peak-valley electricity prices, by charging the energy storage system at low electricity prices and discharging the energy storage system at high electricity prices, peak-valley electricity price difference arbitrage is achieved to reduce electricity costs. In addition, industrial enterprises that are subject to two-part electricity prices can use energy storage systems to store energy during low electricity consumption and discharge at peak loads, thereby reducing peak power and the maximum demand reported, and achieving the purpose of reducing capacity electricity charges. Household photovoltaic storage can improve the level of self-generation and self-use of electricity. Due to high electricity prices and poor power supply stability, the demand for household photovoltaic installations has been driven. Considering that photovoltaic power is generated during the day, and users generally have higher loads at night, energy storage can be configured to better utilize photovoltaic power, improve the level of self-generation and self-use, and reduce electricity costs. In addition, communication base stations, data centers and other fields need to configure energy storage for backup power.
[0041] See also Figure 1 , Figure 1 is a schematic diagram of the structure of an energy storage system 100 according to an embodiment of the present disclosure, and Figure 1 The embodiment is described by taking the shared energy storage scenario on the generation / distribution side as an example, but the energy storage system 100 disclosed in the present invention is not limited to the energy storage scenario on the generation / distribution side.
[0042] The present disclosure provides an energy storage system 100, which includes: an energy storage device 110, a high-voltage cable 120, a first electric energy conversion device 130, and a second electric energy conversion device 140. In the case of power generation, the first electric energy conversion device 130 and the second electric energy conversion device 140 are used to convert other forms of energy into electric energy, which is connected to the high-voltage cable 120 and supplied to the power distribution network for use. When the power load is low and the first conversion device 130 and the second electric energy conversion device 140 generate excess power, the excess power is stored in the energy storage device 110, thereby reducing the wind and solar power abandonment rates and improving the problem of new energy power generation and consumption. When the power load is high, the power grid issues an instruction to transmit the power stored in the energy storage device 110 in conjunction with the high-voltage cable 120 in a grid-connected mode to the power consumption side, thereby providing peak load regulation, frequency regulation, standby and other services for the operation of the power grid, giving full play to the peak load regulation of the power grid, promoting peak load reduction and valley filling of the power grid, and alleviating the power supply pressure of the power grid.
[0043] Optionally, the first electric energy conversion device 130 and the second electric energy conversion device 140 can convert at least one of solar energy, light energy, wind energy, thermal energy, tidal energy, biomass energy and mechanical energy into electric energy.
[0044] The number of energy storage devices 110 can be multiple, and multiple energy storage devices 110 are connected in series or in parallel. Multiple energy storage devices 110 are supported and electrically connected by isolation plates (not shown). In this embodiment, "multiple" refers to two or more. An energy storage box can also be provided outside the energy storage device 110 to accommodate the energy storage device 110.
[0045] Optionally, the energy storage device 110 may include but is not limited to a single cell, a battery module, a battery pack, a battery system, etc. The actual application form of the energy storage device 110 provided in the embodiment of the present disclosure may be but is not limited to the listed products, and may also be other application forms. The embodiment of the present disclosure does not strictly limit the application form of the energy storage device 110. The embodiment of the present disclosure only takes the energy storage device 110 as a battery as an example to illustrate. When the energy storage device 110 is a single cell, the energy storage device 110 may be at least one of a cylindrical battery, a square battery, etc.
[0046] Figure 2 FIG. 2 is a schematic diagram showing the structure of another energy storage system provided by an embodiment of the present disclosure. Figure 2 As shown, in one embodiment, the energy storage system 100 includes an energy storage device 110 , a battery management system 220 and an energy management system 210 .
[0047] The energy storage device 110 may include a plurality of battery clusters 111, such as Figure 2 In the figure, the energy storage device 110 includes p battery clusters 111, which are battery clusters 1 to p, p is a positive integer, each battery cluster 111 includes n battery modules 112 connected in series, which are battery modules 1 to n, n is a positive integer, and each battery module 112 includes m battery cells 113 connected in series, which are battery cells 1 to m, m is a positive integer.
[0048] For example, the energy storage device 110 is provided with 10 battery clusters 111 , each battery cluster 111 includes 10 battery modules 112 connected in series, each battery module 112 is composed of 50 battery cells 113 connected in series, that is, the energy storage device 110 is provided with 100 battery modules 112 or 5000 battery cells 113 .
[0049] It should be noted that the number of battery clusters 111, the number of battery modules 112 and the number of battery cells 113 in the energy storage device 110 can be determined according to actual needs, and the number of battery modules 112 in different battery clusters 111 can be the same or different, and the number of battery cells 113 in each battery module 112 can be the same or different, and the present disclosure does not make specific limitations on this.
[0050] The battery management system 220 is electrically connected to the energy storage device 110. Different battery management systems 220 can be set according to the level of the energy storage device 110, and the battery management systems 220 at different levels are connected in communication. For example, the energy storage system includes 1 system battery management system, p cluster-level battery management systems, and p×n module-level battery management systems. The system battery management system is used to manage a corresponding energy storage device 110, the cluster battery management system is used to manage a corresponding battery cluster 111, and the module battery management system is used to manage a corresponding battery module 112. After each module battery management system collects the performance parameters of m battery cells in the corresponding battery module 112, it uploads the performance parameters of the m battery cells to the cluster battery management system. After the cluster battery management system collects the performance parameters of all battery cells in the corresponding n battery modules, it uploads the data to the system battery management system.
[0051] The performance parameters of the energy storage device 110 may include, but are not limited to, the voltage value, current value, temperature value, state of charge (SOC), state of health (SOH), etc. of the battery cell 113 .
[0052] The main functions of the energy management system 210 include real-time monitoring of energy production, storage and consumption, optimizing energy scheduling, integrating distributed energy resources, providing energy reports and analysis, and realizing equipment control and automated management.
[0053] The energy management system 210 can monitor and measure energy data in real time. The energy management system 210 is equipped with sensors and meters to collect energy data such as power, temperature, and load in real time, and provide detailed energy usage statistics and equipment operation status information monitoring.
[0054] The energy management system 210 can collect and analyze data. Through communication protocols such as Modbus, it can collect data from various energy devices and transmit it to the background system for in-depth analysis and optimization decision-making.
[0055] The energy management system 210 can perform energy reporting and alarms, generate reports such as power curves and load trends based on data analysis, provide energy efficiency analysis, and issue alarms when abnormalities or equipment failures occur to help users deal with problems in a timely manner.
[0056] The energy management system 210 can control energy equipment, support remote or automated control of power generation equipment, energy storage systems, and load equipment, and implement energy-saving measures such as optimized scheduling, peak shaving and valley filling, and load balancing.
[0057] The energy management system 210 can also provide a user interface and data visualization, provide a graphical user interface, support real-time monitoring, data display and report generation, and assist users in understanding energy usage and making decisions.
[0058] The energy management system 210 can help users optimize energy management, improve energy efficiency, and achieve sustainable energy use goals by integrating monitoring, data analysis, control, and visualization functions.
[0059] The energy storage system 100 may also include a plurality of other auxiliary energy storage devices whose operating status needs to be monitored, such as Figure 2 The devices 1 to n in the table, where the value of n is determined according to actual needs, may include but are not limited to liquid cooling integrated cabinets, battery management systems (BMS), power conversion systems (PCS), fire fighting equipment, air conditioners, master control meters, etc. The EMU may also collect the performance parameters of the auxiliary energy storage devices, so as to achieve efficient use and conservation of energy by controlling and adjusting various auxiliary energy storage devices and parameters according to the operating status of the auxiliary energy storage devices and the energy-saving requirements of the system.
[0060] The energy storage converter is mainly composed of inverters, transformers, controllers, etc. It converts the electric energy stored in the battery into AC power to supply the power grid or the user's electrical equipment. The main functions of the energy storage converter include converting DC power into AC power, controlling the input or output of electric energy, and ensuring the safety and stability of the energy storage system. The performance of the energy storage converter directly affects the operating efficiency and service life of the energy storage system.
[0061] In related technologies, the data analysis function of the energy management system is implemented based on the battery analysis module, which processes and calculates the performance data of the battery reported by the battery management system, analyzes its consistency, status, short circuit aging and other abnormal conditions, and displays the analysis results on the user interface. However, the battery analysis module involves data cleaning and preprocessing, and uses forged random data, which can easily lead to random data being identified as abnormal data and cleaned up, and it is impossible to generate a curve to be displayed on the user interface, making the test of the data analysis function of energy management invalid.
[0062] In order to solve at least some of the above technical problems, the present invention obtains actual working condition data of multiple batteries, the actual working condition data is the working condition data collected during the actual operation of multiple batteries in a preset time period according to a preset sampling frequency; configures a simulated power station, the simulated power station is configured with a battery management system, the battery management system is configured with multiple simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicated with the energy management system to be tested; the simulated power station reports the actual working condition data of multiple batteries to the energy management system to be tested according to the preset sampling frequency, so that the energy management system to be tested processes the actual working condition data of multiple batteries to obtain processing results; according to the processing results and the preset processing results, the test results of the energy management system to be tested are obtained. The present invention can realize effective testing of the functions of the energy management system through the actual working condition data of multiple batteries, help users optimize energy management, improve energy efficiency, and achieve sustainable energy use goals.
[0063] Under the above system architecture, an embodiment of the present disclosure provides a method for testing the function of an energy management system, which can be executed by any computer device with computing and processing capabilities.
[0064] Figure 3 FIG. 1 is a flow chart of a method for testing the function of an energy management system provided in an embodiment of the present disclosure. Figure 3 As shown, the energy management system function testing method provided in the embodiment of the present disclosure includes the following steps:
[0065] S302: Acquire actual operating condition data of the plurality of batteries, where the actual operating condition data is operating condition data collected at a preset sampling frequency within a preset time period during the actual operation of the plurality of batteries.
[0066] In one embodiment, the actual operating condition data of multiple batteries may be battery performance data collected by the battery management system at a preset sampling frequency within a preset time period when the battery management system is tested. For example, when the battery management system is tested, the BMS host computer may record complete charge and discharge records, and export data such as total current, total voltage, battery cell voltage, battery cell current, and battery cell temperature within a preset time period.
[0067] In one embodiment, the actual operating condition data may also include battery performance data obtained by performing experimental tests on multiple batteries and collecting data at a preset sampling frequency within a preset time period.
[0068] Before the battery leaves the factory, it needs to undergo a series of reliability tests, including but not limited to electrical performance tests, safety tests, environmental adaptability tests, life and aging tests, battery management system tests, charging compatibility tests, battery pack consistency tests, etc.
[0069] Electrical performance tests include capacity test, internal resistance test, cycle life test, and rate performance test. The capacity test can test the amount of electricity that the battery can store and release under standard conditions to ensure that the nominal capacity of the battery is consistent with the actual capacity; the internal resistance test is used to measure the internal resistance of the battery. The size of the internal resistance directly affects the battery's charge and discharge efficiency and thermal management; the cycle life test evaluates the performance degradation of the battery in long-term use through repeated charge and discharge processes; the rate performance test can test the performance of the battery at different discharge rates to evaluate the battery's performance under high load conditions.
[0070] Safety tests include but are not limited to overcharge test, over-discharge test, open circuit test, thermal runaway test, etc. The overcharge test can simulate the reaction of the battery under overcharge condition to evaluate the safety performance of the battery; the over-discharge test can test the performance and safety of the battery under excessive discharge condition; the short-circuit test can simulate the behavior of the battery under short circuit condition to evaluate the safety performance of the battery under extreme conditions; the thermal runaway test can evaluate whether the battery has thermal runaway under overheating condition.
[0071] Environmental adaptability tests include high temperature test, low temperature test, damp heat test and salt spray test. High temperature test puts the battery in a high temperature environment to test its performance and stability under high temperature conditions; low temperature test puts the battery in a low temperature environment to test its performance and stability under low temperature conditions; damp heat test can simulate a high humidity environment to test the battery's performance and corrosion resistance under damp heat conditions; salt spray test evaluates the battery's corrosion resistance in a salt spray environment.
[0072] Life and aging tests include accelerated aging tests and storage life tests. Accelerated aging tests simulate the long-term aging process of batteries under accelerated conditions to predict the service life of batteries. Storage life tests store batteries under specific conditions to test performance changes after long-term storage.
[0073] Battery pack consistency testing can test the performance consistency between each battery cell in the battery pack to ensure the stability of the overall performance.
[0074] It should be noted that whether it is the test of the battery management system or the reliability experiment test of the battery, the actual operating condition data of the battery will be obtained, and various tests are completed before the battery-made energy storage system leaves the factory, which improves the efficiency of functional testing.
[0075] The preset time period may be a number of consecutive days, for example, 7 consecutive days or 14 consecutive days. The preset sampling frequency may be determined according to actual conditions, for example, the sampling frequency is 10s, 20s, etc. The present disclosure does not specifically limit the values of the preset time period and the preset sampling frequency.
[0076] The actual working condition data of the battery may include but are not limited to sampling time, battery module terminal voltage (referred to as group terminal voltage), battery module terminal current (referred to as group terminal current), battery group state of charge (referred to as group SOC), maximum voltage, maximum voltage node number, minimum voltage, minimum voltage node number, voltage range, average voltage, maximum temperature, maximum temperature sequence number, minimum temperature sequence number, temperature range, average temperature, voltage value of each battery cell, etc. The actual working condition data can be stored in the form of a data table. See Table 1 for some actual working condition data.
[0077] Table 1 Some actual working condition data of the battery
[0078]
[0079] As shown in Table 1, the voltage values of battery 1 at sampling times 09:18:08 and 09:18:28 and the performance parameters of the battery module are recorded respectively. In the actual working condition data table collected, the voltage values and current values of multiple batteries at different collection times over several days are included. The data corresponding to each sampling time can be reported to the energy management system through the battery management system as a piece of data.
[0080] If the actual operating condition data is the performance data of 400 batteries, then the voltage values, temperature values, etc. of the 400 batteries can be recorded in Table 1.
[0081] In the present disclosure, actual operating data is used to approximate the real charge and discharge curve, which can avoid calculation errors of the battery analysis algorithm on the one hand, and on the other hand, it can avoid too many data points exceeding the algorithm abnormality judgment threshold, thereby improving the effectiveness of the analysis function test of the energy management system.
[0082] S304, configuring a simulated power station, wherein the simulated power station is configured with a plurality of simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicatively connected with the energy management system to be tested.
[0083] The simulated power station uses virtual simulation technology through the energy storage simulation system to model the actual energy storage system and abstract the mathematical model, and conduct simulation experiments on the computer to realize a virtual system for evaluating and optimizing the energy management system.
[0084] The purpose of configuring a simulated power station is to construct a virtual architecture corresponding to a real energy storage system in a computer, to construct a correspondence between a battery management system and at least one battery cluster, a correspondence between a battery cluster and at least one battery module, a correspondence between a battery module and multiple simulated batteries, and a correspondence between simulated batteries and batteries that collect actual operating condition data, thereby ensuring that the battery management system can report the actual operating condition data of multiple batteries to the energy management system.
[0085] In one embodiment, configuring the simulated power station includes configuring a device point table. The device point table is used to characterize the usage of each simulated battery and battery module. Each variable in the device point table has a corresponding unique variable name, device name, device address, register, register address and other point table parameters. The device point table can be pre-configured in the energy management system. The device address of each battery cluster, each battery module, and each simulated battery in the device point table can be configured according to the serial number. For example, the device address in the device point table can be configured according to the rule of serial number from small to large, or the device address in the device point table can be configured according to the rule of serial number from large to small.
[0086] It should be noted that the device name of the simulated battery can be configured to be the battery cell number that collects the actual working condition data, so that the simulated battery corresponds to the battery and the validity of the data reporting is ensured.
[0087] In one embodiment, S304 configures a simulated power station, including: the simulated power station is configured with multiple battery management systems, one battery management system corresponds to one test scenario; wherein one battery management system is configured with at least one battery cluster, one battery cluster is configured with at least one battery module, and one battery module is configured with the above-mentioned multiple simulated batteries. The number of battery management systems configured in the simulated power station can be determined according to actual test requirements. For example, the simulated power station is configured with 2 battery management systems, the actual operating data reported by one battery management system is used to test the battery short circuit analysis function of a large-capacity energy storage system, and the actual operating data reported by the other battery management system is used to test the consistency analysis of a small-capacity energy storage system. The two test tasks can be executed simultaneously, thereby improving the efficiency of the functional test of the energy management system.
[0088] S306 , reporting the actual operating data of the multiple batteries to the energy management system to be tested according to a preset sampling frequency by simulating the power station, so that the energy management system to be tested processes the actual operating data of the multiple batteries to obtain processing results.
[0089] After configuring the simulated power station, the communication connection between the simulated power station and the energy management system can be tested to ensure that the data interaction function between the battery management system and the energy management system to be tested is enabled.
[0090] In one embodiment, the above S306 reports the actual operating condition data of multiple batteries to the energy management system to be tested according to a preset sampling frequency through a simulated power station, including: reporting the actual operating condition data of multiple batteries in a key-value pair manner through a preset script program, wherein the key of the reported message is the point table code of the simulated power station, and the value of the reported message is the actual operating condition data of multiple batteries at each sampling time.
[0091] The preset script program can be used to write message queue telemetry transmission (MQTT) messages through python. The actual operating data of multiple batteries can be reported to the energy management system through the preset script program. Python is a computer program programming language. It is an interpreted, interactive, object-oriented, beginner language. It can be object-oriented with dynamic types and can write automated scripts.
[0092] It should be noted that the preset script program can be written according to actual conditions. When using the preset script program to report the actual operating condition data, the point table code of the simulated power station can be used as the key, and the actual operating condition data of multiple batteries at the corresponding sampling time can be assembled into one data as the value, and the actual operating condition data is reported at intervals. The reporting frequency of the battery management system is consistent with the preset sampling frequency, so that each link of the energy management system functional test simulates the actual operating condition processing process, thereby improving the effectiveness of the test.
[0093] The analysis functions of the energy management system to be tested include consistency analysis function, parameter evolution analysis function, status indicator analysis function, battery short circuit analysis function, battery aging analysis function, single cell sampling abnormality analysis function, battery self-discharge analysis function, etc.
[0094] After the energy management system to be tested obtains the actual operating condition data of multiple batteries reported by the energy management system, different processing strategies can be adopted according to different analysis functions of the energy management system to process the actual operating condition data and obtain processing results.
[0095] For consistency analysis, status indicator analysis and other functions, corresponding algorithms can be used to process actual operating data. For example, for the state of charge analysis function, the ampere-hour integration method, open circuit voltage method and other algorithms can be used to obtain the state of charge of the battery at different sampling times, and the state of charge at different sampling times can be displayed on the user interface of the energy management system to obtain the processing results. The processing results include data display results and abnormal alarm results. The data display result refers to whether the data after analysis and processing by the energy management system is displayed in the display mode corresponding to the processing strategy; the abnormal alarm result refers to whether the abnormal data point after analysis and processing by the energy management system triggers the corresponding abnormal alarm.
[0096] It should be noted that this method is also applicable to the relationship between indicators such as voltage, current, temperature and corresponding boundary values, so as to screen out the analysis function of batteries with abnormal performance, and the processing results can usually be obtained through four arithmetic operations.
[0097] It should be noted that the analysis function of the energy management system to be tested can select appropriate algorithms and set different analysis functions according to actual needs, and the present disclosure does not make specific limitations on this.
[0098] Table 2 Data table of some data after processing of actual working condition data
[0099]
[0100] In Table 2, SOC1, SOC2, capacity, total capacity, SOC minimum value, SOC maximum value, SOC difference, etc. are all predicted by the algorithm of the configured energy management system to be tested.
[0101] S308. Obtain the test result of the energy management system to be tested according to the processing result and the preset processing result.
[0102] In one embodiment, the method includes: if the processing result is inconsistent with the preset processing result, determining that the test result of the energy management system to be tested is abnormal; if the processing result is consistent with the preset processing result, determining that the test result of the energy management system to be tested is normal.
[0103] The above processing result being inconsistent with the preset processing result may include not displaying the analyzed data in a display mode corresponding to the preset processing result, and the display mode may include the color and line type of the display curve, etc. For example, the temperature alarm is set to 37°C, and the preset processing result is to display the boundary line corresponding to the boundary value in the drawing area of the user interface. If the processing result is that the boundary line is not displayed in the drawing area.
[0104] The above processing result is inconsistent with the preset processing result, and may also include failure to trigger an abnormal alarm for the analyzed abnormal data in accordance with the abnormal alarm method corresponding to the preset processing result. For example, the preset alarm temperature is 29.4°C, and when the temperature value of battery 2 is 29.5°C, the preset processing result is to trigger an abnormality, and the temperature is too high in the alarm area of the user interface, and is displayed as a red curve in the drawing area of the user interface; if the processing result of battery 2 is that the abnormal alarm is not triggered, and the drawing area displays a black curve, it is determined that the test result of the energy management system to be tested is abnormal.
[0105] By comparing the consistency of the processing results with the preset processing results, it is possible to determine whether the analysis function of the energy management system under test can identify normal situations as normal, whether it can identify normal situations as abnormal, whether the boundary value settings are reasonable, whether the algorithm calls are reasonable, whether duplicate and lost data are handled correctly, etc., and distinguish multiple situations.
[0106] In the embodiments of the present disclosure, actual operating data of multiple batteries are obtained, and the actual operating data are operating data collected according to a preset sampling frequency within a preset time period during the actual operation of multiple batteries; a simulated power station is configured, and the simulated power station is configured with multiple simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicatively connected with the energy management system to be tested; the actual operating data of multiple batteries are reported to the energy management system to be tested according to the preset sampling frequency by the simulated power station, so that the energy management system to be tested processes the actual operating data of multiple batteries to obtain processing results; according to the processing results and the preset processing results, the test results of the energy management system to be tested are obtained. The present disclosure can realize effective testing of the functions of the energy management system through the actual operating data of multiple batteries, help users optimize energy management, improve energy efficiency, and achieve sustainable energy use goals.
[0107] Figure 4 Another energy management system function test method flow chart provided in the embodiment of the present disclosure is shown. Figure 3 Based on the embodiment, S303 is added after S302 to limit the situation of increasing data diversity by modifying data. Figure 4 As shown, in one embodiment, after obtaining actual operating condition data of multiple batteries in S302, the method further includes:
[0108] S303: modify and mark part of the actual operating condition data of the multiple batteries, wherein the processing results corresponding to the modified part of the operating condition data are inconsistent with the preset processing results.
[0109] In one embodiment, part of the operating condition data may be modified manually or automatically through a program script.
[0110] The modification of part of the operating condition data may include copying the actual operating condition data at multiple sampling moments to test the analysis function of duplicate data processing, for example, copying the actual operating condition data for 1 consecutive hour; it may also include deleting the actual operating condition data at multiple consecutive sampling moments to test the analysis function of data loss processing, for example, deleting the actual operating condition data for 4 consecutive hours; it may also include modifying part of the data in a piece of actual operating condition data, for example, modifying the temperature value that does not exceed the boundary value to the temperature value that exceeds the boundary value.
[0111] The modified partial operating condition data may be marked with an identification value and a modification parameter. For example, an identification value of 1 indicates that the actual operating condition data of the multiple batteries at the corresponding collection time are modified, and the modification parameter is a parameter for modifying the data, which may be at least one parameter in Table 1. An identification value of 0 indicates that the actual operating condition data of the multiple batteries at the corresponding collection time are not modified.
[0112] In the embodiments of the present disclosure, by modifying and marking some of the operating condition data among a plurality of actual operating condition data, the diversity of the test data can be improved, making the energy management system function test more comprehensive.
[0113] Figure 5 A flow chart of another energy management system function testing method provided in an embodiment of the present disclosure is shown. Figure 3 Based on the embodiment, before S302, S301 is added to limit the configuration of the test parameters. Figure 5 As shown, in one embodiment, before obtaining actual operating condition data of multiple batteries in S302, the method further includes:
[0114] S301. Configure test parameters of the energy management system to be tested, wherein the test parameters include boundary values and an algorithm used by the energy management system to be tested.
[0115] The algorithm used by the energy management system to be tested and the corresponding boundary values can be configured for the analysis function of the energy management system to be tested. For example, for the battery parameter identification algorithm, the boundary value is that the state of charge error is within ±5%. For the outlier anomaly analysis algorithm, the boundary value is to identify more than 95% of outlier batteries. The battery voltage difference is greater than 0.15V during charge and discharge.
[0116] For the battery parameter identification algorithm, the ampere-hour integration method, open circuit voltage method and other algorithms can be used to estimate the state of charge. The state of charge is the ratio of the available energy to the total energy in the battery. The ampere-hour integration method can calculate the state of charge by accumulating the battery charge and discharge current, and the open circuit voltage method calculates the state of charge by measuring the open circuit voltage of the battery.
[0117] It should be noted that the step of configuring the test parameters of the energy management system to be tested may also be performed after obtaining the actual operating condition data of multiple batteries, and the present disclosure does not make any specific limitation on this.
[0118] In the embodiment of the present disclosure, by configuring the test parameters of the energy management system to be tested, algorithms, boundary values, etc. that are consistent with actual operating conditions can be set, so that the system can more realistically simulate the state of the actual energy management system during operation, making the results of the energy management system functional test more reliable.
[0119] Figure 6 FIG. 2 is a flow chart of another energy management system function testing method provided in an embodiment of the present disclosure. Figure 6 As shown, in one embodiment, S308 obtains the test result of the energy management system to be tested according to the processing result and the preset processing result, including:
[0120] S3082. If the processing result is inconsistent with the preset processing result, the test result of the energy management system to be tested is determined to be abnormal;
[0121] The method further includes: S310, generating a test modification suggestion according to the difference between the processing result and the preset processing result, and changing the test parameters based on the test modification suggestion.
[0122] The test modification suggestions are obtained by comparing the processing results with the preset processing results. The test modification suggestions can be used to achieve optimization of the simulated power station or algorithm.
[0123] The test modification suggestion may include modifying the algorithm used by the energy management system to be tested from the first algorithm to the second algorithm. For example, for the state of charge estimation algorithm, the ampere-hour integration method may be modified to the open circuit voltage method to make the error of the state of charge within ±5%.
[0124] The test modification suggestions may also include display method modification suggestions, for example, correcting missed or misjudged data in the actual working condition data.
[0125] In an embodiment of the present disclosure, when a processing result is inconsistent with a preset processing result, a test modification suggestion is generated based on the difference between the processing result and the preset processing result, thereby improving the analysis function of the energy management system to be tested and enhancing the accuracy and reliability of the energy management system to be tested.
[0126] In one embodiment, the preset processing result includes at least one of the following:
[0127] For actual operating condition data that does not exceed the preset boundary value, it is displayed in the drawing area of the user interface of the energy management system to be tested according to the first preset rule, and there is no alarm information in the alarm area of the user interface;
[0128] The actual operating condition data exceeding the preset boundary value is displayed in the drawing area according to the second preset rule, and the corresponding warning information is displayed in the warning area;
[0129] For the preset boundary value not displayed in the drawing area, the boundary value displayed in the warning area does not display the warning information;
[0130] In the case of cyclic reporting of actual working condition data, the drawing area displays the deduplicated curve of the actual working condition data;
[0131] In the case where the actual working condition data is interrupted from being reported, the drawing area displays the corresponding curve according to the third preset rule.
[0132] like Figure 7As shown, the user interface of the energy management system to be tested may include a function area, a drawing area, and an alarm area. Among them, the function area is used to display the analysis function module, which includes but is not limited to consistency analysis, parameter evolution analysis, state indicator analysis, battery short circuit analysis, battery aging analysis, single cell sampling abnormality, battery self-discharge, etc. The drawing area is used to display the graph corresponding to the selected analysis function module. The graph may be a pie chart, a curve chart, a bar chart, etc. In the graph, the status of different batteries at different sampling times can be distinguished by at least one of different colors, different line types, data points, etc. The alarm area is used to display abnormal alarm information, which includes alarm level, abnormal battery identification, battery abnormality cause, etc. The alarm level may include multiple levels, and different colors may be used to represent the severity of the alarm.
[0133] like Figure 7 As shown, the alarm levels include level 4 alarm, level 3 alarm, level 2 alarm and level 1 alarm, and the severity increases gradually from level 4 alarm to level 1 alarm.
[0134] The abnormal battery identification is used to identify abnormal batteries, and the battery abnormality cause is used to display the factors that may cause battery abnormality. For example Figure 7 Battery #5 in the example may have an outlier anomaly or a micro short circuit.
[0135] The first preset rule may include but is not limited to the line color and line type of the curve. For example, the line color of the curve without warning information is black or green, and the line type may be a combination of lines and graphics, for example, a line connecting a solid origin and a solid line.
[0136] The second preset rule may include but is not limited to the line color and line type of the curve, and the first preset rule and the second preset rule are different. For example, the line color of the abnormal alarm curve is red, orange, etc., and the line type can be a dotted line or a dashed line.
[0137] The third preset rule may be that the ordinate value corresponding to the time period of data interruption is 0, or may be that the ordinate value corresponding to the time period of data interruption is not displayed.
[0138] It should be noted that the display method and warning method for each of the above situations can be determined according to the actual situation, and this disclosure does not make any specific limitations on this.
[0139] In the embodiment of the present disclosure, through the preset processing results corresponding to various situations, the test results of the energy management system functions to be tested in various situations can be distinguished. The test results can observe complete curves and abnormal alarm information, display the user interface to the user, and improve the test effect.
[0140] In order to deeply understand the energy management system function test method provided by the present disclosure, the following Figure 8 Provide detailed explanation.
[0141] like Figure 8 As shown, the energy management system function testing method provided by the present disclosure mainly includes the following steps:
[0142] S802: Determine the analysis function of the energy management system to be tested, and configure the algorithm and boundary value corresponding to the analysis function.
[0143] The analysis functions of the energy management system to be tested may include outlier analysis function, temperature anomaly analysis function, voltage anomaly analysis function, short circuit analysis function, status indicator analysis function, battery aging analysis function, etc.
[0144] In some analysis functions, only the boundary value can be configured. For example, in the temperature anomaly analysis function, the boundary value of the temperature anomaly can be configured. When the temperature value of the battery exceeds the boundary value of the temperature anomaly, it is determined that the battery has an abnormal temperature. The boundary value of the voltage difference during charge and discharge is 0.15. When the voltage difference is greater than 0.15V, the battery has an abnormal voltage difference during charge and discharge.
[0145] In some analysis functions, it is necessary to configure the algorithm and boundary value corresponding to the analysis function. For example, for the state of charge identification analysis function, the configured algorithm is the battery parameter identification algorithm (ampere-hour integration method or open circuit voltage method), and the corresponding boundary value is that the state of charge error is within ±5%; for the outlier analysis function, the configured algorithm can be the outlier analysis algorithm, and the outlier analysis algorithm includes clustering-based methods (such as K-means clustering algorithm, DBSCAN clustering algorithm, etc.), depth-based methods (such as half-space depth algorithm, minimum ellipsoid estimation method, isolated forest algorithm, etc.), etc. The boundary value corresponding to the outlier analysis algorithm can be configured to identify more than 95% of outlier batteries.
[0146] S804: Collect actual operating data of multiple batteries.
[0147] The actual operating condition data of multiple batteries may be battery performance data collected by the battery management system at a preset sampling frequency within a preset time period when the battery management system is tested. For example, when the battery management system is tested, the BMS host computer may record complete charge and discharge records, and export data such as total current, total voltage, battery cell voltage, battery cell current, and battery cell temperature within a preset time period.
[0148] The actual operating condition data may also include battery performance data obtained by performing experimental tests on multiple batteries and collecting data at a preset sampling frequency within a preset time period.
[0149] The preset time period can be multiple consecutive days, and the preset sampling frequency can be 10s, 20s, etc.
[0150] S806. Configure a simulated power station, wherein the simulated power station is configured with a battery management system, wherein the battery management system is configured with at least one battery cluster, wherein one battery cluster is configured with at least one battery module, wherein one battery module is configured with multiple simulated batteries, and one simulated battery corresponds to one battery, wherein the battery management system is communicatively connected with the energy management system to be tested.
[0151] In one embodiment, configuring the simulated power station includes configuring a device point table. The device point table is used to characterize the usage of each simulated battery and battery module. Each variable in the device point table has a corresponding unique variable name, device name, device address, register, register address and other point table parameters. The device point table can be pre-configured in the energy management system. The device address of each battery cluster, each battery module, and each simulated battery in the device point table can be configured according to the serial number. For example, the device address in the device point table can be configured according to the rule of serial number from small to large, or the device address in the device point table can be configured according to the rule of serial number from large to small.
[0152] The simulated power station is equipped with multiple battery management systems, one battery management system corresponds to one test scenario.
[0153] S808. According to the data table structure of the actual working condition data, run the preset program script, and report the actual working condition data to the energy management system to be tested according to the preset sampling frequency through the battery management system.
[0154] The actual operating data of multiple batteries are reported in a key-value pair manner through a preset script program, wherein the key of the reported message is the point table code of the simulated power station, and the value of the reported message is the actual operating data of multiple batteries at each sampling time.
[0155] S810. The energy management system to be tested processes the actual operating condition data to obtain a processing result.
[0156] After the energy management system to be tested obtains the actual operating condition data of multiple batteries reported by the energy management system, different processing strategies can be adopted according to different analysis functions of the energy management system to process the actual operating condition data and obtain processing results.
[0157] S812. Obtain test results of the analysis function of the energy management system to be tested according to the processing results and the preset processing results.
[0158] If the processing result is inconsistent with the preset processing result, the test result of the energy management system to be tested is determined to be abnormal. If the processing result is consistent with the preset processing result, the test result of the energy management system to be tested is determined to be normal.
[0159] When the two are inconsistent, a test modification suggestion is generated based on the difference between the processing result and the preset processing result, and the test parameters are changed based on the test modification suggestion. The test modification suggestion is obtained after comparing the processing result with the preset processing result, and the test modification suggestion can be used to optimize the simulated power station or algorithm.
[0160] Based on the same inventive concept, the present disclosure also provides an energy management system function test device, such as the following embodiment. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0161] Fig. 9 A schematic diagram of the structure of an energy management system function test device provided by an embodiment of the present disclosure is shown. Fig. 9 As shown, the energy management system function testing device provided by the embodiment of the present disclosure includes: a data acquisition module 901, a system configuration module 902, a data reporting module 903 and a result determination module 904.
[0162] The data acquisition module 901 is used to acquire actual operating data of multiple batteries, where the actual operating data is operating data collected at a preset sampling frequency within a preset time period during the actual operation of the multiple batteries;
[0163] The system configuration module 902 is used to configure a simulated power station, the simulated power station is configured with a plurality of simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicatively connected with the energy management system to be tested;
[0164] The data reporting module 903 is used to report the actual working condition data of multiple batteries to the energy management system under test according to the preset sampling frequency through the simulated power station, so that the energy management system under test processes the actual working condition data of the multiple batteries to obtain the processing results;
[0165] The result determination module 904 is used to obtain the test result of the energy management system to be tested according to the processing result and the preset processing result.
[0166] It should be noted that the system configuration module 902 is used to configure multiple battery management systems for the simulated power station, and one battery management system corresponds to one test scenario; wherein, one battery management system is configured with at least one battery cluster, one battery cluster is configured with at least one battery module, and one battery module is configured with the above-mentioned multiple simulated batteries.
[0167] In one embodiment, the data reporting module 903 is used to report the actual operating data of multiple batteries in a key-value pair manner through a preset script program, wherein the key of the reporting message is the point table code of the simulated power station, and the value of the reporting message is the actual operating data of multiple batteries at each sampling time.
[0168] It should be noted that the actual operating condition data includes at least one of the following: battery performance data collected by the battery management system at a preset sampling frequency within a preset time period when the battery management system is tested; battery performance data obtained by experimentally testing multiple batteries and collecting data at a preset sampling frequency within a preset time period.
[0169] In one embodiment, the device also includes a data processing module not shown in the accompanying drawings, and the data processing module is used to modify and mark part of the actual operating condition data of multiple batteries after acquiring the actual operating condition data of multiple batteries, wherein the processing results corresponding to the modified part of the operating condition data are inconsistent with the preset processing results.
[0170] In one embodiment, the device also includes a parameter configuration module not shown in the accompanying drawings, and the parameter configuration module is used to configure the test parameters of the energy management system to be tested before configuring the simulated power station, wherein the test parameters include boundary values and algorithms used by the energy management system to be tested.
[0171] In one embodiment, the result determination module 904 is used to determine that the test result of the energy management system to be tested is abnormal if the processing result is inconsistent with the preset processing result; the parameter configuration module is used to generate a test modification suggestion according to the difference between the processing result and the preset processing result, and change the test parameters based on the test modification suggestion.
[0172] In the embodiment of the figure, the result determination module 904 is further used to determine that the test result of the energy management system to be tested is normal if the processing result is consistent with the preset processing result.
[0173] It should be noted that the preset processing results include at least one of the following: for actual operating condition data that does not exceed the preset boundary value, it is displayed in the drawing area of the user interface of the energy management system to be tested according to the first preset rule, and there is no alarm information in the alarm area of the user interface; for actual operating condition data that exceeds the preset boundary value, it is displayed in the drawing area according to the second preset rule, and the corresponding alarm information is displayed in the alarm area; for the preset boundary value not displayed in the drawing area, the boundary value is displayed in the alarm area without displaying the alarm information; for the situation where the actual operating condition data is reported cyclically, the drawing area displays the curve of the actual operating condition data after duplication; for the situation where the actual operating condition data is interrupted in reporting, the drawing area displays the corresponding curve according to the third preset rule.
[0174] In the embodiments of the present disclosure, actual operating data of multiple batteries are obtained, and the actual operating data are operating data collected according to a preset sampling frequency within a preset time period during the actual operation of multiple batteries; a simulated power station is configured, and the simulated power station is configured with multiple simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicatively connected with the energy management system to be tested; the actual operating data of multiple batteries are reported to the energy management system to be tested according to the preset sampling frequency by the simulated power station, so that the energy management system to be tested processes the actual operating data of multiple batteries to obtain processing results; according to the processing results and the preset processing results, the test results of the energy management system to be tested are obtained. The present disclosure can realize effective testing of the functions of the energy management system through the actual operating data of multiple batteries, help users optimize energy management, improve energy efficiency, and achieve sustainable energy use goals.
[0175] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0176] Refer to the following Fig.10 1000 according to this embodiment of the present invention will be described. Fig.10 The computer device 1000 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0177] like Fig.10 As shown, the computer device 1000 is in the form of a general computing device. The components of the computer device 1000 may include but are not limited to: at least one processing unit 1010, at least one storage unit 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).
[0178] The storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 1010 can perform the following steps: Figure 3As shown in , actual operating condition data of multiple batteries are obtained, and the actual operating condition data are operating condition data collected according to a preset sampling frequency within a preset time period during the actual operation of multiple batteries; a simulated power station is configured, and the simulated power station is configured with multiple simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicated with the energy management system to be tested; the actual operating condition data of multiple batteries are reported to the energy management system to be tested through the simulated power station according to the preset sampling frequency, so that the energy management system to be tested processes the actual operating condition data of multiple batteries to obtain processing results; according to the processing results and the preset processing results, the test results of the energy management system to be tested are obtained.
[0179] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 10201 and / or a cache storage unit 10202 , and may further include a read-only storage unit (ROM) 10203 .
[0180] The storage unit 1020 may also include a program / utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0181] Bus 1030 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0182] The computer device 1000 may also communicate with one or more auxiliary energy storage devices 1040 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the system, and / or any device that enables the computer device 1000 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 1050. In addition, the system may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1060. Fig.10 As shown, the network adapter 1060 communicates with other modules of the computer device 1000 via the bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the computer device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0183] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0184] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0185] A program product for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0186] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0187] Computer readable media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0188] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0189] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0190] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0191] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0192] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A method for testing the function of an energy management system, characterized in that: include: Acquire actual operating condition data of a plurality of batteries, wherein the actual operating condition data is operating condition data collected at a preset sampling frequency within a preset time period during the actual operation of the plurality of batteries; Configure a simulated power station, wherein the simulated power station is configured with a plurality of simulated batteries, one simulated battery corresponds to one battery, and the simulated power station is communicatively connected with the energy management system to be tested; The simulated power station reports the actual operating data of the multiple batteries to the energy management system to be tested according to the preset sampling frequency, so that the energy management system to be tested processes the actual operating data of the multiple batteries to obtain processing results; The test result of the energy management system to be tested is obtained according to the processing result and the preset processing result.
2. The method according to claim 1, characterized in that The configuration simulation power station includes: Multiple battery management systems are configured for the simulated power station, and one battery management system corresponds to one test scenario; wherein one battery management system is configured with at least one battery cluster, one battery cluster is configured with at least one battery module, and one battery module is configured with the multiple simulated batteries.
3. The method according to claim 1, characterized in that: The reporting of the actual operating condition data of the plurality of batteries to the energy management system to be tested according to the preset sampling frequency by the simulated power station includes: The actual operating data of the multiple batteries are reported in a key-value pair manner through a preset script program, wherein the key of the reported message is the point table code of the simulated power station, and the value of the reported message is the actual operating data of the multiple batteries at each sampling time.
4. The method according to claim 1, characterized in that: The actual operating condition data includes at least one of the following: Battery performance data collected by the battery management system at a preset sampling frequency within a preset time period when the battery management system is tested; The multiple batteries are experimentally tested and the battery performance data obtained is collected at a preset sampling frequency within a preset time period.
5. The method according to claim 1, characterized in that After obtaining the actual operating condition data of the plurality of batteries, the method further includes: Part of the actual operating condition data of the multiple batteries is modified and marked, wherein the processing result corresponding to the modified part of the operating condition data is inconsistent with the preset processing result.
6. The method according to claim 1, characterized in that Before obtaining the actual operating condition data of the plurality of batteries, the method further includes: The test parameters of the energy management system to be tested are configured, wherein the test parameters include boundary values and an algorithm used by the energy management system to be tested.
7. The method according to claim 6, characterized in that The step of obtaining the test result of the energy management system to be tested according to the processing result and the preset processing result includes: If the processing result is inconsistent with the preset processing result, determining that the test result of the energy management system to be tested is abnormal; The method further comprises: A test modification suggestion is generated according to the difference between the processing result and the preset processing result, and the test parameters are changed based on the test modification suggestion.
8. The method according to claim 7, characterized in that The method further comprises: If the processing result is consistent with the preset processing result, the test result of the energy management system to be tested is determined to be normal.
9. The method according to claim 1, characterized in that: The preset processing result includes at least one of the following: The actual operating condition data that does not exceed the preset boundary value is displayed in the drawing area of the user interface of the energy management system to be tested according to the first preset rule, and there is no alarm information in the alarm area of the user interface; For actual operating condition data exceeding a preset boundary value, the actual operating condition data is displayed in the drawing area according to a second preset rule, and corresponding warning information is displayed in the warning area; For the preset boundary value not being displayed in the drawing area, the boundary value displayed in the warning area does not display warning information; In the case where the actual working condition data is reported cyclically, the drawing area displays a curve of the actual working condition data after duplication is removed; In the case where the actual working condition data is interrupted from being reported, the drawing area displays the corresponding curve according to the third preset rule.
10. A functional testing device for an energy management system, characterized in that: include: A data acquisition module, used to acquire actual operating condition data of multiple batteries, wherein the actual operating condition data is operating condition data collected at a preset sampling frequency within a preset time period during the actual operation of the multiple batteries; A system configuration module, used to configure a simulated power station, wherein the simulated power station is configured with a plurality of simulated batteries, one simulated battery corresponding to one battery, and the simulated power station is communicatively connected with an energy management system to be tested; A data reporting module, used for reporting the actual operating data of the multiple batteries to the energy management system to be tested according to the preset sampling frequency through the simulated power station, so that the energy management system to be tested processes the actual operating data of the multiple batteries to obtain processing results; The result determination module is used to obtain the test result of the energy management system to be tested according to the processing result and the preset processing result.
11. An electronic device, characterized in that: include: processor; as well as A memory for storing executable instructions of the processor; The processor is configured to execute the energy management system function testing method of any one of claims 1 to 9 by executing executable instructions.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the energy management system function testing method according to any one of claims 1 to 9 is implemented.
13. A computer program product, characterized in that The invention comprises a computer program, which implements the energy management system function testing method according to any one of claims 1 to 9 when executed by a processor.