Secondary frequency modulation control method, device, equipment and storage medium
Through the optimization of the comprehensive frequency modulation performance indicators and SOC weight factor of multiple energy storage power stations and units, the frequency modulation power iteration is used to solve the problem of unreasonable frequency modulation capacity allocation in the traditional frequency modulation method, and the stability of the power grid frequency is improved.
Patent Information
- Application Number
- CN202210844952.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-18
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-07-18
AI Technical Summary
Traditional frequency regulation methods are difficult to meet the frequency regulation needs when large-scale wind power is connected to the grid, resulting in increased frequency regulation pressure in the power grid, unreasonable allocation of frequency regulation capacity, affecting the grid frequency index.
Through multiple energy storage power stations participating in the power grid frequency regulation, each energy storage power station includes multiple energy storage units, and generates frequency modulation power intervals based on the comprehensive frequency modulation performance indicators and SOC weighting factors. Genetic algorithms are used to iteratively optimize the frequency modulation power to achieve effective allocation of frequency modulation signals and capacity redistribution.
The frequency modulation power distribution of energy storage power stations and energy storage units has been optimized, the frequency modulation capacity allocation has been rationalized, the bottleneck of intermittent power supply grid connection has been alleviated, and the grid frequency index has been improved.
Smart Images

Figure CN115085221B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power grid automation technology, and in particular to a secondary frequency modulation control method, device, equipment and storage medium. Background Art
[0002] At present, most intermittent power sources do not show inertia to the power grid, and intermittent power sources are volatile and uncertain. If intermittent power sources are connected to the power grid on a large scale, the frequency regulation pressure of the power grid will be significantly increased. For example, when a power grid containing large-scale wind power encounters an impact load disturbance, due to the unreasonable allocation of frequency regulation capacity of traditional power sources and slow response speed, the frequency regulation method of traditional power sources is difficult to meet the frequency regulation needs of large-scale wind power grid connection. Therefore, how to alleviate the bottleneck of intermittent power grid connection and improve the frequency index of the power grid has become an urgent problem to be solved for the power grid to accept intermittent power sources such as wind power. Summary of the invention
[0003] The present invention provides a secondary frequency modulation control method, device, equipment and storage medium to solve the technical problem of unreasonable frequency modulation capacity allocation in traditional frequency modulation methods.
[0004] In order to solve the above technical problems, in a first aspect, the present invention provides a secondary frequency regulation control method, wherein multiple energy storage power stations participate in grid frequency regulation, each energy storage power station includes multiple energy storage units, and the method includes:
[0005] Determine the comprehensive frequency regulation performance index of each energy storage power station and the SOC weight factor of each energy storage unit according to the power station information of the energy storage power station and the unit information of the energy storage unit;
[0006] For each energy storage power station, based on the comprehensive frequency regulation performance index, a first frequency regulation power interval corresponding to the energy storage power station is generated when a preset upper layer objective function is met;
[0007] For each energy storage unit in each energy storage power station, based on the SOC weight factor and the first frequency modulation power interval, a second frequency modulation power interval corresponding to the energy storage unit is generated when a preset lower layer objective function is met;
[0008] Using a preset genetic algorithm, the first frequency modulation power interval and the second frequency modulation power interval are combined and iterated until a preset iteration termination condition is reached, thereby obtaining a first target frequency modulation power of each energy storage power station and a second target frequency modulation power of each energy storage unit;
[0009] Based on the first target frequency regulation power and the second target frequency regulation power, the energy storage unit in the energy storage power station is controlled to release electric energy to regulate the frequency of the power grid.
[0010] Preferably, the comprehensive frequency regulation performance index of each energy storage power station and the SOC weight factor of each energy storage unit are determined according to the power station information of the energy storage power station and the unit information of the energy storage unit, including:
[0011] Obtain the power station information of the energy storage power station and the unit information of the energy storage unit. The power station information includes the forward frequency regulation mileage, response times and single frequency regulation performance index. The unit information includes the maximum state of charge value, the minimum state of charge value and the current state of charge value.
[0012] Determine the comprehensive frequency regulation performance index of each energy storage power station based on the forward frequency regulation mileage, response times and single frequency regulation performance index;
[0013] The SOC weight factor of each energy storage unit is determined according to the maximum state of charge value, the minimum state of charge value and the current state of charge value.
[0014] As a preference, the comprehensive frequency regulation performance index of each energy storage power station is determined based on the forward frequency regulation mileage, response times and single frequency regulation performance index, including:
[0015] For each energy storage power station, the preset comprehensive frequency regulation performance index formula is used to determine the comprehensive frequency regulation performance index of the energy storage power station according to the forward frequency regulation mileage, response times and single frequency regulation performance index. The preset comprehensive frequency regulation performance index formula is:
[0016]
[0017] is the comprehensive frequency regulation performance index of the i-th energy storage power station, D +i,j is the forward frequency regulation mileage of the i-th energy storage station when it responds to the AGC command for the mth time, M is the number of times the i-th energy storage station responds to the AGC command during operation, It is the single frequency regulation performance index of the i-th energy storage power station when it responds to the AGC command for the m-th time.
[0018] Preferably, the SOC weight factor of each energy storage unit is determined according to the maximum state of charge value, the minimum state of charge value and the current state of charge value, including:
[0019] For each energy storage power station, a discharge weight factor and a charge weight factor of the energy storage unit are determined according to the maximum state of charge value, the minimum state of charge value and the current state of charge value;
[0020] The SOC weight factor of the energy storage unit is determined by using the preset SOC weight factor formula according to the discharge weight factor and the charge weight factor. The preset SOC weight factor formula is:
[0021]
[0022] is the dimensionless discharge weight factor of the j-th energy storage unit in the i-th energy storage power station, is the charge and discharge state coefficient of the jth energy storage unit in the i-th energy storage power station, is the dimensionless charging weight factor of the j-th energy storage unit in the i-th energy storage power station, is the dimensionless SOC weight factor of the j-th energy storage unit in the i-th energy storage power station.
[0023] Preferably, for each energy storage power station, based on the comprehensive frequency regulation performance index, a first frequency regulation power interval corresponding to the energy storage power station when a preset upper layer objective function is met is generated, including:
[0024] Based on the comprehensive frequency modulation performance index, a preset upper layer objective function is constructed;
[0025] For each energy storage power station, according to the preset frequency regulation capacity constraint condition and the preset frequency regulation power constraint condition corresponding to the energy storage power station, the preset upper layer objective function is iterated to obtain the first frequency regulation power interval corresponding to the energy storage power station when the preset upper layer objective function reaches the preset value. The preset upper layer objective function is:
[0026]
[0027] T is the total number of dispatches, is the comprehensive frequency regulation performance index of the i-th energy storage power station, RE i (t) is the remaining frequency regulation capacity coefficient of the i-th energy storage power station.
[0028] Preferably, the remaining frequency regulation capacity factor is calculated based on a preset capacity factor formula, and the preset capacity factor is:
[0029]
[0030] is the dimensionless upward residual frequency regulation capacity coefficient of the i-th energy storage power station, is the dimensionless upward residual frequency regulation capacity coefficient of the i-th energy storage power station, K i is the charge and discharge state coefficient of the i-th energy storage power station.
[0031] Preferably, for each energy storage unit in each energy storage power station, based on the SOC weight factor and the first frequency modulation power interval, a second frequency modulation power interval corresponding to the energy storage unit when a preset lower layer objective function is met is generated, including:
[0032] Based on the SOC weight factor, a preset upper layer objective function is constructed;
[0033] For each energy storage unit, according to the preset rated power constraint condition, SOC limit constraint condition and preset output constraint condition constructed based on the first frequency modulation power interval corresponding to the energy storage power station, the preset lower layer objective function is iterated to obtain the second frequency modulation power interval corresponding to the energy storage unit when the preset lower layer objective function reaches the preset value. The preset lower layer objective function is:
[0034]
[0035] is the dimensionless SOC weight factor of the j-th energy storage unit in the i-th energy storage power station, is the state of charge value of the j-th energy storage unit in the i-th energy storage power station at the t-th time, is the optimal state of charge value of the jth energy storage unit in the i-th energy storage power station.
[0036] In a second aspect, an embodiment of the present invention provides a secondary frequency regulation control device, which participates in grid frequency regulation through multiple energy storage power stations, each of which includes multiple energy storage units, and the device includes:
[0037] A determination module, used to determine the comprehensive frequency regulation performance index of each energy storage power station and the SOC weight factor of each energy storage unit according to the power station information of the energy storage power station and the unit information of the energy storage unit;
[0038] A first generating module is used to generate, for each energy storage power station, a first frequency regulation power interval corresponding to the energy storage power station when a preset upper layer objective function is met based on the comprehensive frequency regulation performance index;
[0039] A second generating module is used to generate, for each energy storage unit in each energy storage power station, a second frequency modulation power interval corresponding to the energy storage unit when a preset lower layer objective function is met based on the SOC weight factor and the first frequency modulation power interval;
[0040] An iteration module is used to combine and iterate the first frequency modulation power interval and the second frequency modulation power interval by using a preset genetic algorithm until a preset iteration termination condition is reached, thereby obtaining a first target frequency modulation power of each energy storage power station and a second target frequency modulation power of each energy storage unit;
[0041] The control module is used to control the energy storage unit in the energy storage power station to release electric energy based on the first target frequency regulation power and the second target frequency regulation power, so as to regulate the frequency of the power grid.
[0042] In a third aspect, an embodiment of the present invention provides a computer device, including a processor and a memory, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the secondary frequency modulation control method of the first aspect is implemented.
[0043] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the secondary frequency modulation control method of the first aspect when the computer program is executed by a processor.
[0044] Compared with the prior art, the present invention has the following beneficial effects:
[0045] The present invention determines the comprehensive frequency regulation performance index of each energy storage power station and the SOC weight factor of each energy storage unit according to the power station information of the energy storage power station and the unit information of the energy storage unit, so as to consider the influence of the frequency regulation performance and the state of charge on the subsequent secondary frequency regulation of the power grid; then for each energy storage power station, based on the comprehensive frequency regulation performance index, a first frequency regulation power interval corresponding to the energy storage power station is generated when the preset upper layer objective function is met, so as to consider the frequency regulation performance differences between different energy storage power stations, and obtain the adjustable frequency power interval of each energy storage power station, so as to realize the effective distribution of frequency regulation signals among different energy storage power stations; and for each energy storage unit in each energy storage power station, based on the SOC weight factor and the first frequency regulation power interval, a second frequency regulation power interval corresponding to the energy storage unit is generated when the preset lower layer objective function is met, so as to consider the frequency regulation performance differences between different energy storage power stations. The state of charge weight factor of the same energy storage unit is used to realize the redistribution of the first frequency modulation power interval, so as to achieve the purpose of secondary frequency modulation control; then, the preset genetic algorithm is used to combine and iterate the first frequency modulation power interval and the second frequency modulation power interval until the preset iteration termination condition is reached, so as to obtain the first target frequency modulation power of each energy storage power station and the second target frequency modulation power of each energy storage unit, so as to optimize the frequency modulation power distribution of the energy storage power station and the frequency modulation capacity distribution of each energy storage unit, so as to make the frequency modulation capacity distribution more reasonable; finally, based on the first target frequency modulation power and the second target frequency modulation power, the energy storage units in the energy storage power station are controlled to release electric energy to modulate the frequency of the power grid, so as to realize secondary frequency modulation of the power grid with reasonable frequency modulation capacity, so as to alleviate the bottleneck of intermittent power supply grid connection and improve the frequency index of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic flow chart of a secondary frequency modulation control method according to an embodiment of the present invention;
[0047] Figure 2 A schematic diagram of the structure of a secondary frequency modulation control device according to an embodiment of the present invention;
[0048] Figure 3 The figure is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] Please refer to Figure 1 , Figure 1 The flowchart of a secondary frequency modulation control method provided by an embodiment of the present invention is shown in FIG. The secondary frequency modulation control method of the embodiment of the present invention can be applied to computer devices, including but not limited to smart phones, laptops, tablet computers, desktop computers, physical servers, cloud servers and other devices. Figure 1 As shown, the secondary frequency modulation control method of this embodiment includes steps S101 to S105, which are described in detail as follows:
[0051] Step S101, determining the comprehensive frequency regulation performance index of each of the energy storage power stations and the SOC weight factor of each of the energy storage units according to the power station information of the energy storage power station and the unit information of the energy storage units.
[0052] In this step, the power station information includes but is not limited to the forward frequency regulation mileage, the number of responses and the single frequency regulation performance index, and the unit information includes but is not limited to the maximum state of charge value, the minimum state of charge value and the current state of charge value.
[0053] It should be noted that secondary frequency regulation is also called automatic generation control (AGC), which means that the generator set provides sufficient adjustable capacity and a certain regulation rate, and tracks the frequency in real time under the allowable regulation deviation to meet the requirements of system frequency stability. The secondary frequency regulation AGC in the power grid area is jointly undertaken by the generation side resources and energy storage power stations, so the AGC output of all energy storage power stations is:
[0054]
[0055] In the formula, is the AGC output of all energy storage power stations participating in frequency regulation in the region at time t, is all AGCs in the region at time t, The AGC output of all thermal power units participating in frequency regulation in the region at time t; The AGC output of all hydropower units participating in frequency regulation in the region at time t; The AGC output of all PV power stations participating in frequency regulation in the region at time t; It is the AGC output of all wind turbines participating in frequency regulation in the region at time t.
[0056] The present invention aims to effectively distribute the AGC output of all energy storage power stations to each energy storage power station, allocate frequency regulation capacity to each energy storage unit in each energy storage power station, and regulate the frequency of the power grid according to the allocated frequency regulation capacity.
[0057] Optionally, the cluster shared energy storage frequency regulation power model is composed of multiple shared energy storage power stations. The energy storage power station can track the AGC signal in real time by adjusting the upper and lower outputs during the frequency regulation process. A single energy storage power station is composed of multiple energy storage units, each of which has an independent SOC (state of charge) state. The shared energy storage frequency regulation power model includes the energy storage power station frequency regulation power and the energy storage unit frequency regulation power, specifically:
[0058]
[0059]
[0060] Where P i (t) is the frequency regulation power of the i-th energy storage power station, is the discharge power of the i-th energy storage power station, i.e., the upward frequency modulation power; is the charging power of the i-th energy storage station, i.e., the downward frequency modulation power; K i is the charging and discharging state coefficient of the i-th energy storage power station; is the frequency modulation power of the jth energy storage unit of the i-th energy storage power station; is the discharge power of the jth energy storage unit of the i-th energy storage power station, i.e., the upward frequency modulation power; is the charging power of the jth energy storage unit of the i-th energy storage power station, i.e., the downward frequency modulation power; is the charge and discharge state coefficient of the jth energy storage unit in the i-th energy storage power station.
[0061] K i and Can be expressed as:
[0062]
[0063]
[0064] In the formula, K i and All are 0-1 state coefficients; The AGC output of the i-th energy storage power station; It is the AGC output of the jth energy storage unit in the i-th energy storage power station.
[0065] In one embodiment, Figure 1 Based on the illustrated embodiment, step S101 includes:
[0066] Acquire power station information of the energy storage power station and unit information of the energy storage unit;
[0067] Determine the comprehensive frequency regulation performance index of each of the energy storage power stations according to the forward frequency regulation mileage, the number of responses and the single frequency regulation performance index;
[0068] An SOC weight factor of each of the energy storage units is determined according to the maximum state of charge value, the minimum state of charge value, and the current state of charge value.
[0069] In this embodiment, the AGC output of the cluster energy storage power station will be shared by all energy storage power stations, and the AGC response power of each energy storage power station will be shared by all energy storage units of the energy storage power station. In order to simplify the control strategy of cluster energy storage power stations participating in secondary frequency regulation, the cluster shared energy storage power station model is constructed as a two-layer architecture, with the upper layer being the initial allocation of AGC instructions by the shared energy storage power station, and the lower layer being the secondary allocation by each energy storage unit of the shared energy storage power station. The frequency regulation power of cluster shared energy storage and a single shared energy storage power station can be expressed as:
[0070]
[0071]
[0072] I is the number of energy storage power stations in the region; J is the number of energy storage units included in the i-th energy storage power station. Optionally, the number of energy storage units in each energy storage power station is set to be the same.
[0073] In one embodiment, the process of determining the comprehensive frequency modulation performance index includes:
[0074] For each of the energy storage power stations, a preset comprehensive frequency regulation performance index formula is used to determine the comprehensive frequency regulation performance index of the energy storage power station according to the forward frequency regulation mileage, the number of responses and the single frequency regulation performance index. The preset comprehensive frequency regulation performance index formula is:
[0075]
[0076] is the comprehensive frequency regulation performance index of the i-th energy storage power station, D +i , is the forward frequency regulation mileage of the i-th energy storage station when it responds to the AGC command for the mth time, M is the number of times the i-th energy storage station responds to the AGC command during operation, It is the single frequency regulation performance index of the i-th energy storage power station when it responds to the AGC command for the m-th time.
[0077] In this embodiment, optionally, The specific calculation method is:
[0078]
[0079] Where V i,m A is the regulation accuracy of the mth AGC instruction of the i-th energy storage power station; i,m The adjustment rate of the mth AGC instruction of the i-th energy storage power station; t i,m is the response time of the mth AGC instruction of the i-th energy storage power station; V e A is the standard adjustment accuracy; e is the standard adjustment rate; t e This is the standard response time.
[0080] In one embodiment, the process of determining the SOC weight factor includes:
[0081] For each of the energy storage power stations, determining a discharge weight factor and a charge weight factor of the energy storage unit according to the maximum state of charge value, the minimum state of charge value and the current state of charge value;
[0082] The SOC weight factor of the energy storage unit is determined by using a preset SOC weight factor formula according to the discharge weight factor and the charge weight factor. The preset SOC weight factor formula is:
[0083]
[0084] is the dimensionless discharge weight factor of the j-th energy storage unit in the i-th energy storage power station, is the charge and discharge state coefficient of the jth energy storage unit in the i-th energy storage power station, is the dimensionless charging weight factor of the j-th energy storage unit in the i-th energy storage power station, is the dimensionless SOC weight factor of the j-th energy storage unit in the i-th energy storage power station.
[0085] In this step, in order to ensure that each energy storage unit of the energy storage power station is in good condition to participate in frequency regulation, the charge state of different energy storage units of the energy storage power station is used as the main factor for the energy storage units of the energy storage power station to obtain frequency regulation power. At the same time, the weight factors of different energy storage units are considered to realize the redistribution of the frequency regulation AGC signal of the energy storage power station.
[0086] Considering that the capacity of different energy storage units in energy storage power stations that can be used for frequency regulation is different, the state of charge value of the energy storage unit is used to determine the weight factor of different energy storage units participating in frequency regulation. The calculation formula for the energy storage unit weight factor is:
[0087]
[0088]
[0089] In the formula, is the charging weight factor of the jth energy storage unit of the i-th energy storage power station; is the discharge weight factor of the jth energy storage unit in the ith energy storage power station.
[0090] To avoid excessive weighting of energy storage units, the remaining frequency regulation capacity that can be discharged by the jth energy storage unit of the i-th energy storage station is and the remaining frequency regulation capacity that can be charged by the jth energy storage unit of the i-th energy storage station The dimensionless processing is performed according to the average coefficient method. The specific calculation method is as follows:
[0091]
[0092]
[0093]
[0094] Step S102: for each of the energy storage power stations, based on the comprehensive frequency regulation performance index, generate a first frequency regulation power interval corresponding to the energy storage power station when a preset upper layer objective function is met.
[0095] In this step, taking into account the differences in frequency regulation performance between different energy storage power stations, the optimal frequency regulation performance of cluster shared energy storage is taken as the objective function, and a power allocation model of shared energy storage power stations based on frequency regulation performance differences is constructed, thereby achieving effective allocation of frequency regulation signals among different shared energy storages.
[0096] In one embodiment, Figure 1 Based on the illustrated embodiment, step S102 includes:
[0097] Based on the comprehensive frequency modulation performance index, construct the preset upper layer objective function;
[0098] For each of the energy storage power stations, the preset upper objective function is iterated according to the preset frequency regulation capacity constraint condition and the preset frequency regulation power constraint condition corresponding to the energy storage power station, so as to obtain the first frequency regulation power interval corresponding to the energy storage power station when the preset upper objective function reaches a preset value, and the preset upper objective function is:
[0099]
[0100] T is the total number of dispatches, T = M, is the comprehensive frequency regulation performance index of the i-th energy storage power station, RE i (t) is the remaining frequency regulation capacity coefficient of the i-th energy storage power station.
[0101] In this embodiment, the constraints of the upper layer objective function include frequency modulation capacity constraints and frequency modulation power constraints. The frequency modulation capacity constraints can be specifically expressed as:
[0102]
[0103]
[0104] The specific frequency modulation power constraints are:
[0105]
[0106]
[0107] In the formula, is the upward residual frequency regulation power of the i-th energy storage power station; is the downward remaining frequency regulation power of the i-th energy storage power station.
[0108] Upward residual FM power and downward remaining FM power The calculation formulas are:
[0109]
[0110]
[0111]
[0112] is the discharge efficiency of the i-th energy storage power station; is the charging efficiency of the i-th energy storage power station; is the remaining frequency regulation power of the i-th energy storage power station.
[0113] Optionally, the remaining frequency modulation capacity coefficient is calculated based on a preset capacity coefficient formula, and the preset capacity coefficient is:
[0114]
[0115] is the dimensionless upward residual frequency regulation capacity coefficient of the i-th energy storage power station, is the dimensionless upward residual frequency regulation capacity coefficient of the i-th energy storage power station, K i is the charge and discharge state coefficient of the i-th energy storage power station.
[0116] In this optional embodiment, considering the frequency regulation performance standard will cause the energy storage power station with excellent frequency regulation performance to be in action all the time, so as to facilitate mobilizing other energy storage power stations with slightly lower frequency regulation performance to participate in frequency regulation and improve the overall efficiency of cluster energy storage. Specifically, the remaining frequency regulation capacity coefficient is used to optimize the distribution of AGC instructions among energy storage power stations. The calculation method of the remaining frequency regulation capacity coefficient is as follows:
[0117]
[0118] is the remaining frequency regulation capacity coefficient of the i-th energy storage power station, is the remaining frequency regulation capacity that can be discharged by the i-th energy storage power station; is the remaining frequency regulation capacity that can be charged by the i-th energy storage power station.
[0119] The remaining frequency regulation capacity that can be discharged by the i-th energy storage power station It can be expressed as:
[0120]
[0121] In the formula, is the rated capacity of the jth energy storage unit of the i-th energy storage power station; is the state of charge (SOC) of the jth energy storage unit of the i-th energy storage power station at the moment, The minimum state of charge set for the j-th energy storage unit of the i-th energy storage station.
[0122] The remaining frequency regulation capacity that can be charged by the i-th energy storage station It can be expressed as:
[0123]
[0124] The maximum state of charge set for the j-th energy storage unit of the i-th energy storage station.
[0125] In order to avoid the remaining frequency regulation capacity factor being too large, the remaining frequency regulation capacity that can be discharged by the i-th energy storage power station is and the remaining frequency regulation capacity that can be charged by the i-th energy storage station The dimensionless processing is performed according to the average coefficient method. The specific calculation method is as follows:
[0126]
[0127]
[0128]
[0129] Step S103: for each of the energy storage units in each of the energy storage power stations, based on the SOC weight factor and the first frequency modulation power interval, generate a second frequency modulation power interval corresponding to the energy storage unit when a preset lower layer objective function is met.
[0130] In this step, taking into account the remaining frequency regulation capacity and weight factor of the energy storage unit, the objective function is to minimize the square of the difference between the real-time SOC value of the energy storage unit and the corresponding ideal SOC value, and to construct a frequency regulation capacity allocation model for different energy storage units of shared energy storage based on the state of charge value, thereby realizing the frequency regulation capacity allocation between different energy storage units of shared energy storage.
[0131] In one embodiment, Figure 1 Based on the illustrated embodiment, step S103 includes:
[0132] Based on the SOC weight factor, construct the preset upper layer objective function;
[0133] For each of the energy storage units, according to the preset rated power constraint condition, the SOC limit constraint condition and the preset output constraint condition constructed based on the first frequency modulation power interval corresponding to the energy storage power station, the preset lower layer objective function is iterated to obtain the second frequency modulation power interval corresponding to the energy storage unit when the preset lower layer objective function reaches a preset value, and the preset lower layer objective function is:
[0134]
[0135] is the dimensionless SOC weight factor of the j-th energy storage unit in the i-th energy storage power station, is the state of charge value of the j-th energy storage unit in the i-th energy storage power station at the t-th time, is the optimal state of charge value of the jth energy storage unit in the i-th energy storage power station.
[0136] In this embodiment, the constraints of the lower objective function include energy storage unit output constraints, rated power constraints, and SOC limit constraints. The energy storage unit output constraints can be specifically expressed as:
[0137]
[0138]
[0139] The specific rated power constraints of the energy storage unit are:
[0140]
[0141]
[0142] In the formula, is the rated power of the jth energy storage unit in the i-th energy storage power station.
[0143] The energy storage unit SOC limit constraints are specifically:
[0144]
[0145]
[0146]
[0147] In the formula, is the SOC change of the i-th energy storage power station from time t-1 to time t; Δt is the time interval; is the discharge efficiency of the i-th energy storage power station; is the charging efficiency of the i-th energy storage power station.
[0148] Step S104, using a preset genetic algorithm, the first frequency modulation power interval and the second frequency modulation power interval are combined and iterated until a preset iteration termination condition is reached, thereby obtaining a first target frequency modulation power of each of the energy storage power stations and a second target frequency modulation power of each of the energy storage units.
[0149] In this step, a genetic algorithm is used to jointly solve the constructed two-layer architecture model of shared energy storage participating in secondary frequency regulation to obtain the optimal frequency regulation capacity of different energy storage units of a single shared energy storage and the optimal frequency regulation capacity of each energy storage power station in the cluster shared energy storage.
[0150] Optionally, the genetic algorithm includes: taking the first frequency modulation power interval and the second frequency modulation power interval as the initial chromosomes of the genetic population to initialize the genetic algorithm; real number encoding the frequency modulation power in the first frequency modulation power interval and the second frequency modulation power interval; then performing evolutionary iterations on the genetic population, and calculating the individual fitness of each chromosome in the genetic population according to the constraints of the above-mentioned upper-level objective function and lower-level objective function, and when the number of evolutionary iterations reaches a preset number of evolutionary iterations, stopping the iteration and taking the frequency modulation power information corresponding to the chromosome with the smallest individual fitness as the target frequency modulation power information.
[0151] Step S105: Based on the first target frequency regulation power and the second target frequency regulation power, control the energy storage unit in the energy storage power station to release electric energy to regulate the frequency of the power grid.
[0152] In this step, the first target frequency regulation power is sent to the corresponding energy storage power station, and the energy storage power station sends it to each energy storage unit according to the second target frequency regulation power, and controls the energy storage unit to discharge, so as to achieve the purpose of secondary frequency regulation.
[0153] In order to execute the secondary frequency modulation control method corresponding to the above method embodiment, to achieve the corresponding functions and technical effects. Figure 2 , Figure 2 The structural block diagram of a secondary frequency regulation control device provided by an embodiment of the present invention is shown. For the convenience of explanation, only the parts related to this embodiment are shown. The secondary frequency regulation control device provided by an embodiment of the present invention participates in grid frequency regulation through multiple energy storage power stations, each of which includes multiple energy storage units, and the device includes:
[0154] A determination module 201 is used to determine the comprehensive frequency regulation performance index of each of the energy storage power stations and the SOC weight factor of each of the energy storage units according to the power station information of the energy storage power station and the unit information of the energy storage units;
[0155] A first generating module 202 is used to generate, for each of the energy storage power stations, a first frequency regulation power interval corresponding to the energy storage power station when a preset upper layer objective function is met based on the comprehensive frequency regulation performance index;
[0156] A second generating module 203 is used to generate, for each of the energy storage units in each of the energy storage power stations, a second frequency modulation power interval corresponding to the energy storage unit when a preset lower layer objective function is met based on the SOC weight factor and the first frequency modulation power interval;
[0157] Iteration module 204, used to use a preset genetic algorithm to iterate the first frequency modulation power interval and the second frequency modulation power interval until a preset iteration termination condition is reached, thereby obtaining a first target frequency modulation power of each of the energy storage power stations and a second target frequency modulation power of each of the energy storage units;
[0158] The control module 205 is used to control the energy storage unit in the energy storage power station to release electric energy based on the first target frequency regulation power and the second target frequency regulation power, so as to regulate the frequency of the power grid.
[0159] In one embodiment, the determining module 201 includes:
[0160] An acquisition unit is useful for acquiring power station information of the energy storage power station and unit information of the energy storage unit, wherein the power station information includes forward frequency regulation mileage, response times and single frequency regulation performance index, and the unit information includes maximum state of charge value, minimum state of charge value and current state of charge value;
[0161] A first determining unit is useful for determining a comprehensive frequency regulation performance index of each of the energy storage power stations according to the forward frequency regulation mileage, the number of responses and the single frequency regulation performance index;
[0162] A second determination unit determines an SOC weight factor of each of the energy storage units according to the maximum state of charge value, the minimum state of charge value and the current state of charge value.
[0163] In one embodiment, the first determining unit is specifically configured to:
[0164] For each of the energy storage power stations, a preset comprehensive frequency regulation performance index formula is used to determine the comprehensive frequency regulation performance index of the energy storage power station according to the forward frequency regulation mileage, the number of responses and the single frequency regulation performance index. The preset comprehensive frequency regulation performance index formula is:
[0165]
[0166] is the comprehensive frequency regulation performance index of the i-th energy storage power station, D +i,j is the forward frequency regulation mileage of the i-th energy storage station when it responds to the AGC command for the mth time, M is the number of times the i-th energy storage station responds to the AGC command during operation, It is the single frequency regulation performance index of the i-th energy storage power station when it responds to the AGC command for the m-th time.
[0167] In one embodiment, the second determining unit is specifically configured to:
[0168] For each of the energy storage power stations, determining a discharge weight factor and a charge weight factor of the energy storage unit according to the maximum state of charge value, the minimum state of charge value and the current state of charge value;
[0169] The SOC weight factor of the energy storage unit is determined by using a preset SOC weight factor formula according to the discharge weight factor and the charge weight factor. The preset SOC weight factor formula is:
[0170]
[0171] is the dimensionless discharge weight factor of the j-th energy storage unit in the i-th energy storage power station, is the charge and discharge state coefficient of the jth energy storage unit in the i-th energy storage power station, is the dimensionless charging weight factor of the j-th energy storage unit in the i-th energy storage power station, is the dimensionless SOC weight factor of the j-th energy storage unit in the i-th energy storage power station.
[0172] In one embodiment, the first generating module 202 is specifically configured to:
[0173] Based on the comprehensive frequency modulation performance index, construct the preset upper layer objective function;
[0174] For each of the energy storage power stations, the preset upper objective function is iterated according to the preset frequency regulation capacity constraint condition and the preset frequency regulation power constraint condition corresponding to the energy storage power station, so as to obtain the first frequency regulation power interval corresponding to the energy storage power station when the preset upper objective function reaches a preset value, and the preset upper objective function is:
[0175]
[0176] T is the total number of dispatches, is the comprehensive frequency regulation performance index of the i-th energy storage power station, RE i (t) is the remaining frequency regulation capacity coefficient of the i-th energy storage power station.
[0177] In one embodiment, the first generating module 202 is further configured to:
[0178] The remaining frequency modulation capacity coefficient is calculated based on a preset capacity coefficient formula, where the preset capacity coefficient is:
[0179]
[0180] is the dimensionless upward residual frequency regulation capacity coefficient of the i-th energy storage power station, is the dimensionless upward residual frequency regulation capacity coefficient of the i-th energy storage power station, K i is the charge and discharge state coefficient of the i-th energy storage power station.
[0181] In one embodiment, the second generating module 203 is specifically used to:
[0182] Based on the SOC weight factor, construct the preset upper layer objective function;
[0183] For each of the energy storage units, according to the preset rated power constraint condition, the SOC limit constraint condition and the preset output constraint condition constructed based on the first frequency modulation power interval corresponding to the energy storage power station, the preset lower layer objective function is iterated to obtain the second frequency modulation power interval corresponding to the energy storage unit when the preset lower layer objective function reaches a preset value, and the preset lower layer objective function is:
[0184]
[0185] is the dimensionless SOC weight factor of the j-th energy storage unit in the i-th energy storage power station, is the state of charge value of the j-th energy storage unit in the i-th energy storage power station at the t-th time, is the optimal state of charge value of the jth energy storage unit in the i-th energy storage power station.
[0186] The secondary frequency modulation control device described above can implement the secondary frequency modulation control method of the method embodiment described above. The options in the method embodiment described above are also applicable to this embodiment and will not be described in detail here. The rest of the contents of the embodiment of the present invention can refer to the contents of the method embodiment described above and will not be described in detail in this embodiment.
[0187] Figure 3 A schematic diagram of the structure of a computer device provided in one embodiment of the present invention. Figure 3 As shown, the computer device 3 of this embodiment includes: at least one processor 30 ( Figure 3 Only one is shown in the figure) a processor, a memory 31, and a computer program 32 stored in the memory 31 and executable on the at least one processor 30, and when the processor 30 executes the computer program 32, the steps in any of the above method embodiments are implemented.
[0188] The computer device 3 may be a computing device such as a smart phone, a tablet computer, a desktop computer, a cloud server, etc. The computer device may include but is not limited to a processor 30 and a memory 31. Those skilled in the art will understand that Figure 3 It is only an example of computer device 3 and does not constitute a limitation on computer device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.
[0189] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0190] In some embodiments, the memory 31 may be an internal storage unit of the computer device 3, such as a hard disk or memory of the computer device 3. In other embodiments, the memory 31 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the computer device 3. The memory 31 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 31 may also be used to temporarily store data that has been output or is to be output.
[0191] In addition, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0192] An embodiment of the present invention provides a computer program product. When the computer program product is run on a computer device, the computer device implements the steps in the above-mentioned method embodiments when executing the computer device.
[0193] In several embodiments provided by the present invention, it is understood that each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
[0194] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0195] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A secondary frequency modulation control method, characterized in that: By participating in grid frequency regulation through multiple energy storage power stations, each of the energy storage power stations includes multiple energy storage units, the method includes: Determine the comprehensive frequency regulation performance index of each of the energy storage power stations and the SOC weight factor of each of the energy storage units according to the power station information of the energy storage power station and the unit information of the energy storage units; For each of the energy storage power stations, based on the comprehensive frequency regulation performance index, generating a first frequency regulation power interval corresponding to the energy storage power station when a preset upper layer objective function is met; For each of the energy storage units in each of the energy storage power stations, based on the SOC weight factor and the first frequency modulation power interval, a second frequency modulation power interval corresponding to the energy storage unit is generated when a preset lower layer objective function is met; Using a preset genetic algorithm, the first frequency modulation power interval and the second frequency modulation power interval are combined and iterated until a preset iteration termination condition is reached, thereby obtaining a first target frequency modulation power of each of the energy storage power stations and a second target frequency modulation power of each of the energy storage units; Based on the first target frequency modulation power and the second target frequency modulation power, controlling the energy storage unit in the energy storage power station to release electric energy so as to modulate the frequency of the power grid; Among them, the preset upper layer objective function is: ; The preset lower layer objective function is: ; in, is the total dispatching times, For the The comprehensive frequency regulation performance index of each energy storage power station, For the The remaining frequency regulation capacity factor of each energy storage power station; For the The first energy storage station The dimensionless SOC weight factor of each energy storage unit is: For the The first energy storage station The energy storage unit is The state of charge value at the moment, For the The first energy storage station The optimal state of charge value of each energy storage unit.
2. The secondary frequency modulation control method according to claim 1, characterized in that: Determining the comprehensive frequency regulation performance index of each energy storage power station and the SOC weight factor of each energy storage unit according to the power station information of the energy storage power station and the unit information of the energy storage unit includes: Acquire the power station information of the energy storage power station and the unit information of the energy storage unit, the power station information includes the forward frequency regulation mileage, the number of responses and the single frequency regulation performance index, and the unit information includes the maximum state of charge value, the minimum state of charge value and the current state of charge value; Determine the comprehensive frequency regulation performance index of each of the energy storage power stations according to the forward frequency regulation mileage, the number of responses and the single frequency regulation performance index; An SOC weight factor of each of the energy storage units is determined according to the maximum state of charge value, the minimum state of charge value, and the current state of charge value.
3. The secondary frequency modulation control method according to claim 2, characterized in that: Determining the comprehensive frequency regulation performance index of each energy storage power station according to the forward frequency regulation mileage, response times and single frequency regulation performance index includes: For each of the energy storage power stations, a preset comprehensive frequency regulation performance index formula is used to determine the comprehensive frequency regulation performance index of the energy storage power station according to the forward frequency regulation mileage, the number of responses and the single frequency regulation performance index. The preset comprehensive frequency regulation performance index formula is: ; For the The comprehensive frequency regulation performance index of each energy storage power station, For the The energy storage station is The forward frequency modulation mileage when responding to the AGC command, For the The number of times a storage power station responds to AGC instructions during operation, For the The energy storage station is Single frequency modulation performance indicator when responding to AGC instructions.
4. The secondary frequency modulation control method according to claim 2, characterized in that: The determining, according to the maximum state of charge value, the minimum state of charge value and the current state of charge value, the SOC weight factor of each energy storage unit comprises: For each of the energy storage power stations, determining a discharge weight factor and a charge weight factor of the energy storage unit according to the maximum state of charge value, the minimum state of charge value and the current state of charge value; The SOC weight factor of the energy storage unit is determined by using a preset SOC weight factor formula according to the discharge weight factor and the charge weight factor. The preset SOC weight factor formula is: ; For the The first energy storage station The discharge weight factor of each energy storage unit after dimensionless conversion, For the The first energy storage station The charge and discharge state coefficient of each energy storage unit, For the The first energy storage station The dimensionless charging weight factor of each energy storage unit is: For the The first energy storage station The SOC weight factor of each energy storage unit after dimensionless conversion.
5. The secondary frequency modulation control method according to claim 1, characterized in that: For each of the energy storage power stations, based on the comprehensive frequency regulation performance index, generating a first frequency regulation power interval corresponding to the energy storage power station when a preset upper layer objective function is met, including: Based on the comprehensive frequency modulation performance index, construct the preset upper layer objective function; For each of the energy storage power stations, the preset upper-level objective function is iterated according to the preset frequency regulation capacity constraint and the preset frequency regulation power constraint corresponding to the energy storage power station to obtain the first frequency regulation power interval corresponding to the energy storage power station when the preset upper-level objective function reaches a preset value.
6. The secondary frequency modulation control method according to claim 5, characterized in that: The remaining frequency modulation capacity coefficient is calculated based on a preset capacity coefficient formula, where the preset capacity coefficient is: ; For the The dimensionless upward residual frequency regulation capacity coefficient of each energy storage power station is: For the The dimensionless downward residual frequency regulation capacity factor of each energy storage power station is: For the The charge and discharge state coefficient of a storage power station.
7. The secondary frequency modulation control method according to claim 1, characterized in that: The step of generating, for each of the energy storage units in each of the energy storage power stations, a second frequency modulation power interval corresponding to the energy storage unit when a preset lower layer objective function is satisfied based on the SOC weight factor and the first frequency modulation power interval, comprises: Based on the SOC weight factor, construct the preset upper layer objective function; For each of the energy storage units, the preset lower-level objective function is iterated according to the preset rated power constraint, SOC limit constraint and preset output constraint constructed based on the first frequency modulation power interval corresponding to the energy storage power station to obtain the second frequency modulation power interval corresponding to the energy storage unit when the preset lower-level objective function reaches a preset value.
8. A secondary frequency modulation control device, characterized in that: The power grid frequency regulation is participated in by multiple energy storage power stations, each of which includes multiple energy storage units, and the device includes: A determination module, used to determine the comprehensive frequency regulation performance index of each of the energy storage power stations and the SOC weight factor of each of the energy storage units according to the power station information of the energy storage power station and the unit information of the energy storage units; A first generating module is used to generate, for each of the energy storage power stations, a first frequency regulation power interval corresponding to the energy storage power station when a preset upper layer objective function is met based on the comprehensive frequency regulation performance index; A second generating module is used to generate, for each of the energy storage units in each of the energy storage power stations, a second frequency modulation power interval corresponding to the energy storage unit when a preset lower layer objective function is met based on the SOC weight factor and the first frequency modulation power interval; An iteration module, used to use a preset genetic algorithm to iterate the first frequency modulation power interval and the second frequency modulation power interval until a preset iteration termination condition is reached, thereby obtaining a first target frequency modulation power of each of the energy storage power stations and a second target frequency modulation power of each of the energy storage units; A control module, configured to control the energy storage unit in the energy storage power station to release electric energy based on the first target frequency modulation power and the second target frequency modulation power, so as to modulate the frequency of the power grid; Among them, the preset upper layer objective function is: ; The preset lower layer objective function is: ; in, is the total dispatching times, For the The comprehensive frequency regulation performance index of each energy storage power station, For the The remaining frequency regulation capacity factor of each energy storage power station; For the The first energy storage station The dimensionless SOC weight factor of each energy storage unit is: For the The first energy storage station The energy storage unit is The state of charge value at the moment, For the The first energy storage station The optimal state of charge value of each energy storage unit.
9. A computer device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the secondary frequency modulation control method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: It stores a computer program, and when the computer program is executed by a processor, the secondary frequency modulation control method according to any one of claims 1 to 7 is implemented.
