A method and system for setting primary frequency modulation parameters of an electrochemical energy storage power station

By optimizing the frequency regulation parameter setting method of electrochemical energy storage power stations, and combining grid operation data and battery cost calculations, the problem of balancing grid frequency security and battery life in existing technologies has been solved, achieving a balance between grid frequency stability and battery life.

CN123184030APending Publication Date: 2026-11-27CHINA SOUTHERN POWER GRID COMPANY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611456114.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing methods for setting primary frequency regulation parameters for energy storage power stations fail to take into account the actual frequency fluctuations of the power grid, making it difficult to balance grid frequency security with the lifespan of energy storage batteries. Both overly aggressive and overly conservative parameter settings have their drawbacks.

Method used

By acquiring power plant operation data, calculating the initial cost of frequency penalty and battery energy storage cost, and combining frequency regulation dead zone and limiting sequence for transient simulation, the dead zone and limiting of primary frequency regulation are optimized to balance grid frequency security and battery life.

Benefits of technology

This achieves the goal of extending the lifespan of energy storage batteries, improving frequency regulation response capabilities, and avoiding battery damage caused by frequent operations, all while ensuring grid frequency security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184030A_ABST
    Figure CN123184030A_ABST
Patent Text Reader

Abstract

The application discloses a primary frequency modulation parameter setting method and system of an electrochemical energy storage power station, and belongs to the technical field of power grid frequency safety and stability control. The method comprises the following steps: obtaining a plurality of reasonable operation data of a to-be-set power station, a frequency modulation dead zone sequence and a frequency modulation amplitude limiting sequence; calculating the initial cost of the frequency punishment of the power station according to the above data; calculating the primary frequency modulation cost of a plurality of batteries according to the above data, and solving the primary frequency modulation setting dead zone of the to-be-set power station through the above data; determining the frequency modulation amplitude limiting threshold value through the above data, and performing transient simulation on the to-be-set power station based on the primary frequency modulation setting dead zone and the frequency modulation amplitude limiting sequence, obtaining the grid point voltage fluctuation data corresponding to each frequency modulation amplitude limiting, and solving the primary frequency modulation setting amplitude limiting through the frequency modulation amplitude limiting threshold value and the plurality of grid point voltage fluctuation data. The primary frequency modulation parameter setting method of the electrochemical energy storage power station provided by the application sets the primary frequency modulation parameters through the operation data of the power station, so that the frequency safety of the power station and the frequency modulation response capability of the power station are taken into account.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power grid frequency safety and stability control technology, and in particular to a method and system for setting primary frequency regulation parameters of an electrochemical energy storage power station. Background Technology

[0002] The power system is characterized by a high proportion of renewable energy and a high degree of power electronics integration. On the one hand, the increasing penetration rate of renewable energy has led to a decrease in the number of traditional synchronous generators in operation, a continuous reduction in the rotational inertia of the power system, and a weakening of frequency regulation capabilities. On the other hand, the output of renewable energy is characterized by strong randomness, volatility, and intermittency, making the problem of grid frequency fluctuations increasingly prominent and affecting the safe and stable operation of the power system. Primary frequency regulation, as the first line of defense for maintaining grid frequency stability, directly affects the grid's ability to withstand power disturbances through its response speed, regulation accuracy, and regulation effect. Electrochemical energy storage, with its advantages of fast response speed, high regulation accuracy, and bidirectional regulation, can quickly respond to changes in grid frequency and rapidly inject or absorb active power, becoming a core supporting resource for primary frequency regulation in the new power system. The tuning of primary frequency regulation parameters directly determines the response speed, regulation accuracy, stability, and battery life of energy storage power stations. Reasonable tuning is necessary to balance grid frequency security and battery life.

[0003] Most currently operating energy storage power stations employ droop control for primary frequency regulation, i.e., using the SFR control model. This paper derives the closed-loop transfer function of the power grid frequency response using the SFR control model and analyzes the grid frequency stability risk under different droop coefficients and response times using eigenvalue analysis. Simulation results show that the droop coefficient and response time have a significant impact on frequency security. The energy storage dead zone has a near-linear relationship with the frequency peak, and its tuning has little impact on frequency security. A smaller energy storage droop coefficient results in a smaller time constant for the inertial element, making it easier to form a negative real dominant pole close to the imaginary axis. This leads to first-order system frequency characteristics, reduced overshoot, and better frequency stability. Therefore, within the recommended parameters of the national standard, the energy storage droop coefficient has a significant impact on system frequency stability; a smaller droop coefficient results in better frequency stability. The energy storage dead zone has a relatively small impact on frequency stability. A longer energy storage fast frequency regulation response time leads to poorer frequency stability.

[0004] Under the current technological background, existing methods for setting primary frequency regulation parameters for energy storage directly rely on the most aggressive or conservative parameters within the recommended range of national standards, failing to determine specific parameters for primary frequency regulation in conjunction with the actual frequency fluctuation conditions of the power grid. If the parameter setting is too aggressive, the energy storage will operate frequently even under normal frequency fluctuations, leading to increased battery cycle wear and shortened lifespan; if the parameter setting is too conservative, it will result in delayed frequency regulation response and insufficient regulation capability, making it difficult to effectively smooth frequency fluctuations and affecting power grid frequency security. Specifically, under the large disturbance of a DC blocking fault in the power grid, the power grid frequency changes as follows: Figure 1As shown, comparison Figure 1 (a) and Figure 1 (b) It is evident that after the DC blocking fault triggered a large disturbance, both the sending and receiving end grid frequencies experienced significant sudden drops; when the energy storage dead zone shifted from... Hz reduced to At Hz, the corresponding peak frequency also decreases by approximately 0.017Hz, showing a linear relationship with the energy storage dead zone. Therefore, for large disturbances, a smaller dead zone is better for grid frequency security. Under a small disturbance of 200MW sinusoidal wave with a period of 20s, the grid frequency change is as follows: Figure 2 As shown, comparison Figure 2 (a) and Figure 2 (b) It is evident that a smaller energy storage dead zone allows the energy storage device to output greater regulation power. A reduced energy storage dead zone enables rapid suppression of grid frequency fluctuations at the sending end under load fluctuations, improving grid frequency quality. Therefore, for small-periodic disturbances, a smaller dead zone is better for grid frequency security. It is also evident that, regardless of whether it is a large disturbance or a random small-periodic disturbance, a smaller energy storage dead zone provides better support for system frequency. However, a smaller dead zone means more frequent operation of the energy storage under normal frequency fluctuations, leading to increased battery cycle losses and shortened lifespan. If the dead zone setting is too conservative, it will result in delayed frequency regulation response and insufficient regulation capability, making it difficult to effectively suppress frequency fluctuations and affecting grid frequency security. Therefore, existing methods struggle to achieve a balance between grid frequency security and energy storage battery lifespan, and it is difficult to simultaneously consider both grid frequency security and frequency regulation response capability. Summary of the Invention

[0005] The present invention aims to provide a method and system for setting the primary frequency regulation parameters of an electrochemical energy storage power station to solve the above-mentioned technical problems. It avoids the difficulty in balancing grid frequency security and energy storage battery life caused by the inability of existing setting methods to set the primary frequency regulation parameters in combination with the actual frequency fluctuation conditions of the power grid. The invention sets the primary frequency regulation parameters by using grid operation data, thereby taking into account both grid frequency security and grid frequency regulation response capability.

