Park energy storage control method and device, electronic equipment and readable storage medium

By judging the validity of metering data and determining the safety boundary power in the integrated energy source-grid-load-storage park, the problems of invalid metering data and unconsidered equipment executability are solved, and the accuracy and executability of the energy storage target execution power are realized.

CN123144167APending Publication Date: 2026-11-20SHANGHAI INVESTIGATION DESIGN & RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611647044.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-23
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In integrated energy storage and grid-load-energy storage parks, the metering data of the park control devices cannot meet the validity requirements due to reasons such as abnormal clock synchronization, differences in data acquisition cycles, or packet loss in communication links. This results in inaccurate energy storage target power. Furthermore, the failure to consider the actual achievable capacity of the equipment also leads to inaccurate energy storage target power.

Method used

The validity of metering data is judged by setting validity conditions to ensure that the data that meets the conditions, together with the window data and the limit power, jointly determine the allowable power of the grid connection point. When the metering data does not meet the conditions, the most recent valid data and the safety boundary power are used to determine the allowable power. The energy storage command execution power is determined by combining the allowable power of the equipment, the net load power of the park, and the energy storage candidate execution power.

Benefits of technology

This avoids inaccurate energy storage target power due to invalid metering data and failure to consider equipment capabilities, thus ensuring the accuracy and feasibility of energy storage control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123144167A_ABST
    Figure CN123144167A_ABST
Patent Text Reader

Abstract

The application provides a park energy storage control method and device, electronic equipment and a readable storage medium, and belongs to the technical field of park micro-grid comprehensive energy management. According to the application, the validity of metering data is judged by preset validity conditions, so that the metering data meeting the preset validity conditions can determine the grid-connected point allowable power of the current control period together with window data and first limited power, and the metering data not meeting the preset validity conditions cannot participate in the determination of the grid-connected point allowable power, thereby avoiding the inaccuracy of the finally determined energy storage target execution power due to invalid metering data. In addition, when the first energy storage instruction execution power of the current control period is determined, the equipment allowable power can directly participate in the determination of the first energy storage instruction execution power, thereby avoiding the inaccuracy of the finally determined energy storage target execution power due to the failure to consider the actual executable capacity of the equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of integrated energy management technology for microgrids in industrial parks, specifically relating to a method, device, electronic equipment, and readable storage medium for energy storage control in industrial parks. Background Technology

[0002] In the integrated power generation, grid, load, and energy storage park, the park's load, distributed power sources, and battery energy storage systems are gathered through the park's AC bus and electrically connected to the public power grid and exchange power through the grid connection point. If the park's internal power grid is insufficient, it purchases electricity from the public power grid through the grid connection point; if the park's internal power grid has surplus power and allows reverse power feeding, it discharges power to the public power grid through the grid connection point.

[0003] However, in existing park energy storage control technologies, due to reasons such as abnormal clock synchronization, differences in acquisition cycles, or packet loss in communication links, the metering data used by the park control device may not meet the validity requirements, which in turn leads to inaccurate determination of the final energy storage target execution power. At the same time, when determining the energy storage target power, the actual executability of the equipment is not considered, which in turn leads to inaccurate determination of the final energy storage target execution power. Summary of the Invention

[0004] The purpose of this application is to provide a park energy storage control method, device, electronic device, and readable storage medium, which can avoid inaccurate final energy storage target execution power due to invalid metering data and failure to consider the actual executable capability of the equipment.

[0005] To solve the above-mentioned technical problems, this application is implemented as follows: In a first aspect, embodiments of this application provide a method for controlling energy storage in a park, the method comprising: Determine the metering data, net load power, allowable power of equipment and candidate execution power of energy storage in the integrated source-grid-load-storage park during the current control cycle, as well as the window data of the first limit power and the window where the current control cycle is located; If the metering data meets the preset validity conditions, the grid connection point allowable power for the current control cycle is determined based on the metering data, the window data, and the first limit power. If the metering data does not meet the preset validity conditions, the grid connection point allowable power for the current control cycle is determined based on the first grid connection point allowable power, the first limited power and the preset safety boundary power, wherein the first grid connection point allowable power is the grid connection point allowable power determined when the metering data most recently met the preset validity conditions; The first energy storage command execution power for the current control cycle is determined based on the grid connection point's allowable power, the park's net load power, the equipment's allowable power, and the energy storage candidate execution power.

[0006] Secondly, embodiments of this application provide a park energy storage control device, the device comprising: The first determining module is used to determine the metering data, net load power, allowable power of equipment and candidate execution power of energy storage in the current control cycle of the integrated source-grid-load-storage park, as well as the first limiting power and window data of the window in which the current control cycle is located. The judgment module is configured to determine the grid connection point allowable power for the current control cycle based on the metering data, the window data, and the first limit power if the metering data meets the preset validity conditions; and to determine the grid connection point allowable power for the current control cycle based on the first grid connection point allowable power, the first limit power, and the preset safety boundary power if the metering data does not meet the preset validity conditions, wherein the first grid connection point allowable power is the grid connection point allowable power determined when the metering data most recently met the preset validity conditions. The second determining module is used to determine the first energy storage command execution power of the current control cycle based on the grid connection point allowable power, the park net load power, the equipment allowable power and the energy storage candidate execution power.

[0007] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0008] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0009] Fifthly, embodiments of this application provide a computer program product, including a computer program for implementing the steps of the method described in the first aspect.

[0010] In this embodiment, the validity of metering data is determined by preset validity conditions. Metering data that meets the preset validity conditions can be used together with window data and the first limit power to determine the grid connection point allowable power for the current control cycle. Metering data that does not meet the preset validity conditions cannot participate in the determination of the grid connection point allowable power. Instead, the grid connection point allowable power is determined based on the first grid connection point allowable power, the first limit power, and the preset safety boundary power. This avoids inaccurate determination of the final energy storage target execution power due to invalid metering data. Furthermore, when determining the first energy storage command execution power for the current control cycle, the device allowable power can be directly used together with the grid connection point allowable power, the park net load power, and the energy storage candidate execution power to determine the first energy storage command execution power. This avoids inaccurate determination of the final energy storage target execution power due to failure to consider the actual executability of the device. Attached Figure Description

[0011] Figure 1 This is a schematic flowchart of a park energy storage control method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the process for determining the net load power of the park in the current control cycle in another park energy storage control method provided in this application embodiment; Figure 3 This is a flowchart illustrating the process of determining the allowable power of the equipment in the current control cycle in another park energy storage control method provided in this application embodiment; Figure 4 This is a schematic diagram of the process of determining the first energy storage command execution power of the current control cycle based on the grid connection point allowable power, the park net load power, the equipment allowable power and the energy storage candidate execution power in another park energy storage control method provided in this application embodiment; Figure 5 This is a flowchart illustrating the process of determining the first energy storage command execution power based on the energy storage executable power and the energy storage candidate execution power in another park energy storage control method provided in this application embodiment; Figure 6 This is a flowchart illustrating another park energy storage control method provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a park energy storage control device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0012] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0013] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0014] In the integrated power generation, grid, load, and energy storage park, the park's load, distributed power sources, and battery energy storage systems are gathered through the park's AC bus and electrically connected to the public power grid and exchange power through the grid connection point. If the park's internal power grid is insufficient, it purchases electricity from the public power grid through the grid connection point; if the park's internal power grid has surplus power and allows reverse power feeding, it discharges power to the public power grid through the grid connection point.

[0015] However, in existing park energy storage control technologies, due to reasons such as abnormal clock synchronization, differences in acquisition cycles, or packet loss in communication links, the metering data used by the park control device may not meet the validity requirements, which in turn leads to inaccurate determination of the final energy storage target execution power. At the same time, when determining the energy storage target power, the actual executability of the equipment is not considered, which in turn leads to inaccurate determination of the final energy storage target execution power.

[0016] To address the aforementioned issues, embodiments of this application provide a park energy storage control method, apparatus, electronic device, and readable storage medium. By using preset validity conditions to determine the validity of metering data, metering data meeting the preset validity conditions can be used together with window data and a first limit power to determine the grid connection point allowable power for the current control cycle. Metering data not meeting the preset validity conditions cannot participate in determining the grid connection point allowable power; instead, the grid connection point allowable power is determined based on the first grid connection point allowable power, the first limit power, and a preset safety boundary power. This avoids inaccurate determination of the final energy storage target execution power due to invalid metering data. Furthermore, when determining the first energy storage command execution power for the current control cycle, the device's allowable power can be directly used together with the grid connection point allowable power, the park's net load power, and the energy storage candidate execution power to determine the first energy storage command execution power. This avoids inaccurate determination of the final energy storage target execution power due to neglecting the actual executability of the device.

[0017] The following description, in conjunction with the accompanying drawings, details the park energy storage control method, apparatus, electronic device, and readable storage medium provided in this application through specific embodiments and application scenarios.

[0018] This application provides a method for controlling energy storage in a park. Please refer to [link / reference]. Figure 1 , Figure 1 This is a flowchart illustrating a park energy storage control method provided in an embodiment of this application. Figure 1 As shown, the method includes the following steps: S101. Determine the metering data, net load power, allowable power of equipment and candidate execution power of energy storage in the current control cycle of the integrated source-grid-load-storage park, as well as the first limit power and window data of the window in which the current control cycle is located.

[0019] Specifically, the "integrated power generation, grid, load and energy storage park" refers to a new type of power system model that uses the park as a spatial carrier to plan and coordinate the four links of "power source, grid, load and energy storage".

[0020] Furthermore, the metering data includes: the window identifier of the window in which the current control cycle is located, the first cumulative amount, the second cumulative amount, the data statistics time, and the clock synchronization status.

[0021] Specifically, the window identifier of the current control cycle refers to the window number of the demand metering window (or the current demand metering window) in which the current control cycle is located. The window number is an integer greater than or equal to 1. The window identifier is used to uniquely identify the current demand metering window and is updated when the demand metering window switches. The demand metering window is a window divided by the demand metering device according to a fixed demand metering period, and the demand metering period is the duration of a single demand metering window. One demand metering window includes multiple control cycles divided according to a fixed period duration.

