A new energy system automatic generation control method and device

By configuring a high-dimensional collaborative soft actor-commentator algorithm controller in the new energy system, calculating the frequency and exchange power deviation, constructing a target reward function, training the controller, and adjusting the unit output power in real time, the problem that the automatic power generation control strategy of the new energy system cannot cope with environmental changes is solved, and stable control and efficient frequency management of the power grid are achieved.

CN123163079APending Publication Date: 2026-11-24CHINA ENERGY ENG GRP GUANGDONG ELECTRIC POWER DESIGN INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611515481.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing automatic generation control strategies for new energy systems cannot effectively cope with environmental changes, leading to a decline in grid control performance, especially when a high proportion of distributed new energy is integrated, resulting in system frequency fluctuations and deteriorating control performance.

Method used

In a multi-regional power grid, a high-dimensional collaborative soft actor-commentator algorithm controller is configured. By calculating the frequency deviation and the exchange power deviation, a target reward function is constructed, and the high-dimensional collaborative soft actor-commentator algorithm controller is trained. The total power command is calculated in real time, and the output power of each unit is controlled by combining the pre-configured automatic generation control allocation coefficient of the unit.

Benefits of technology

It has achieved stable control of the power grid under severe disturbances caused by the high proportion of new energy equipment, ensuring frequency stability, improving the control performance and adaptability of the power grid, and enabling it to quickly adapt to environmental changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123163079A_ABST
    Figure CN123163079A_ABST
Patent Text Reader

Abstract

This invention discloses an automatic power generation control method and device for a new energy system. A high-dimensional collaborative soft actor-commentator algorithm controller is configured in the regional power grid to calculate the frequency deviation of a single regional power grid, the power exchange deviation between adjacent regional power grids, and the regional control error of the regional power grid. The high-dimensional collaborative soft actor-commentator algorithm controller is trained based on a constructed objective reward function. The trained high-dimensional collaborative soft actor-commentator algorithm controller calculates the total power command of each regional power grid in real time. Combined with the pre-configured automatic power generation control allocation coefficients for each generating unit, the output power of each generating unit in the regional power grid is controlled. This method exhibits excellent adaptability and can achieve stable control to ensure frequency stability even under the influence of severe disturbances caused by the high proportion of new energy equipment connected. It solves the technical problem that existing automatic power generation control strategies for new energy systems cannot effectively cope with environmental changes, leading to a decline in grid control performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system technology, and in particular to an automatic power generation control method and device for a new energy system. Background Technology

[0002] Grid-based power generation equipment is attracting increasing attention from scholars due to its unique voltage source characteristics and inertia support capabilities. Employing a self-synchronization principle similar to synchronous generators, grid-based equipment autonomously adjusts its output voltage frequency through power interaction and also possesses the ability to independently construct grid voltage sources. Therefore, it has become a crucial supporting means to overcome the challenges posed by high-proportion distributed renewable energy integration. Meanwhile, Automatic Generation Control (AGC), as a key technology for active power regulation and frequency stability control in traditional power systems, has long played a central role in grid dispatching and operation maintenance. AGC systems dynamically adjust the active power output of frequency-regulating units by real-time monitoring of system frequency deviation and inter-regional power exchange deviation to achieve inter-regional power balance and maintain stable system frequency operation within a set range, thereby ensuring the safety and stability of the power system.

[0003] Grid-connected devices, based on power electronics technology, typically use virtual control algorithms to actively set frequency and voltage, exhibiting fast, nonlinear, and locally autonomous control characteristics. However, the lack of unified standards in control timing, parameter interfaces, and adjustment methods between grid-connected devices and grid-connected devices easily leads to control conflicts, signal mismatches, and system oscillations. Therefore, efficient coordination needs to be achieved through strategy reconstruction and interface adaptation. While grid-connected devices often employ autonomous or distributed control methods, offering good flexibility and scalability, the lack of a global coordination mechanism poses significant challenges to system stability. Therefore, improving the collaborative control capabilities among grid-connected devices and enhancing the robustness of control algorithms to heterogeneous devices and disturbance conditions is crucial for ensuring their safe and stable operation. Traditional control strategies typically employ centralized PID (proportional-integral-derivative) control. However, centralized control based on preset static parameters struggles to achieve multi-regional coordination and cannot effectively address the dynamic changes and uncertainties of the power system. Especially when facing integrated energy systems with highly stochastic renewable energy and flexible loads connected on a large scale, traditional methods fail to obtain stochastic optimal solutions, leading to a decline in grid control performance.