[0006] To address the aforementioned technical problems, this invention provides a method for setting primary frequency regulation parameters in an electrochemical energy storage power station. The primary frequency regulation parameters include a primary frequency regulation dead zone and a primary frequency regulation limiting. The method includes: Obtain several reasonable operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be regulated; Based on several reasonable operating data, extract several effective historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations, and calculate the initial cost of power plant frequency penalty through several effective historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations. The primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone is calculated based on several reasonable operating data and frequency regulation dead zone sequence. The primary frequency regulation dead zone of the power station to be regulated is solved by the initial cost of power station frequency penalty and the primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone. The frequency regulation limiting threshold is determined by several reasonable operating data, and transient simulation is performed on the power station to be regulated based on the primary frequency regulation dead zone and the frequency regulation limiting sequence to obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limit. The primary frequency regulation setting limit is then calculated by using the frequency regulation limiting threshold and the grid connection point voltage fluctuation data corresponding to each frequency regulation limit.

[0007] In the above scheme, by extracting several effective historical frequency fluctuation under-adjustment data and several frequency over-limit durations, the initial cost of the power station's frequency penalty is calculated by combining the two. This allows the actual frequency fluctuation conditions of the power station to be tuned to be converted into the initial cost of the power station's frequency penalty, providing the actual frequency fluctuation conditions of the power station for subsequent determination of the primary frequency regulation dead zone. Next, the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone is calculated using several reasonable operating data and frequency regulation dead zone sequences. The primary frequency regulation dead zone of the power station to be tuned is then solved using the initial cost of the power station's frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone, thereby balancing the power station's frequency safety and the lifespan of the energy storage battery. Then, the frequency regulation limiting threshold is determined using several reasonable operating data, and transient simulation is performed on the power station to be tuned based on the primary frequency regulation dead zone and the frequency regulation limiting sequence. This allows the primary frequency regulation limiting that matches the primary frequency regulation dead zone to be calculated while ensuring the power station's voltage safety, thus balancing the power station's frequency safety and frequency regulation response capability.

[0008] Furthermore, the acquisition of several reasonable operating data, frequency dead zone sequence, and frequency limiting sequence of the power station to be regulated includes: Acquire several initial operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be calibrated, and align the timestamps of several operating data to obtain several aligned operating data; Missing data is removed from a number of aligned running data sets to obtain a number of valid running data sets; Based on preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data is removed from several valid operating data to obtain several reasonable operating data.

[0009] In the above scheme, by aligning the timestamps of several operational data points, the problem of asynchronous data times can be eliminated, resulting in aligned operational data. Next, by removing missing data from the aligned operational data, data with missing information can be eliminated, preventing interference from subsequent steps and yielding valid operational data. Then, by using preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data can be removed from the valid operational data. This filters out abnormal and erroneous data that does not conform to the actual operating patterns of the grid, resulting in reasonable operational data. This ensures the accuracy and reliability of the calculation results for the initial cost of power station frequency penalties and the primary frequency regulation cost of battery energy storage.

[0010] Furthermore, the step of extracting several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operating data, and calculating the initial cost of the power plant frequency penalty using the several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations, includes: By filtering several reasonable operating data, several valid historical frequency fluctuation under-adjustment data were obtained; Based on several valid historical frequency fluctuation under-adjustment data, extract the corresponding frequency over-limit duration, and obtain the corresponding frequency over-limit deviation through a preset frequency threshold and several valid historical frequency fluctuation under-adjustment data. The initial cost of power plant frequency penalties is calculated based on several frequency over-limit deviations and corresponding frequency over-limit durations.

[0011] In the above scheme, data records related to frequency under-adjustment fluctuations are selected from several reasonable operational data sets to obtain several valid historical frequency under-adjustment data. Next, several frequency over-limit durations are extracted from these valid historical frequency under-adjustment data, and combined with preset frequency thresholds, several frequency over-limit deviations are calculated. This allows for the extraction of two key indicators: frequency over-limit duration and frequency over-limit deviation, which are used to calculate the initial cost of power plant frequency penalties. Then, by calculating the initial cost of power plant frequency penalties using several frequency over-limit deviations and corresponding frequency over-limit durations, the losses caused by grid frequency over-limits can be quantified.

[0012] Furthermore, the step of calculating the primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone based on several reasonable operating data and frequency regulation dead zone sequences, and solving the primary frequency regulation dead zone of the power station to be regulated through the initial cost of power station frequency penalty and the primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone, includes: Based on several reasonable operating data and frequency modulation dead zone sequences, obtain the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent full cycle number; The total equivalent discharge depth corresponding to each frequency modulation dead zone is calculated based on the equivalent discharge depth of several frequency modulation actions and the total equivalent full cycle count for each frequency modulation dead zone. The annual cycle life decay cost corresponding to each frequency modulation dead zone is determined by pre-acquiring the equivalent depreciation cost of a single full cycle and the total equivalent discharge depth corresponding to each frequency modulation dead zone. The battery aging loss cost corresponding to each frequency modulation dead zone is calculated based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent discharge depth. The annual cycle life decay cost and the corresponding battery aging loss cost corresponding to each frequency regulation dead zone are statistically calculated to obtain the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone. The primary frequency regulation dead zone of the power station to be regulated is calculated by using the initial cost of the power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone.

[0013] In the above scheme, by extracting the equivalent discharge depth and the corresponding total equivalent full cycle count for several frequency modulation actions corresponding to each frequency modulation dead zone through several reasonable operating data and frequency modulation dead zone sequences, the actual operating condition data of energy storage frequency modulation charge and discharge under different frequency modulation dead zones can be obtained, providing a basis for subsequent calculation of battery loss-related costs. Next, the equivalent discharge depth and total equivalent full cycle count for several frequency modulation actions corresponding to each frequency modulation dead zone are used to calculate the total equivalent discharge depth for each frequency modulation dead zone. Combined with the pre-acquired equivalent depreciation cost for a single full cycle, the annual cycle life decay cost for each frequency modulation dead zone is obtained, which can quantify the battery depreciation loss caused by normal charge and discharge cycles of energy storage under different frequency modulation dead zones. Then, the battery aging loss cost for each frequency modulation dead zone is calculated using the equivalent discharge depth and the corresponding total equivalent discharge depth for several frequency modulation actions corresponding to each frequency modulation dead zone, which can quantify the additional aging loss of the battery caused by frequent small charge and discharge micro-cycles. Subsequently, by statistically calculating the annual cycle life decay cost and the corresponding battery aging loss cost for each frequency modulation dead zone, the single frequency modulation cost of battery energy storage for each frequency modulation dead zone can be obtained. Finally, by calculating the primary frequency regulation dead zone of the power station to be regulated through the initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone, a primary frequency regulation dead zone that takes into account both grid frequency security and energy storage battery life can be obtained.

[0014] Furthermore, the calculation of battery aging loss cost corresponding to each frequency modulation dead zone based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent discharge depth includes: Based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the pre-acquired battery aging test curve, several shallow cycle additional loss factors corresponding to each frequency modulation dead zone are determined. The annual additional equivalent loss is calculated based on several shallow cycle additional loss factors corresponding to each frequency modulation dead zone and several equivalent discharge depths of frequency modulation actions. The battery aging loss cost corresponding to each frequency modulation dead zone is calculated by using the annual additional equivalent loss and the corresponding total equivalent depth of discharge for each frequency modulation dead zone.