[0022] For example, if a complete demand metering window lasts for 15 minutes, and the duration of the control cycle that performs the control calculation within the demand metering window is 1 second, then the demand metering window includes 900 control cycles.

[0023] Specifically, the first cumulative amount refers to the cumulative purchased electricity energy on the billing side measured by the demand metering device within the current demand metering window.

[0024] It should be understood that the demand metering device is installed at the grid connection point. The demand metering device is used to measure the cumulative purchased electricity energy within the demand metering window, and to calculate the demand record of the average purchased power based on the cumulative purchased electricity energy and the total duration of the current demand metering window. The grid connection point refers to the boundary point where the internal power grid of the industrial and commercial park is electrically connected and power exchanged with the public power grid.

[0025] Specifically, the second cumulative amount refers to the cumulative purchased energy on the park side obtained by integrating the active power of the grid connection point in the direction of power purchase through a grid connection point power sampling link that is independent of the demand metering device and set at the grid connection point.

[0026] It should be understood that, except for the initial alignment of the second cumulative amount with the first cumulative amount according to a preset alignment rule during normal switching of the demand metering window, the second cumulative amount is obtained by integrating the active power of the grid-connected point in the power purchase direction through an independent grid-connected point power sampling link. The second cumulative amount is not overridden by the first cumulative amount, nor is it converted from the first cumulative amount or the grid-connected point active power output by the demand metering device. The billing link of the demand metering device and the grid-connected point power sampling link are different in at least one of the sampling data source, acquisition clock, or data generation path to avoid cross-referencing of data from the same source. The active power of the grid-connected point is positive in the power purchase direction and negative in the reverse power supply direction. When calculating the cumulative purchased energy, only the active power of the grid-connected point in the power purchase direction is integrated, and the power in the reverse power supply direction is counted as 0.

[0027] In some specific implementations, the second cumulative amount is The formula for calculating the second cumulative amount is defined as follows:

[0028] in, The second cumulative amount at the start of this scoring period initial value, For the first The active power at the grid connection point obtained from the second sampling direction of electricity purchase. For the first The duration of the active power at the grid connection point obtained from the second sampling in the direction of electricity purchase. The number of samples. This marks the starting moment of this scoring session.

[0029] It should be understood that when the demand metering window switches normally, This marks the start time of the new demand metering window. If the demand metering device resets the first accumulated amount to zero during a normal demand metering window switch, then... The value is 0; if the demand metering device does not clear the first accumulated amount when the demand metering window changes normally, the first accumulated amount is the reading of the accumulated purchased energy output by the demand metering device that has not been cleared relative to the start time of the new demand metering window. The increment of the reading, then This is the first cumulative amount.

[0030] Specifically, the data statistics time includes a first data statistics time and a second data statistics time. The first data statistics time refers to the moment when the demand metering device measures the first cumulative amount, and the second data statistics time is the moment when the active power at the grid connection point in the power purchase direction is integrated to obtain the second cumulative amount. Clock synchronization status refers to whether components such as the demand metering device and the active power sampling equipment at the grid connection point in the power purchase direction use a unified time base. Clock synchronization status includes a normal state and an abnormal state. In the normal state, the difference between the clocks of any two components is less than or equal to a preset time difference value. In the abnormal state, the difference between the clocks of any two components is greater than the preset time difference value. The preset time difference value is a non-negative value.

[0031] It should be understood that the difference between the two is the larger of the two minus the smaller of the two.

[0032] In some implementations, the window identifier of the current control cycle window, the first cumulative amount, and the first data statistics time can be directly obtained through the demand metering device. The second cumulative amount and the second data statistics time can be directly obtained through the grid connection point power sampling link. The clock synchronization status can be determined based on whether the difference between the clocks of any two components is less than or equal to a preset time difference value.

[0033] Specifically, the net load power of the park is the difference between the total load power of the park and the total output power of the distributed power source. The total load power of the park is the sum of the user load power, the charging pile load power, and other load power. The total output power of the distributed power source is the sum of the output power of photovoltaic power, wind power, biomass energy, and other power sources.

[0034] In some implementations, the process of determining the net load power of the park in the current control cycle can be as follows: obtain the most recent sampled net load power of the park; and use the most recent sampled net load power of the park as the net load power of the park in the current control cycle.

[0035] Optionally, the specific process for determining the net load power of the park in the current control cycle can be referred to the embodiments shown in S201-S204, which will not be repeated here.

[0036] In some implementations, the process of determining the allowable power of the device in the current control cycle can be as follows: determine the static allowable power of the device in the current control cycle, the change in device power, and the actual power of the first energy storage in the previous control cycle; determine the allowable power of the device in the current control cycle based on the static allowable power of the device, the actual power of the first energy storage, and the change in device power.

[0037] Optionally, the specific process for determining the allowable power of the device in the current control cycle is as shown in the embodiments S301-S304, and will not be repeated here.

[0038] Specifically, the energy storage candidate execution power refers to the expected energy storage execution power that has not yet been constrained by the grid connection point allowable power, the park net load power, and the equipment allowable power limits.

[0039] For example, the energy storage candidate execution power can be generated through rules, model predictions, day-ahead scheduling plans, or intraday scheduling plans. Among them, the day-ahead scheduling plan refers to the energy storage charging and discharging plan prepared one day in advance and covering different control cycles throughout the next day, while the intraday scheduling plan refers to the energy storage charging and discharging plan that is rolled over and corrected according to the latest forecasts and actual operating status during the day's operation and covers different control cycles for the remaining time period of the day.

[0040] In some implementations, the process of determining the energy storage candidate execution power for the current control period can be as follows: obtain the grid connection point allowable power and the first park net load power when the instruction delay takes effect for the current control period; determine the target grid connection point allowable power from the grid connection point allowable power for the current control period, and calculate the difference between the first park net load power when the instruction delay takes effect and the target grid connection point allowable power to obtain the energy storage candidate execution power.

[0041] In some specific implementations, the energy storage candidate execution power is The formula for calculating the candidate execution power of energy storage is defined as follows:

[0042] in, The net load power of the first campus when the instruction takes effect with a delay. The time when the instruction takes effect is delayed. For the target grid connection point's allowable power, This refers to the current moment.

[0043] In other implementations, the process of determining the energy storage candidate execution power for the current control cycle can be as follows: obtain the grid connection point allowable power and the first campus net load power when the instruction delay takes effect for the current control cycle; if the grid connection point allowable power for the current control cycle is equal to the first campus net load power when the instruction delay takes effect and there are no other scheduling requirements, then the energy storage candidate execution power is 0; if the first campus net load power when the instruction delay takes effect is greater than the grid connection point allowable power, then generate the energy storage candidate execution power in the discharge direction; if the first campus net load power when the instruction delay takes effect is less than the grid connection point allowable power, then generate the energy storage candidate execution power in the charging direction.

[0044] It should be understood that the grid connection point allowable power can be a single power value or a power range. When the grid connection point allowable power is a power range, the grid connection point allowable power in the current control cycle must be equal to the first campus net load power at the time the instruction delay takes effect, provided that the grid connection point allowable power within the power range is equal to the first campus net load power at the time the instruction delay takes effect. The first campus net load power at the time the instruction delay takes effect must be greater than or less than all the grid connection point allowable powers within the power range. If the battery energy storage system is discharging, the energy storage candidate execution power is positive; if the battery energy storage system is charging, the energy storage candidate execution power is negative.

[0045] In other implementations, candidate energy storage power can be generated based on data such as load, distributed power output, electricity price, demand metering window status, and energy storage state of charge.

[0046] Specifically, the first limiting power includes the contract power, the transformer allowable power, the line allowable power, the reverse power limit, the transformer reverse power limit, and the line reverse power limit. The first limiting power is used to limit the allowable power at the grid connection point.

[0047] Specifically, the window data for the current control cycle refers to the window data for the current demand metering window. The window data includes the total window duration and the target power. The total window duration refers to the length of time from the start to the end of a demand metering window; the target power refers to the upper limit of the average power purchased by the grid-connected points within a demand metering window.

[0048] In some implementations, when the window target power is not configured, the window target power is the contract power. The contract power refers to the average power purchased at the grid connection point as stipulated in the power supply contract signed between the industrial park and the power grid company; the contract power is an upper limit that cannot be exceeded.

[0049] S102. If the metering data meets the preset validity conditions, the grid connection point allowable power for the current control cycle is determined based on the metering data, window data, and the first limit power.

[0050] The preset validity conditions include: changes in the window identifier conform to preset rules; within the same window, neither the first cumulative amount nor the second cumulative amount is abnormally reset; the difference between the first cumulative amount and the second cumulative amount is less than or equal to the preset cumulative amount difference; the difference between the data statistics time and the current control time of the current control cycle is less than or equal to the preset data timeliness; and the clock synchronization state is normal, wherein the normal state is that the difference between multiple clocks is less than or equal to the preset time difference.

[0051] Specifically, the change of window identifier conforms to the preset rule that when switching to the current demand measurement window, the window number of the current demand measurement window is consecutive to the window number of the previous demand measurement window and the difference between the two is 1.

[0052] Specifically, within the same window, the first and second cumulative amounts not being abnormally reset means that before a demand metering window ends, the corresponding first and second cumulative amounts within that demand metering window should retain their respective accumulated purchased electricity energy and should not be reset to zero or restarted without cause.

[0053] Specifically, the difference between the first cumulative amount and the second cumulative amount being less than or equal to the preset cumulative amount difference means that the difference between the first cumulative amount and the second cumulative amount does not exceed the preset cumulative amount difference, indicating that the cumulative electricity purchase energy on the billing side and the cumulative electricity purchase energy on the park side are basically consistent. The preset cumulative amount difference is a non-negative value.

[0054] It should be understood that the difference between the two is the larger of the two values ​​minus the smaller of the two values. For example, the first cumulative amount is... The second cumulative amount is Therefore, the difference between the first cumulative amount and the second cumulative amount is .

[0055] Specifically, the difference between the data statistics time and the current control time of the current control cycle being less than or equal to the preset data validity period means that the difference between the first data statistics time and the current control time of the current control cycle does not exceed the preset data validity period, and the difference between the second data statistics time and the current control time of the current control cycle does not exceed the preset data validity period. This indicates that the first cumulative quantity and the second cumulative quantity meet the timeliness requirements. Here, the current control time of the current control cycle refers to the specific time corresponding to the current control time within the current demand measurement window, and the preset data validity period is a non-negative value.