[0004] Therefore, providing an automatic power generation control method for new energy systems with strong adaptability and the ability to quickly adapt to environmental changes, in order to solve the problems of system frequency fluctuations and deterioration of control performance caused by the instability of power output of new energy systems based on grid-connected equipment, is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] This invention provides an automatic power generation control method and apparatus for a new energy system, which addresses the technical problem that existing automatic power generation control strategies for new energy systems cannot effectively cope with environmental changes, leading to a decline in grid control performance.

[0006] In view of this, the first aspect of the present invention provides an automatic power generation control method for a new energy system, comprising: In a multi-regional power grid, a high-dimensional collaborative soft actor-critic algorithm controller is configured for each regional power grid; Calculate the frequency deviation of a single regional power grid and the power exchange deviation between adjacent regional power grids; Calculate the regional control error of the regional power grid based on the frequency deviation and the switching power deviation; Construct a target reward function based on the regional control error of the regional power grid; Based on the objective reward function, the high-dimensional collaborative soft actor-commentator algorithm controller is trained by taking the regional control error, frequency deviation, and the output status of each unit in a single regional power grid as inputs and the total power command as output. The regional control error, frequency deviation, and power output status of each unit in a single regional power grid, calculated in real time in the multi-regional power grid, are input into each high-dimensional collaborative soft actor-commentator algorithm controller to obtain the total power command output by each high-dimensional collaborative soft actor-commentator algorithm controller. Each regional power grid controls the output power of each generating unit based on the total power command and the pre-configured automatic generation control allocation coefficients of each generating unit.

[0007] Optionally, training methods for the high-dimensional collaborative soft actor-critic algorithm controller of the regional power grid include: Initialize the actor network, critic network, and experience replay buffer; The system acquires the action, target reward function value, and next state of the regional power grid under the current state when executing the target strategy. The system then saves the empirical data, consisting of the current state, current action, target reward function value, and next state, into the empirical playback buffer. Small batches of data are collected from the experience replay buffer to iteratively update the critic network and actor network; When the training termination condition is met, the updates to the critic network and actor network are stopped, resulting in a well-trained high-dimensional collaborative soft actor-critic algorithm controller.

[0008] Optionally, the formula for calculating the frequency deviation of a single regional power grid is: ; in, For the frequency deviation of the regional power grid, For the inverse Laplace transform operator, s For the complex frequency variable of the Laplace transform, This represents the actual output power of the thermal power unit. This represents the actual output power of the hydroelectric generator unit. The actual output power of the electric vehicle aggregator. This refers to the actual output power of wind and solar power units. This represents the actual output power of the superconducting magnetic energy storage unit. For load, This refers to the power exchange deviation between adjacent power grid areas. These are the coefficients of the frequency response function. is the time constant of the frequency response function.

[0009] Optionally, the formula for calculating the power exchange deviation between adjacent power grid areas is: ; in, This refers to the power exchange deviation between adjacent power grid areas. For the inverse Laplace transform operator, For the frequency deviation of the regional power grid, To integrate with the regional power grid Frequency deviation of adjacent regional power grids The inertial time constant for cross-regional power transmission, s Let be the complex frequency variable of the Laplace transform.

[0010] Optionally, the formula for calculating the regional control error of the regional power grid is: ; in, ACE For the regional control error of the regional power grid, This refers to the power exchange deviation between adjacent power grid areas. B For the frequency deviation factor of the regional power grid, This refers to the frequency deviation of the regional power grid.

[0011] Optionally, the target reward function is: ; in, Let T be the target reward function, and T be the duration of the assessment period. This represents the regional control error value of the regional power grid per unit time.

[0012] A second aspect of the present invention provides an automatic power generation control device for a new energy system, comprising: A configuration module is used to configure a high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid in a multi-regional power grid. The first calculation module is used to calculate the frequency deviation of a single regional power grid and the exchange power deviation between adjacent regional power grids. The second calculation module is used to calculate the regional control error of the regional power grid based on the frequency deviation and the switching power deviation. The reward module is used to construct a target reward function based on the regional control error of the regional power grid. The training module is used to train the high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid based on the target reward function, with regional control error, frequency deviation and the output status of each unit of a single regional power grid as inputs and the total power command as the output of the high-dimensional collaborative soft actor-critic algorithm controller. This results in the trained high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid. The optimization module is used to input the regional control error, frequency deviation and the output status of each unit in a single regional power grid, which are calculated in real time in the multi-regional power grid, into each high-dimensional collaborative soft actor-critic algorithm controller to obtain the total power command output by each high-dimensional collaborative soft actor-critic algorithm controller. The control module is used to control the output power of each generating unit in each regional power grid according to the total power command and the pre-configured automatic generation control allocation coefficient of each unit.