[0015] In the above scheme, several shallow-cycle additional loss factors corresponding to each frequency-modulation dead zone are determined by combining the equivalent discharge depth of several frequency-modulation actions corresponding to each frequency-modulation dead zone with the pre-acquired battery aging test curve. These factors can be used to characterize the additional aging effect of small-scale charging and discharging on the battery, providing a basis for subsequent calculation of additional losses. Next, the annual additional equivalent loss is calculated using the several shallow-cycle additional loss factors corresponding to each frequency-modulation dead zone and the corresponding equivalent discharge depth of several frequency-modulation actions, which can quantify the additional cycle loss caused by frequent small-scale frequency-modulation charging and discharging of energy storage. Then, the battery aging loss cost corresponding to each frequency-modulation dead zone is calculated using the annual additional equivalent loss and the corresponding total equivalent discharge depth, which can convert the additional battery aging caused by shallow cycles of energy storage into economic losses.

[0016] Furthermore, the calculation of the primary frequency regulation dead zone of the power station to be regulated by using the initial cost of the power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone includes: The initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone are normalized to obtain the normalized cost of power station frequency penalty and the normalized cost of primary frequency regulation of battery energy storage corresponding to each frequency regulation dead zone. The total cost corresponding to each frequency regulation dead zone is calculated based on the normalized cost of the power station frequency penalty and the normalized cost of the battery energy storage primary frequency regulation corresponding to each frequency regulation dead zone. The primary frequency regulation dead zone of the power station to be regulated is determined by the total cost corresponding to each frequency regulation dead zone.

[0017] In the above scheme, by normalizing both the initial cost of the power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone, the differences in units and magnitudes between the two types of costs can be eliminated for weighted calculation. Next, the total cost corresponding to each frequency regulation dead zone is calculated using the normalized cost of the power station frequency penalty and the normalized cost of primary frequency regulation of battery energy storage corresponding to each frequency regulation dead zone. This total cost can simultaneously reflect grid frequency security losses and battery frequency regulation losses, thus serving as a criterion for selecting primary frequency regulation dead zones. Then, by comparing the total costs of each candidate frequency regulation dead zone, the primary frequency regulation dead zone of the power station to be regulated that balances grid frequency security performance and battery lifespan can be determined.

[0018] Further, the process of determining the frequency regulation limiting threshold through several reasonable operating data, and performing transient simulation of the power station to be regulated based on the primary frequency regulation dead zone and the frequency regulation limiting sequence to obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limit, so as to calculate the primary frequency regulation setting limit through the frequency regulation limiting threshold and the grid connection point voltage fluctuation data corresponding to each frequency regulation limit, includes: The short-circuit capacity of each energy storage grid connection point is obtained based on several reasonable operating data, and the short-circuit ratio of each energy storage grid connection point is calculated based on the short-circuit capacity of each energy storage grid connection point, so as to determine the frequency modulation limiting threshold based on the short-circuit ratio of each energy storage grid connection point. Transient simulation is performed on the power station to be regulated based on the primary frequency regulation dead zone and frequency regulation limiting sequence. The voltage fluctuation data of the grid connection point corresponding to each frequency regulation limit is obtained. The primary frequency regulation setting limit of the power station to be regulated is calculated by using the frequency regulation limiting threshold and the voltage fluctuation data of the grid connection point corresponding to each frequency regulation limit.

[0019] In the above scheme, the short-circuit capacity of each energy storage grid connection point is obtained from several reasonable operating data, and the short-circuit ratio of each energy storage grid connection point is calculated based on the short-circuit capacity. Therefore, the frequency regulation limiting threshold can be determined through the short-circuit ratio of each energy storage grid connection point, avoiding subsequent setting of the limiting threshold from exceeding the grid voltage's tolerance range. Next, transient simulation is performed on the frequency regulation limiting sequence based on the solved primary frequency regulation dead zone, obtaining the grid connection point voltage fluctuation data corresponding to each frequency regulation limit. Combined with the previously determined frequency regulation limiting threshold, the primary frequency regulation limiting of the power station to be regulated is calculated, ensuring that the regulated limiting meets the primary frequency regulation capability without causing the grid connection point voltage to exceed the limit.

[0020] This invention provides a primary frequency regulation parameter tuning system for an electrochemical energy storage power station. The primary frequency regulation parameters include a primary frequency regulation dead zone and a primary frequency regulation limiting. The system includes a basic data acquisition module, a frequency penalty cost calculation module, a frequency regulation dead zone calculation module, and a frequency regulation limiting calculation module. Specifically: The basic data acquisition module is used to acquire several reasonable operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be regulated; The frequency penalty cost calculation module is used to extract several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operating data, and to calculate the initial cost of power plant frequency penalty through several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations. The frequency regulation dead zone calculation module is used to calculate the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone based on several reasonable operating data and frequency regulation dead zone sequence, and to calculate the primary frequency regulation dead zone of the power station to be regulated by the initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone. The frequency regulation limiting calculation module is used to determine the frequency regulation limiting threshold through several reasonable operating data, and to perform transient simulation of the power station to be regulated based on the primary frequency regulation setting dead zone and the frequency regulation limiting sequence, to obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limit, so as to calculate the primary frequency regulation setting limit through the frequency regulation limiting threshold and the grid connection point voltage fluctuation data corresponding to each frequency regulation limit.

[0021] This invention provides a primary frequency regulation parameter tuning system for an electrochemical energy storage power station. In practical applications, it only requires a basic data acquisition module to extract several valid historical frequency fluctuation under-adjustment data and several frequency over-limit durations. A frequency penalty cost calculation module then combines these two data to calculate the initial frequency penalty cost of the power station. This converts the actual frequency fluctuation conditions of the power station to be tuned into the initial frequency penalty cost, providing the actual frequency fluctuation conditions for determining the primary frequency regulation dead zone. Next, a frequency regulation dead zone calculation module calculates the primary frequency regulation cost of the battery energy storage corresponding to each frequency regulation dead zone using several reasonable operating data and a frequency regulation dead zone sequence. Finally, the primary frequency regulation dead zone of the power station to be tuned is calculated using the initial frequency penalty cost and the corresponding primary frequency regulation cost of the battery energy storage for each frequency regulation dead zone, thereby balancing the power station's frequency safety and the lifespan of the energy storage battery. Then, the frequency modulation limiting calculation module is used to determine the frequency modulation limiting threshold through several reasonable operating data. Based on the primary frequency modulation dead zone and the frequency modulation limiting sequence, transient simulation is performed on the substation to be regulated. Under the premise of ensuring the voltage safety of the substation, the primary frequency modulation setting limit that matches the primary frequency modulation dead zone can be calculated, so as to take into account the frequency safety and frequency regulation response capability of the substation.

[0022] Furthermore, the basic data acquisition module is used to acquire several reasonable operating data, frequency regulation dead zone sequences, and frequency regulation limiting sequences of the power station to be regulated, including: Acquire several initial operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be calibrated, and align the timestamps of several operating data to obtain several aligned operating data; Missing data is removed from a number of aligned running data sets to obtain a number of valid running data sets; Based on preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data is removed from several valid operating data to obtain several reasonable operating data.

[0023] In the above scheme, by aligning the timestamps of several operational data points, the problem of asynchronous data times can be eliminated, resulting in aligned operational data. Next, by removing missing data from the aligned operational data, data with missing information can be eliminated, preventing interference from subsequent steps and yielding valid operational data. Then, by using preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data can be removed from the valid operational data. This filters out abnormal and erroneous data that does not conform to the actual operating patterns of the grid, resulting in reasonable operational data. This ensures the accuracy and reliability of the calculation results for the initial cost of power station frequency penalties and the primary frequency regulation cost of battery energy storage.