[0056] Specifically, a normal clock synchronization state means that the difference between the clocks of any two components does not exceed a preset time difference value, indicating that all devices use a unified time reference.

[0057] It should be understood that if the measurement data meets all the conditions of the preset validity conditions, then the measurement data meets the preset validity conditions; if the measurement data does not meet any one of the conditions of the preset validity conditions, then the measurement data does not meet the preset validity conditions.

[0058] In some implementations, the process of determining the grid connection point allowable power for the current control cycle based on metering data, window data, and the first limit power can be as follows: determine the second limit power based on the metering data and window data; and determine the grid connection point allowable power for the current control cycle based on the second limit power and the first limit power.

[0059] In some implementations, the process of determining the second power limit based on metering data and window data can be as follows: calculate the product of the total window duration and the target power of the window to obtain the total purchased energy; calculate the difference between the total purchased energy and the first cumulative amount to obtain the remaining purchaseable energy; calculate the ratio of the remaining purchaseable energy to the remaining metering time to obtain the second power limit, wherein the remaining metering time is the difference between the total window duration and the cumulative metering time, and the cumulative metering time is the first data statistics time.

[0060] In other embodiments, the process of determining the grid connection point allowable power for the current control cycle based on the second limit power and the first limit power can be as follows: the minimum value among the second limit power, contract power, transformer allowable power, and line allowable power is taken as the upper limit of the grid connection point allowable power; the maximum value among the reverse power supply limit power, transformer reverse power supply limit power, and line reverse power supply limit power is taken as the lower limit of the grid connection point allowable power; and the power between the upper limit of the grid connection point allowable power and the lower limit of the grid connection point allowable power is taken as the grid connection point allowable power.

[0061] It should be understood that the power between the upper and lower power limits includes the upper power limit, the lower power limit, and the power between the upper and lower power limits.

[0062] In some implementations, boundary records are generated simultaneously when determining the boundaries of each power range. A boundary record includes at least one of the following: an upper or lower power bound, the boundary value corresponding to the upper or lower power bound, the source of the constraint forming the power boundary, data time, data quality, error margin, constraint category, and processing order. The constraint category includes equipment safety constraints, grid connection point safety constraints, and window target power constraints. If multiple constraint sources jointly form the same power boundary, the boundary record will store all constraint sources.

[0063] For example, if the reverse power limit is 0 kW, the second power limit is 820 kW, and the allowable power of the transformer and the allowable power of the line are both higher than the second power limit, then the allowable power at the grid connection point is [0, 820] kW.

[0064] Optionally, in determining the implementation of the second limiting power, energy margin and power margin can also be taken into account: the remaining purchasable electricity is obtained by subtracting the first cumulative amount from the total purchased electricity energy; the second limiting power is obtained by subtracting the power margin from the ratio of the remaining purchasable electricity to the remaining metering time. The energy margin is used to represent the uncertainty of the cumulative purchased electricity energy in the current demand metering window, and the power margin is used to represent the uncertainty of the active power at the grid connection point that is not reflected in other power such as energy storage demand power and equipment allowable power.

[0065] Specifically, the energy margin is the sum of the measurement error of the first cumulative quantity, the integration error of the second cumulative quantity, the verification deviation between the first and second cumulative quantities, and the energy error caused by the data missing period. If the verification deviation between the first and second cumulative quantities has been eliminated through initial value alignment, then the verification deviation between the first and second cumulative quantities is not repeatedly included in the energy margin. The power margin is the sum of the measurement error and limit error of the active power at the grid connection point that is not reflected in other power parameters such as energy storage demand power and equipment allowable power.

[0066] For example, for the first valid sampling time after the demand metering window switches. The first cumulative quantity output by the demand metering device is The second cumulative quantity formed by the independent integration of the local integrator before alignment is After initializing the second cumulative value with the first cumulative value, the alignment value of the second cumulative value is... Then, independent integration is performed based on the aligned values; simultaneously, the original deviation between the calculated first and second cumulative values ​​is used as the verification deviation between the first and second cumulative values. , This is a record for consistency verification of demand measurement window switching and subsequent cumulative quantity calibration.

[0067] Furthermore, if the active power data at the grid connection point is missing for 6 consecutive seconds, and 600 kW is used as the upper limit of the power purchased during the missing period, the energy error caused by the missing data period is: 600 × 6 ÷ 3600 = 1.00 kWh. When the first and second cumulative quantities have been aligned with the initial values ​​to eliminate the verification deviation between the first and second cumulative quantities, if the energy margin only includes the energy error caused by the missing data period, the energy margin should not be less than 1.00 kWh; if the energy margin also needs to include the integral error of the second cumulative quantity (0.10 kWh) and the measurement error of the first cumulative quantity (0.10 kWh), which were not calculated repeatedly, the energy margin should not be less than 1.20 kWh. When the first and second cumulative amounts are not aligned with the initial values ​​to eliminate the verification deviation between them, if the energy margin includes the verification deviation between the first and second cumulative amounts and the energy error caused by the missing data period, the energy margin should not be less than 1.15 kWh; if the energy margin also needs to include the integral error of the second cumulative amount (0.10 kWh) that was not calculated repeatedly and the measurement error of the first cumulative amount (0.10 kWh), the energy margin should not be less than 1.35 kWh.

[0068] In some specific implementations, the second limiting power is The formula for calculating the second limiting power is defined as follows:

[0069] in, For the target power of the window, Total window duration For the first cumulative amount, For energy margin, For the remaining metering time, This is the power margin.

[0070] For example, when the current demand metering window has been running for 10 minutes and there are 5 minutes of metering time remaining, the target power of the window is 1000 kW, the total window duration is 0.25 h, the first cumulative amount is 180 kWh, the energy margin is 0 kWh, the power margin is 20 kW, and the second limiting power calculated according to the above formula is 820 kW.

[0071] In this embodiment, the validity of the metering data is judged by multiple dimensions such as changes in the window identifier, the reset status of the two cumulative values, the deviation between the two cumulative values, the validity period of the data, and the clock synchronization status. This can help identify problems such as inaccurate determination of the final energy storage command execution power caused by demand metering window switching, reset anomalies, communication delays, timestamp anomalies, and cumulative value deviations.

[0072] S103. If the metering data does not meet the preset validity conditions, the grid connection point allowable power for the current control cycle is determined based on the first grid connection point allowable power, the first limit power and the preset safety boundary power, wherein the first grid connection point allowable power is the grid connection point allowable power determined when the most recent metering data met the preset validity conditions.

[0073] For example, if the metering data of the current control cycle does not meet the preset validity conditions, but the metering data of the previous control cycle does, then the grid connection point allowable power determined in the previous control cycle is taken as the first grid connection point allowable power. If neither the metering data of the current control cycle nor the metering data of the previous control cycle meets the preset validity conditions, but the metering data of the previous two control cycles does meet the preset validity conditions, then the grid connection point allowable power determined in the previous two control cycles is taken as the first grid connection point allowable power.

[0074] In some implementations, the process of determining the grid connection point allowable power for the current control cycle based on the first grid connection point allowable power, the first limit power, and the preset safety boundary power can be as follows: the minimum value among the first grid connection point allowable power upper limit, the preset safety boundary power upper limit, the contract power, the transformer allowable power, and the line allowable power is taken as the power upper limit of the grid connection point allowable power; the maximum value among the first grid connection point allowable power lower limit, the preset safety boundary power lower limit, the reverse power supply limit power, the transformer reverse power supply limit power, and the line reverse power supply limit power is taken as the power lower limit of the grid connection point allowable power; and the power between the grid connection point allowable power upper limit and the grid connection point allowable power lower limit is taken as the grid connection point allowable power.

[0075] In other implementations, while determining the upper limit of the allowable power at the grid connection point, it is also necessary to record the source of the restriction that forms the upper limit of the allowable power at the grid connection point; and, while determining the lower limit of the allowable power at the grid connection point, it is also necessary to record the source of the restriction that forms the lower limit of the allowable power at the grid connection point.

[0076] For example, if the minimum of the upper limit of the allowable power at the first grid connection point, the upper limit of the preset safety boundary power, the contract power, the allowable power of the transformer, and the allowable power of the line is the upper limit of the allowable power at the first grid connection point, then the limitation source of the upper limit of the allowable power at the grid connection point is the upper limit of the allowable power at the first grid connection point; if the maximum of the lower limit of the allowable power at the first grid connection point, the lower limit of the preset safety boundary power, the reverse power supply limitation power, the reverse power supply limitation power of the transformer, and the reverse power supply limitation power of the line is the reverse power supply limitation power, then the limitation source of the lower limit of the allowable power at the grid connection point is the reverse power supply limitation power.

[0077] In some implementations, when the remaining metering time is less than or equal to a preset minimum remaining time, the calculation of the second limiting power is stopped, and the grid connection point allowable power for the current control cycle is determined based on the first grid connection point allowable power, the first limiting power, and the preset safety boundary power, until a new normal demand metering window is detected. When the remaining purchasable electricity is less than or equal to 0, the first cumulative amount has reached or exceeded the budgeted purchase amount. Since the purchased electricity cannot be eliminated, the purchased electricity added after the current control time can only be reduced as much as possible within the range of the equipment's allowable power and the grid connection point allowable power. The window target power is recorded as unattainable only when the remaining energy budget corresponding to the window target power cannot be reached within the remaining metering time even after using the maximum discharge power of the equipment's allowable power.

[0078] It should be understood that when the measurement data does not meet the preset validity conditions, it is not necessary to determine whether the target power of the window can be reached.

[0079] S104. Based on the grid connection point's allowable power, the park's net load power, the equipment's allowable power, and the energy storage candidate execution power, determine the first energy storage command execution power for the current control cycle.

[0080] Specifically, the first energy storage command execution power is the power value in the charge and discharge power command issued to the energy storage converter in the current control cycle. The first energy storage command execution power is used to represent the charge and discharge power of the battery when the energy storage converter executes the command.