[0013] Optionally, in the training module, the training method for the high-dimensional collaborative soft actor-critic algorithm controller of the regional power grid includes: Initialize the actor network, critic network, and experience replay buffer; The system acquires the action, target reward function value, and next state of the regional power grid under the current state when executing the target strategy. The system then saves the empirical data, consisting of the current state, current action, target reward function value, and next state, into the empirical playback buffer. Small batches of data are collected from the experience replay buffer to iteratively update the critic network and actor network; When the training termination condition is met, the updates to the critic network and actor network are stopped, resulting in a well-trained high-dimensional collaborative soft actor-critic algorithm controller.

[0014] Optionally, the formula for calculating the regional control error of the regional power grid is: ; in, ACE For the regional control error of the regional power grid, This refers to the power exchange deviation between adjacent power grid areas. B For the frequency deviation factor of the regional power grid, This refers to the frequency deviation of the regional power grid.

[0015] Optionally, the target reward function is: ; in, Let T be the target reward function, and T be the duration of the assessment period. This represents the regional control error value of the regional power grid per unit time.

[0016] As can be seen from the above technical solutions, the automatic power generation control method for new energy systems provided by this invention has the following advantages: The automatic power generation control method for new energy systems provided by this invention configures a high-dimensional collaborative soft actor-commentator algorithm controller in the regional power grid. It calculates the frequency deviation of a single regional power grid, the power exchange deviation between adjacent regional power grids, and the regional control error of the regional power grid. Based on the constructed objective reward function, the high-dimensional collaborative soft actor-commentator algorithm controller is trained. The trained high-dimensional collaborative soft actor-commentator algorithm controller calculates the total power command of each regional power grid in real time. Combined with the pre-configured automatic power generation control allocation coefficients for each generating unit, it controls the output power of each generating unit in the regional power grid. This method has excellent adaptability and can achieve stable control to ensure frequency stability even under the influence of severe disturbances caused by the access of high-proportion new energy equipment. It solves the technical problem that existing automatic power generation control strategies for new energy systems cannot effectively cope with environmental changes, leading to a decline in grid control performance. Attached Figure Description

[0017] 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 of the present invention. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart illustrating an automatic power generation control method for a new energy system provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a comprehensive energy system model of two regional power grids provided in an embodiment of the present invention; Figure 3 These are schematic diagrams illustrating the dynamic characteristics of various generating units provided in the embodiments of the present invention; Figure 4 This is a flowchart illustrating the training process of the high-dimensional collaborative soft actor-critic algorithm controller provided in this embodiment of the invention. Figure 5 A comparison diagram of system frequency changes for different automatic power generation control methods provided in the embodiments of the present invention; Figure 6 This is a comparison chart of the control performance standard (CPS1%) curves of different automatic power generation control methods provided in the embodiments of the present invention; Figure 7 This is a comparison chart of the regional control errors of regional power grids using different automatic power generation control methods provided in the embodiments of the present invention; Figure 8 This is a schematic diagram of the structure of an automatic power generation control device for a new energy system provided in an embodiment of the present invention. Detailed Implementation

[0019] To enable those skilled in the art to better understand the present invention, 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. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] For easier understanding, please refer to Figure 1 This invention provides an embodiment of an automatic power generation control method for a new energy system, comprising: Step 101: In a multi-regional power grid, configure a high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid.

[0021] It should be noted that the automatic power generation control method for new energy systems provided by this invention is applicable to multi-regional interconnected power grids with a high proportion of new energy penetration. Figure 2 Taking the two regional power grids shown as an example, coordinated control is achieved through a high-dimensional synergy of soft actors-critic (HDS-SAC) controller established in adjacent regional power grids A and B. In addition, each regional power grid includes generator sets, energy storage systems, regional power interconnections, loads, and grid information feedback. Figure 2 middle, , , These are the AGC instruction allocation coefficients for thermal power units, hydropower units, and electric vehicle aggregators, respectively. , , , , , The actual output power of thermal power units, hydropower units, electric vehicle aggregators, wind and solar power units, supercapacitor energy storage, and superconducting magnetic energy storage units, respectively. , These are the frequency deviations of regional power grid A and regional power grid B, respectively. Let be the time delay constant of the governor of the thermal power unit. is the time constant of the thermal power unit; is the time delay constant of the governor of the hydropower unit. , , The time constant of the hydroelectric generator unit; , , , , The time constant of the superconducting magnetic energy storage unit. This refers to the gain coefficient of the superconducting magnetic energy storage unit. , , , , The time constant of the supercapacitor energy storage unit. This refers to the gain coefficient of the supercapacitor energy storage unit. R 1 , R 2 , R 3 These are the adjustment coefficients for thermal power units, hydropower units, and electric vehicles, respectively. B 1 , B 2 These are the frequency deviation factors for regional power grid A and regional power grid B, respectively. Let be the time constant of the frequency response function. These are the coefficients of the frequency response function. This is the time constant of the tie line.