[0024] Furthermore, the step of extracting several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operating data, and calculating the initial cost of the power plant frequency penalty using the several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations, includes: By filtering several reasonable operating data, several valid historical frequency fluctuation under-adjustment data were obtained; Based on several valid historical frequency fluctuation under-adjustment data, extract the corresponding frequency over-limit duration, and obtain the corresponding frequency over-limit deviation through a preset frequency threshold and several valid historical frequency fluctuation under-adjustment data. The initial cost of power plant frequency penalties is calculated based on several frequency over-limit deviations and corresponding frequency over-limit durations.

[0025] In the above scheme, data records related to frequency under-adjustment fluctuations are selected from several reasonable operational data sets to obtain several valid historical frequency under-adjustment data. Next, several frequency over-limit durations are extracted from these valid historical frequency under-adjustment data, and combined with preset frequency thresholds, several frequency over-limit deviations are calculated. This allows for the extraction of two key indicators: frequency over-limit duration and frequency over-limit deviation, which are used to calculate the initial cost of power plant frequency penalties. Then, by calculating the initial cost of power plant frequency penalties using several frequency over-limit deviations and corresponding frequency over-limit durations, the losses caused by grid frequency over-limits can be quantified. Attached Figure Description

[0026] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0027] Figure 1A comparative curve showing the impact of energy storage dead zone on grid frequency during large disturbances caused by DC blocking faults in the grid under the current technological background; Figure 2 A comparative curve showing the impact of the energy storage dead zone on grid frequency and energy storage power when a small disturbance of a 200MW sinusoidal disturbance with a period of 20s occurs in the power grid under the current technological background; Figure 3 A flowchart illustrating a method for setting primary frequency regulation parameters in an electrochemical energy storage power station, as provided in an embodiment of the present invention; Figure 4 This is a system architecture diagram of a primary frequency regulation parameter tuning method for an electrochemical energy storage power station provided in an embodiment of the present invention. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. 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.

[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0030] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0031] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0032] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0033] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).

[0034] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0035] To avoid the difficulty in balancing grid frequency security and energy storage battery life caused by existing tuning methods' inability to incorporate actual grid frequency fluctuations when tuning primary frequency regulation parameters, this embodiment provides a method for tuning primary frequency regulation parameters of an electrochemical energy storage power station by using grid operation data. This method balances grid frequency security and grid frequency regulation response capability. The flowchart of this method can be found in [reference needed]. Figure 3 The primary frequency modulation parameters include the primary frequency modulation dead zone and the primary frequency modulation limiting; the method includes: Step S1: Obtain several reasonable operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence for the power station to be regulated; Step S2: Extract several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operating data, and calculate the initial cost of power plant frequency penalty through several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations. Step S3: Calculate the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone based on several reasonable operating data and frequency regulation dead zone sequence, and solve the primary frequency regulation dead zone of the power station to be regulated by the initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone. Step S4: Determine the frequency regulation limiting threshold through several reasonable operating data, and perform transient simulation on the substation to be regulated based on the primary frequency regulation dead zone and the frequency regulation limiting sequence to obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limit, so as to calculate the primary frequency regulation setting limit through the frequency regulation limiting threshold and the grid connection point voltage fluctuation data corresponding to each frequency regulation limit.

[0036] In this embodiment, by extracting several valid historical frequency fluctuation under-adjustment data and several frequency over-limit durations, the initial cost of the power station's frequency penalty is calculated by combining the two. This allows the actual frequency fluctuation conditions of the power station to be tuned to be converted into the initial cost of the power station's frequency penalty, providing the actual frequency fluctuation conditions of the power station for subsequent determination of the primary frequency regulation dead zone. Next, the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone is calculated using several reasonable operating data and the frequency regulation dead zone sequence. The primary frequency regulation dead zone of the power station to be tuned is then solved using the initial cost of the power station's frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone, thereby balancing the power station's frequency safety and the lifespan of the energy storage battery. Then, the frequency regulation limiting threshold is determined using several reasonable operating data, and transient simulation is performed on the power station to be tuned based on the primary frequency regulation dead zone and the frequency regulation limiting sequence. This allows the primary frequency regulation limiting that matches the primary frequency regulation dead zone to be calculated while ensuring the power station's voltage safety, thus balancing the power station's frequency safety and frequency regulation response capability.

[0037] Furthermore, the acquisition of several reasonable operating data, frequency dead zone sequence, and frequency limiting sequence of the power station to be regulated includes: Acquire several initial operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be calibrated, and align the timestamps of several operating data to obtain several aligned operating data; Missing data is removed from a number of aligned running data sets to obtain a number of valid running data sets; Based on preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data is removed from several valid operating data to obtain several reasonable operating data.

[0038] In this embodiment, by aligning the timestamps of several operational data sets, the problem of asynchronous data times can be eliminated, resulting in several aligned operational data sets. Next, by removing missing data from these aligned operational data sets, data with missing information can be eliminated, preventing interference from missing data in subsequent steps, thus obtaining several valid operational data sets. Then, by using preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data can be removed from these valid operational data sets. This filters out abnormal and erroneous data that does not conform to the actual operating rules of the grid, resulting in several reasonable operational data sets. This ensures the accuracy and reliability of the calculation results for the initial cost of power station frequency penalties and the primary frequency regulation cost of battery energy storage.

[0039] Furthermore, the step of extracting several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operating data, and calculating the initial cost of the power plant frequency penalty using the several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations, includes: By filtering several reasonable operating data, several valid historical frequency fluctuation under-adjustment data were obtained; Based on several valid historical frequency fluctuation under-adjustment data, extract the corresponding frequency over-limit duration, and obtain the corresponding frequency over-limit deviation through a preset frequency threshold and several valid historical frequency fluctuation under-adjustment data. The initial cost of power plant frequency penalties is calculated based on several frequency over-limit deviations and corresponding frequency over-limit durations.

[0040] In this embodiment, data records related to frequency undertuning fluctuations are selected from several reasonable operating data to obtain several valid historical frequency undertuning data, as shown in Table 1.

[0041] Table 1. Statistical Table of Effective Historical Frequency Fluctuation Underadjustment Data Next, several frequency over-limit durations are extracted from several valid historical frequency fluctuation under-adjustment data, and the corresponding frequency over-limit deviations are calculated by combining them with preset frequency thresholds (in this embodiment, only the frequency over-limit deviations are counted). Under the operating conditions described, two key indicators can be extracted: the duration of frequency exceedance and the frequency exceedance deviation, which can be used to calculate the initial cost of power plant frequency penalties. Then, by calculating several frequency exceedance deviations and corresponding frequency exceedance durations, the initial cost of power plant frequency penalties is obtained, quantifying the losses caused by grid frequency exceedances. Specifically: ,in, The initial cost of the power station frequency penalty; This is the frequency over-limit penalty coefficient, which is frequency-dependent and is a preset value. The frequency deviation at time t; Let t be the duration of frequency exceeding the limit, and N be the total number of valid historical frequency fluctuation under-adjustment data.