[0081] Among them, the power conversion system (PCS) is a device that connects the battery (DC) to the power grid / load (AC). It is responsible for controlling the bidirectional flow of electrical energy and accurately executing the charging and discharging power commands issued by the controller.

[0082] In some implementations, the process of determining the first energy storage command execution power for the current control cycle based on the grid connection point allowable power, the park net load power, the equipment allowable power, and the energy storage candidate execution power can be as follows: determine the energy storage demand power for the current control cycle based on the grid connection point allowable power and the park net load power; determine the first energy storage command execution power for the current control cycle based on the energy storage demand power, the equipment allowable power, and the energy storage candidate execution power.

[0083] Optionally, the specific process of determining the first energy storage command execution power of the current control cycle based on the grid connection point allowable power, park net load power, equipment allowable power and energy storage candidate execution power is as shown in the embodiments in S401-S404, and will not be repeated here.

[0084] In this embodiment, the validity of metering data is determined by preset validity conditions. Metering data that meets the preset validity conditions can be used together with window data and the first limit power to determine the grid connection point allowable power for the current control cycle. Metering data that does not meet the preset validity conditions cannot participate in the determination of the grid connection point allowable power. Instead, the grid connection point allowable power is determined based on the first grid connection point allowable power, the first limit power, and the preset safety boundary power. This avoids inaccurate determination of the final energy storage target execution power due to invalid metering data. Furthermore, when determining the first energy storage command execution power for the current control cycle, the device allowable power can be directly used together with the grid connection point allowable power, the park net load power, and the energy storage candidate execution power to determine the first energy storage command execution power. This avoids inaccurate determination of the final energy storage target execution power due to failure to consider the actual executability of the device.

[0085] As a possible embodiment of this application, the specific process of determining the net load power of the park in the current control cycle in S101 above can be implemented by the following S201-S204.

[0086] Please see Figure 2 , Figure 2 This is a schematic diagram illustrating the process of determining the net load power of the park during the current control cycle in another park energy storage control method provided in this application embodiment. For example... Figure 2 As shown, determining the net load power of the park in the current control cycle in S101 specifically includes the following steps: S201. Determine the instruction delay effective time of the current control cycle, the most recent net load sampling power of the park, the net load power change rate of the park, and the net load error margin of the park.

[0087] Specifically, the instruction delay time of the current control cycle refers to the time between the current control moment of the current control cycle and the effective time of the charging and discharging power instruction issued to the energy storage converter.

[0088] In some implementations, the process of determining the instruction delay effective time of the current control cycle is as follows: acquire the data acquisition delay time, instruction transmission delay time and response delay time, calculate the sum of the data acquisition delay time, instruction transmission delay time and response delay time to obtain the instruction delay effective time of the current control cycle.

[0089] Specifically, the net load power of the park obtained from the most recent sampling is taken as the net load power of the park in the most recent sampling.

[0090] Specifically, the net load power change rate of the park refers to the rate of change of the net load power of the park within the current control cycle relative to the previous control cycle (or a certain historical moment).

[0091] In some implementations, the process of determining the rate of change of net load power in the park can be as follows: obtain the most recent preset number of net load sampling power samples in the park and their corresponding timestamps, perform linear fitting on the net load sampling power samples and timestamps in the park, and use the slope of the fitted line as the rate of change of net load power in the park.

[0092] In other implementations, the process of realizing the net load power change rate of the park can be as follows: obtain the net load sampling power of the two most recent parks and their corresponding timestamps, compare the difference between the net load sampling power of the two parks and the difference between the two timestamps to obtain the net load power change rate of the park.

[0093] Specifically, the net load margin of the park refers to the deviation generated in the process of sampling measurement and predictive calculation of the park's net load power, that is, the difference between the actual net load power of the park and the net load power obtained from sampling measurement, and the difference between the actual net load power of the park and the net load power obtained from predictive calculation.

[0094] In some implementations, the process of determining the net load error margin of the park can be as follows: obtain the net load measurement error and the short-term prediction error of the net load of the park; calculate the sum of the net load measurement error and the short-term prediction error of the net load of the park to obtain the net load error margin of the park.

[0095] S202. Based on the instruction delay effective time, the most recent sampled net load power of the park, and the change rate of net load power of the park, determine the first net load power of the park when the instruction is delayed.

[0096] In some implementations, the process of determining the first net load power of the park when the instruction delay takes effect, based on the instruction delay effective time, the most recent sampled net load power of the park, and the rate of change of net load power of the park, can be as follows: calculate the product of the rate of change of net load power of the park and the instruction delay effective time to obtain the change in net load power of the park; calculate the sum of the most recent sampled net load power of the park and the change in net load power of the park to obtain the first net load power of the park when the instruction delay takes effect.

[0097] S203. If the instruction delay time is less than or equal to the preset delay time, and the change rate of the net load power of the park is less than or equal to the preset change rate, then the net load power of the first park shall be taken as the net load power of the park.

[0098] Specifically, since the net load power of the park can be ignored when the instruction delay time is less than or equal to the preset delay time and the net load power change rate of the park is less than or equal to the preset change rate, the net load power of the park can be regarded as a fixed value and the first net load power of the park can be used as the final net load power of the park.

[0099] S204. If the instruction delay time is greater than the preset delay time, and / or the change rate of the net load power of the park is greater than the preset change rate, then the net load power of the park shall be determined according to the first net load power of the park and the net load error margin of the park.

[0100] Specifically, since the net load power change rate of the park is greater than the preset delay time and / or the net load power change rate of the park is greater than the preset change rate, the net load power of the park cannot be ignored due to the net load error margin. Therefore, it is necessary to calculate the sum of the first net load power of the park and the net load error margin of the park as the upper limit of the net load power of the park, and to calculate the difference between the first net load power of the park and the net load error margin of the park as the lower limit of the net load power of the park. The power between the upper limit of the net load power of the park and the lower limit of the net load power of the park is taken as the final net load power of the park.

[0101] In this embodiment of the application, when determining the net load power of the park, considering that the net load power of the park may change due to the delay in the effective date of the command, the first net load power of the park when the command is delayed is calculated first, and the net load power of the park is further determined based on the first net load power of the park when the command is delayed. This not only reduces the risk of boundary failure caused by acquisition delay, transmission delay and response delay, but also provides an accurate calculation basis for subsequently determining the energy storage command execution power.

[0102] As a possible embodiment of this application, the specific process of determining the device's allowable power for the current control cycle in S101 above can be implemented through the following S301-S304.

[0103] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating the process of determining the allowable power of the equipment in the current control cycle in another park energy storage control method provided in this application embodiment. For example... Figure 3 As shown, determining the allowable power of the device in the current control cycle in S101 specifically includes the following steps: S301. Determine the static allowable power of the equipment and the change in equipment power in the current control cycle, as well as the actual power of the first energy storage in the previous control cycle.

[0104] Specifically, the static allowable power of the equipment refers to the maximum charge and discharge power allowed by the battery energy storage system during the current control cycle.

[0105] In some implementations, the process of determining the static allowable power of the device in the current control cycle can be as follows: obtaining the maximum charging power and maximum discharging power of the battery output by the battery management system, the maximum charging conversion power and maximum discharging conversion power output by the energy storage converter, as well as the state of charge, state of health, temperature, and voltage; determining the battery state charging limit power and battery state discharging limit power based on the state of charge, state of health, temperature, and voltage; using the larger value among the maximum charging power, maximum charging conversion power, and battery state charging limit power as the static allowable power of the device; using the smaller value among the maximum discharging power, maximum discharging conversion power, and battery state discharging limit power as the static allowable power of the device; and using the power between the static charging power and the static discharging power as the static allowable power of the device.

[0106] For example, if the battery's state of charge is greater than a preset state of charge value, the battery state charging limit power is 0kW.

[0107] The Battery Management System (BMS) is an electronic control system that performs real-time monitoring, state estimation, safety protection, equalization management, and information exchange for batteries. State of Charge (SOC) refers to the proportion of a battery's current remaining usable capacity to its current maximum usable capacity. State of Health (SOH) refers to the battery's current health relative to its condition when it was new at the factory, typically defined by capacity or internal resistance.

[0108] It should be understood that discharge power is positive, while charging power is negative. A battery energy storage system includes the battery, the battery management system, and the energy storage converter.

[0109] Specifically, the power change of the equipment refers to the power change of the energy storage converter in the charging and discharging directions during the current control cycle. The power change of the equipment includes the power change of charging and the power change of discharging.

[0110] In some implementations, the process of determining the charging power change of the device power change can be as follows: obtain the initial charging power change of the current control cycle, the charging response coefficient of the first response coefficient, and the charging response deviation margin of the first response deviation margin; calculate the product of the initial charging power change and the charging response coefficient to obtain the intermediate charging power change; calculate the difference between the intermediate charging power change and the charging response deviation margin to obtain the charging power change.

[0111] In some implementations, the process of determining the discharge power change of the device power change can be as follows: obtain the initial discharge power change of the current control cycle, the discharge response coefficient of the first response coefficient, and the discharge response deviation margin of the first response deviation margin; calculate the product of the initial discharge power change and the discharge response coefficient to obtain the intermediate discharge power change; calculate the difference between the intermediate discharge power change and the discharge response deviation margin to obtain the discharge power change.

[0112] For example, if the initial change in charging power in the current control cycle is 60 kW, the charging response coefficient of the first response coefficient is 0.9, and the charging response deviation margin of the first response deviation margin is 0 kW, then the change in charging power is 54 kW.

[0113] It should be understood that if the change in charging power is less than 0, then the change in charging power is 0; if the change in discharging power is less than 0, then the change in discharging power is 0. When the first response coefficient is greater than 1, it is used as 1 in the calculation to avoid overestimating the equipment's response capability due to instantaneous overshoot or measurement fluctuations, and to prevent the allowable power range of the equipment from being unduly expanded.

[0114] Specifically, the first actual energy storage power executed in the previous control cycle refers to the actual charging and discharging power performed by the energy storage after the command was issued to the energy storage converter during the previous control cycle. The first actual energy storage power executed in the previous control cycle can be obtained directly.

