New energy active automatic power generation control parameter setting method and system
By tuning the active power generation control parameters in the new energy grid, the problem of unreasonable parameter settings in traditional methods has been solved, and the stability and accuracy of grid frequency and active power have been improved.
Patent Information
- Application Number
- CN202511600910.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-04
- Publication Date
- 2026-01-30
AI Technical Summary
In power grids with high penetration of new energy sources, the unreasonable setting of traditional new energy AGC control parameters leads to risks of active power and frequency fluctuations, and it is difficult to directly guide power grid dispatch through simulation models.
By loading external grid conditions from the actual power grid dispatch and control system, active power automatic generation control (AGC) modeling is performed, control parameter combinations are gradually tuned, closed-loop simulation tests are conducted, control performance indicators are calculated, and a control parameter recommendation report is generated.
The quantitative verification of AGC control parameters for new energy sources has been achieved, reducing fluctuations in grid frequency and active power, and improving the accuracy and stability of grid dispatch.
Smart Images

Figure CN121440818A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power dispatching technology, and in particular to a method and system for setting control parameters for automatic active power generation of new energy sources. Background Technology
[0002] In the actual operation of power grids with high penetration of renewable energy, there is an urgent need for renewable energy to participate in Automatic Generation Control (AGC) to carry out real-time peak shaving and frequency regulation control, thereby improving the frequency quality of the power grid. Renewable energy generation accounts for a high proportion and is highly random, with a regulation speed far exceeding that of conventional thermal power units. Inappropriate settings of renewable energy AGC control parameters can bring severe active power and frequency fluctuation risks to the power grid.
[0003] Traditional methods for setting control parameters for new energy AGC based on human experience are rather crude and prone to deviating from the optimal range of control parameters. Furthermore, considering the actual power grid operation requirements, it is difficult to easily modify control parameters and quantitatively verify the superiority of different parameters. On the other hand, the parameter tuning of new energy AGC based on simulation models suffers from large deviations between the simulation model and the actual operation of the power grid, making it difficult to directly guide power grid dispatch.
[0004] The information disclosed in this background section is intended only to enhance the understanding of the general background of the invention and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0005] This invention provides a method and system for tuning control parameters of new energy active power generation, thereby effectively solving the problems in the background art.
[0006] To achieve the above objectives, the technical solution adopted by this invention is: a method for setting control parameters for automatic active power generation in new energy sources, comprising the following steps:
[0007] By periodically and synchronously loading external grid conditions from the actual power grid dispatch and control system, active power automatic generation control (AGC) modeling and power grid modeling are completed.
[0008] Based on requirements and engineering experience, set the range of control parameters to be tuned, the tuning step size, and the test verification time; using the control area parameters and control object parameters corresponding to AGC, starting from the minimum value of the parameter range, gradually add the tuning step size until the maximum value of the parameter range is reached, forming multiple sets of control parameter combinations to be tuned, and start the control closed-loop simulation test from the first set of control parameter combinations.
[0009] The initial power flow and frequency are obtained, and the regional control deviation is calculated. Based on the combination of control parameters and the regional control deviation, the allocation adjustment of the AGC unit in each control cycle is formed.
[0010] Execute the allocation adjustment amount, and calculate the power flow and frequency of the power grid at the next moment of strategy execution, alternating and iterating until the test and verification time is reached;
[0011] Calculate the control performance indicators within the test and verification period, and record the performance of the current control parameter combination;
[0012] Select the next set of control parameter combinations, reload the external conditions of the power grid, and repeat the closed-loop simulation test process until all control parameter combinations have been traversed.
[0013] Select a combination of control parameters that meets the set conditions and generate a recommendation report.
[0014] Furthermore, the external conditions of the power grid include: AGC unit control model file, power grid model CIME file, initial power flow data DT file, and load and renewable energy power generation prediction curve data.
[0015] Furthermore, based on the periodic synchronous loading of external grid conditions in the actual power grid dispatch and control system, the initial synchronization adopts a full synchronization method, and subsequent synchronization is performed incrementally according to the changing model.
[0016] Furthermore, after obtaining the AGC unit control model file, an AGC control unit model is established based on the AGC unit control model file, keeping the model parameters of unit number, capacity, upper and lower regulation limits, and unit sharing factors consistent with the actual power grid dispatch and control system, thus completing the AGC modeling.
[0017] Furthermore, the control parameter combination X=[X1, X2, X3, X4, X5] includes: the adjustment step size of the new energy field group X1, the high frequency increase threshold X2, the low frequency decrease threshold X3, the ACE proportional gain coefficient X4, and the ACE integral gain coefficient X5.
[0018] The control parameter setting range is set according to the power grid operation or human experience [X] 1,min X 1,max ]、[X 2,min X 2,max ]、[X 3,min X 3,max ]、[X 4,min X 4,max ]、[X 5,min X 5,max ];
[0019] The control parameter tuning step size is the increment step size of the control parameter. ;
[0020] The test verification time T is the closed-loop simulation verification time for each set of control parameter combinations;
[0021] Control parameter combinations from X=[X1,min X 2,min X 3,min X 4,min X 5,min Start iterating up to X=[X 1,max X 2,max X 3,max X 4,max X 5,max End; when the first set of control parameter combinations X=[X 1,min X 2,min X 3,min X 4,min X 5,min After the test verification time is reached, the control parameter tuning step size is incremented starting from X1. Form the next set of control parameter combinations X=[X 1,min + X 2,min X 3,min X 4,min X 5,min In each round of control parameter combination, only one control parameter is superimposed with a parameter tuning step size, while the remaining control parameters remain unchanged.
[0022] The control parameter X1 is set within the range of [X 1,min X 1,max The set step size is... It requires N steps to stack to X 1,max That is, X1 has (N+1) possible parameter values:
[0023] Similarly, control parameters X2, X3, X4, and X5 require M, L, K, and H iterations respectively to reach X. 2,max X 3,max X 4,max X 5,max During parameter traversal, all combinations of control parameters can be expressed as: The step size is adjusted by iterating through N steps of X1, M steps of X2, L steps of X3, K steps of X4, and H steps of X5 in sequence, forming... A combination of control parameters.
[0024] Furthermore, the allocation adjustment amount of the AGC unit within each control cycle is formed based on the combination of control parameters and the regional control deviation, including:
[0025] Based on the control parameter combination X=[X1, X2, X3, X4, X5], the area control deviation ACE is decomposed and distributed to each AGC unit, and the AGC unit control commands are executed by the substation simulation function.
[0026] Based on the power grid operating status transmitted from the main station's simulation function, calculate ACE:
[0027] ;
[0028] In the formula, B is the regional frequency deviation coefficient, in MW / 0.1HZ, f is the grid frequency, f0 is the rated frequency, I is the sum of the actual power flow of the regional tie lines, in MW, and I0 is the planned net exchange power of the region.
[0029] Calculate the regional regulation power ARR based on the control parameter combinations X4 and X5 and the regional control deviation ACE:
[0030] ;
[0031] In the formula, X4 is the ACE proportional gain coefficient and X5 is the ACE integral gain coefficient. This is the ACE integral value;
[0032] The allocation adjustment amount of the AGC unit within each control cycle is formed based on the control parameter combination X1, X2, X3 and the regional regulation power ARR, and the allocation adjustment amount of the AGC unit is executed by the substation simulation function.
[0033] Specifically, this refers to the contribution factors of each unit in the synchronous AGC unit control model file. The regional regulation power (ARR) is decomposed into the regulation capacity of each AGC unit, and the regulation amount is allocated to the i-th AGC unit. for:
[0034] ;
[0035] If the frequency f is lower than the low-frequency reduction threshold X3 during the current control cycle, the AGC unit adjustment amount △P is locked. G,i A negative output reduction command will not reduce ΔP. G,i The simulation function is sent to the substation; if the frequency f is higher than the high-frequency increase restriction threshold X2 within the current control cycle, the AGC unit adjustment amount △P is locked. G,i For a positive increase in output force, do not increase ΔP. G,i The simulation function is sent to the substation; if the AGC unit adjustment amount △P G,i If the adjustment step size is greater than the new energy field cluster adjustment step size X1, then it is adjusted according to the adjustment step size ΔP. i =X1 issues the substation simulation function for execution.
[0036] Furthermore, the calculation strategy determines the power flow and frequency at the next time step, including:
[0037] The master station simulation function receives the load at the next time step t1 sent by the substation simulation function. AGC unit power Calculate the power flow and frequency of the power grid at the next moment. And send it up;
[0038] The formula for calculating the power flow at the next moment is:
[0039] ;
[0040] In the formula, For the power grid flow in the next moment, For the frequency at the next moment, The power flow calculation equations are based on the Newton-Raphson method. The frequency simulation equation;
[0041] ;
[0042] In the formula, For the rotor inertia time constant, For synchronous speed, For power angle, This is the per-unit value of the rotor angular velocity. Total power generation The total load power, For network loss, This represents the number of pole pairs of the generator.
[0043] Furthermore, it also includes:
[0044] If there are no AGC unit control commands or manual load operations at the current moment, the substation simulation function directly reads the predicted values of the load and renewable energy power generation curves for the next moment as... , ;
[0045] If there are AGC unit control commands or manual load operations, the substation simulation function will overlay the commands on the current power level. , Calculate the next time step , The calculation formula is sent to the main station simulation function:
[0046] ;
[0047] In the formula, , For the current load and power of the new energy units, To manually set the load operation, Allocate adjustment amounts to the issued AGC units.
[0048] Furthermore, in the repetitive closed-loop simulation test process, based on the control variable method, the same external power grid conditions are used within the test verification time of each set of control parameters; for For each set of control parameters, the external conditions set Grid is reloaded. The grid model, AGC unit model, initial power flow, and load and new energy power generation prediction curves at the beginning of the first set of control parameter tuning are recorded and saved as the external conditions set Grid.
[0049] Furthermore, select control parameter combinations that meet the set conditions and generate a recommendation report, including:
[0050] Calculate the control performance index (CPS) within the test and verification period, evaluate the performance of different control parameter combinations based on the control performance index (CPS), and generate a control parameter recommendation report.
[0051] The CPS metric is calculated as follows:
[0052] ;
[0053] In the formula, This represents the average frequency deviation over 1 minute. B is the average ACE value of the 1-minute regional control deviation; B is the regional frequency deviation coefficient. The given limit from the higher-level dispatch center is the average frequency deviation of the power grid for the entire previous year. To find the average value function; This represents the absolute value of the average ACE (Acceleration and Variation) of the regional control deviation over 10 minutes.
[0054] for The control parameter combination is selected by choosing control parameters where CPS1 is higher than the set value and CPS2 is lower than the set value, and a control parameter recommendation report is generated.
[0055] The present invention also includes a new energy active power automatic generation control parameter tuning system, which uses the method described above. The system includes an AGC mirror simulation module, a master-slave station simulation module, and a control parameter evaluation module.
[0056] The AGC mirror simulation module is used to periodically load external grid conditions from the actual power grid dispatch and control system to complete the modeling of Automatic Generation Control (AGC) and power grid modeling.
[0057] Based on requirements and engineering experience, set the range of control parameters to be tuned, the tuning step size, and the test verification time; using the control area parameters and control object parameters corresponding to AGC, starting from the minimum value of the parameter range, gradually add the tuning step size until the maximum value of the parameter range is reached, forming multiple sets of control parameter combinations to be tuned, and start the control closed-loop simulation test from the first set of control parameter combinations.
[0058] The master station simulation module is used to acquire the initial power flow and frequency, and calculate the regional control deviation. Based on the combination of control parameters and the regional control deviation, it forms the allocation adjustment of the AGC unit in each control cycle.
[0059] Execute the allocation adjustment amount, and calculate the power flow and frequency of the power grid at the next moment of strategy execution, alternating and iterating until the test and verification time is reached;
[0060] The control parameter evaluation module is used to calculate the control performance index within the test and verification period and record the performance of the current control parameter combination.
[0061] The AGC mirror simulation module and the master-slave simulation module interact and iterate, select the next set of control parameter combinations, reload the external conditions of the power grid, and repeat the closed-loop simulation test process until all control parameter combinations have been traversed.
[0062] After all control parameter combinations have been tested in closed-loop simulation, select control parameter combinations that meet the set conditions and generate a recommendation report.
[0063] The beneficial effects of this invention are as follows: By acquiring real-time actual model data of the power grid and new energy sources from the power grid dispatch and control system, setting the control parameters to be tuned in step sizes, performing a long-process true closed-loop simulation of the interaction between power grid operation simulation data and AGC control command execution for each set of control parameters, and finally verifying the performance effect of the new energy AGC control parameters through the control performance index CPS, generating a control parameter recommendation report, and quantitatively verifying the control parameter tuning effect based on the real power grid model and AGC control command execution results. Attached Figure Description
[0064] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0065] Figure 1 This is a flowchart of the method of the present invention;
[0066] Figure 2 This is a schematic diagram of the system structure of the present invention;
[0067] Figure 3 This is a schematic diagram of the structure of the computer device of the present invention. Detailed Implementation
[0068] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0069] Example 1:
[0070] like Figure 1 As shown: A method for tuning control parameters of new energy active power generation automatic generation includes the following steps:
[0071] By periodically and synchronously loading external grid conditions from the actual power grid dispatch and control system, active power automatic generation control (AGC) modeling and power grid modeling are completed.
[0072] Based on requirements and engineering experience, set the range of control parameters to be tuned, the tuning step size, and the test verification time; using the control area parameters and control object parameters corresponding to AGC, starting from the minimum value of the parameter range, gradually add the tuning step size until the maximum value of the parameter range is reached, forming multiple sets of control parameter combinations to be tuned, and start the control closed-loop simulation test from the first set of control parameter combinations.
[0073] The initial power flow and frequency are obtained, and the regional control deviation is calculated. Based on the combination of control parameters and the regional control deviation, the allocation adjustment of the AGC unit in each control cycle is formed.
[0074] Execute the allocation adjustment amount, and calculate the power flow and frequency of the power grid at the next moment of strategy execution, alternating and iterating until the test and verification time is reached;
[0075] Calculate the control performance indicators within the test and verification period, and record the performance of the current control parameter combination;
[0076] Select the next set of control parameter combinations, reload the external conditions of the power grid, and repeat the closed-loop simulation test process until all control parameter combinations have been traversed.
[0077] Select a combination of control parameters that meets the set conditions and generate a recommendation report.
[0078] By acquiring real-time data from actual power grid and renewable energy models from the power grid dispatch and control system, setting control parameters to be tuned in step sizes, and performing long-process real-world closed-loop simulations of power grid operation simulation data and AGC control command execution for each set of control parameters, the performance of renewable energy AGC control parameters is verified through the control performance index CPS, and a control parameter recommendation report is generated. Based on the real power grid model and AGC control command execution results, the tuning effect of control parameters is quantitatively verified.
[0079] In this embodiment, the external conditions of the power grid include: AGC unit control model file, power grid model CIME file, initial power flow data DT file, and load and new energy power generation prediction curve data.
[0080] Based on the periodic synchronous loading of external grid conditions in the actual power grid dispatch and control system, the initial synchronization adopts the full synchronization method, and the subsequent synchronization is based on the incremental synchronization of the changing model.
[0081] After obtaining the AGC unit control model file, an AGC control unit model is established based on the AGC unit control model file. The model parameters, such as the number of units, capacity, upper and lower limits of regulation, and unit sharing factors, are kept consistent with the actual power grid dispatch and control system to complete the AGC modeling.
[0082] As a preferred embodiment of the above, the control parameter combination X=[X1, X2, X3, X4, X5] includes: new energy field group adjustment step size X1, high frequency increase threshold X2, low frequency decrease threshold X3, ACE proportional gain coefficient X4, and ACE integral gain coefficient X5.
[0083] The control parameter setting range is set according to the power grid operation or human experience [X] 1,min X 1,max ]、[X 2,min X 2,max ]、[X 3,min X 3,max ]、[X 4,min X 4,max ]、[X 5,min X 5,max ];
[0084] The control parameter tuning step size is the increment step size of the control parameter. ;
[0085] The test verification time T is the closed-loop simulation verification time for each set of control parameter combinations;
[0086] Control parameter combinations from X=[X 1,min X 2,min X 3,min X 4,min X 5,min Start iterating up to X=[X 1,max X 2,max X 3,max X 4,max X 5,max End; when the first set of control parameter combinations X=[X 1,min X 2,min X 3,min X 4,min X 5,minAfter the test verification time is reached, the control parameter tuning step size is incremented starting from X1. Form the next set of control parameter combinations X=[X 1,min + X 2,min X 3,min X 4,min X 5,min In each round of control parameter combination, only one control parameter is superimposed with a parameter tuning step size, while the remaining control parameters remain unchanged.
[0087] The control parameter X1 is set within the range of [X 1,min X 1,max The set step size is... It requires N steps to stack to X 1,max That is, X1 has (N+1) possible parameter values:
[0088] Similarly, control parameters X2, X3, X4, and X5 require M, L, K, and H iterations respectively to reach X. 2,max X 3,max X 4,max X 5,max During parameter traversal, all combinations of control parameters can be expressed as: The step size is adjusted by iterating through N steps of X1, M steps of X2, L steps of X3, K steps of X4, and H steps of X5 in sequence, forming... A combination of control parameters.
[0089] In this embodiment, the allocation adjustment amount of the AGC unit within each control cycle is formed based on the combination of control parameters and the regional control deviation, including:
[0090] Based on the control parameter combination X=[X1, X2, X3, X4, X5], the area control deviation ACE is decomposed and distributed to each AGC unit, and the AGC unit control commands are executed by the substation simulation function.
[0091] Based on the power grid operating status transmitted from the main station's simulation function, calculate ACE:
[0092] ;
[0093] In the formula, B is the regional frequency deviation coefficient, in MW / 0.1HZ, f is the grid frequency, f0 is the rated frequency, I is the sum of the actual power flow of the regional tie lines, in MW, and I0 is the planned net exchange power of the region.
[0094] Calculate the regional regulation power ARR based on the control parameter combinations X4 and X5 and the regional control deviation ACE:
[0095] ;
[0096] In the formula, X4 is the ACE proportional gain coefficient and X5 is the ACE integral gain coefficient. This is the ACE integral value;
[0097] The allocation adjustment amount of the AGC unit within each control cycle is formed based on the control parameter combination X1, X2, X3 and the regional regulation power ARR, and the allocation adjustment amount of the AGC unit is executed by the substation simulation function.
[0098] Specifically, this refers to the contribution factors of each unit in the synchronous AGC unit control model file. The regional regulation power (ARR) is decomposed into the regulation capacity of each AGC unit, and the regulation amount is allocated to the i-th AGC unit. for:
[0099] ;
[0100] If the frequency f is lower than the low-frequency reduction threshold X3 during the current control cycle, the AGC unit adjustment amount △P is locked. G,i A negative output reduction command will not reduce ΔP. G,i The simulation function is sent to the substation; if the frequency f is higher than the high-frequency increase restriction threshold X2 within the current control cycle, the AGC unit adjustment amount △P is locked. G,i For a positive increase in output force, do not increase ΔP. G,i The simulation function is sent to the substation; if the AGC unit adjustment amount △P G,i If the adjustment step size is greater than the new energy field cluster adjustment step size X1, then it is adjusted according to the adjustment step size ΔP. i =X1 issues the substation simulation function for execution.
[0101] As a preferred embodiment of the above, the calculation strategy for the power flow and frequency at the next time step includes:
[0102] The master station simulation function receives the load at the next time step t1 sent by the substation simulation function. AGC unit power Calculate the power flow and frequency of the power grid at the next moment. And send it up;
[0103] The formula for calculating the power flow at the next moment is:
[0104] ;
[0105] In the formula, For the power grid flow in the next moment, For the frequency at the next moment, The power flow calculation equations are based on the Newton-Raphson method. The frequency simulation equation;
[0106] ;
[0107] In the formula, For the rotor inertia time constant, For synchronous speed, For power angle, This is the per-unit value of the rotor angular velocity. Total power generation The total load power, For network loss, This represents the number of pole pairs of the generator.
[0108] As a preferred embodiment of the above, it further includes:
[0109] If there are no AGC unit control commands or manual load operations at the current moment, the substation simulation function directly reads the predicted values of the load and renewable energy power generation curves for the next moment as... , ;
[0110] If there are AGC unit control commands or manual load operations, the substation simulation function will overlay the commands on the current power level. , Calculate the next time step , The calculation formula is sent to the main station simulation function:
[0111] ;
[0112] In the formula, , For the current load and power of the new energy units, To manually set the load operation, Allocate adjustment amounts to the issued AGC units.
[0113] In the repetitive closed-loop simulation test process, based on the control variable method, the same external power grid conditions are used within the test verification time of each set of control parameters; for For each set of control parameters, the external conditions set Grid is reloaded. The grid model, AGC unit model, initial power flow, and load and new energy power generation prediction curves at the beginning of the first set of control parameter tuning are recorded and saved as the external conditions set Grid.
[0114] Select a combination of control parameters that meets the set conditions, and generate a recommended report, including:
[0115] Calculate the control performance index (CPS) within the test and verification period, evaluate the performance of different control parameter combinations based on the control performance index (CPS), and generate a control parameter recommendation report.
[0116] The CPS metric is calculated as follows:
[0117] ;
[0118] In the formula, This represents the average frequency deviation over 1 minute. B is the average ACE value of the 1-minute regional control deviation; B is the regional frequency deviation coefficient. The given limit from the higher-level dispatch center is the average frequency deviation of the power grid for the entire previous year. To find the average value function; This represents the absolute value of the average ACE (Acceleration and Variation) of the regional control deviation over 10 minutes.
[0119] for The control parameter combination is selected by choosing control parameters where CPS1 is higher than the set value and CPS2 is lower than the set value, and a control parameter recommendation report is generated.
[0120] Example 2:
[0121] like Figure 2 As shown, this embodiment includes a new energy active power automatic generation control parameter tuning system, which includes an AGC mirror simulation module, a master-slave station simulation module, and a control parameter evaluation module.
[0122] The AGC mirror simulation module is used to periodically synchronize external grid conditions from the actual power grid dispatch and control system to complete active power automatic generation control (AGC) modeling and power grid modeling.
[0123] Set the range of control parameters to be tuned, the tuning step size, and the test verification time to form a combination of control parameters to be tuned, and start the control closed-loop simulation test from the first set of control parameter combinations.
[0124] The master-slave station simulation module is used to acquire the initial power flow and frequency, calculate the regional control deviation, and decompose the regional control deviation according to the control parameters to form a control strategy.
[0125] The control strategy is executed, and the power flow and frequency of the power grid at the next moment of strategy execution are calculated. The process is repeated alternately until the test and verification time is reached.
[0126] The AGC mirror simulation module and the master-slave simulation module interact and iterate, select the next set of control parameter combinations, reload the external conditions of the power grid, and repeat the closed-loop simulation test process until all control parameter combinations have been traversed.
[0127] The control parameter evaluation module is used to calculate the control performance index within the verification time and record the performance of the current control parameter combination;
[0128] After all control parameter combinations have been tested in closed-loop simulation, select control parameter combinations that meet the set conditions and generate a recommendation report.
[0129] (1) The AGC mirror simulation module has AGC model import function, control parameter tuning function, and AGC software;
[0130] The AGC model import function is used to synchronize the control model of new energy AGC units from the actual power grid dispatch and control system at a given cycle, keep the AGC unit model parameters consistent with the actual system, and realize the mirror modeling of AGC control units.
[0131] The control parameter tuning function is used to set the range of control parameters to be tuned, the tuning step size, the test verification time, and to form the control parameter combination for the current test round.
[0132] The required AGC control parameters are selected based on user needs and engineering experience. Among them, the control area parameters describe the relevant parameters of the power grid control area, including the ACE proportional gain coefficient, ACE integral gain coefficient, low-frequency reduction threshold, and high-frequency increase threshold. The control object parameters describe the parameters related to the characteristics of the new energy control object, including the adjustment step size of the new energy field group.
[0133] The AGC software deployment is consistent with the actual system functions. It receives continuous power flow data from the master station simulation module and issues AGC unit control commands according to the set control parameters.
[0134] (2) The master station simulation module has master station simulation function and substation simulation function;
[0135] The master station simulation function is used to synchronize the power grid model and initial power flow data from the actual power grid dispatch and control system at a given cycle. Based on the initial power flow, it receives the load and AGC unit power of the next moment sent by the substation simulation function, calculates the power flow and frequency of the power grid at the next moment, and sends them to the AGC mirror simulation module.
[0136] The substation simulation function is used to import load and new energy power generation function prediction curves from the actual power grid dispatch and control system, receive unit control commands issued by AGC software, and send the AGC unit power after executing the commands to the main station simulation function.
[0137] (3) During the test and verification period, the AGC mirror simulation module and the master station simulation module interact and iterate to realize the long-process true closed-loop simulation of new energy AGC under different control parameters.
[0138] (4) The control parameter evaluation module is used to calculate the control performance index (CPS) of different control parameters and generate a control parameter recommendation report after the test and verification are completed.
[0139] (5) The new energy active power automatic generation control parameter setting platform is deployed in the dispatch management information area (Zone III). Through the forward and reverse isolation device, it synchronizes the model and initial power flow data from the actual power grid dispatch control system deployed in the production control area (Zone I).
[0140] The AGC model import function synchronizes the control model files of new energy AGC units from the actual power grid dispatch and control system at a given period (e.g., daily). The initial synchronization uses a full synchronization method, and subsequent synchronizations are performed incrementally according to changes in the model. The AGC mirror simulation module establishes AGC control units based on the AGC unit control model files, keeping the model parameters such as the number and capacity of the units consistent with the actual power grid dispatch and control system.
[0141] The control parameter tuning function is used to set the control parameters to be tuned, the control parameter range, the tuning step size, the test verification time, and to form the control parameter combination for the current test round.
[0142] Among them, the control parameters that need to be tuned are the control area parameters and control object parameters X=[X1, X2, X3...] that will affect the AGC control performance, such as the adjustment step size of the new energy field group, the high frequency increase threshold, and the low frequency decrease threshold;
[0143] The control parameter setting range is set according to the power grid operation or human experience [X] min X max Examples include the adjustment step size for new energy power plants [150MW, 300MW], the high-frequency increase threshold [50.05Hz, 50.2Hz], and the low-frequency decrease threshold [49.8Hz, 49.95Hz].
[0144] The tuning step size is the step size X = [[] in each round of testing and verification, where the control parameter increases by [step size X]. ];
[0145] The test verification time T is the time for closed-loop simulation verification of each set of control parameters (test verification time for each round), which is the closed-loop simulation time of interaction and iteration between the AGC mirror simulation module and the master station simulation module from the initial power flow.
[0146] The control parameter combination is the set of permutations and combinations of the control parameters to be tuned and the tuning step size in each round of testing and verification. For example, from the control parameters... Start by stacking N steps to adjust the step size. to This forms N combinations of control parameters. [X2, X3]; then iterate through the control parameters X2 (M-step tuning step size) and X3 (K-step tuning step size) to form A combination of control parameters.
[0147] The AGC software deployed in the AGC mirror simulation module, consistent with the actual system function, uses Area Control Error (ACE) as the control target. Based on the control parameter combination [X1, X2, X3], the ACE is decomposed and distributed to each AGC unit, and the substation simulation function executes the AGC unit control commands. Based on the grid operating status sent by the master station simulation function, the ACE is calculated:
[0148] (1)
[0149] Where B is the regional frequency deviation coefficient (MW / 0.1HZ), f is the grid frequency, f0 is the rated frequency (50Hz), I is the sum of the actual power flow of the regional tie lines (MW), and I0 is the planned net exchange power of the region.
[0150] Different combinations of control parameters affect the ACE decomposition and issuance strategy. For example, the adjustment step size of the new energy power station determines the maximum issuance capacity of each instruction. When the frequency is higher than the high-frequency increase prohibition threshold, the control object increases the output instruction and the issuance is blocked. When the frequency is lower than the low-frequency decrease prohibition threshold, the control object decreases the output instruction and the issuance is blocked to prevent the AGC control instruction from being detrimental to frequency recovery or the AGC from being repeatedly adjusted.
[0151] The master station simulation function synchronizes the power grid model CIME file and initial power flow data DT file from the actual power grid dispatch and control system at a given period (e.g., daily). The initial CIME file synchronization uses a full synchronization method, followed by incremental synchronization based on changing models. The initial power flow DT file is synchronized periodically. The master station simulation function establishes a power flow calculation simulation model based on the power grid model CIME file and the power flow DT file, including initial power flow and frequency... Based on this, receive the next time-of-flight load sent by the substation simulation function. AGC unit power Calculate the power flow and frequency of the power grid at the next moment. And send it to the AGC mirror simulation module. The power flow calculation formula for the next moment is:
[0152] (2)
[0153] in, For the power grid flow in the next moment, For the frequency at the next moment, The power flow calculation equations are based on the Newton-Raphson method. This is the frequency simulation equation.
[0154] (3)
[0155] in, For the rotor inertia time constant, For synchronous speed, For power angle, This is the per-unit value of the rotor angular velocity. Total power generation The total load power, For network loss, This represents the number of pole pairs of the generator.
[0156] The substation simulation function synchronizes load and renewable energy power generation forecast curves (for the next 24 hours) from the actual power grid dispatch control system at a given period (e.g., daily). If there are no AGC unit control commands or manual load operations at the current moment, it directly reads the predicted values of the load and renewable energy power generation curves for the next moment as... , If there are AGC unit control commands or manual load operations, the commands will be added to the current power output. , Calculate the next time step , The calculation formula is sent to the main station simulation function:
[0157] (4)
[0158] in, , For the current load and power of the new energy units, To manually set the load operation, AGC unit control commands issued by the AGC mirror simulation module.
[0159] To ensure the consistency of each set of control parameters, based on the controlled variable method, the same power grid and AGC unit control models, initial power flow, and load and renewable energy power generation prediction curves are used within the test and verification period for each set of control parameters. Specifically, the power grid model, AGC unit model, initial power flow, and load and renewable energy power generation prediction curves at the start of control parameter tuning are recorded and saved (recorded as a set of external power grid conditions, Grid). For each set of control parameters, the external grid conditions (Grid) are reloaded to ensure that, apart from the different control parameter settings, the external grid conditions are consistent.
[0160] For each set of control parameters, during the test and verification period, the master-slave station simulation module synchronizes the power flow and frequency status of the power grid with the control parameter evaluation module. The control parameter evaluation module calculates the Control Performance Index (CPS) during the test and verification period, evaluates the performance of different control parameter combinations based on the CPS, and generates a control parameter recommendation report. The CPS calculation method is as follows:
[0161] (5)
[0162] in, This represents the average frequency deviation over 1 minute. 1 min represents the average control deviation (ACE) of the region; B is the region frequency deviation coefficient. The given limit value from the higher-level dispatch center is generally the average frequency deviation of the power grid for the entire previous year. To find the average value function; It is the absolute value of the 10-minute average of the control deviation (ACE).
[0163] for The system selects control parameters with high CPS1 and low CPS2, and generates a recommended control parameter report for users to choose from.
[0164] Please see Figure 3 The diagram shows a structural schematic of a computer device provided in an embodiment of this application. An embodiment of this application provides a computer device 400, including a processor 410 and a memory 420. The memory 420 stores a computer program executable by the processor 410. When the computer program is executed by the processor 410, it performs the method described above.
[0165] This application embodiment also provides a storage medium 430, on which a computer program is stored, and the computer program is executed by a processor 410 to perform the above method.
[0166] The storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0167] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. "A plurality of" means two or more, unless otherwise explicitly specified.
[0168] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., 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. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0169] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0170] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.
[0171] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0172] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0173] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0174] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. A new energy active automatic power generation control parameter setting method, characterized in that, The method comprises the following steps: Periodically synchronously loading external conditions of the actual power grid dispatching control system to complete active automatic generation control (AGC) modeling and power grid modeling; Setting the control parameter range to be tuned, the tuning step, and the test verification time according to the demand and engineering experience; Starting with the minimum value of the control region parameter and the control object parameter corresponding to the AGC, gradually adding the tuning step until the maximum value of the parameter range is reached to form a plurality of control parameter combinations to be tuned, and starting with the first control parameter combination to open the control closed-loop simulation test; Obtaining the initial power flow and frequency, calculating the regional control deviation, and forming the distributed adjustment amount of the AGC unit in each control period according to the control parameter combination and the regional control deviation; Executing the distributed adjustment amount and calculating the power flow and frequency of the power grid at the next time point after the strategy execution, and alternately iterating until the test verification time is reached; Calculating the control performance index in the test verification time and recording the performance of the current control parameter combination; Selecting the next control parameter combination, reloading the external conditions of the power grid, and repeating the closed-loop simulation test process until all control parameter combinations are traversed; Selecting the control parameter combination that meets the set condition to generate a recommendation report.
2. The new energy active automatic generation control parameter setting method according to claim 1, characterized in that, The external conditions of the power grid include AGC unit control model files, power grid model CIME files, initial power flow data DT files, and load and new energy power prediction curve data.
3. The new energy active automatic generation control parameter setting method according to claim 2, characterized in that, In the step of periodically synchronously loading external conditions of the actual power grid dispatching control system, the full-amount synchronization mode is adopted at the first time, and the incremental synchronization is adopted according to the changed model in the later period.
4. The new energy active automatic generation control parameter setting method according to claim 2, characterized in that, After obtaining the AGC unit control model file, the AGC control unit model is established according to the AGC unit control model file, the model parameters such as the number of units, the capacity, the upper and lower limits of adjustment, and the unit sharing factor are kept consistent with the actual power grid dispatching control system, and the AGC modeling is completed.
5. The new energy active automatic generation control parameter setting method according to claim 1, characterized in that, The control parameter combination X=[X1, X2, X3, X4, X5] comprises a new energy field group adjustment step X1, a high-frequency forbidden increase threshold X2, a low-frequency forbidden decrease threshold X3, an ACE proportional gain coefficient X4, and an ACE integral gain coefficient X5. The control parameter setting range is set according to grid operation or artificial experience range [X 1,min , X 1,max ], [X 2,min , X 2,max ], [X 3,min , X 3,max ], [X 4,min , X 4,max ], [X 5,min , X 5,max ]; The control parameter setting step is an increase step of the control parameter ; The test verification time T is the closed-loop simulation verification time of each control parameter combination. The control parameter combination traverses from X=[X 1,min , X 2,min , X 3,min , X 4,min , X 5,min ] to X=[X 1,max , X 2,max , X 3,max , X 4,max , X 5,max ]; when the first set of control parameter combinations X=[X 1,min , X 2,min , X 3,min , X 4,min , X 5,min ] reaches the test verification time, the control parameter setting step is superimposed from X1 to form the next set of control parameter combinations X=[X 1,min + , X 2,min , X 3,min , X 4,min , X 5,min ]; each round of control parameter combination only superimposes the parameter setting step for one control parameter, and the remaining control parameters remain unchanged; The control parameter X1 is set in the range of [X 1,min , X 1,max ] with a step of , and N steps of superposition are needed to reach X 1,max , i.e. X1 has (N+1) parameter values: Similarly, control parameters X2, X3, X4, X5 need to be iterated M, L, K, H steps respectively to X 2,max , X 3,max , X 4,max , X 5,max ; during the parameter traversal process, all control parameter combinations are represented as , and the N steps of X1, the M steps of X2, the L steps of X3, the K steps of X4, and the H steps of X5 are sequentially traversed to form control parameter combinations.
6. The new energy active automatic generation control parameter setting method according to claim 5, characterized in that, The distributed adjustment amount of the AGC unit in each control period is formed according to the control parameter combination and the regional control deviation, which comprises: According to the control parameter combination X=[X1, X2, X3, X4, X5], the regional control deviation ACE is decomposed and issued to each AGC unit, and the AGC unit control instruction is executed by the substation simulation function; According to the power grid operation state uploaded by the main station simulation function, the ACE is calculated: ; In the formula, B is the regional frequency deviation coefficient, the unit is MW / 0.1HZ, f is the power grid frequency, f0 is the rated frequency, I is the sum of the actual power flow of the regional tie line, the unit is MW, and I0 is the regional planned net exchange power; According to the control parameter combination X4, X5 and the regional control deviation ACE, the regional adjustment power ARR is calculated: ; wherein X4 is an ACE proportional gain coefficient, X5 is an ACE integral gain coefficient, is an ACE integral value; According to the control parameter combination X1, X2, X3 and the area regulation power ARR, the distributed regulation amount of the AGC unit in each control period is formed, and the distributed regulation amount of the AGC unit is executed by the substation simulation function; Synchronizing AGC unit control model files with unit contribution factors The area regulating power ARR is decomposed to each AGC unit, and the i-th AGC unit is allocated a regulating amount is: ; If the frequency f is lower than the low-frequency reduction threshold X3 during the current control cycle, the AGC unit adjustment amount △P is locked. G,i A negative output reduction command will not reduce ΔP. G,i The simulation function is sent to the substation; if the frequency f is higher than the high-frequency increase restriction threshold X2 within the current control cycle, the AGC unit adjustment amount △P is locked. G,i For a positive increase in output force, do not increase ΔP. G,i The simulation function is sent to the substation; if the AGC unit adjustment amount △P G,i If the adjustment step size is greater than the new energy field cluster adjustment step size X1, then it is adjusted according to the adjustment step size ΔP. i =X1 issues the substation simulation function for execution.
7. The new energy active automatic generation control parameter setting method according to claim 6, characterized in that, The calculation strategy executes power flow and frequency of the next moment, including: The master station simulation function receives the next time t1 load sent by the substation simulation function , AGC unit power , calculate the next time of power grid flow, frequency And send; The next moment flow calculation formula is: ; In the formula, is the power flow of the next moment, is the frequency of the next moment, is the power flow calculation equation based on the Newton-Raphson method, is the frequency simulation equation; ; wherein is the rotor inertia time constant, is the synchronous speed, is the power angle, is the rotor angular speed unit, is the total power generated, is the total load power, is the network loss, is the number of generator pole pairs.
8. The new energy active automatic generation control parameter setting method according to claim 7, characterized in that, Also including: If there is no AGC unit control instruction or load manual operation at the current time, the substation simulation function directly reads the next time load, new energy power curve prediction value as , ; If there is AGC unit control instruction or load manual operation, the substation simulation function is superimposed on the basis of the current power instruction 、 , the next time 、 send to the main station simulation function, the calculation formula is: ; In the formula, , is the load at the current time, the power of the new energy unit, is the artificial load operation, is the allocated adjustment amount of the AGC unit.
9. The new energy active automatic generation control parameter setting method according to claim 5, characterized in that, In the repeated closed-loop simulation test process, based on the control variable method, the same power grid external condition is used in the test and verification time of each control parameter group The setting of the secondary control parameter combination is performed, each control parameter group is reloaded with the power grid external condition set Grid, the power grid model, the AGC unit model, the initial power flow, the load, and the new energy power generation power prediction curve at the start of the first control parameter setting are recorded and saved, and are recorded as the power grid external condition set Grid.
10. The new energy active automatic generation control parameter setting method according to claim 5, characterized in that, The control parameter combination meeting the set condition is selected, and a recommendation report is generated, including: The control performance index CPS in the test verification time is calculated, the performance effect of different control parameter combinations is evaluated according to the control performance index CPS, and a control parameter recommendation report is generated; The CPS index calculation method is: ; wherein is the average of the 1 min frequency deviation; is the average of the 1 min area control error ACE; B is the area frequency deviation coefficient; is the given limit value of the superior dispatch, using the average frequency deviation of the grid in the previous year; is the averaging function; is the absolute value of the 10 min area control error ACE average; For For the secondary control parameter combination, the control parameters with the CPS1 index higher than the set value and the CPS2 index less than the set value are selected, and a control parameter recommendation report is generated.
11. A new energy active automatic generation control parameter setting system, characterized in that, The method according to any one of claims 1 to 10 is used, and the system includes an AGC mirror simulation module, a main substation simulation module and a control parameter evaluation module; The AGC mirror simulation module is used to periodically synchronize the loading of external conditions of the power grid from the actual power grid dispatching control system, complete active automatic generation control AGC modeling and power grid modeling; According to the demand and engineering experience, the control parameter range to be set, the setting step and the test verification time are set; The control region parameters and the control object parameters corresponding to the AGC are taken as the starting point of the minimum value of the parameter range, and the setting step is gradually added until the maximum value of the parameter range is reached, forming a plurality of control parameter combinations to be set, and starting from the first control parameter combination to open the control closed-loop simulation test; The main substation simulation module is used to obtain the initial power flow and frequency, calculate the area control deviation, and form the distributed regulation amount of the AGC unit in each control period according to the control parameter combination and the area control deviation; The distributed regulation amount is executed, and the calculation strategy executes the power flow and frequency of the next moment, and the iteration is alternately repeated until the test verification time is reached; The control parameter evaluation module is used to calculate the control performance index in the test verification time, and record the performance of the current control parameter combination; The AGC mirror simulation module and the main substation simulation module interact and iterate, select the next control parameter combination, reload the external conditions of the power grid, and repeat the closed-loop simulation test process until all control parameter combinations are traversed; After the closed-loop simulation test of all control parameter combinations is completed, the control parameter combination meeting the set condition is selected, and a recommendation report is generated.
Citation Information
Cited By
AGC test verification scene library construction method and system containing new energy
CN122287151A