[0042] Furthermore, the step of calculating the primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone based on several reasonable operating data and frequency regulation dead zone sequences, and solving the primary frequency regulation dead zone of the power station to be regulated through the initial cost of power station frequency penalty and the primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone, includes: Based on several reasonable operating data and frequency modulation dead zone sequences, obtain the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent full cycle number; The total equivalent discharge depth corresponding to each frequency modulation dead zone is calculated based on the equivalent discharge depth of several frequency modulation actions and the total equivalent full cycle count for each frequency modulation dead zone. The annual cycle life decay cost corresponding to each frequency modulation dead zone is determined by pre-acquiring the equivalent depreciation cost of a single full cycle and the total equivalent discharge depth corresponding to each frequency modulation dead zone. The battery aging loss cost corresponding to each frequency modulation dead zone is calculated based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent discharge depth. The annual cycle life decay cost and the corresponding battery aging loss cost corresponding to each frequency regulation dead zone are statistically calculated to obtain the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone. The primary frequency regulation dead zone of the power station to be regulated is calculated by using the initial cost of the power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone.

[0043] In this embodiment, by extracting the equivalent discharge depth and the corresponding total equivalent full cycle count for several frequency modulation actions corresponding to each frequency modulation dead zone using several reasonable operating data and frequency modulation dead zone sequences, actual operating condition data of energy storage frequency modulation charge and discharge under different frequency modulation dead zones can be obtained, providing a basis for subsequent calculation of battery loss-related costs. Next, the total equivalent discharge depth corresponding to each frequency modulation dead zone is calculated using the equivalent discharge depth and total equivalent full cycle count for several frequency modulation actions corresponding to each frequency modulation dead zone: ,in, This represents the total equivalent depth of discharge. Let M be the equivalent depth of discharge for the k-th frequency modulation action, and M be the total equivalent full cycle count. Combining this with the pre-acquired equivalent depreciation cost for a single full cycle, the annual cycle life decay cost corresponding to each frequency modulation dead zone is obtained, which quantifies the battery depreciation loss caused by normal charge-discharge cycles under different frequency modulation dead zones. Then, by calculating the battery aging loss cost corresponding to each frequency modulation dead zone using the equivalent depth of discharge for several frequency modulation actions and the corresponding total equivalent depth of discharge, the additional aging loss caused by frequent small charge-discharge micro-cycles can be quantified. Subsequently, by statistically calculating the annual cycle life decay cost and the corresponding battery aging loss cost corresponding to each frequency modulation dead zone, the battery energy storage frequency modulation cost for each frequency modulation dead zone can be obtained, specifically: ,in, The cost of frequency regulation for battery energy storage Cost of annual cycle life decay, This includes the cost of battery aging and degradation. Finally, by calculating the initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone, the primary frequency regulation dead zone of the power station to be regulated can be obtained, thus balancing grid frequency security and energy storage battery life.

[0044] Furthermore, the calculation of battery aging loss cost corresponding to each frequency modulation dead zone based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent discharge depth includes: Based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the pre-acquired battery aging test curve, several shallow cycle additional loss factors corresponding to each frequency modulation dead zone are determined. The annual additional equivalent loss is calculated based on several shallow cycle additional loss factors corresponding to each frequency modulation dead zone and several equivalent discharge depths of frequency modulation actions. The battery aging loss cost corresponding to each frequency modulation dead zone is calculated by using the annual additional equivalent loss and the corresponding total equivalent depth of discharge for each frequency modulation dead zone.

[0045] In this embodiment, several shallow-cycle additional loss factors corresponding to each frequency modulation dead zone are determined by combining the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone with the pre-acquired battery aging test curve. These factors can be used to characterize the additional aging effect of small-scale charge-discharge on the battery, providing a basis for subsequent calculation of additional losses. Next, the corresponding annual additional equivalent loss is calculated using the several shallow-cycle additional loss factors corresponding to each frequency modulation dead zone and the corresponding equivalent discharge depth of several frequency modulation actions. This quantifies the additional cycle loss caused by frequent small-scale frequency modulation charge-discharge of energy storage. Specifically: ,in, Additional equivalent losses are added annually. , An additional loss factor is added to the shallow cycle. Then, the battery aging loss cost corresponding to each frequency dead zone is calculated by using the annual additional equivalent loss and the corresponding total equivalent depth of discharge for each frequency dead zone. This allows the additional battery aging caused by shallow energy storage cycles to be converted into economic losses.

[0046] Furthermore, the calculation of the primary frequency regulation dead zone of the power station to be regulated by using the initial cost of the power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone includes: The initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone are normalized to obtain the normalized cost of power station frequency penalty and the normalized cost of primary frequency regulation of battery energy storage corresponding to each frequency regulation dead zone. The total cost corresponding to each frequency regulation dead zone is calculated based on the normalized cost of the power station frequency penalty and the normalized cost of the battery energy storage primary frequency regulation corresponding to each frequency regulation dead zone. The primary frequency regulation dead zone of the power station to be regulated is determined by the total cost corresponding to each frequency regulation dead zone.

[0047] In this embodiment, the initial cost of the power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone are normalized by the extreme value normalization method. This eliminates the differences in units and numerical magnitudes between the two types of costs, making them suitable for weighted calculation. Specifically: in, and These represent the maximum and minimum values ​​of the initial cost of the power station frequency penalty, respectively. and These represent the maximum and minimum values ​​of the primary frequency regulation cost for battery energy storage, respectively. After normalization, both types of costs are mapped to the [0,1] interval. Next, the total cost corresponding to each frequency regulation dead zone is calculated using the normalized cost of the power station frequency penalty and the normalized cost of the primary frequency regulation for battery energy storage corresponding to each frequency regulation dead zone. This total cost can simultaneously reflect grid frequency security losses and battery frequency regulation losses, thus serving as a criterion for selecting primary frequency regulation dead zones. Then, by comparing the total costs of each candidate frequency regulation dead zone, the primary frequency regulation dead zone of the power station to be regulated, which balances grid frequency security performance and battery lifespan, can be determined.

[0048] In this embodiment, after obtaining the total cost corresponding to each frequency modulation dead zone, the primary frequency modulation dead zone is obtained by selecting the total cost with the lowest cost. Furthermore, the obtained primary frequency modulation dead zone is verified through the following five types of constraints to ensure that the optimized dead zone parameters possess both engineering practicality and operational safety: I. Power balance constraints in the power grid, the constraint expression is as follows: In the formula: Let t be the total output of all generator units. Real-time response power for primary frequency regulation in energy storage; This represents the total load power of the power grid. This refers to the power loss in the power grid lines. This constraint limits the adjustment range of the energy storage frequency regulation power, preventing excessive or insufficient power regulation due to unreasonable dead zone parameters, which could lead to power imbalance in the power grid.

[0049] II. Generator Unit Operation Constraints: Considering the primary frequency regulation response characteristics and operating limits of conventional thermal and hydropower units, this includes upper and lower output limits, ramp-up rate constraints, and frequency regulation dead zone coordination constraints. Energy storage frequency regulation must complement conventional unit frequency regulation, and must not exceed the unit's adjustable margin. Simultaneously, conflicts and redundant adjustments between energy storage frequency regulation and unit frequency regulation should be avoided to ensure the coordinated and efficient utilization of frequency regulation resources across the entire network.

[0050] III. Battery Energy Storage Body Constraints: Adhering to the physical operating limits of energy storage devices to ensure safe and stable operation, including: upper and lower limits of energy storage charge and discharge power, state of charge (SOC) range constraints, single frequency regulation charge and discharge depth constraints, and maximum charge and discharge frequency constraints. These constraints limit overcharging, over-discharging, and over-power operation of energy storage during frequency regulation, mitigating equipment safety risks and delaying abnormal battery aging.