[0115] S302. The larger of the static charging power of the device and the variable power of the first device is taken as the first allowable power of the device, wherein the variable power of the first device is the difference between the actual execution power of the first energy storage and the change in charging power of the device power change.

[0116] Specifically, the difference between the actual power of the first energy storage and the change in charging power of the device power change is first calculated to obtain the first device change power; then the static charging power of the device static allowable power is compared with the first device change power, and the larger value is selected as the first device allowable power.

[0117] In some specific implementations, the first device is allowed to have a power of The formula for calculating the allowable power of the first device is defined as follows:

[0118] in, The static charging power of the device is the static allowable power of the device. This represents the actual power of the first energy storage operation in the previous control cycle. The change in charging power represents the change in device power.

[0119] For example, if the static allowable power of the device in the current control cycle is the static charging power of the device... The initial charging power change is 60 kW, the first response coefficient is 1, the first response deviation margin is 0 kW, and the actual energy storage power of the previous control cycle was 180 kW. Therefore, the charging power change is 60 kW, and the allowable power of the first device is... .

[0120] S303. The smaller value between the static discharge power of the equipment and the variable power of the second equipment is taken as the second allowable power of the equipment, wherein the variable power of the second equipment is the sum of the actual execution power of the first energy storage and the change in discharge power of the equipment power change.

[0121] Specifically, the sum of the actual power of the first energy storage and the change in discharge power of the equipment power change is first calculated to obtain the change in power of the second equipment; then the static discharge power of the equipment static allowable power is compared with the change in power of the second equipment, and the smaller value is selected as the allowable power of the second equipment.

[0122] In some specific implementations, the second device is allowed to have a power of The formula for calculating the allowable power of the second device is defined as follows:

[0123] in, The static discharge power of the equipment is the static allowable power. This represents the actual power of the first energy storage operation in the previous control cycle. The change in discharge power represents the change in equipment power.

[0124] For example, if the static discharge power of the equipment in the current control cycle is 300 kW, the initial change in discharge power is 60 kW, the discharge response coefficient of the first response coefficient is 0.9, the discharge response deviation margin of the first response deviation margin is 0 kW, and the actual execution power of the first energy storage in the previous control cycle was 180 kW, then the change in discharge power is 54 kW, and the second equipment allowable power is... .

[0125] S304. The power between the first device's allowable power and the second device's allowable power is taken as the device's allowable power for the current control cycle.

[0126] Specifically, the first allowable power of the device is used as the lower limit of the allowable power of the device, and the second allowable power of the device is used as the upper limit of the allowable power of the device; the power between the lower limit of the allowable power of the device and the upper limit of the allowable power of the device is used as the allowable power of the device in the current control cycle.

[0127] For example, if the first device has a permissible power of 120 kW and the second device has a permissible power of 234 kW, then the permissible power of the devices is [120, 234] kW.

[0128] It should be understood that, in the numerical examples above, although the static allowable power of the device includes the static charging power of the device, the device allowable power only includes the discharging power due to the limitations of the actual energy storage power and the change in device power in the first control cycle.

[0129] In this embodiment, the allowable power of the device is determined based on the battery's state of charge, health status, temperature and voltage, as well as the battery management system, energy storage converter, device power change, and the actual execution power of the first energy storage in the previous control cycle. This ensures that the actual executability of each device is fully considered, which not only helps to ensure the executability of the allowable power of the device, but also provides an accurate calculation basis for determining the execution power of the energy storage command in the future.

[0130] As a possible embodiment of this application, the specific process of determining the first energy storage command execution power of the current control cycle based on the grid connection point allowable power, park net load power, equipment allowable power and energy storage candidate execution power in S104 can be implemented by the following S401-S404.

[0131] Please see Figure 4 , Figure 4 This is a schematic diagram illustrating the process of determining the first energy storage command execution power for the current control cycle based on the grid connection point's allowable power, the park's net load power, the equipment's allowable power, and the energy storage candidate execution power, in another park energy storage control method provided in this application embodiment. Figure 4 As shown, determining the first energy storage command execution power for the current control cycle based on the grid connection point's allowable power, the park's net load power, the equipment's allowable power, and the energy storage candidate execution power specifically includes the following steps: S401. Determine the energy storage demand power for the current control cycle based on the grid connection point's allowable power and the park's net load power.

[0132] Among them, the energy storage demand power refers to the power that the energy storage converter needs to perform in order to meet the power constraints of the grid connection point, which is the power that the battery needs to charge and discharge.

[0133] Specifically, the energy storage demand power for the current control cycle is the difference between the park's net load power and the grid connection point's allowable power. If the park's net load power is a fixed value, the power range of the energy storage demand power is determined based on the difference between the upper and lower bounds of the park's net load power and the grid connection point's allowable power. If the park's net load power is not a fixed value, the power range of the energy storage demand power is determined based on the difference between the upper and lower bounds of the park's net load power and the grid connection point's allowable power.

[0134] In some specific implementations, the energy storage power requirement is The formula for calculating the required power of energy storage is defined as follows:

[0135] in, This represents the net load power of the park. This refers to the allowable power at the grid connection point.

[0136] In some specific implementations, the power range of the energy storage demand is as follows: The formula for calculating the power range required for energy storage is defined as follows:

[0137] in, This represents the net load power of the park. The upper limit of the allowable power at the grid connection point. This is the lower limit of the allowable power at the grid connection point.

[0138] It should be understood that when the instruction delay time is less than or equal to the preset delay time, and the net load power change rate of the park is less than or equal to the preset change rate, the net load power of the park is a fixed value. In this case, the above formula is used to calculate the power range of energy storage demand power.

[0139] In some specific implementations, the power range of the energy storage demand is as follows: The formula for calculating the power range required for energy storage is defined as follows:

[0140] in, This is the upper limit of the net load power of the park. This is the lower limit of the net load power of the park. The upper limit of the allowable power at the grid connection point. This is the lower limit of the allowable power at the grid connection point.

[0141] For example, if the upper limit of the net load power of the park is 1050 kW, the lower limit of the net load power of the park is 1030 kW, the upper limit of the allowable power of the grid connection point is 820 kW, and the lower limit of the allowable power of the grid connection point is 0 kW, then the power range of the energy storage demand is [230, 1030] kW.

[0142] It should be understood that when the instruction delay takes effect time is greater than the preset delay time, and / or the change rate of the park's net load power is greater than the preset change rate, the park's net load power is not a definite value. In this case, the above formula is used to calculate the power range of the energy storage demand power.

[0143] S402, the larger of the minimum energy storage demand power and the minimum allowable energy storage power of the equipment shall be used as the minimum executable energy storage power; and the smaller of the maximum energy storage demand power and the maximum allowable energy storage power of the equipment shall be used as the maximum executable energy storage power.

[0144] Specifically, the minimum energy storage demand power is compared with the minimum allowable energy storage power of the equipment, and the larger value is the minimum executable energy storage power; the maximum energy storage demand power is compared with the maximum allowable energy storage power of the equipment, and the smaller value is the maximum executable energy storage power.

[0145] Specifically, the minimum energy storage demand power is the lower bound of the energy storage demand power range, and the maximum energy storage demand power is the upper bound of the energy storage demand power range. Similarly, the minimum allowable energy storage power is the lower bound of the allowable energy storage power range, and the maximum allowable energy storage power is the upper bound of the allowable energy storage power range. Finally, the minimum executable energy storage power is the lower bound, and the maximum executable energy storage power is the upper bound.

[0146] S403. If the minimum energy storage executable power is less than or equal to the maximum energy storage executable power, then the power between the minimum energy storage executable power and the maximum energy storage executable power is taken as the energy storage executable power of the current control cycle, and the first energy storage command execution power is determined based on the energy storage executable power and the energy storage candidate execution power.

[0147] Specifically, when the minimum executable energy storage power is less than or equal to the maximum executable energy storage power, the power between the minimum executable energy storage power and the maximum executable energy storage power is considered as the executable energy storage power.

[0148] In some implementations, the process of determining the first energy storage command execution power based on the energy storage executable power and the energy storage candidate execution power can be as follows: narrowing the energy storage candidate execution power to the energy storage executable power to obtain the first energy storage candidate execution power; if the preset candidate conditions are met, the first energy storage candidate execution power is used as the first energy storage command execution power; if no preset candidate conditions are met, the second energy storage command execution power of the previous control cycle is used as the first energy storage command execution power.

[0149] Optionally, the specific process of determining the first energy storage command execution power based on the energy storage executable power and the energy storage candidate execution power is as shown in the embodiments in S501-S504, and will not be repeated here.

[0150] S404. If the minimum executable energy storage power is greater than the maximum executable energy storage power, then the device's allowed power shall be used as the first energy storage command execution power.

[0151] In some implementations, when the minimum executable energy storage power is greater than the maximum executable energy storage power, the first energy storage command execution power is determined within the power range of the device's allowable power.

[0152] Specifically, when determining the first energy storage command execution power within the power range allowed by the equipment, the power value that minimizes the exceedance of the transformer's allowed power, the line's allowed power, the reverse power supply limit power, the transformer's reverse power supply limit power, and the line's reverse power supply limit power is selected first. If multiple power values ​​satisfy the first step condition, the power value that minimizes the exceedance of the window target power is selected from among these power values. If multiple power values ​​still satisfy the first two steps condition, the power value that is closest to the actual first energy storage execution power of the previous control cycle is selected from among these power values. In each of the above steps, if the power value satisfying the current step condition is unique, this unique power value is used as the first energy storage command execution power; if multiple power values ​​exist, the process continues to the next step of selection.

[0153] It should be understood that if the device's allowed power has only one unique value, then the unique power value of the device's allowed power will be directly used as the power for executing the first energy storage command.

[0154] In some implementations, when the minimum executable energy storage power is not greater than the maximum executable energy storage power, there is a common portion between the energy storage demand power and the device's allowable power. The power range between the minimum and maximum executable energy storage power is taken as the executable energy storage power, and the limiting sources that form the minimum and maximum executable energy storage power are stored. When the minimum executable energy storage power is greater than the maximum executable energy storage power, there is no common portion between the energy storage demand power and the device's allowable power. The difference between the minimum and maximum executable energy storage power is taken as the conflict power difference, and the cause of the conflict power difference is determined based on the limiting sources of the minimum and maximum executable energy storage power. This leads to the generation of requests for load adjustment, charging delay, renewable energy generation restrictions, or window target power adjustments.