[0022] The regional power grid's generating units not only include traditional thermal and hydroelectric generating units, but also consider wind and solar power generation equipment under the large-scale development of new energy sources. It also includes grid-connected equipment such as new energy vehicles, superconducting magnetic energy storage, and supercapacitor energy storage. Furthermore, grid-connected equipment such as new energy vehicles, superconducting magnetic energy storage, and supercapacitor energy storage have been established. For grid-connected equipment such as superconducting magnetic energy storage and supercapacitors, their control structures include proportional inertial feedforward and low-pass filtering stages, with gain coefficients modeled separately. and Output power and These devices have seen rapid development due to their fast response speed and high energy conversion efficiency. They provide rapid frequency support, and their rapid charging and discharging capabilities offer virtual inertia and fast frequency response, suppressing fluctuations caused by system disturbances. Through reactive power regulation and short-term high-current support, they enhance voltage transient stability. In black start and islanded operation, they can quickly establish voltage and frequency, ensuring power supply to critical loads. They are typically combined with grid-connected inverters and DC / DC converters to achieve millisecond to second-level power balancing and can collaborate with energy storage devices such as batteries to cover full-time-domain regulation. Modeling is performed on the Simulink platform, providing a theoretical basis and dynamic characteristic support for the design of stable control strategies for reinforcement learning controllers.

[0023] Step 102: Calculate the frequency deviation of a single regional power grid and the power exchange deviation between adjacent regional power grids.

[0024] It should be noted that in each control area, the real-time output of each generating unit, the frequency regulation power provided by the energy storage device, and the local load demand are synchronized to estimate the frequency deviation of the power grid in that area. The power exchange with adjacent areas is calculated using the tie-line power flow equations. The formula for calculating the frequency deviation of a single area's power grid is: ; in, For the frequency deviation of the regional power grid, For the inverse Laplace transform operator, s For the complex frequency variable of the Laplace transform, This represents the actual output power of the thermal power unit. This represents the actual output power of the hydroelectric generator unit. The actual output power of the electric vehicle aggregator. This refers to the actual output power of wind and solar power units. This represents the actual output power of the superconducting magnetic energy storage unit. For load, This refers to the power exchange deviation between adjacent power grid areas. These are the coefficients of the frequency response function. is the time constant of the frequency response function.

[0025] The formula for calculating the power exchange deviation between adjacent power grid areas is: ; in, This refers to the power exchange deviation between adjacent power grid areas. For the inverse Laplace transform operator, For the frequency deviation of the regional power grid, To integrate with the regional power grid Frequency deviation of adjacent regional power grids The inertial time constant for cross-regional power transmission, s Let be the complex frequency variable of the Laplace transform.

[0026] Step 103: Calculate the regional control error of the regional power grid based on the frequency deviation and the switching power deviation.

[0027] It should be noted that the area control error (ACE) of the region is obtained by weighting and integrating the frequency deviation and the switching power deviation, and serves as the input signal for subsequent coordinated control. The formula for calculating the area control error of the regional power grid is: ; in, ACE For the regional control error of the regional power grid, This refers to the power exchange deviation between adjacent power grid areas. B For the frequency deviation factor of the regional power grid, This refers to the frequency deviation of the regional power grid.

[0028] Step 104: Construct the target reward function based on the regional control error of the regional power grid.

[0029] It should be noted that the goal of the high-dimensional collaborative soft actor-critic algorithm controller is to effectively solve key problems such as the decline in power system frequency stability and the complexity of multi-source coordination under the condition of high proportion of renewable energy access, so as to realize stable modeling, collaborative control and system-level dynamic performance optimization of grid-connected equipment.