[0051] IV. Frequency Regulation Dead Zone Parameter Constraints: Combining power grid dispatching specifications and energy storage frequency regulation engineering application standards, a reasonable range of dead zone parameter values ​​is pre-set. The dead zone value range for primary frequency regulation of conventional power grid energy storage is generally limited to 0~0.2Hz. At the same time, dead zone accuracy step size constraints are set to ensure that the optimized parameters meet the engineering tuning requirements and avoid abnormal parameter values ​​that prevent practical application.

[0052] V. Constraints on Primary Frequency Regulation Performance: To ensure that the frequency regulation performance corresponding to the obtained dead zone parameters meets the grid requirements, hard frequency regulation performance constraints are set: the total number of times the grid frequency exceeds the limit by 0.05Hz shall not exceed the grid assessment limit; the maximum frequency deviation, frequency regulation response lag time, and frequency recovery time shall meet the grid primary frequency regulation technical standards; and the energy storage frequency regulation participation rate and frequency regulation accuracy shall meet the dispatch assessment indicators.

[0053] Further, the process of determining the frequency regulation limiting threshold through several reasonable operating data, and performing transient simulation of the power station to be regulated based on the primary frequency regulation dead zone and the frequency regulation limiting sequence to obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limit, so as to calculate the primary frequency regulation setting limit through the frequency regulation limiting threshold and the grid connection point voltage fluctuation data corresponding to each frequency regulation limit, includes: The short-circuit capacity of each energy storage grid connection point is obtained based on several reasonable operating data, and the short-circuit ratio of each energy storage grid connection point is calculated based on the short-circuit capacity of each energy storage grid connection point, so as to determine the frequency modulation limiting threshold based on the short-circuit ratio of each energy storage grid connection point. Transient simulation is performed on the power station to be regulated based on the primary frequency regulation dead zone and frequency regulation limiting sequence. The voltage fluctuation data of the grid connection point corresponding to each frequency regulation limit is obtained. The primary frequency regulation setting limit of the power station to be regulated is calculated by using the frequency regulation limiting threshold and the voltage fluctuation data of the grid connection point corresponding to each frequency regulation limit.

[0054] In this embodiment, considering that the voltage operating range of the grid node during normal operation is 0.95 pu~1.05 pu, and combining the national standard requirements for voltage switching control thresholds of 0.9 pu for low voltage and 1.1 pu for high voltage, it is determined that voltage fluctuations caused by active power should not exceed 0.05 pu. The short-circuit capacity of each energy storage grid connection point is obtained from several reasonable operating data points, and the short-circuit ratio of each energy storage grid connection point is calculated based on the short-circuit capacity. Therefore, the frequency regulation limiting threshold can be determined through the short-circuit ratio of each energy storage grid connection point, avoiding subsequent setting of the limiting threshold from exceeding the grid voltage's tolerance range. Specifically: ,in, For short-circuit ratio, This is the rated power of the electrochemical energy storage power station. For the short-circuit capacity of the energy storage grid connection point; , This is the frequency modulation limiting threshold. Next, based on the already solved primary frequency modulation dead zone, transient simulations are performed on the frequency modulation limiting sequence to obtain the grid connection point voltage fluctuation data corresponding to each frequency modulation limit: ,in, The voltage fluctuation data at the grid connection point is given, and L is the frequency regulation limit expressed in per-unit value of rated power. Combined with the frequency regulation limit threshold determined above, the primary frequency regulation setting limit of the power station to be set is calculated. This ensures that the set limit can meet the primary frequency regulation regulation capability without causing the grid connection point voltage to exceed the limit.

[0055] This embodiment provides a primary frequency regulation parameter tuning system for an electrochemical energy storage power station. Please refer to [link to relevant documentation]. Figure 4 The primary frequency modulation parameters include the primary frequency modulation dead zone and the primary frequency modulation limiting; the system includes a basic data acquisition module, a frequency penalty cost calculation module, a frequency modulation dead zone calculation module, and a frequency modulation limiting calculation module, specifically: The basic data acquisition module is used to acquire several reasonable operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be regulated; The frequency penalty cost calculation module is used to extract several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operating data, and to calculate the initial cost of power plant frequency penalty through several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations. The frequency regulation dead zone calculation module is used to calculate the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone based on several reasonable operating data and frequency regulation dead zone sequence, and to calculate the primary frequency regulation dead zone of the power station to be regulated by the initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone. The frequency regulation limiting calculation module is used to determine the frequency regulation limiting threshold through several reasonable operating data, and to perform transient simulation of the power station to be regulated based on the primary frequency regulation setting dead zone and the frequency regulation limiting sequence, to obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limit, so as to calculate the primary frequency regulation setting limit through the frequency regulation limiting threshold and the grid connection point voltage fluctuation data corresponding to each frequency regulation limit.

[0056] This embodiment provides a primary frequency regulation parameter tuning system for an electrochemical energy storage power station. In practical applications, it only requires a basic data acquisition module to extract several valid historical frequency fluctuation under-adjustment data and several frequency over-limit durations. A frequency penalty cost calculation module then combines these two data to calculate the initial frequency penalty cost of the power station. This converts the actual frequency fluctuation conditions of the power station to be tuned into the initial frequency penalty cost, providing the actual frequency fluctuation conditions for determining the primary frequency regulation dead zone. Next, a frequency regulation dead zone calculation module calculates the primary frequency regulation cost of the battery energy storage corresponding to each frequency regulation dead zone using several reasonable operating data and a frequency regulation dead zone sequence. Finally, the primary frequency regulation dead zone of the power station to be tuned is calculated using the initial frequency penalty cost and the corresponding primary frequency regulation cost of the battery energy storage for each frequency regulation dead zone, thereby balancing the power station's frequency safety and the lifespan of the energy storage battery. Then, the frequency modulation limiting calculation module is used to determine the frequency modulation limiting threshold through several reasonable operating data. Based on the primary frequency modulation dead zone and the frequency modulation limiting sequence, transient simulation is performed on the substation to be regulated. Under the premise of ensuring the voltage safety of the substation, the primary frequency modulation setting limit that matches the primary frequency modulation dead zone can be calculated, so as to take into account the frequency safety and frequency regulation response capability of the substation.

[0057] Furthermore, the basic data acquisition module is used to acquire several reasonable operating data, frequency regulation dead zone sequences, and frequency regulation limiting sequences of the power station to be regulated, including: Acquire several initial operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be calibrated, and align the timestamps of several operating data to obtain several aligned operating data; Missing data is removed from a number of aligned running data sets to obtain a number of valid running data sets; Based on preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data is removed from several valid operating data to obtain several reasonable operating data.

[0058] In this embodiment, by aligning the timestamps of several operational data sets, the problem of asynchronous data times can be eliminated, resulting in several aligned operational data sets. Next, by removing missing data from these aligned operational data sets, data with missing information can be eliminated, preventing interference from missing data in subsequent steps, thus obtaining several valid operational data sets. Then, by using preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data can be removed from these valid operational data sets. This filters out abnormal and erroneous data that does not conform to the actual operating rules of the grid, resulting in several reasonable operational data sets. This ensures the accuracy and reliability of the calculation results for the initial cost of power station frequency penalties and the primary frequency regulation cost of battery energy storage.

[0059] Furthermore, the step of extracting several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operating data, and calculating the initial cost of the power plant frequency penalty using the several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations, includes: By filtering several reasonable operating data, several valid historical frequency fluctuation under-adjustment data were obtained; Based on several valid historical frequency fluctuation under-adjustment data, extract the corresponding frequency over-limit duration, and obtain the corresponding frequency over-limit deviation through a preset frequency threshold and several valid historical frequency fluctuation under-adjustment data. The initial cost of power plant frequency penalties is calculated based on several frequency over-limit deviations and corresponding frequency over-limit durations.