[0155] For example, if the park has adjustable loads or charging pile interfaces and other collaborative resources, the adjustable load can be reduced, the charging of charging piles can be delayed, or the target power of the window can be adjusted according to the conflict power difference. If the park does not have adjustable loads or charging pile interfaces and other collaborative resources, a local warning is generated, the boundary record of the conflict power difference is retained, and the first and second cumulative amounts are updated according to the actual power of the grid connection point. That is, the cumulative purchased electricity energy of the demand metering device in the current demand metering window is obtained as the updated first cumulative amount, and the active power of the grid connection point in the power purchase direction is integrated through the grid connection point power sampling link to update the second cumulative amount.

[0156] In this embodiment, the energy storage demand power is first calculated based on the grid connection point's allowable power and the park's net load power. Then, the intersection of the energy storage demand power and the equipment's allowable power is calculated to determine if there is a common portion between them. The first energy storage command execution power is determined based on whether a common portion exists or not, allowing for different processing for different scenarios. Furthermore, the first energy storage command execution power determined in both scenarios falls within the equipment's allowable power range, thus preventing the actual energy storage execution power from deviating from the final determined first energy storage command execution power due to equipment inability to execute.

[0157] As a possible embodiment of this application, the specific process of determining the first energy storage command execution power based on the energy storage executable power and the energy storage candidate execution power in the above S403 can be implemented by the following S501-S504.

[0158] Please see Figure 5 , Figure 5 This is a schematic diagram illustrating the process of determining the first energy storage command execution power based on the executable energy storage power and the candidate energy storage execution power in another park energy storage control method provided in this application embodiment. Figure 5 As shown, determining the first energy storage command execution power based on the energy storage executable power and the energy storage candidate execution power specifically includes the following steps: S501. If the energy storage candidate execution power is not equal to the energy storage executable power, then the first energy storage candidate execution power shall be determined based on the energy storage candidate execution power and the energy storage executable power.

[0159] Specifically, if the candidate energy storage power is outside the power range of the executable energy storage power, and the candidate energy storage power is greater than the maximum executable energy storage power, then the first candidate energy storage power is the maximum executable energy storage power. If the candidate energy storage power is outside the power range of the executable energy storage power, and the candidate energy storage power is less than the minimum executable energy storage power, then the first candidate energy storage power is the minimum executable energy storage power.

[0160] It should be understood that if there is only one possible power value for the energy storage executable power, then it can be directly determined whether the unique power value of the energy storage executable power is equal to the candidate power of the energy storage.

[0161] For example, if the power range of the energy storage executable power is [230, 234] kW, and the energy storage candidate executable power is 200 kW, then the first energy storage candidate executable power is 230 kW.

[0162] S502. If the energy storage candidate execution power is equal to the energy storage executable power, then the energy storage candidate execution power shall be taken as the first energy storage candidate execution power.

[0163] Specifically, if the energy storage candidate execution power is within the power range of the energy storage executable power (the energy storage candidate execution power is not greater than the maximum energy storage executable power and not less than the minimum energy storage executable power), then the first energy storage candidate execution power is the energy storage candidate execution power.

[0164] For example, if the power range of the energy storage executable power is [230, 234] kW, and the energy storage candidate executable power is 233 kW, then the first energy storage candidate executable power is 233 kW.

[0165] S503. If the preset candidate conditions are met, the first energy storage candidate execution power is used as the first energy storage command execution power. The preset candidate conditions are that the difference between the first energy storage candidate execution power and the second energy storage command execution power of the previous control cycle is greater than the preset hysteresis difference value, and / or the second energy storage command execution power is not equal to the energy storage executable power.

[0166] Specifically, when the difference between the first energy storage candidate execution power and the second energy storage command execution power of the previous control cycle is greater than a preset hysteresis difference value, wherein the preset hysteresis difference value is a non-negative value, and / or when the second energy storage command execution power is outside the power range of the energy storage executable power, the first energy storage command execution power is the first energy storage candidate execution power.

[0167] It should be understood that if there is only one power value for the energy storage executable power, it can be directly determined whether the unique power value of the energy storage executable power is equal to the power executed by the second energy storage command.

[0168] For example, if the first energy storage candidate execution power is 233 kW, the second energy storage command execution power in the previous control cycle is 300 kW, the preset hysteresis difference is 60 kW, and the power range of the energy storage executable power is [230, 234] kW, then the difference between the first energy storage candidate execution power and the second energy storage command execution power in the previous control cycle is 67 kW, which is greater than 60 kW, and 300 kW is outside the range of [230, 234] kW. Therefore, the first energy storage command execution power is 233 kW.

[0169] S504. If the preset candidate conditions are not met, the second energy storage command execution power shall be used as the first energy storage command execution power.

[0170] Specifically, when the difference between the first energy storage candidate execution power and the second energy storage command execution power of the previous control cycle is less than or equal to the preset hysteresis difference value and the second energy storage command execution power is within the power range of the energy storage executable power, the first energy storage command execution power is the second energy storage command execution power.

[0171] For example, if the first energy storage candidate execution power is 230 kW, the second energy storage command execution power of the previous control cycle is 234 kW, the preset hysteresis difference is 60 kW, and the power range of the energy storage executable power is [230, 234] kW, then the difference between the first energy storage candidate execution power and the second energy storage command execution power of the previous control cycle is 4 kW, which is less than 60 kW, and 234 kW is within [230, 234] kW. Therefore, the first energy storage command execution power is 234 kW.

[0172] In some practical applications, the execution power of the first energy storage command can be adjusted according to the change in equipment power, so as to limit the execution power of the first energy storage command to within the power range of the energy storage executable power, thus obtaining the adjusted execution power of the first energy storage command.

[0173] For example, if the first energy storage command execution power is 230 kW, the second energy storage command execution power in the previous control cycle is 180 kW, and the discharge power change is 54 kW, then the difference between the first energy storage candidate execution power and the second energy storage command execution power is 50 kW, which is less than 54 kW. Under the condition of satisfying the preset candidate conditions, the adjusted first energy storage command execution power is still 230 kW.

[0174] In this embodiment, by comparing the candidate energy storage power with the executable energy storage power, the candidate energy storage power is narrowed down to the power range of the executable energy storage power. This ensures that the final determined first candidate energy storage power is within the power range of the executable energy storage power, thereby guaranteeing the executability of the first candidate energy storage power. Only when the preset candidate conditions are met is the first candidate energy storage power used as the first energy storage command execution power; otherwise, the second energy storage command execution power is used as the first energy storage command execution power. This reduces unnecessary power adjustments and improves the stability of the control method.

[0175] In some implementations, the battery energy storage system includes multiple energy storage units. An energy storage unit is the smallest controllable object capable of independently obtaining the power boundaries of the battery management system and the energy storage inverter, and independently receiving charge / discharge power commands. An energy storage unit can consist of an energy storage cabinet (battery and battery management system) and its independent energy storage inverter branch, or it can consist of multiple energy storage cabinets and a shared energy storage inverter, or it can consist of multiple energy storage cabinets and multiple parallel-connected energy storage inverters.

[0176] Specifically, when each energy storage unit can be independently controlled and there is no shared power constraint, the sum of the lower bounds of the allowable power of each energy storage unit is used as the initial aggregated power lower bound, and the sum of the upper bounds of the allowable power of each energy storage unit is used as the initial aggregated power upper bound. The power range between the initial aggregated power upper bound and the initial aggregated power lower bound is used as the allowable aggregated power of the equipment. When there are common constraints such as shared energy storage converter, transformer, and bus capacity, the power range of the allowable aggregated power of the equipment is narrowed using the above common constraints to form the narrowed allowable aggregated power of the equipment.

[0177] It should be understood that the power range of the device's allowed aggregated power is equivalent to the power range of the device's allowed power, and the device's allowed aggregated power can be used to determine the final first energy storage command execution power.

[0178] Furthermore, once the power value corresponding to the total charge / discharge power command is determined, discharge power is preferentially allocated to energy storage units with higher states of charge (SOC), and charging power is preferentially allocated to energy storage units with lower SOC. This is while also considering the available power, health status, temperature, and historical response of each energy storage unit. After allocation, the power value corresponding to the charge / discharge power command of each energy storage unit should be within the power range allowed by the corresponding device, and the sum of the power values ​​corresponding to the charge / discharge power commands of all energy storage units should equal the power value corresponding to the total charge / discharge power command. When an energy storage unit is derated or its actual response is insufficient, the power range allowed by the device corresponding to that energy storage unit is updated in the next control cycle, and the unexecuted charge / discharge power is reallocated to other executable energy storage units.

[0179] Please see Figure 6 , Figure 6 This is a flowchart illustrating another park energy storage control method provided in an embodiment of this application. Figure 6 As shown, the method also includes the following steps: S601. After the first energy storage command execution power is completed, obtain the second energy storage actual execution power, the first response coefficient and the first response deviation margin of the current control cycle, as well as the first energy storage actual execution power and the second energy storage command execution power of the previous control cycle.

[0180] It should be understood that after the instruction is sent to the energy storage converter, the preset response time for the power direction (charging direction or discharging direction) of the first energy storage instruction is completed.

[0181] Specifically, the second actual energy storage power is the actual charging and discharging power of the energy storage unit when the energy storage converter executes the command in the current control cycle. The first actual energy storage power is the actual charging and discharging power of the energy storage unit when the energy storage converter executes the command in the previous control cycle. The second energy storage command execution power is the power value in the charging and discharging power command issued to the energy storage converter in the previous control cycle. The first response coefficient includes the charging response coefficient and the discharging response coefficient.

[0182] S602. Calculate the difference between the second energy storage command execution power and the first energy storage command execution power to obtain the command power change; and calculate the difference between the second energy storage actual execution power and the first energy storage actual execution power to obtain the actual power change.

[0183] Specifically, the change in command power refers to the difference between the first energy storage command execution power in the current control cycle and the second energy storage command execution power in the previous control cycle; the change in actual power refers to the difference between the second energy storage actual execution power in the current control cycle and the first energy storage actual execution power in the previous control cycle.