[0030] The SAC framework utilizes a Gaussian distribution strategy to model the continuous action space. In the context of high-proportion renewable energy integration, the SAC algorithm combined with the Gaussian distribution strategy can efficiently address the continuous, multi-dimensional collaborative control requirements of various types of equipment, including wind, solar, and energy storage. Within the maximum entropy framework, it balances high reward with continuous exploration, possessing advantages such as high sample efficiency, strong training stability, and good robustness. The Gaussian distribution strategy naturally models continuous actions, supporting smooth adaptive control, making it suitable for complex scenarios involving multi-dimensional, highly volatile, and real-time optimization requirements, such as renewable energy equipment. The control algorithm uses ACE as the input state variable and outputs the action. This refers to the controller's instantaneous power adjustment command for each type of network device at the current moment.

[0031] In HDS-SAC, the policy is no longer discrete but generates continuous action values ​​through a Gaussian distribution. The Gaussian distribution policy assigns a probability distribution to actions in each state, where the mean represents the optimal action and the variance represents the degree of exploration. Parameterizing the mean and variance using a neural network allows the algorithm to better handle dynamic changes in complex environments.

[0032] SAC introduces an entropy regularization term to enable the agent to perform exploratory behavior, ensuring maximum reward while maintaining the randomness of the policy. By considering the entropy of the action at each decision step, it facilitates the exploration of the optimal action, thereby quickly finding a policy to adapt to the new environment when changes occur. The value function with entropy regularization is: ; in, and For the current action and the action at the next moment, and This represents the current state and the state at the next moment. For the target reward function, As a discount factor, The soft Q function represents the behavior of following the policy. π At that time, in the current state Execute action Expected return For strategy π In state Select action The logarithmic probability, Here is the entropy regularization coefficient. future state and future actions Expected value. Strategy π It refers to the mapping rules or probability distribution by which the controller makes decisions on the actions of each device given the current state.

[0033] In HDS-SAC, from state-action pairs ( , Define strategies in ) π The soft state-action reward is: ; in: ; ; in, In the state According to the strategy π The expected return of the chosen action In the state Take action below The logarithmic probability, To transition the system to the next state The mathematical expectation.

[0034] The soft-state action distribution function of the Bellman operator within the maximum entropy framework is: ; in, For distributed Bellman operators, In order to be in According to the strategy The complete probability distribution of the cumulative returns obtained, For experience replay buffer Seeking expectations, For strategy Output action Seeking expectations.

[0035] The HDS-SAC policy gradient is updated as follows: ; in, Let the objective function of the policy network (i.e., the actor network) be... In the state Select action The logarithmic probability, for t Independent noise sampled at each time step, for t Actions performed at all times In the state Select action Expected returns In order to execute the strategy π In the state of being The strategy function below.

[0036] Regional control error of regional power grid ACE It directly affects the stability and frequency regulation performance of the power system. By minimizing... ACE The system is better able to cope with load fluctuations, thus effectively handling the severe disturbances caused by the integration of a high proportion of renewable energy equipment, improving system stability, and helping to reduce frequency deviation, ensuring the continuous and efficient operation of the power system. Therefore, this invention will include a certain period of time... ACE The average of the sum of the absolute values ​​is used as the target reward function: ; in, For the target reward function, T The duration of the assessment period. This represents the regional control error value of the regional power grid per unit time.

[0037] Current status Execution strategy π The resulting motion with exploration noise The formula for calculation is: ; in, Current state Execution strategy π , It is a Gaussian function.

[0038] Step 105: Based on the objective reward function, the high-dimensional collaborative soft actor-commentator algorithm controller is trained by using the regional control error, frequency deviation, and the output status of each unit in a single regional power grid as inputs and the total power command as output.

[0039] It should be noted that, as Figure 4 As shown, the training method for the high-dimensional collaborative soft actor-critic algorithm controller of the regional power grid includes: S1. Initialize the actor network, critic network, and experience replay buffer M.