[0060] In this embodiment, data records related to frequency under-adjustment fluctuations are filtered from several reasonable operational data sets to obtain several valid historical frequency under-adjustment data sets. Next, several frequency over-limit durations are extracted from these valid historical frequency under-adjustment data sets, and combined with a preset frequency threshold, several frequency over-limit deviations are calculated. This allows for the extraction of two key indicators: frequency over-limit duration and frequency over-limit deviation, which are used to calculate the initial cost of the power plant's frequency penalty. Then, the initial cost of the power plant's frequency penalty is calculated using several frequency over-limit deviations and corresponding frequency over-limit durations, quantifying the losses caused by grid frequency over-limits.

[0061] To more intuitively and fully illustrate that the primary frequency regulation parameter tuning method for an electrochemical energy storage power station provided in this embodiment can avoid the difficulty in balancing grid frequency security and energy storage battery life caused by the inability of existing tuning methods to combine the actual frequency fluctuation conditions of the power grid when tuning the primary frequency regulation parameters, the method tunes the primary frequency regulation parameters by using grid operation data, thereby taking into account both grid frequency security and grid frequency regulation response capability. The following embodiment is provided for specific illustration: Using a 100MW / 200MWh lithium iron phosphate energy storage power station as the station to be regulated, and combining the effective historical frequency fluctuation under-regulation data in Table 1, the specific calculation of the battery energy storage one-time frequency regulation cost corresponding to each frequency regulation dead zone is carried out. The calculation input parameters are: battery cost is taken as 0.6 yuan / Wh, and the total investment of the energy storage power station is about 120 million yuan; the nominal cycle life corresponding to the lithium iron phosphate battery capacity decaying to 80% and being retired is 6000 cycles, and the pre-obtained equivalent depreciation cost of a single full cycle is about 20,000 yuan; the average equivalent discharge depth of a single frequency regulation action is taken as 0.05%, corresponding to an average throughput of about 0.1MWh of a single frequency regulation action, that is, the average energy storage output is 5MW for about 72s. Substituting different candidate frequency regulation dead zones into the method execution flow provided in this embodiment, the number of annual frequency regulation actions under each candidate frequency regulation dead zone is obtained, and the battery energy storage one-time frequency regulation cost corresponding to each candidate frequency regulation dead zone is further calculated. The calculation results are shown in Table 2.

[0062] Table 2. Annual Frequency Regulation Operations and Primary Frequency Regulation Costs of Battery Storage Power Stations under Different Candidate Frequency Regulation Dead Zones As can be seen from Table 2, the dead zone is composed of Hz changed to After adjusting the frequency, the annual frequency regulation frequency operation frequency decreased from 246,000 times to 24,000 times, a reduction of approximately 90%. The corresponding primary frequency regulation cost for battery energy storage decreased from approximately 2.46 million yuan to approximately 240,000 yuan, resulting in annual cost savings of approximately 2.22 million yuan. Over a 15-year operating period, this translates to cumulative savings of approximately 33 million yuan, representing about 28% of the battery system investment. By normalizing the initial cost of the power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each candidate frequency regulation dead zone, the total cost corresponding to each candidate frequency regulation dead zone was calculated. The candidate value with the optimal total cost was selected, resulting in a primary frequency regulation dead zone of 0.0486Hz, which, after engineering rounding, is ±0.05Hz. This tuning result can minimize the primary frequency regulation cost of battery energy storage while ensuring grid frequency security, thus minimizing overall operating costs.

[0063] Further execute the limiting calculation steps in the method provided in this embodiment: obtain the short-circuit capacity of the energy storage grid connection point based on several reasonable operating data of the power station to be calibrated, calculate the short-circuit ratio of each grid connection point, select the weak energy storage grid connection point with short-circuit ratio SCR≈4 as the critical verification condition, and determine the frequency regulation limiting threshold; based on the primary frequency regulation dead zone that has been calculated, input the frequency regulation limiting sequence to carry out transient simulation of the power station to be calibrated, obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limiting, and the verification results are shown in Table 3.

[0064] Table 3. Verification results of grid connection point voltage fluctuation under different frequency modulation limits. As shown in Table 3, under the critical access condition where the short-circuit ratio (SCR) at the grid connection point is approximately 4, the frequency modulation limit is 20%. The voltage fluctuation at the grid connection point was exactly 0.05 pu, just reaching the allowable voltage fluctuation boundary; when the frequency modulation limit exceeded 20%. At this time, the voltage fluctuation data at the grid connection point will exceed 0.05 pu, which may cause the grid connection point voltage fluctuation to exceed the limit, trigger voltage switching control, and cause power flow and secondary voltage problems in the near-field area. Furthermore, current regulations require that the primary frequency regulation limit should not be less than 20% of the rated power, i.e., 20%. It can simultaneously meet the frequency safety lower limit requirements under large disturbance conditions. Combining the frequency regulation limiting threshold and the corresponding grid connection point voltage fluctuation data for each frequency regulation limit, the primary frequency regulation setting limit for the substation to be adjusted is calculated to be 20%. .

[0065] In this embodiment, after calculating the primary frequency regulation dead zone and primary frequency regulation limit of the power station to be regulated, the primary frequency regulation dead zone and primary frequency regulation limit are used as known fixed parameters to adjust the primary frequency regulation droop coefficient. When the grid frequency deviation reaches At that time, the energy storage power station can output all primary frequency regulation backups, and obtain multiple sets of complete primary frequency regulation parameters adapted to different operating scenarios, as shown in the table below.

[0066] Table 4. Primary Frequency Modulation Setting Adjustment Coefficient Table This embodiment also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the functions of the system as described above.

[0067] It is understood that the above system embodiments correspond to the method embodiments of the present invention, and can realize the method for setting the primary frequency regulation parameters of an electrochemical energy storage power station provided by any of the above method embodiments of the present invention.

[0068] It should be noted that the system embodiments described above are merely illustrative, and some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0069] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for tuning the primary frequency regulation parameters of an electrochemical energy storage power station, characterized in that, The primary frequency modulation parameters include the primary frequency modulation dead zone and the primary frequency modulation limiting; the method includes: Obtain several reasonable operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be regulated; Based on several reasonable operating data, extract several effective historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations, and calculate the initial cost of power plant frequency penalty through several effective historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations. The primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone is calculated based on several reasonable operating data and frequency regulation dead zone sequence. The primary frequency regulation dead zone of the power station to be regulated is solved by the initial cost of power station frequency penalty and the primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone. The frequency regulation limiting threshold is determined by several reasonable operating data, and transient simulation is performed on the power station to be regulated based on the primary frequency regulation dead zone and the frequency regulation limiting sequence to obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limit. The primary frequency regulation setting limit is then calculated by using the frequency regulation limiting threshold and the grid connection point voltage fluctuation data corresponding to each frequency regulation limit.

2. The method for setting the primary frequency regulation parameters of an electrochemical energy storage power station according to claim 1, characterized in that, The acquisition of several reasonable operating data, frequency dead zone sequences, and frequency limiting sequences of the power station to be tuned includes: Acquire several initial operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be calibrated, and align the timestamps of several operating data to obtain several aligned operating data; Missing data is removed from a number of aligned running data sets to obtain a number of valid running data sets; Based on preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data is removed from several valid operating data to obtain several reasonable operating data.