[0184] S603. If the change in commanded power is not equal to 0, the direction of change of actual power is the same as the direction of change of commanded power, and no abnormal situation occurs during command execution, then the second response deviation margin and the second response coefficient for the next control cycle are determined based on the change in commanded power, the first response coefficient, and the actual power change. The second response deviation margin and the second response coefficient are used to limit the allowable power of the equipment in the next control cycle.

[0185] Specifically, the direction of change of actual power is the same as the direction of change of commanded power, meaning that both the actual power change and the commanded power change are positive or both are negative. No abnormal situations occurred during command execution, meaning that no battery management system derating, energy storage converter limiting, fault switching windows, or sudden power boundary changes occurred within the preset response time.

[0186] In some implementations, the process of determining the second response deviation margin and the second response coefficient of the next control cycle based on the commanded power change, the first response coefficient, and the actual power change can be as follows: calculate the product of the commanded power change and the charging response coefficient (or discharging response coefficient) of the first response coefficient to obtain the expected power change; calculate the difference between the actual power change and the expected power change to obtain the second response deviation margin of the next control cycle; calculate the ratio of the actual power change to the commanded power change to obtain the response ratio; and use the sum of the response ratio and the charging response coefficient (or discharging response coefficient) of the first response coefficient as the charging response coefficient (or discharging response coefficient) of the second response coefficient in the next control cycle.

[0187] In other implementations, the response ratio and the charging response coefficient (or discharging response coefficient) of the first response coefficient can be weighted and summed according to a preset weight to obtain the charging response coefficient (or discharging response coefficient) of the second response coefficient in the next control cycle.

[0188] It should be understood that the charging response coefficient and discharging response coefficient of the first response coefficient should be updated separately. The charging response coefficient (or discharging response coefficient) of the second response coefficient in the next control cycle can be greater than 1. This value is used to record the short-term overshoot of the energy storage converter. However, when calculating the allowable power of the equipment, the value of the second response coefficient must not be greater than 1, so as not to overestimate the response capability that the energy storage converter can continuously provide.

[0189] Meanwhile, if any of the following conditions are not met: the change in command power is not equal to 0, the direction of change of actual power is the same as the direction of change of command power, and no abnormal situation occurs during command execution, then the second response deviation margin of the next control cycle is the effective response deviation margin, which is the first response deviation margin of the current control cycle, and the second response coefficient of the next control cycle is the effective response coefficient, which is the first response coefficient of the current control cycle.

[0190] Specifically, all data in the current control cycle are considered valid update samples when the commanded power change is not zero, the actual power change is in the same direction as the commanded power change, and no abnormalities occur during command execution. Data in the current control cycle that exhibits a reverse response, continuous no response, or a timeout is recorded as an abnormal update sample.

[0191] S604. If the execution power deviation is greater than the preset power deviation value, the updated second response deviation margin is determined based on the second response deviation margin, the first response deviation margin, and the execution power deviation, wherein the execution power deviation is the difference between the actual execution power of the second energy storage and the execution power of the first energy storage command.

[0192] Specifically, after the preset response time expires and S603 has calculated the second response deviation margin and the second response coefficient for the next control cycle, if the execution power deviation is greater than the preset power deviation value, the maximum value among the second response deviation margin, the first response deviation margin, and the execution power deviation is used as the updated second response deviation margin, and a response anomaly alarm is generated. The second response deviation margin for the next control cycle calculated in S603 is further updated so that the finally determined second response deviation margin is not less than the first response deviation margin and the second response deviation margin for the next control cycle already calculated by S603, in order to tighten the allowable power of the equipment in the next control cycle.

[0193] It should be understood that if the execution power deviation is less than or equal to the preset power deviation value, the second response deviation margin calculated in S603 is used as the final second response deviation margin; if the execution power deviation is greater than the preset power deviation value, the second response deviation margin further updated in S604 is used as the final second response deviation margin.

[0194] S605. Update the first and second cumulative amounts in the measurement data.

[0195] Specifically, the cumulative purchased energy recorded by the demand metering device in the current demand metering window is reread, and the latest reading is used as the first cumulative amount for this update. When the demand metering window has not changed, the active power at the grid connection point in the direction of electricity purchase is integrated between the time of the last update of the second cumulative amount and the time of this update of the second cumulative amount through the grid connection point power sampling link to obtain the newly purchased energy; the sum of the newly purchased energy and the previously updated second cumulative amount is calculated to obtain the second cumulative amount for this update. When the demand metering window changes, the first cumulative amount and the second cumulative amount are initially aligned to determine the second cumulative amount for this update.

[0196] It should be understood that after the instruction is issued to the energy storage converter, if the allowable power at the grid connection point changes, the energy storage demand power will be re-determined in the next control cycle, and the energy storage demand power and the allowable power of the equipment will be re-compared. After the preset response time expires, the actual power at the grid connection point in the current control cycle is read through the grid connection point power sampling link, and the first and second cumulative values ​​of the current demand metering window are updated based on the actual power at the grid connection point. That is, the cumulative purchased electricity energy of the demand metering device in the current demand metering window is obtained as the updated first cumulative value, and the active power of the grid connection point in the power purchase direction is integrated through the grid connection point power sampling link to update the second cumulative value.

[0197] In this embodiment, the second response deviation margin and the second response coefficient for the next control cycle are determined by the second energy storage actual execution power, the first response coefficient and the first response deviation margin, and the first energy storage actual execution power and the second energy storage command execution power, so as to limit the allowable power of the equipment in the next control cycle, thereby reducing repeated over-limits and power fluctuations caused by equipment response deviations; in addition, after the command is executed, the first cumulative amount and the second cumulative amount are updated to facilitate the subsequent validity judgment of the metering data.

[0198] It should be noted that the execution entity of the park energy storage control method provided in this application embodiment can be a park energy storage control device, or a control module in the park energy storage control device used to execute the method for loading park energy storage control. This application embodiment uses the execution of the method for loading park energy storage control by a park energy storage control device as an example to illustrate the park energy storage control method provided in this application embodiment.

[0199] This application also provides a park energy storage control device 7, please refer to... Figure 7 , Figure 7 This is a schematic diagram of the structure of a park energy storage control device 7 provided in an embodiment of this application, as shown below. Figure 7 As shown, the park energy storage control device 7 includes a first determining module 701, a judging module 702, a second determining module 703, and a correction module 704, wherein: The first determining module 701 is used to determine the metering data, net load power, allowable power of equipment and candidate execution power of energy storage in the current control cycle of the integrated source-grid-load-storage park, the first limiting power, and the window data of the window in which the current control cycle is located.

[0200] The judgment module 702 is used to determine the grid connection point allowable power for the current control cycle based on the metering data, window data, and first limit power if the metering data meets the preset validity conditions; and to determine the grid connection point allowable power for the current control cycle based on the first grid connection point allowable power, the first limit power, and the preset safety boundary power if the metering data does not meet the preset validity conditions, wherein the first grid connection point allowable power is the grid connection point allowable power determined when the most recent metering data met the preset validity conditions.

[0201] The second determining module 703 is used to determine the first energy storage command execution power of the current control cycle based on the grid connection point allowable power, park net load power, equipment allowable power and energy storage candidate execution power.

[0202] In some implementations, the first determining module 701 is specifically used to: determine the instruction delay effective time of the current control cycle, the most recent sampled net load power of the park, the rate of change of net load power of the park, and the net load error margin of the park; determine the first net load power of the park when the instruction delay takes effect based on the instruction delay effective time, the most recent sampled net load power of the park, and the rate of change of net load power of the park; if the instruction delay effective time is less than or equal to a preset delay time, and the rate of change of net load power of the park is less than or equal to a preset rate of change, then the first net load power of the park is taken as the net load power of the park; if the instruction delay effective time is greater than the preset delay time, and / or the rate of change of net load power of the park is greater than the preset rate of change, then the net load power of the park is determined based on the first net load power of the park and the net load error margin of the park.

[0203] In some implementations, the first determining module 701 is specifically used to: determine the device static allowable power and the device power change amount in the current control cycle, as well as the first energy storage actual execution power in the previous control cycle; take the larger value between the device static charging power and the first device change power of the device static allowable power as the first device allowable power, wherein the first device change power is the difference between the first energy storage actual execution power and the charging power change amount of the device power change amount; take the smaller value between the device static discharge power and the second device change power of the device static allowable power as the second device allowable power, wherein the second device change power is the sum of the first energy storage actual execution power and the discharge power change amount of the device power change amount; and take the power between the first device allowable power and the second device allowable power as the device allowable power in the current control cycle.

[0204] In some implementations, the second determining module 703 is specifically used to: determine the energy storage demand power for the current control cycle based on the grid connection point's allowable power and the park's net load power; take the larger of the minimum energy storage demand power and the minimum allowable energy storage power of the equipment's allowable power as the minimum executable energy storage power; and take the smaller of the maximum energy storage demand power and the maximum allowable energy storage power of the equipment's allowable power as the maximum executable energy storage power; if the minimum executable energy storage power is less than or equal to the maximum executable energy storage power, then take the power between the minimum and maximum executable energy storage power as the executable energy storage power for the current control cycle, and determine the first energy storage command execution power based on the executable energy storage power and the energy storage candidate execution power; if the minimum executable energy storage power is greater than the maximum executable energy storage power, then take the equipment's allowable power as the first energy storage command execution power.

[0205] In some implementations, the second determining module 703 is specifically used for: if the energy storage candidate execution power is not equal to the energy storage executable power, then determining the first energy storage candidate execution power based on the energy storage candidate execution power and the energy storage executable power; if the energy storage candidate execution power is equal to the energy storage executable power, then using the energy storage candidate execution power as the first energy storage candidate execution power; if a preset candidate condition is met, then using the first energy storage candidate execution power as the first energy storage command execution power, wherein the preset candidate condition is that the difference between the first energy storage candidate execution power and the second energy storage command execution power of the previous control cycle is greater than a preset hysteresis difference value, and / or, the second energy storage command execution power is not equal to the energy storage executable power; if the preset candidate condition is not met, then using the second energy storage command execution power as the first energy storage command execution power.