[0040] S2. Obtain the current state of the regional power grid. The action output by the target strategy is executed. Target reward function value and the next state The current state will be determined by the current state. Current action Target reward function value and the next state Composition of empirical data ( , , , Save it to the experience playback buffer M.

[0041] S3. Collect small batches of data from the experience replay buffer and iteratively update the critic network and actor network.

[0042] It should be noted that the iterative update process of the critic network and actor network is as follows: from the experience replay buffer... M We sample small batches of empirical data and update the parameters of the critic network with the goal of minimizing the error between the critic network output and the target value. We update the parameters of the actor network with the goal of maximizing the sum of expected reward and entropy reward. The critic network and actor network are updated alternately and iteratively until convergence.

[0043] S4. When the training termination condition is met, stop updating the critic network and the actor network, and obtain the trained high-dimensional collaborative soft actor-critic algorithm controller.

[0044] It should be noted that, in this embodiment of the invention, the training termination condition is reaching the preset maximum number of training rounds, or the average change of the reward function is less than the preset convergence threshold.

[0045] Step 106: Input the regional control error, frequency deviation and the output status of each unit in a single regional power grid, which are calculated in real time in the multi-regional power grid, into each high-dimensional collaborative soft actor-commentator algorithm controller to obtain the total power command output by each high-dimensional collaborative soft actor-commentator algorithm controller.

[0046] It should be noted that the system collects regional control errors, frequency deviations, and power output status information of each unit in a single regional power grid in real time. This information is then input into each high-dimensional collaborative soft actor-commentator algorithm controller to obtain the total power command output by each controller. The total power command is applied to various network-connected devices to change their output and participate in regional frequency stability and power balance control.

[0047] Step 107: Each regional power grid controls the output power of each generating unit according to the total power command and the pre-configured automatic generation control allocation coefficient of each generating unit.

[0048] It should be noted that each regional power grid multiplies the total power command by the pre-configured automatic generation control allocation coefficient of each generating unit (i.e., , , This allows us to obtain the output power of each unit and thus achieve power control of each unit.

[0049] The automatic power generation control method for new energy systems provided by this invention configures a high-dimensional collaborative soft actor-commentator algorithm controller in the regional power grid. It calculates the frequency deviation of a single regional power grid, the power exchange deviation between adjacent regional power grids, and the regional control error of the regional power grid. Based on the constructed objective reward function, the high-dimensional collaborative soft actor-commentator algorithm controller is trained. The trained high-dimensional collaborative soft actor-commentator algorithm controller calculates the total power command of each regional power grid in real time. Combined with the pre-configured automatic power generation control allocation coefficients for each generating unit, it controls the output power of each generating unit in the regional power grid. This method has excellent adaptability and can achieve stable control to ensure frequency stability even under the influence of severe disturbances caused by the access of high-proportion new energy equipment. It solves the technical problem that existing automatic power generation control strategies for new energy systems cannot effectively cope with environmental changes, leading to a decline in grid control performance.

[0050] Meanwhile, the automatic power generation control method for new energy systems provided by this invention encourages agents to conduct random exploration within a maximum entropy framework to quickly adapt to environmental changes, and uses a Gaussian distribution strategy with high-dimensional cooperative properties to define the probability of each action in a continuous state space, enabling the agent to quickly explore the optimal control capability.

[0051] To verify the superior performance of the automatic power generation control method for new energy systems provided by this invention, the embodiments of this invention provide a comparison between the automatic power generation control method for new energy systems provided by this invention and different existing methods.

[0052] Please see Figure 5 Under sinusoidal disturbances, the controller proposed based on HDS-SAC can consistently maintain the absolute average frequency deviation within 0.0015Hz, compared to 0.0031Hz for the DQN controller and 0.025Hz for the SAC controller. This demonstrates that the proposed method can maintain low frequency deviations while exhibiting high stability, without generating significant frequency fluctuations, and can effectively cope with the severe disturbances caused by the large-scale integration of new energy equipment.

[0053] Please see Figure 6 Under sinusoidal disturbances, the HDS-SAC-based controller consistently maintains the absolute average ACE at 0.6330 MW, outperforming the DQN controller (1.2099 MW) and the SAC controller (1.7165 MW). It not only maintains a low average ACE but also effectively reduces error fluctuations, demonstrating excellent stability. Furthermore, HDS-SAC maintains a low ACE under varying disturbance magnitudes, exhibiting strong adaptability. In contrast, Deep Q-Network (DQN) and Soft Actor-Critic (SAC) exhibit weaker regulation capabilities under larger disturbances and cannot effectively control errors. Therefore, HDS-SAC demonstrates significant advantages in stability, robustness, and adaptability, resulting in superior regulation performance and a significant reduction in regional cooperative errors.

[0054] Please see Figure 7 Under sinusoidal disturbances, the HDS-SAC-based controller consistently maintains the 10-minute CPS average at 199.974%, outperforming the DQN and SAC controllers' 199.85% and 199.923% respectively, and is closer overall to the theoretical optimal value of 200%. Furthermore, the HDS-SAC exhibits lower volatility, demonstrating better dynamic adjustment capabilities and stability.

[0055] For easier understanding, please refer to Figure 8 This invention provides an embodiment of an automatic power generation control device for a new energy system, comprising: A configuration module is used to configure a high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid in a multi-regional power grid. The first calculation module is used to calculate the frequency deviation of a single regional power grid and the exchange power deviation between adjacent regional power grids. The second calculation module is used to calculate the regional control error of the regional power grid based on the frequency deviation and the switching power deviation. The reward module is used to construct a target reward function based on the regional control error of the regional power grid. The training module is used to train the high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid based on the target reward function, with regional control error, frequency deviation and the output status of each unit of a single regional power grid as inputs and the total power command as the output of the high-dimensional collaborative soft actor-critic algorithm controller. This results in the trained high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid. The optimization module is used to input the regional control error, frequency deviation and the output status of each unit in a single regional power grid, which are calculated in real time in the multi-regional power grid, into each high-dimensional collaborative soft actor-critic algorithm controller to obtain the total power command output by each high-dimensional collaborative soft actor-critic algorithm controller. The control module is used to control the output power of each generating unit in each regional power grid according to the total power command and the pre-configured automatic generation control allocation coefficient of each generating unit.

[0056] In one embodiment, the training method for the high-dimensional collaborative soft actor-critic algorithm controller of the regional power grid in the training module includes: Initialize the actor network, critic network, and experience replay buffer; The system acquires the action, target reward function value, and next state of the regional power grid under the current state when executing the target strategy. The system then saves the empirical data, consisting of the current state, current action, target reward function value, and next state, into the empirical playback buffer. Small batches of data are collected from the experience replay buffer to iteratively update the critic network and actor network; When the training termination condition is met, the updates to the critic network and actor network are stopped, resulting in a well-trained high-dimensional collaborative soft actor-critic algorithm controller.

[0057] In one embodiment, the frequency deviation of a single regional power grid is calculated as follows: ; in, For the frequency deviation of the regional power grid, For the inverse Laplace transform operator, s For the complex frequency variable of the Laplace transform, This represents the actual output power of the thermal power unit. This represents the actual output power of the hydroelectric generator unit. The actual output power of the electric vehicle aggregator. This refers to the actual output power of wind and solar power units. This represents the actual output power of the superconducting magnetic energy storage unit. For load, This refers to the power exchange deviation between adjacent power grid areas. These are the coefficients of the frequency response function. is the time constant of the frequency response function.

[0058] In one embodiment, the formula for calculating the power exchange deviation between adjacent regional power grids is: ; in, This refers to the power exchange deviation between adjacent power grid areas. For the inverse Laplace transform operator, For the frequency deviation of the regional power grid, To integrate with the regional power grid Frequency deviation of adjacent regional power grids The inertial time constant for cross-regional power transmission, s Let be the complex frequency variable of the Laplace transform.

[0059] In one embodiment, the formula for calculating the regional control error of the regional power grid is: ; in, ACE For the regional control error of the regional power grid, This refers to the power exchange deviation between adjacent power grid areas. B For the frequency deviation factor of the regional power grid, This refers to the frequency deviation of the regional power grid.

[0060] In one embodiment, the target reward function is: ; in, Let T be the target reward function, and T be the duration of the assessment period. This represents the regional control error value of the regional power grid per unit time.

[0061] The automatic power generation control device for new energy systems provided in this invention is used to execute the automatic power generation control method for new energy systems provided in this invention. Its principle and the technical effects achieved are the same as those of the automatic power generation control method for new energy systems provided in this invention, and will not be repeated here.

[0062] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for automatic generation control of a new energy system, characterized in that, include: In a multi-regional power grid, a high-dimensional collaborative soft actor-critic algorithm controller is configured for each regional power grid; Calculate the frequency deviation of a single regional power grid and the power exchange deviation between adjacent regional power grids; Calculate the regional control error of the regional power grid based on the frequency deviation and the switching power deviation; Construct a target reward function based on the regional control error of the regional power grid; Based on the objective reward function, the high-dimensional collaborative soft actor-commentator algorithm controller is trained by taking the regional control error, frequency deviation, and the output status of each unit in a single regional power grid as inputs and the total power command as output. The regional control error, frequency deviation, and power output status of each unit in a single regional power grid, calculated in real time in the multi-regional power grid, are input into each high-dimensional collaborative soft actor-commentator algorithm controller to obtain the total power command output by each high-dimensional collaborative soft actor-commentator algorithm controller. Each regional power grid controls the output power of each generating unit based on the total power command and the pre-configured automatic generation control allocation coefficients of each generating unit.

2. The method of claim 1, wherein, Training methods for high-dimensional collaborative soft actor-critic algorithm controllers in regional power grids include: Initialize the actor network, critic network, and experience replay buffer; The system acquires the action, target reward function value, and next state of the regional power grid under the current state when executing the target strategy. The system then saves the empirical data, consisting of the current state, current action, target reward function value, and next state, into the empirical playback buffer. Small batches of data are collected from the experience replay buffer to iteratively update the critic network and actor network; When the training termination condition is met, the updates to the critic network and actor network are stopped, resulting in a well-trained high-dimensional collaborative soft actor-critic algorithm controller.

3. The method of claim 1, wherein, The formula for calculating the frequency deviation of a single regional power grid is: ; wherein is a frequency deviation of a regional grid, is a Laplace inverse transform operator, s is a complex frequency variable of the Laplace transform, is an actual output power of a thermal power unit, is an actual output power of a hydro power unit, is an actual output power of an electric vehicle aggregator, is an actual output power of a wind and solar power unit, is an actual output power of a superconducting magnetic energy storage unit, is a load, is an exchange power deviation between adjacent regional grids, is a frequency response function coefficient, is a frequency response function time constant.

4. The automatic power generation control method for a new energy system according to claim 1, characterized in that, The formula for calculating the power exchange deviation between adjacent power grid areas is: ; in, This refers to the power exchange deviation between adjacent power grid areas. For the inverse Laplace transform operator, For the frequency deviation of the regional power grid, To integrate with the regional power grid Frequency deviation of adjacent regional power grids The inertial time constant for cross-regional power transmission, s Let be the complex frequency variable of the Laplace transform.

5. The automatic power generation control method for a new energy system according to claim 1, characterized in that, The formula for calculating the regional control error of a regional power grid is: ; in, ACE For the regional control error of the regional power grid, This refers to the power exchange deviation between adjacent power grid areas. B For the frequency deviation factor of the regional power grid, This refers to the frequency deviation of the regional power grid.

6. The automatic power generation control method for a new energy system according to claim 1, characterized in that, The target reward function is: ; in, For the target reward function, T The duration of the assessment period. This represents the regional control error value of the regional power grid per unit time.

7. An automatic power generation control device for a new energy system, characterized in that, include: A configuration module is used to configure a high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid in a multi-regional power grid. The first calculation module is used to calculate the frequency deviation of a single regional power grid and the exchange power deviation between adjacent regional power grids. The second calculation module is used to calculate the regional control error of the regional power grid based on the frequency deviation and the switching power deviation. The reward module is used to construct a target reward function based on the regional control error of the regional power grid. The training module is used to train the high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid based on the target reward function, with regional control error, frequency deviation and the output status of each unit of a single regional power grid as inputs and the total power command as the output of the high-dimensional collaborative soft actor-critic algorithm controller. This results in the trained high-dimensional collaborative soft actor-critic algorithm controller for each regional power grid. The optimization module is used to input the regional control error, frequency deviation and the output status of each unit in a single regional power grid, which are calculated in real time in the multi-regional power grid, into each high-dimensional collaborative soft actor-critic algorithm controller to obtain the total power command output by each high-dimensional collaborative soft actor-critic algorithm controller. The control module is used to control the output power of each generating unit in each regional power grid according to the total power command and the pre-configured automatic generation control allocation coefficient of each unit.

8. The automatic power generation control device for a new energy system according to claim 7, characterized in that, In the training module, the training method for the high-dimensional collaborative soft actor-critic algorithm controller of the regional power grid includes: Initialize the actor network, critic network, and experience replay buffer; The system acquires the action, target reward function value, and next state of the regional power grid under the current state when executing the target strategy. The system then saves the empirical data, consisting of the current state, current action, target reward function value, and next state, into the empirical playback buffer. Small batches of data are collected from the experience replay buffer to iteratively update the critic network and actor network; When the training termination condition is met, the updates to the critic network and actor network are stopped, resulting in a well-trained high-dimensional collaborative soft actor-critic algorithm controller.

9. The automatic power generation control device for a new energy system according to claim 7, characterized in that, The formula for calculating the regional control error of a regional power grid is: ; in, ACE For the regional control error of the regional power grid, This refers to the power exchange deviation between adjacent power grid areas. B For the frequency deviation factor of the regional power grid, This refers to the frequency deviation of the regional power grid.

10. The automatic power generation control device for a new energy system according to claim 7, characterized in that, The target reward function is: ; in, For the target reward function, T The duration of the assessment period. This represents the regional control error value of the regional power grid per unit time.