3. The method for setting the primary frequency regulation parameters of an electrochemical energy storage power station according to claim 2, characterized in that, The process involves extracting several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operational data, and calculating the initial cost of the power plant frequency penalty using these data. By filtering several reasonable operating data, several valid historical frequency fluctuation under-adjustment data were obtained; Based on several valid historical frequency fluctuation under-adjustment data, extract the corresponding frequency over-limit duration, and obtain the corresponding frequency over-limit deviation through a preset frequency threshold and several valid historical frequency fluctuation under-adjustment data. The initial cost of power plant frequency penalties is calculated based on several frequency over-limit deviations and corresponding frequency over-limit durations.

4. The method for setting the primary frequency regulation parameters of an electrochemical energy storage power station according to claim 1, characterized in that, The process involves calculating the primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone based on several reasonable operating data and frequency regulation dead zone sequences, and then solving for the primary frequency regulation dead zone of the power station to be regulated using the initial frequency penalty cost of the power station and the primary frequency regulation cost of battery storage corresponding to each frequency regulation dead zone. This includes: Based on several reasonable operating data and frequency modulation dead zone sequences, obtain the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent full cycle number; The total equivalent discharge depth corresponding to each frequency modulation dead zone is calculated based on the equivalent discharge depth of several frequency modulation actions and the total equivalent full cycle count for each frequency modulation dead zone. The annual cycle life decay cost corresponding to each frequency modulation dead zone is determined by pre-acquiring the equivalent depreciation cost of a single full cycle and the total equivalent discharge depth corresponding to each frequency modulation dead zone. The battery aging loss cost corresponding to each frequency modulation dead zone is calculated based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent discharge depth. The annual cycle life decay cost and the corresponding battery aging loss cost corresponding to each frequency regulation dead zone are statistically calculated to obtain the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone. The primary frequency regulation dead zone of the power station to be regulated is calculated by using the initial cost of the power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone.

5. The method for setting the primary frequency regulation parameters of an electrochemical energy storage power station according to claim 4, characterized in that, The calculation of battery aging loss cost corresponding to each frequency modulation dead zone based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the corresponding total equivalent discharge depth includes: Based on the equivalent discharge depth of several frequency modulation actions corresponding to each frequency modulation dead zone and the pre-acquired battery aging test curve, several shallow cycle additional loss factors corresponding to each frequency modulation dead zone are determined. The annual additional equivalent loss is calculated based on several shallow cycle additional loss factors corresponding to each frequency modulation dead zone and several equivalent discharge depths of frequency modulation actions. The battery aging loss cost corresponding to each frequency modulation dead zone is calculated by using the annual additional equivalent loss and the corresponding total equivalent depth of discharge for each frequency modulation dead zone.

6. The method for setting the primary frequency regulation parameters of an electrochemical energy storage power station according to claim 4, characterized in that, The calculation of the primary frequency regulation dead zone of the power station to be regulated by using the initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone includes: The initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone are normalized to obtain the normalized cost of power station frequency penalty and the normalized cost of primary frequency regulation of battery energy storage corresponding to each frequency regulation dead zone. The total cost corresponding to each frequency regulation dead zone is calculated based on the normalized cost of the power station frequency penalty and the normalized cost of the battery energy storage primary frequency regulation corresponding to each frequency regulation dead zone. The primary frequency regulation dead zone of the power station to be regulated is determined by the total cost corresponding to each frequency regulation dead zone.

7. The method for setting the primary frequency regulation parameters of an electrochemical energy storage power station according to claim 1, characterized in that, The process involves determining the frequency regulation limiting threshold using several reasonable operating data points, and performing transient simulations of the substation to be regulated based on the primary frequency regulation dead zone and the frequency regulation limiting sequence. This process obtains grid connection voltage fluctuation data corresponding to each frequency regulation limit, and then calculates the primary frequency regulation setting limit using the frequency regulation limiting threshold and the corresponding grid connection voltage fluctuation data. The short-circuit capacity of each energy storage grid connection point is obtained based on several reasonable operating data, and the short-circuit ratio of each energy storage grid connection point is calculated based on the short-circuit capacity of each energy storage grid connection point, so as to determine the frequency modulation limiting threshold based on the short-circuit ratio of each energy storage grid connection point. Transient simulation is performed on the power station to be regulated based on the primary frequency regulation dead zone and frequency regulation limiting sequence. The voltage fluctuation data of the grid connection point corresponding to each frequency regulation limit is obtained. The primary frequency regulation setting limit of the power station to be regulated is calculated by using the frequency regulation limiting threshold and the voltage fluctuation data of the grid connection point corresponding to each frequency regulation limit.

8. A primary frequency regulation parameter tuning system for an electrochemical energy storage power station, characterized in that, The primary frequency modulation parameters include the primary frequency modulation dead zone and the primary frequency modulation limiting; the system includes a basic data acquisition module, a frequency penalty cost calculation module, a frequency modulation dead zone calculation module, and a frequency modulation limiting calculation module, specifically: The basic data acquisition module is used to acquire several reasonable operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be adjusted; The frequency penalty cost calculation module is used to extract several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operating data, and to calculate the initial cost of power plant frequency penalty through several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations. The frequency regulation dead zone calculation module is used to calculate the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone based on several reasonable operating data and frequency regulation dead zone sequence, and to calculate the primary frequency regulation dead zone of the power station to be regulated by the initial cost of power station frequency penalty and the primary frequency regulation cost of battery energy storage corresponding to each frequency regulation dead zone. The frequency regulation limiting calculation module is used to determine the frequency regulation limiting threshold through several reasonable operating data, and to perform transient simulation of the power station to be regulated based on the primary frequency regulation setting dead zone and the frequency regulation limiting sequence, to obtain the grid connection point voltage fluctuation data corresponding to each frequency regulation limit, so as to calculate the primary frequency regulation setting limit through the frequency regulation limiting threshold and the grid connection point voltage fluctuation data corresponding to each frequency regulation limit.

9. The primary frequency regulation parameter tuning system for an electrochemical energy storage power station according to claim 8, characterized in that, The basic data acquisition module is used to acquire several reasonable operating data, frequency regulation dead zone sequences, and frequency regulation limiting sequences of the power station to be regulated, including: Acquire several initial operating data, frequency regulation dead zone sequence, and frequency regulation limiting sequence of the power station to be calibrated, and align the timestamps of several operating data to obtain several aligned operating data; Missing data is removed from a number of aligned running data sets to obtain a number of valid running data sets; Based on preset grid frequency constraints, preset grid unit output constraints, and preset load data over-limit constraints, unreasonable data is removed from several valid operating data to obtain several reasonable operating data.

10. The primary frequency regulation parameter tuning system for an electrochemical energy storage power station according to claim 9, characterized in that, The process involves extracting several valid historical frequency fluctuation under-adjustment data and corresponding frequency over-limit durations based on several reasonable operational data, and calculating the initial cost of the power plant frequency penalty using these data. By filtering several reasonable operating data, several valid historical frequency fluctuation under-adjustment data were obtained; Based on several valid historical frequency fluctuation under-adjustment data, extract the corresponding frequency over-limit duration, and obtain the corresponding frequency over-limit deviation through a preset frequency threshold and several valid historical frequency fluctuation under-adjustment data. The initial cost of power plant frequency penalties is calculated based on several frequency over-limit deviations and corresponding frequency over-limit durations.