[0206] In some embodiments, the correction module 704 is specifically used to: after the execution of the first energy storage command, obtain the actual execution power of the second energy storage in the current control cycle, the first response coefficient and the first response deviation margin, and the actual execution power of the first energy storage and the execution power of the second energy storage command in the previous control cycle; calculate the difference between the execution power of the second energy storage command and the execution power of the first energy storage command to obtain the change in command power; and calculate the difference between the actual execution power of the second energy storage and the actual execution power of the first energy storage to obtain the change in actual power; if the change in command power is not equal to 0, and the direction of change of actual power change is different from the change of command power change. If the direction is the same and no abnormalities occur during command execution, the second response deviation margin and the second response coefficient for the next control cycle are determined based on the command power change, the first response coefficient, and the actual power change. The second response deviation margin and the second response coefficient are used to limit the allowable power of the equipment in the next control cycle. If the executed power deviation is greater than the preset power deviation value, the updated second response deviation margin is determined based on the second response deviation margin, the first response deviation margin, and the executed power deviation. The executed power deviation is the difference between the actual executed power of the second energy storage and the executed power of the first energy storage command. The first cumulative amount and the second cumulative amount in the metering data are updated.

[0207] The park energy storage control device 7 in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.

[0208] The park energy storage control device 7 in this embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this embodiment does not specifically limit its use.

[0209] The park energy storage control device 7 provided in this application embodiment can achieve... Figures 1 to 6The various processes implemented by the park energy storage control device 7 in the method embodiment will not be described again here to avoid repetition.

[0210] In this embodiment, the park energy storage control device 7 judges the validity of metering data through preset validity conditions. This ensures that metering data that meets the preset validity conditions can be used together with window data and the first limit power to determine the grid connection point allowable power for the current control cycle. Metering data that does not meet the preset validity conditions cannot participate in the determination of the grid connection point allowable power. Instead, the grid connection point allowable power is determined based on the first grid connection point allowable power, the first limit power, and the preset safety boundary power. This avoids inaccurate determination of the final energy storage target execution power due to invalid metering data. Furthermore, when determining the first energy storage command execution power for the current control cycle, the device allowable power can be directly used together with the grid connection point allowable power, the park net load power, and the energy storage candidate execution power to determine the first energy storage command execution power. This avoids inaccurate determination of the final energy storage target execution power due to failure to consider the actual executability of the device.

[0211] This application also provides an electronic device 8, please refer to... Figure 8 , Figure 8 This is a schematic diagram of the hardware structure of an electronic device 8 provided in an embodiment of this application.

[0212] The electronic device 8 includes a processor 801, a memory 802, and a program or instructions stored in the memory 802 and executable on the processor 801. When the program or instructions are executed by the processor 801, they implement the various processes of the above-described embodiment of the park energy storage control method and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0213] Furthermore, the electronic device 8 also includes a communication component 803. The processor 801, memory 802, and communication component 803 are connected via a bus 804.

[0214] It should be noted that the electronic device 8 in this application embodiment includes the mobile electronic device and the non-mobile electronic device described above.

[0215] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described park energy storage control method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0216] The processor is the processor in the electronic device 8 described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0217] This application also provides a computer program product, including a computer program, which is used to implement the various processes of the above-described park energy storage control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0218] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0219] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0220] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for controlling energy storage in a park, characterized in that, The method includes: Determine the metering data, net load power, allowable power of equipment and candidate execution power of energy storage in the integrated source-grid-load-storage park during the current control cycle, as well as the window data of the first limit power and the window where the current control cycle is located; If the metering data meets the preset validity conditions, the grid connection point allowable power for the current control cycle is determined based on the metering data, the window data, and the first limit power. If the metering data does not meet the preset validity conditions, the grid connection point allowable power for the current control cycle is determined based on the first grid connection point allowable power, the first limited power and the preset safety boundary power, wherein the first grid connection point allowable power is the grid connection point allowable power determined when the metering data most recently met the preset validity conditions; The first energy storage command execution power for the current control cycle is determined based on the grid connection point's allowable power, the park's net load power, the equipment's allowable power, and the energy storage candidate execution power.

2. The method according to claim 1, characterized in that, The metering data includes: the window identifier of the window in which the current control cycle is located, the first cumulative amount, the second cumulative amount, the data statistics time, and the clock synchronization status; The preset validity conditions include: the change of the window identifier conforms to preset rules; within the same window, neither the first cumulative amount nor the second cumulative amount is abnormally reset; the difference between the first cumulative amount and the second cumulative amount is less than or equal to a preset cumulative amount difference; the difference between the data statistics time and the current control time of the current control cycle is less than or equal to a preset data timeliness; and the clock synchronization state is normal, wherein the normal state is that the difference between any two clocks is less than or equal to a preset time difference.

3. The method according to claim 1, characterized in that, Determining the net load power of the park in the current control cycle includes: Determine the instruction delay time for the current control cycle, the most recent sampled net load power of the park, the rate of change of net load power of the park, and the net load error margin of the park; The first net load power of the park at the time of the instruction delay is determined based on the instruction delay time, the most recent sampled net load power of the park, and the rate of change of net load power of the park. If the instruction delay time is less than or equal to the preset delay time, and the change rate of the park net load power is less than or equal to the preset change rate, then the first park net load power is taken as the park net load power. If the instruction delay time is greater than the preset delay time, and / or the change rate of the park net load power is greater than the preset change rate, then the park net load power is determined based on the error margin between the first park net load power and the park net load.

4. The method according to claim 1, characterized in that, The determination of the device's allowable power for the current control cycle includes: Determine the static allowable power of the equipment and the change in equipment power in the current control cycle, as well as the actual power of the first energy storage operation in the previous control cycle; The larger of the static charging power of the device and the variable power of the first device is taken as the first allowable power of the device, wherein the variable power of the first device is the difference between the actual power of the first energy storage and the change in charging power of the device power change. The smaller value between the static discharge power of the device and the variable power of the second device is taken as the second allowable power of the device, wherein the variable power of the second device is the sum of the actual operating power of the first energy storage and the change in discharge power of the device power change. The power between the first device's allowed power and the second device's allowed power is taken as the device's allowed power for the current control cycle.

5. The method according to claim 1, characterized in that, The step of determining the first energy storage command execution power for the current control cycle based on the grid connection point's allowable power, the park's net load power, the equipment's allowable power, and the energy storage candidate execution power includes: Based on the allowable power of the grid connection point and the net load power of the park, determine the energy storage demand power for the current control cycle; The larger of the minimum energy storage demand power and the minimum allowable energy storage power of the device is taken as the minimum executable energy storage power; and the smaller of the maximum energy storage demand power and the maximum allowable energy storage power of the device is taken as the maximum executable energy storage power. If the minimum executable energy storage power is less than or equal to the maximum executable energy storage power, then the power between the minimum executable energy storage power and the maximum executable energy storage power is taken as the executable energy storage power of the current control cycle, and the first energy storage command execution power is determined based on the executable energy storage power and the energy storage candidate execution power. If the minimum executable energy storage power is greater than the maximum executable energy storage power, then the device's allowed power is used as the first energy storage command execution power.

6. The method according to claim 5, characterized in that, Determining the first energy storage command execution power based on the energy storage executable power and the energy storage candidate execution power includes: If the energy storage candidate execution power is not equal to the energy storage executable power, then the first energy storage candidate execution power is determined based on the energy storage candidate execution power and the energy storage executable power; If the energy storage candidate execution power is equal to the energy storage executable power, then the energy storage candidate execution power is taken as the first energy storage candidate execution power; If the preset candidate conditions are met, the first energy storage candidate execution power is used as the first energy storage command execution power. The preset candidate conditions are that the difference between the first energy storage candidate execution power and the second energy storage command execution power of the previous control cycle is greater than a preset hysteresis difference value, and / or the second energy storage command execution power is not equal to the energy storage executable power. If the preset candidate conditions are not met, the second energy storage command execution power will be used as the first energy storage command execution power.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: After the first energy storage command execution power is used as the command execution completion power, the second energy storage actual execution power, the first response coefficient and the first response deviation margin of the current control cycle, as well as the first energy storage actual execution power and the second energy storage command execution power of the previous control cycle are obtained. The difference between the second energy storage command execution power and the first energy storage command execution power is calculated to obtain the command power change; and the difference between the second energy storage actual execution power and the first energy storage actual execution power is calculated to obtain the actual power change. If the command power change is not equal to 0, the direction of the actual power change is the same as the direction of the command power change, and no abnormal situation occurs during command execution, then the second response deviation margin and the second response coefficient for the next control cycle are determined based on the command power change, the first response coefficient, and the actual power change. The second response deviation margin and the second response coefficient are used to limit the allowable power of the device in the next control cycle. If the execution power deviation is greater than the preset power deviation value, then the updated second response deviation margin is determined based on the second response deviation margin, the first response deviation margin and the execution power deviation, wherein the execution power deviation is the difference between the actual execution power of the second energy storage and the execution power of the first energy storage command. Update the first and second cumulative values ​​in the measurement data.

8. A park energy storage control device, characterized in that, The device includes: The first determining module is used to determine the metering data, net load power, allowable power of equipment and candidate execution power of energy storage in the current control cycle of the integrated source-grid-load-storage park, as well as the first limiting power and window data of the window in which the current control cycle is located. The judgment module is configured to determine the grid connection point allowable power for the current control cycle based on the metering data, the window data, and the first limit power if the metering data meets the preset validity conditions; and to determine the grid connection point allowable power for the current control cycle based on the first grid connection point allowable power, the first limit power, and the preset safety boundary power if the metering data does not meet the preset validity conditions, wherein the first grid connection point allowable power is the grid connection point allowable power determined when the metering data most recently met the preset validity conditions. The second determining module is used to determine the first energy storage command execution power of the current control cycle based on the grid connection point allowable power, the park net load power, the equipment allowable power and the energy storage candidate execution power.

9. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein when the program or instructions are executed by the processor, they implement the steps of the park energy storage control method as described in any one of claims 1 to 7.

10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the park energy storage control method as described in any one of claims 1 to 7.