A new energy active / reactive power coordinated control method for oscillating and stabilizing improvement

By using a modal linear quadratic regulator and a genetic algorithm to optimize the model, the oscillation and instability problem of a high proportion of new energy power systems was solved, multi-new energy coordinated control was realized, and the system stability and power operation reliability were improved.

CN123121835APending Publication Date: 2026-11-17STATE GRID ANHUI ELECTRIC POWER CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611258993.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-19
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing technologies, the oscillation and instability problem of high-proportion renewable energy power systems has not been effectively solved, and the multi-renewable energy collaborative control strategy lacks quantitative evaluation and design methods, resulting in an unbalanced distribution of damping control quantities and affecting system stability.

Method used

A damping controller is designed using a modal linear quadratic regulator (MLQR), and an optimization model is constructed by combining the weighting matrix with a genetic algorithm (GA) to ensure that the active and reactive power of each renewable energy source does not exceed the limits. The weighting matrix of the modal linear quadratic regulator is regarded as the variable to be optimized, so as to achieve the optimal trade-off between system stability and control cost.

Benefits of technology

It realizes the damping support distribution of multiple renewable energy converters, improves the system oscillation stability, ensures that each renewable energy source operates within the power limit, provides theoretical basis and practical guidance, and enhances the small-signal power angle stability control of high-proportion renewable energy power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123121835A_ABST
    Figure CN123121835A_ABST
Patent Text Reader

Abstract

This invention proposes a coordinated active / reactive power control method for renewable energy sources to improve oscillation stability. First, by coordinating the active and reactive power control channels of multiple renewable energy sources, the traditional oscillation stability control framework is extended to quantitatively evaluate the damping contribution of different control channels. Second, an optimization model for coordinated control of renewable energy active and reactive power is established. By considering the damping ratio constraint of the critical oscillation mode and the renewable energy power limit constraint, a control parameter optimization strategy based on a modal linear quadratic regulator (MLQR) and a genetic algorithm (GA) is proposed. This strategy can significantly improve the system's oscillation stability while ensuring that renewable energy power does not exceed the limit. This invention provides an important reference for oscillation stability control of power systems with a high proportion of renewable energy sources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of stability analysis of new energy power systems, and in particular relates to a new energy active / reactive power coordinated control method for improving oscillation stability. Background Technology

[0002] Due to the weak support and weak disturbance immunity of new energy sources, the oscillation and instability problem of power systems with a high proportion of new energy sources is becoming increasingly prominent. Sufficient damping is crucial for maintaining the oscillation stability of the system. In traditional power systems dominated by synchronous generators, damping is mainly provided by devices such as power system stabilizers and flexible AC transmission systems. In recent years, the potential and effectiveness of using new energy sources to suppress electromechanical oscillations have been confirmed by numerous studies. Unlike traditional synchronous generators, a significant feature of new energy power generation is that its active and reactive power can be independently decoupled and controlled, providing greater control flexibility for achieving power oscillation damping.

[0003] Existing research has shown that both active and reactive power control of new energy sources can effectively suppress power oscillations. To provide greater control flexibility, coordinated control of the active and reactive power of new energy sources can further improve system damping. However, the damping coefficients in existing coordinated control schemes are mostly unoptimized or limited to a single new energy source. Coordinated control strategies for active / reactive power from multiple new energy sources have not yet been fully studied.

[0004] In practical engineering applications, there is always a trade-off between system stability and the cost of controlling new energy sources. Specifically, sufficient damping support can only be provided when the control quantity of new energy sources is within their power limits. With the increasing penetration rate of new energy sources, due to their weak support characteristics, the power system requires more energy to provide damping. Damping improvements based solely on a single new energy source lack sufficient energy support. Therefore, the synergy of multiple new energy sources—that is, the efficient combination of different new energy sources—can provide more control quantity without exceeding their respective power limits. However, the power limits of different new energy converters differ (e.g., due to different installed capacities). Existing research uses coordinated damping control strategies to allocate damping control quantities to different controllable devices by adjusting corresponding weights in the objective function. This weighting design method mainly relies on trial and error and lacks quantitative evaluation and design tools.

[0005] In summary, there is an urgent need for a coordinated control method that can quantitatively and systematically allocate damping support to multiple renewable energy converters, so as to effectively improve the oscillation stability of the power system without exceeding the power limit for each renewable energy source. Summary of the Invention

[0006] Objective: To address the shortcomings and deficiencies of existing technologies, this invention proposes a new energy active / reactive power coordinated control method for improving oscillation stability. The aim is to quantitatively and systematically allocate damping support to different control channels of multiple new energy converters, effectively improving system oscillation stability. Based on a modal linear quadratic regulator, this invention treats the weighting matrix of the modal linear quadratic regulator as the variable to be optimized and solves it using a genetic algorithm. This achieves an optimal trade-off between system stability performance and the control cost of the new energy converters, specifically enhancing weakly damped oscillation modes without affecting other modes. Furthermore, a systematic optimization model is developed for designing the parameters of the modal linear quadratic regulator. This model fully considers the power limit constraints of different control channels of multiple new energy sources, using the damping ratio of the critical oscillation mode as the main constraint. While ensuring sufficient damping support, it prevents the active and reactive power of each new energy source from exceeding limits, providing a theoretical basis and practical guidance for oscillation stability control of high-proportion new energy power systems.

[0007] Technical solution: The present invention provides a new energy active / reactive power coordinated control method for oscillation stabilization improvement, comprising the following steps:

[0008] Step 1: Based on the operating parameters of synchronous generators, establish an electromechanical dynamic model of synchronous generators in a multi-regional power system. The active power injection and reactive power injection of generator nodes are represented by power flow equations. After linearization, establish a state-space model of the new energy power system.

[0009] Step 2: Superimpose a damping control signal onto the new energy power reference value to construct a new energy active / reactive additional damping control model;

[0010] Step 3: Design a damping controller based on the modal linear quadratic regulator MLQR, construct the mapping matrix L to achieve targeted control of the oscillation mode, solve the algebraic Riccati equation to obtain the state feedback control gain, and extract the damping coefficients of the active and reactive power control channels of each new energy source.

[0011] Step 4: Construct an optimization model constrained by the critical oscillation mode damping ratio and the power limit of new energy sources;

[0012] Step 5: Use the genetic algorithm (GA) to optimize the weighting matrix of MLQR and determine the damping coefficient to achieve coordinated control of active and reactive power of new energy sources.

[0013] Furthermore, step 1 specifically includes:

[0014] Step 1.1: The mathematical model of the synchronous generator is expressed using a classical second-order model as follows:

[0015] (1)

[0016] In the formula, This is the rotor power angle vector of the synchronous generator. This is the rotor speed vector of the synchronous generator. As the baseline value; This is the inertia coefficient matrix; Here is the damping coefficient matrix; This is the mechanical power input vector of the synchronous generator; N is the electromagnetic power output vector of the synchronous generator; g This represents the number of synchronous generators.

[0017] When the system does not contain new energy sources, the electromagnetic power P of the i-th synchronous generator is... ei It can be calculated using the following formula:

[0018] (2)

[0019] In the formula, E i G represents the constant internal potential after the transient reactance of the i-th synchronous generator; ij B is the self-conductance between node i and node j; ij The self-susceptance between node i and node j; Let be the phase difference between synchronous generator i and synchronous generator j.

[0020] Linearizing equation (1) near the steady-state operating point, we get:

[0021] (3)

[0022] In the formula, Δ represents a small deviation.

[0023] When new energy sources are added to the system, the original power system network undergoes node elimination processing, retaining only N. g Synchronous generator nodes and N v There are several new energy nodes. At this time, the electromagnetic power P of the i-th synchronous generator... ei It can be rewritten as follows:

[0024] (4)

[0025] In the formula, V j and θ j G represents the voltage amplitude and voltage phase angle of the j-th renewable energy node, respectively; GGij and B GGij These represent the equivalent conductance and susceptance between nodes i and j of the synchronous generator, respectively; G GVij and B GVij These are the equivalent conductance and susceptance between synchronous generator node i and new energy node j, respectively.

[0026] The active power P at the new energy node i vi and reactive power injection Q vi It can be represented by a similar power flow equation.

[0027] Step 1.2: Power Flow Model of New Energy Power System

[0028] The active and reactive power flow equations of each node in a new energy power system can be linearized near the steady-state operating point and expressed in the following compact form:

[0029] (5)

[0030] In the formula, Inject vectors into the active power of new energy sources; Injecting vectors into the reactive power of new energy sources. and These represent the voltage phase angle and voltage amplitude vector of the new energy node, respectively. Each block matrix J... 11 J 12 J 13 J 21 J 22 J 23 J 31 J 32 J 33 These are the partial derivative matrices between the corresponding variables.

[0031] According to equation (5), the change in the electromagnetic power of the generator can be... Represented as , and The function. First, based on the second and third rows of equation (5), and Represented as , and Functions:

[0032] (6)

[0033] in:

[0034] (7)

[0035] Substituting equation (7) into the first row of equation (5), we get:

[0036] (8)

[0037] in:

[0038] (9)

[0039] Step 1.3: Dynamic Model of a Single New Energy Source

[0040] Based on the active and reactive power control strategies of new energy sources, their dynamics are represented by an equivalent first-order inertial element. The dynamic model of the active and reactive power of the i-th new energy source is as follows:

[0041] (10)

[0042] In the formula, T ci Let be the virtual time constant of the i-th renewable energy power control loop; and These are the reference values ​​for the active and reactive power of the i-th new energy source, respectively.

[0043] Linearizing equation (10) near the steady-state operating point, we get:

[0044] (11)

[0045] Step 1.4: State-space model of new energy power system

[0046] By combining equations (3), (8), and (11), we can obtain the overall state-space model of the new energy power system:

[0047] (12)

[0048] In the formula, This is a vector of system state variables; A is the system control input vector; A is the system state matrix; B is the system input matrix.

[0049] The specific form of the system state-space model is as follows:

[0050] (13)

[0051] In the formula, I is the virtual time constant matrix of the new energy power control loop; Ng For N g 3D identity matrix.

[0052] Furthermore, step 2, which involves constructing a new energy active / reactive power additional damping control model, specifically includes:

[0053] To improve the electromechanical oscillation stability of new energy power systems, this invention proposes superimposing an additional damping control signal onto the power reference value of the new energy source. The power reference value for grid-connected new energy generation can be expressed as:

[0054] (14)

[0055] In the formula, The steady-state component of the active power reference value; The steady-state component of the reactive power reference value; and These are the reference values ​​for additional active and reactive power, respectively, used to provide damping. Their expressions are:

[0056] (15)

[0057] In the formula, K1 is the damping coefficient matrix of the active power control channel of new energy; K2 is the damping coefficient matrix of the reactive power control channel of new energy.

[0058] Linearize equation (15) near the steady-state operating point:

[0059] (16)

[0060] Substituting equation (16) into the state-space model of equation (13), we obtain the state equation of the closed-loop system:

[0061] (17)

[0062] Comparing the open-loop state matrix of equation (13) with the closed-loop state matrix of equation (17), it can be found that the additional damping control signal changes the state matrix of the system. The relevant columns indicate that the system's characteristic values ​​(i.e., electromechanical oscillation modes) can be controlled by adjusting the values ​​of damping coefficients K1 and K2; This is the coefficient matrix of the state equations for the closed-loop system.

[0063] Furthermore, the damping controller design based on the Modal Linear Quadratic Regulator (MLQR) described in step 3 specifically includes:

[0064] Step 3-1: Define the quadratic performance index for designing the damping controller

[0065] For the system described by equation (12), an MLQR damping controller is designed. Unlike traditional linear quadratic regulators, MLQR introduces a mode transformation matrix L, enabling the controller to control specific oscillation modes. The trade-off between system stability performance and converter grid-connected power generation control costs is achieved by minimizing the following quadratic cost function:

[0066] (18)

[0067] In the formula, and These are the system state weighting matrix and the control input weighting matrix in diagonal form, respectively, with their diagonal elements used to apply different penalty weights to different state variables and control inputs; L is the mapping matrix derived from the real Schur decomposition of the system state matrix A.

[0068] Step 3-2: Construct a mapping matrix L to achieve targeted control of the oscillation mode.

[0069] According to the real Schur decomposition, the mapping matrix L satisfies:

[0070] (19)

[0071] In the formula, For a modal variable vector, each component Corresponding to a specific oscillation mode. By only considering W Q By assigning non-zero weights to the diagonal elements corresponding to the critical oscillation mode and setting all other diagonal elements to zero, the damping ratio of weakly damped oscillation modes can be enhanced in a targeted manner, while ensuring that oscillation modes with good damping are not affected.

[0072] Step 3-3: Solve the algebraic Riccati equation to obtain the state feedback control gain.

[0073] For a given weighting matrix W Q and W R The matrix minimizes the cost function shown in equation (18), and the optimal control law is a linear state feedback. Therefore, the following algebraic Riccati equation needs to be solved:

[0074] (20)

[0075] In the formula, The system state weighting matrix is ​​obtained by inverse transformation of the modal weighting matrix; R=W R P is a positive definite solution to the algebraic Riccati equation.

[0076] The final control law is:

[0077] (twenty one)

[0078] In the formula, This is the state feedback control gain matrix.

[0079] Steps 3-4: Extract the damping coefficients of the active and reactive power control channels of each new energy source from the control gain matrix C;

[0080] Based on the relationship between the control input vector u and the change in active / reactive power reference values ​​in equations (21) and (12), the control gain matrix C is divided into corresponding blocks. Let C be written in block form:

[0081] (twenty two)

[0082] Each block corresponds to a state variable. , , and The feedback gain of the function. Since the additional damping control shown in equation (15) is only related to the speed deviation. Therefore, the damping coefficients K1 and K2 of the active and reactive power control channels can be directly derived from... Block extraction:

[0083] (twenty three)

[0084] In the formula, for The row corresponding to the active power control channel; for The row corresponding to the reactive power control channel.

[0085] Furthermore, step 4, which involves constructing an optimization model constrained by the critical oscillation mode damping ratio and the renewable energy power limit, specifically involves:

[0086] Step 4-1: Determine the variable to be optimized

[0087] The weighting matrix W of MLQR Q and W R The diagonal elements form a vector W, which is used as the variable to be optimized, i.e.:

[0088] (twenty four)

[0089] In the formula, , , ..., For W Q The diagonal elements, n=2N g +2N v This represents the total number of system state variables. , , ..., For W R The diagonal elements, 2N v To control the total number of input variables (each new energy source has two control channels: active and reactive).

[0090] Step 4-2: Establish the optimization control objective function

[0091] The optimization objective is to minimize the sum of the damping ratios of all critical oscillation modes, i.e.:

[0092] (25)

[0093] in, N represents the actual damping ratio of the i-th critical oscillation mode under the action of a damping controller designed based on the weighted matrix W; c This represents the number of critical oscillation modes that require attention. By minimizing this objective function, the damping ratio of each mode can be minimized while ensuring that each critical mode meets the minimum damping ratio requirement, thereby avoiding excessive control costs.

[0094] Step 4-3: Establish critical oscillation mode damping ratio constraints

[0095] To ensure the small-signal power angle stability of the system, the damping ratio of each critical oscillation mode must meet the minimum requirement:

[0096] (26)

[0097] In the formula, The preset minimum damping ratio threshold is (set to 10% in this invention).

[0098] Step 4-4: Establish active power limit constraints for new energy sources;

[0099] During damping control, the output power of each new energy source's active power control channel should not exceed the upper limit of its active power regulation capability.

[0100] (27)

[0101] In the formula, U is the damping power of the j-th active power control channel in the i-th oscillation mode of the system; j This represents the upper limit of the adjustable capacity of the j-th renewable energy active power control channel.

[0102] Steps 4-5: Establish reactive power limit constraints for new energy sources;

[0103] During damping control, the output power of each renewable energy reactive power control channel should not exceed the upper limit of its reactive power regulation capability.

[0104] (28)

[0105] In the formula, Let be the damping power of the j-th active power control channel in the i-th oscillation mode of the system; This represents the upper limit of the adjustable capacity of the j-th renewable energy active power control channel.

[0106] Steps 4-6: Establish apparent power constraints for new energy sources

[0107] The apparent power of each new energy source should not exceed the rated capacity of its power electronic devices.

[0108] (29)

[0109] In the formula, S represents the apparent power of the k-th new energy source in the i-th oscillation mode of the system; k This represents the rated power of the kth new energy source.

[0110] Step 4-7: Combining steps 4-2 to 4-6, construct a complete optimization model.

[0111] The complete optimization model can be represented as:

[0112] (30)

[0113] For candidate solutions that do not meet the above constraints, a penalty function method is used to penalize their objective function values. For example, a preset penalty value is added to the objective function to guide the optimization search process toward the feasible region.

[0114] Furthermore, step 5 involves using a genetic algorithm (GA) to optimize the weighting matrix of MLQR and determine the damping coefficient. Specifically:

[0115] Step 5-1: Initialize the genetic algorithm population

[0116] A random set of individuals (candidate solutions) is generated, each individual being encoded by the diagonal elements W of a weighted matrix to be optimized. Genetic algorithm parameters such as population size (200 in this invention), maximum number of iterations (25 generations in this invention), crossover probability, and mutation probability are set.

[0117] Step 5-2: Fitness assessment and constraint handling;

[0118] For each individual in the population (i.e., for each weighted matrix W), perform the following operations:

[0119] Based on the current W, the state feedback control gain matrix C is obtained by solving the algebraic Riccati equation (20), and then the damping coefficients K1 and K2 of each new energy active and reactive control channel are obtained according to equation (23).

[0120] Substitute the damping coefficient into the closed-loop system state matrix A. cl Eigenvalue analysis was performed to extract the damping ratio of each critical oscillation mode. ;

[0121] Calculate the damping power of each control channel under each critical oscillation mode. Apparent power generated by each converter connected to the grid ;

[0122] Calculate the objective function value f(W) according to equation (25);

[0123] Check whether the constraints of equations (26) to (29) are satisfied. If not, apply a penalty to the objective function value using the penalty function method.

[0124] Step 5-3: Optimization solution based on genetic algorithm

[0125] The current population is selected based on fitness values, retaining superior individuals; crossover and mutation operations are then performed on the selected individuals to generate a new generation of population.

[0126] Step 5-4: Iteration termination check;

[0127] Repeat steps 5-2 to 5-3 until the preset maximum number of iterations is reached or the convergence condition is met (such as the optimal fitness value no longer improving within several consecutive generations), and output the optimal weighted matrix W*.

[0128] Step 5-5: Determine the final damping coefficient based on the optimal weighting matrix W*;

[0129] Based on the optimal weighting matrix W*, the algebraic Riccati equation is solved again to obtain the final state feedback control gain C*, and the damping coefficient of each converter's active power control channel is determined according to equation (23). Damping coefficient of reactive power control channel Complete the design of the coordination and control strategy.

[0130] The present invention provides a new energy active / reactive power coordinated control system for oscillation stabilization improvement, comprising:

[0131] Modeling module: Establishing a state-space model of the new energy power system;

[0132] Controller design module: By adding power control to the reference values ​​of active and reactive power of new energy sources, a damped controller is designed using MLQR, and the state feedback control gain is obtained by solving the algebraic Riccati equation;

[0133] Optimization module: Construct an optimization model with the objective of minimizing the sum of damping ratios of all critical oscillation modes, and constrained by the active power, reactive power, and apparent power of new energy sources. Use a genetic algorithm to obtain the parameter optimization results.

[0134] Simulation verification module: Based on the obtained optimization results, analyze the oscillation characteristics of the system before and after the implementation of cooperative control, and verify the effectiveness of the control strategy.

[0135] The present invention also discloses a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method of the present invention.

[0136] The present invention also discloses a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implements the steps of the method of the present invention.

[0137] The present invention also discloses a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the method of the present invention.

[0138] Beneficial Effects: Compared with existing technologies, this invention has the following significant advantages: Based on the Modal Linear Quadratic Regulator (MLQR), this invention treats the weighting matrix of the MLQR as the variable to be optimized and uses the Genetic Algorithm (GA) to solve it, achieving an optimal trade-off between system stability performance and the control cost of converter grid connection. It can specifically enhance weakly damped oscillation modes without affecting other modes. Based on this, a systematic optimization model is developed for designing the parameters of the MLQR. This model fully considers the power limit constraints of different control channels for multiple converters connected to the grid, using the damping ratio of the critical oscillation mode as the main constraint. While ensuring sufficient damping support, it ensures that the active and reactive power of each converter does not exceed the limits, providing a theoretical basis and practical guidance for the small-signal power angle stability control of multi-regional power systems with a high proportion of converters connected to the grid. Attached Figure Description

[0139] Figure 1 This is a flowchart of the method of the present invention;

[0140] Figure 2 This is a network topology diagram of an IEEE 68-node test system with a high proportion of new energy sources.

[0141] Figure 3 A schematic diagram illustrating the reduction of the power system to synchronous generators and new energy nodes;

[0142] Figure 4 This is a schematic diagram of the power limit for new energy sources;

[0143] Figure 5 A comparison chart of the controllability indices of different control channels for oscillation modes in the three critical regions when there is no damping control.

[0144] Figure 6 The convergence curve of the fitness function value during the GA algorithm optimization process;

[0145] Figure 7 This is a schematic diagram of the weighted matrix optimization results;

[0146] Figure 8 A comparison chart of system eigenvalues ​​with and without damping control;

[0147] Figure 9 A comparison diagram of the active power damping of new energy source 1 in operating conditions 1 and 2;

[0148] Figure 10 This is a comparison chart of the reactive power damping power of New Energy 2 in operating conditions 1 and 2.

[0149] Figure 11 This is a comparison chart of the active power damping power of new energy source 1 in operating conditions 2 and 3.

[0150] Figure 12 This is a comparison chart of the reactive power damping power of new energy source 2 in operating conditions 2 and 3.

[0151] Figure 13 This is a comparison chart of the apparent power of new energy vehicle 2 in operating conditions 2 and 3. Detailed Implementation

[0152] The technical solution of the present invention will be further described below with reference to the accompanying drawings.

[0153] Example 1: As Figure 1 As shown, the method of the present invention includes the following steps:

[0154] This invention utilizes a simulation model built on the MATLAB / Simulink platform. Based on the IEEE 68-bus system, the system connects renewable energy power plants at bus 54, bus 61, and bus 41. The IEEE 68-bus system is a standard test system comprising 16 synchronous generators and 68 buses, widely used in research on electromechanical oscillation damping control in power systems. Each renewable energy power plant has an active power of 5 pu and a reactive power of 3 pu during steady-state operation, with a virtual time constant of 0.2 s for the power control loop. The minimum damping ratio threshold required by the system is set to... . Figure 2 The network topology of the test system is shown, with the access locations of the three new energy power stations highlighted in red.

[0155] Step 1: Establish the state-space model of the new energy power system, specifically including:

[0156] Step 1.1: The mathematical model of the synchronous generator is expressed using a classical second-order model as follows:

[0157] (1)

[0158] In the formula, This is the rotor power angle vector of the synchronous generator. This is the rotor speed vector of the synchronous generator. As the baseline value; This is the inertia coefficient matrix; Here is the damping coefficient matrix; This is the mechanical power input vector of the synchronous generator; N is the electromagnetic power output vector of the synchronous generator; g This represents the number of synchronous generators.

[0159] When the system does not contain new energy sources, the electromagnetic power P of the i-th synchronous generator is... ei It can be calculated using the following formula:

[0160] (2)

[0161] In the formula, E i G represents the constant internal potential after the transient reactance of the i-th synchronous generator; ij B is the self-conductance between node i and node j; ij The self-susceptance between node i and node j; Let be the phase difference between synchronous generator i and synchronous generator j.

[0162] Linearizing equation (1) near the steady-state operating point, we get:

[0163] (3)

[0164] In the formula, Δ represents a small deviation.

[0165] When new energy sources are added to the system, the original power system network undergoes node elimination processing, retaining only N. g Synchronous generator nodes and N v Each new energy node, see Figure 3 At this time, the electromagnetic power P of the i-th synchronous generator is... ei It can be rewritten as follows:

[0166] (4)

[0167] In the formula, V j and θ j G represents the voltage amplitude and voltage phase angle of the j-th renewable energy node, respectively; GGij and B GGij These represent the equivalent conductance and susceptance between nodes i and j of the synchronous generator, respectively; G GVij and B GVij These are the equivalent conductance and susceptance between synchronous generator node i and new energy node j, respectively.

[0168] The active power P at the new energy node i vi and reactive power injection Qvi It can be represented by a similar power flow equation.

[0169] Step 1.2: Power Flow Model of New Energy Power System

[0170] The active and reactive power flow equations of each node in a new energy power system can be linearized near the steady-state operating point and expressed in the following compact form:

[0171] (5)

[0172] In the formula, Inject vectors into the active power of new energy sources; Injecting vectors into the reactive power of new energy sources. and These represent the voltage phase angle and voltage amplitude vector of the new energy node, respectively. Each block matrix J... 11 J 12 J 13 J 21 J 22 J 23 J 31 J 32 J 33 These are the partial derivative matrices between the corresponding variables.

[0173] According to equation (5), the change in the electromagnetic power of the generator can be... Represented as , and The function. First, based on the second and third rows of equation (5), and Represented as , and Functions:

[0174] (6)

[0175] in:

[0176] (7)

[0177] Substituting equation (7) into the first row of equation (5), we get:

[0178] (8)

[0179] in:

[0180] (9)

[0181] Step 1.3: Dynamic Model of a Single New Energy Source

[0182] Based on the active and reactive power control strategies of new energy sources, their dynamics are represented by an equivalent first-order inertial element. The dynamic model of the active and reactive power of the i-th new energy source is as follows:

[0183] (10)

[0184] In the formula, T ci Let be the virtual time constant of the i-th renewable energy power control loop; and These are the reference values ​​for the active and reactive power of the i-th new energy source, respectively.

[0185] Linearizing equation (10) near the steady-state operating point, we get:

[0186] (11)

[0187] Step 1.4: State-space model of new energy power system

[0188] By combining equations (3), (8), and (11), we can obtain the overall state-space model of the new energy power system:

[0189] (12)

[0190] In the formula, This is a vector of system state variables; A is the system control input vector; A is the system state matrix; B is the system input matrix.

[0191] The specific form of the system state-space model is as follows:

[0192] (13)

[0193] In the formula, I is the virtual time constant matrix of the new energy power control loop; Ng For N g 3D identity matrix.

[0194] Step 2: Construct an active / reactive power additional damping control model for new energy sources, specifically as follows:

[0195] To improve the electromechanical oscillation stability of new energy power systems, this invention proposes superimposing an additional damping control signal onto the power reference value of the new energy source. The power reference value for grid-connected new energy generation can be expressed as:

[0196] (14)

[0197] In the formula, The steady-state component of the active power reference value; The steady-state component of the reactive power reference value; and These are the reference values ​​for additional active and reactive power, respectively, used to provide damping. Their expressions are:

[0198] (15)

[0199] In the formula, K1 is the damping coefficient matrix of the active power control channel of new energy; K2 is the damping coefficient matrix of the reactive power control channel of new energy.

[0200] Linearize equation (15) near the steady-state operating point:

[0201] (16)

[0202] Substituting equation (16) into the state-space model of equation (13), we obtain the state equation of the closed-loop system:

[0203] (17)

[0204] Comparing the open-loop state matrix of equation (13) with the closed-loop state matrix of equation (17), it can be found that the additional damping control signal changes the state matrix of the system. The relevant columns indicate that the system's characteristic values ​​(i.e., electromechanical oscillation modes) can be controlled by adjusting the values ​​of damping coefficients K1 and K2; This is the coefficient matrix of the state equations for the closed-loop system.

[0205] Step 3: Design a damping controller based on the Modal Linear Quadratic Regulator (MLQR), specifically as follows:

[0206] Step 3-1: Define the quadratic performance index for designing the damping controller

[0207] For the system described by equation (12), an MLQR damping controller is designed. Unlike traditional linear quadratic regulators, MLQR introduces a mode transformation matrix L, enabling the controller to control specific oscillation modes. The trade-off between system stability performance and converter grid-connected power generation control costs is achieved by minimizing the following quadratic cost function:

[0208] (18)

[0209] In the formula, and These are the system state weighting matrix and the control input weighting matrix in diagonal form, respectively, with their diagonal elements used to apply different penalty weights to different state variables and control inputs; L is the mapping matrix derived from the real Schur decomposition of the system state matrix A.

[0210] Step 3-2: Construct a mapping matrix L to achieve targeted control of the oscillation mode.

[0211] According to the real Schur decomposition, the mapping matrix L satisfies:

[0212] (19)

[0213] In the formula, For a modal variable vector, each component Corresponding to a specific oscillation mode. By only considering W Q By assigning non-zero weights to the diagonal elements corresponding to the critical oscillation mode and setting all other diagonal elements to zero, the damping ratio of weakly damped oscillation modes can be enhanced in a targeted manner, while ensuring that oscillation modes with good damping are not affected.

[0214] Step 3-3: Solve the algebraic Riccati equation to obtain the state feedback control gain.

[0215] For a given weighting matrix W Q and W R The matrix minimizes the cost function shown in equation (18), and the optimal control law is a linear state feedback. Therefore, the following algebraic Riccati equation needs to be solved:

[0216] (20)

[0217] In the formula, The system state weighting matrix is ​​obtained by inverse transformation of the modal weighting matrix; R=W R P is a positive definite solution to the algebraic Riccati equation.

[0218] The final control law is:

[0219] (twenty one)

[0220] In the formula, This is the state feedback control gain matrix.

[0221] Steps 3-4: Extract the damping coefficients of the active and reactive power control channels of each new energy source from the control gain matrix C;

[0222] Based on the relationship between the control input vector u and the change in active / reactive power reference values ​​in equations (21) and (12), the control gain matrix C is divided into corresponding blocks. Let C be written in block form:

[0223] (twenty two)

[0224] Each block corresponds to a state variable. , , and The feedback gain of the function. Since the additional damping control shown in equation (15) is only related to the speed deviation. Therefore, the damping coefficients K1 and K2 of the active and reactive power control channels can be directly derived from... Block extraction:

[0225] (twenty three)

[0226] In the formula, for The row corresponding to the active power control channel; for The row corresponding to the reactive power control channel.

[0227] Step 4: Construct an optimization model constrained by the critical oscillation mode damping ratio and the power limit of the new energy converter, specifically as follows:

[0228] Step 4-1: Determine the variable to be optimized

[0229] The weighting matrix W of MLQR Q and W R The diagonal elements form a vector W, which is used as the variable to be optimized, i.e.:

[0230] (twenty four)

[0231] In the formula, , , ..., For W Q The diagonal elements, n=2N g +2N v This represents the total number of system state variables. , , ..., For W R The diagonal elements, 2N v To control the total number of input variables (each new energy source has two control channels: active and reactive).

[0232] Step 4-2: Establish the optimization control objective function

[0233] The optimization objective is to minimize the sum of the damping ratios of all critical oscillation modes, i.e.:

[0234] (25)

[0235] in, N represents the actual damping ratio of the i-th critical oscillation mode under the action of a damping controller designed based on the weighted matrix W; cThis represents the number of critical oscillation modes that require attention. By minimizing this objective function, the damping ratio of each mode can be minimized while ensuring that each critical mode meets the minimum damping ratio requirement, thereby avoiding excessive control costs.

[0236] Step 4-3: Establish critical oscillation mode damping ratio constraints

[0237] To ensure the small-signal power angle stability of the system, the damping ratio of each critical oscillation mode must meet the minimum requirement:

[0238] (26)

[0239] In the formula, The preset minimum damping ratio threshold is (set to 10% in this invention).

[0240] Step 4-4: Establish active power limit constraints for new energy sources;

[0241] During damping control, the output power of each new energy source's active power control channel should not exceed the upper limit of its active power regulation capability.

[0242] (27)

[0243] In the formula, U is the damping power of the j-th active power control channel in the i-th oscillation mode of the system; j This represents the upper limit of the adjustable capacity of the j-th renewable energy active power control channel.

[0244] Steps 4-5: Establish reactive power limit constraints for new energy sources;

[0245] During damping control, the output power of each renewable energy reactive power control channel should not exceed the upper limit of its reactive power regulation capability.

[0246] (28)

[0247] In the formula, Let be the damping power of the j-th active power control channel in the i-th oscillation mode of the system; This represents the upper limit of the adjustable capacity of the j-th renewable energy active power control channel.

[0248] Steps 4-6: Establish apparent power constraints for new energy sources

[0249] The apparent power of each new energy source should not exceed the rated capacity of its power electronic devices.

[0250] (29)

[0251] In the formula, S represents the apparent power of the k-th new energy source in the i-th oscillation mode of the system; k This represents the rated power of the kth new energy source.

[0252] Step 4-7: Combining steps 4-2 to 4-6, construct a complete optimization model.

[0253] The complete optimization model can be represented as:

[0254] (30)

[0255] For candidate solutions that do not meet the above constraints, a penalty function method is used to penalize their objective function values. For example, a preset penalty value is added to the objective function to guide the optimization search process toward the feasible region.

[0256] To clearly illustrate the above power limits, taking the case where both active and reactive power are positive as an example, the power limit constraints for new energy sources can be described as follows: the active power limit is determined by the modulation capacity (corresponding to the active power regulation limit), the reactive power limit is determined by the voltage regulation requirements, and the apparent power limit is determined by the rated capacity of the power electronic devices. Therefore, the permissible operating range of CIG is jointly defined by the above three limits, such as... Figure 4 As shown, active power limits are represented by blue lines, reactive power limits by orange lines, and apparent power limits by red lines. When providing damping, the active and reactive power additional control signals of the CIG can be positive or negative depending on the specific operating conditions, but regardless of the operating conditions, the operating point must fall within the feasible area enclosed by the three limit lines.

[0257] Step 5: Use the Genetic Algorithm (GA) to optimize the weighting matrix of MLQR and determine the damping coefficients, specifically:

[0258] Step 5-1: Initialize the genetic algorithm population

[0259] A random set of individuals (candidate solutions) is generated, each individual being encoded by the diagonal elements W of a weighted matrix to be optimized. Genetic algorithm parameters such as population size (200 in this invention), maximum number of iterations (25 generations in this invention), crossover probability, and mutation probability are set.

[0260] Step 5-2: Fitness assessment and constraint handling;

[0261] For each individual in the population (i.e., for each weighted matrix W), perform the following operations:

[0262] Based on the current W, the state feedback control gain matrix C is obtained by solving the algebraic Riccati equation (20), and then the damping coefficients K1 and K2 of each new energy active and reactive control channel are obtained according to equation (23).

[0263] Substitute the damping coefficient into the closed-loop system state matrix A. cl Eigenvalue analysis was performed to extract the damping ratio of each critical oscillation mode. ;

[0264] Calculate the damping power of each control channel under each critical oscillation mode. Apparent power generated by each converter connected to the grid ;

[0265] Calculate the objective function value f(W) according to equation (25);

[0266] Check whether the constraints of equations (26) to (29) are satisfied. If not, apply a penalty to the objective function value using the penalty function method.

[0267] Step 5-3: Optimization solution based on genetic algorithm

[0268] The current population is selected based on fitness values, retaining superior individuals; crossover and mutation operations are then performed on the selected individuals to generate a new generation of population.

[0269] Step 5-4: Iteration termination check;

[0270] Repeat steps 5-2 to 5-3 until the preset maximum number of iterations is reached or the convergence condition is met (such as the optimal fitness value no longer improving within several consecutive generations), and output the optimal weighted matrix W*.

[0271] Step 5-5: Determine the final damping coefficient based on the optimal weighting matrix W*;

[0272] Based on the optimal weighting matrix W*, the algebraic Riccati equation is solved again to obtain the final state feedback control gain C*, and the damping coefficient of each converter's active power control channel is determined according to equation (23). Damping coefficient of reactive power control channel Complete the design of the coordination and control strategy.

[0273] Step 6: Verify the effectiveness and sophistication of the proposed control strategy.

[0274] To verify the effectiveness of the coordinated control strategy proposed in this invention, modal analysis was first performed on the system without applying damping control, and three inter-regional oscillation modes with damping ratios below 10% were identified, as shown in Table 1.

[0275] Table 1. Characteristics of the three critical interval oscillation modes under undamped control.

[0276]

[0277] To further analyze the impact of different new energy power generation control channels on various critical oscillation modes, a controllability index is introduced to evaluate the influence of each control channel on different oscillation modes:

[0278] (31)

[0279] In the formula, b represents the controllability index of the i-th oscillation mode and the k-th control channel; k The k-th column of the system input matrix B; W i Let be the left eigenvector corresponding to the i-th oscillation mode. This index is used to characterize the damping ability of the k-th control channel on the i-th oscillation mode. The larger the index value, the more significant the damping effect of the control channel on the corresponding oscillation mode.

[0280] In this embodiment, there are a total of six control channels. The first to third control channels correspond to the active power control channels of the three new energy power plants, and the fourth to sixth control channels correspond to the reactive power control channels of the three new energy power plants. Figure 5 The controllability indices of six control channels for oscillation modes between three critical regions are presented. Figure 5 It is evident that for each critical oscillation mode, there exists at least one control channel capable of providing effective damping. For example, for mode 2, control channels 1 through 5 all possess a certain damping capability, indicating that damping can be provided not only through the active power control of the CIG but also through its reactive power control. Therefore, it is feasible for multiple active and reactive power control channels of the CIG to coordinately participate in power oscillation damping control.

[0281] To verify the effectiveness of the control parameter design strategy proposed in this invention, the following three comparative operating conditions were designed:

[0282] Operating Condition 1: Without considering the power limit of new energy sources, the constraint is only that the damping ratio of the critical oscillation mode reaches 10%.

[0283] Operating Condition 2: Based on Operating Condition 1, add the active power limit constraint for New Energy 1 (the upper limit of active power damping is set to 0.2 pu).

[0284] Operating Condition 3: Based on Operating Condition 2, add reactive power limit constraints (reactive power damping upper limit set to 0.2 pu) and apparent power constraints (rated capacity set to 6 pu) for New Energy 2.

[0285] In operating condition 1, only the damping ratio constraint of the critical oscillation mode is considered. Based on the proposed method of optimizing the weighting matrix of the modal linear quadratic regulator using a genetic algorithm, the following optimization model is established:

[0286] (32)

[0287] In the formula, W is the diagonal element vector of the weighting matrix to be optimized in the modal linear quadratic regulator; The actual damping ratio for the i-th critical oscillation mode after designing a damping controller based on the weighted matrix W.

[0288] The optimization solution was obtained using a genetic algorithm and a direct search toolkit. The population size for the genetic algorithm was set to 200, and the maximum number of iterations was set to 25 generations. Figure 6 The variation of the fitness function value with the number of iterations is shown. Figure 6 It can be seen that the fitness function value converges to about 30.5 within 25 generations, indicating that the genetic algorithm can effectively search for the weighted matrix parameters that meet the damping ratio requirements. Figure 7 The values ​​of each element in the diagonal element vector W of the optimized weighting matrix are given, based on which the state weighting matrix W of the modal linear quadratic regulator can be determined. Q and control input weighting matrix W R .

[0289] After obtaining the optimal weighting matrix, the state feedback control gain is obtained based on the modal linear quadratic regulator, and the damping coefficients of the active and reactive power control channels of the three renewable energy power plants are further determined. After the designed damping controller is put into the system, the eigenvalues ​​of the closed-loop system state matrix are calculated again. Figure 8 A comparison of system characteristic values ​​with and without damping control according to this invention is presented, where the two diagonal lines in the figure represent the 10% damping ratio boundary. Figure 8 It can be seen that after the damping controller designed in this invention is applied, the damping ratio of the oscillation modes in the three critical regions is increased to more than 10%, which meets the preset damping performance requirements. At the same time, other oscillation modes with better damping performance are basically unaffected, indicating that this invention can specifically enhance the weak damping mode without significantly changing the dynamic characteristics of the non-target mode.

[0290] In operating condition 2, to account for the limited active power reserve capacity of the CIG in actual engineering projects, an active power limit constraint for CIG1 is added to the operating condition 1. The optimization problem is then modified to:

[0291] (33)

[0292] In the formula, U1 represents the active damping power of new energy source 1 when the i-th oscillation mode is activated; U1 is its adjustable active power upper limit, and in this embodiment, U1 = 0.2pu is taken.

[0293] After re-optimizing the weighting matrix and designing the damping controller using the method of this invention, the damping ratios of the oscillation modes in the three critical regions were increased to 10.43%, 10.00%, and 10.17%, respectively, all of which meet the minimum damping ratio requirement of 10%. Figure 9 The active damping power of CIG1 when mode 2 is activated in operating conditions 1 and 2 was compared. Figure 9 It can be seen that in operating condition 1 without considering the power limit, the peak active power damping power of CIG1 reaches about 0.3 pu, which exceeds the active power adjustment limit of 0.2 pu; while in operating condition 2, which adopts the method of the present invention and considers the active power limit constraint, the active power damping power is successfully limited to within 0.2 pu.

[0294] At the same time, the coordinated control method proposed in this invention can redistribute some of the damping control quantity to other control channels that still have damping capabilities. Figure 10 The comparison results of the reactive power damping power of new energy source 2 in operating conditions 1 and 2 are presented. Figure 10 It can be seen that in operating condition 2, due to the limited active power of new energy source 1, more damping support is allocated to the reactive power control channel of new energy source 2. Combined with... Figure 5 The controllability indicators show that the reactive power control channel has strong controllability under mode 2, thus enabling it to continue providing effective damping support to the system even when the active power of renewable energy source 1 is limited. This result demonstrates that the present invention can coordinate other active or reactive power control channels to participate in damping control when a single control channel is limited.

[0295] In operating condition 3, in addition to continuing to consider the active power limit of CIG1, the reactive power limit and apparent power rated capacity constraint of CIG2 are further added. The optimization problem is then modified to:

[0296] (34)

[0297] In the formula, U represents the reactive power damping power of new energy source 2 when the i-th oscillation mode is activated; U5 is the upper limit of the adjustable reactive power of the reactive power control channel, and in this embodiment, U5 = 0.2pu. S5 represents the apparent power of new energy source 2 when the i-th oscillation mode is excited; S2 is the rated power capacity of new energy source 2, and in this embodiment, S5 = 6 p.u. is taken.

[0298] By solving the above optimization problem, a new optimal weighting matrix is ​​obtained, and the damping control parameters of the modal linear quadratic regulator are redesigned accordingly. Eigenvalue analysis of the closed-loop system shows that, considering the limits of active power from new energy sources, reactive power, and apparent power rated capacity, the oscillation modes in the three critical regions can still meet the minimum damping ratio requirement of 10%.

[0299] Figure 11 The active damping power of CIG1 when mode 2 is activated in operating conditions 2 and 3 was compared. Figure 11 It can be seen that under both operating conditions, the active power damping power of New Energy 1 is limited to within 0.2 pu, indicating that the active power limit constraint is met.

[0300] Figure 12 The reactive power damping power of renewable energy source 2 was compared when mode 2 was activated in operating conditions 2 and 3. Figure 12 It can be seen that in operating condition 2, since the reactive power limit of new energy 2 has not been considered, its reactive power damping power peak is about 0.42 pu, which exceeds the reactive power adjustment limit of 0.2 pu; while in operating condition 3, after adopting the method of the present invention, the reactive power damping power peak of new energy 2 is reduced to about 0.11 pu, which meets the reactive power limit requirement of 0.2 pu.

[0301] Figure 13 The apparent power variation of renewable energy source 2 was further compared when mode 2 was activated in operating conditions 2 and 3. Figure 13 It can be seen that in operating condition 2, the apparent power of new energy 2 exceeds the rated capacity of 6 pu; while in operating condition 3, the apparent power of new energy 2 is constrained to within 6 pu, meeting the rated capacity requirements of power electronic devices.

[0302] In summary, this embodiment demonstrates that the converter grid-connected active and reactive power coordinated control method considering small-signal power angle stability proposed in this invention can quantitatively design the damping coefficients of multiple new energy active and reactive power control channels by optimizing the weighting matrix of the modal linear quadratic regulator based on a genetic algorithm. Without considering power limits, this invention can increase the damping ratio of the oscillation modes between critical regions of the system to above a preset requirement. Considering a single active power limit, this invention can constrain the damping power of the restricted control channel within an allowable range and coordinate the allocation of damping support to other effective control channels. Even when considering active power limits, reactive power limits, and apparent power rated capacity constraints simultaneously, this invention can still ensure that the system achieves the required damping performance and that the output power of new energy sources does not exceed the corresponding power limits.

[0303] Therefore, this invention can ensure the stability of small-signal power angle in multi-regional power systems while fully considering the actual power regulation capability and rated capacity limitations of new energy sources, and realize coordinated damping control between multiple active and reactive power control channels of new energy sources, thus having good engineering application value.

[0304] Example 2:

[0305] A new energy active / reactive power coordinated control system with oscillation-stabilized improvement includes:

[0306] Modeling module: Establishing a state-space model of the new energy power system;

[0307] Controller design module: By adding power control to the reference values ​​of active and reactive power of new energy sources, a damped controller is designed using MLQR, and the state feedback control gain is obtained by solving the algebraic Riccati equation;

[0308] Optimization module: Construct an optimization model with the objective of minimizing the sum of damping ratios of all critical oscillation modes, and constrained by the active power, reactive power, and apparent power of new energy sources. Use a genetic algorithm to obtain the parameter optimization results.

[0309] Simulation verification module: Based on the obtained optimization results, analyze the oscillation characteristics of the system before and after the implementation of cooperative control, and verify the effectiveness of the control strategy.

[0310] For specific implementation schemes of each module of the system of the present invention, please refer to the specific implementation process of the method described in Example 1.

[0311] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0312] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0313] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0314] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0315] The above description is only a preferred embodiment of the present invention. It should be noted that the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A new energy active / reactive power coordinated control method for oscillating and stabilizing improvement, characterized in that, Includes the following steps: Step 1: Based on the operating parameters of synchronous generators, establish an electromechanical dynamic model of synchronous generators in a multi-regional power system. The active power injection and reactive power injection of generator nodes are represented by power flow equations. After linearization, establish a state-space model of the new energy power system. Step 2: Superimpose a damping control signal onto the power reference value of the new energy source to construct an active / reactive additional damping control model for the new energy source; Step 3: Design a damping controller based on the modal linear quadratic regulator MLQR, construct the mapping matrix L to achieve targeted control of the oscillation mode, solve the algebraic Riccati equation to obtain the state feedback control gain, and extract the damping coefficients of the active and reactive power control channels of each new energy source. Step 4: Construct an optimization model constrained by the critical oscillation mode damping ratio and the power limit of new energy sources; Step 5: Use the genetic algorithm (GA) to optimize the weighting matrix of MLQR and determine the damping coefficient to achieve coordinated control of active and reactive power of new energy sources.

2. The new energy active / reactive power coordinated control method for oscillation stabilization improvement according to claim 1, characterized in that, Step 1 specifically includes the following steps: Step 1.1: The mathematical model of the synchronous generator is expressed using a classical second-order model as follows: (1) In the formula, This is the rotor power angle vector of the synchronous generator. This is the rotor speed vector of the synchronous generator. As the baseline value; This is the inertia coefficient matrix; Here is the damping coefficient matrix; This is the mechanical power input vector of the synchronous generator; N is the electromagnetic power output vector of the synchronous generator; g This refers to the number of synchronous generators; When the system does not contain new energy sources, the electromagnetic power P of the i-th synchronous generator is... ei Calculated by the following formula: (2) In the formula, E i G represents the constant internal potential after the transient reactance of the i-th synchronous generator; ij B is the self-conductance between node i and node j; ij The self-susceptance between node i and node j; Let be the phase difference between synchronous generator i and synchronous generator j; Linearizing equation (1) near the steady-state operating point, we get: (3) In the formula, Δ represents a small deviation; When new energy sources are added to the system, the original power system network undergoes node elimination processing, retaining only N. g Synchronous generator nodes and N v At a new energy node, the electromagnetic power P of the i-th synchronous generator is... ei Rewritten as follows: (4) In the formula, V j and θ j G represents the voltage amplitude and voltage phase angle of the j-th renewable energy node, respectively; GGij and B GGij These represent the equivalent conductance and susceptance between nodes i and j of the synchronous generator, respectively; G GVij and B GVij These are the equivalent conductance and susceptance between synchronous generator node i and new energy node j, respectively. The active power P at the new energy node i vi and reactive power injection Q vi It can be expressed using similar power flow equations; Step 1.2: The active and reactive power flow equations of each node in the new energy power system are linearized near the steady-state operating point and expressed in the following compact form: (5) In the formula, Inject vectors into the active power of new energy sources; Injecting vectors into the reactive power of new energy sources. and These represent the voltage phase angle and voltage magnitude vector of the new energy node, respectively, and the block matrix J. 11 J 12 J 13 J 21 J 22 J 23 J 31 J 32 J 33 These are the partial derivative matrices between the corresponding variables; According to equation (5), the change in electromagnetic power of the synchronous generator is... Represented as , and The function, firstly, based on the second and third rows of equation (5), will and Represented as , and Functions: (6) in: (7) Substituting equation (7) into the first line of equation (5), we get: (8) in: (9) Step 1.3: Based on the active and reactive power control strategies of the new energy sources, their dynamics are represented by an equivalent first-order inertial element. The dynamic model of the active and reactive power of the i-th new energy source is as follows: (10) In the formula, T ci Let be the virtual time constant of the i-th renewable energy power control loop; and These are the reference values ​​for the active and reactive power of the i-th new energy source, respectively; Linearizing equation (10) near the steady-state operating point, we get: (11) Step 1.4: By combining equations (3), (8), and (11), the overall state-space model of the new energy power system is obtained: (12) In the formula, This is a vector of system state variables; A is the system control input vector; B is the system state matrix; C is the system input matrix. The specific form of the state-space model of a new energy power system is as follows: (13) In the formula, I is the virtual time constant matrix of the new energy power control loop; Ng For N g 3D identity matrix.

3. The new energy active / reactive power coordinated control method for oscillation stabilization improvement according to claim 1, characterized in that, Step 2 is as follows: To improve the electromechanical oscillation stability of the renewable energy power system, an additional damping control signal is superimposed on the power reference value of the renewable energy source. The power reference value for renewable energy grid-connected power generation is expressed as: (14) In the formula, The steady-state component of the active power reference value; The steady-state component of the reactive power reference value; and These are reference values ​​for additional active and reactive power, respectively, used to provide damping, and their expressions are: (15) In the formula, K1 is the damping coefficient matrix of the active power control channel of new energy; K2 is the damping coefficient matrix of the reactive power control channel of new energy. Linearize equation (15) near the steady-state operating point: (16) Substituting equation (16) into the state-space model of equation (13), we obtain the state equation of the closed-loop system: (17) Comparing the open-loop state matrix of equation (13) with the closed-loop state matrix of equation (17), it can be found that the additional damping control signal changes the state matrix of the system. The relevant columns indicate that the system's characteristic values, i.e., the electromechanical oscillation mode, can be controlled by adjusting the values ​​of damping coefficients K1 and K2; This is the coefficient matrix of the state equations for the closed-loop system.

4. The new energy active / reactive power coordinated control method for oscillation stabilization improvement according to claim 3, characterized in that, Step 3 specifically includes the following steps: Step 3-1: Define the quadratic performance index for designing the damping controller. For the system described by equation (12), the damping controller is designed using MLQR. MLQR introduces the mode transformation matrix L to enable the controller to control specific oscillation modes. The trade-off between system stability performance and converter grid-connected power generation control cost is achieved by minimizing the following quadratic cost function: (18) In the formula, and These are the system state weighting matrix and the control input weighting matrix in diagonal form, respectively, with their diagonal elements used to apply different penalty weights to different state variables and control inputs; L is the mapping matrix derived from the real Schur decomposition of the system state matrix A; Step 3-2: Construct a mapping matrix L to achieve targeted control of the oscillation mode. According to the real Schur decomposition, the mapping matrix L satisfies: (19) In the formula, For a modal variable vector, each component Corresponding to a specific oscillation mode, by only applying W Q The diagonal elements corresponding to the critical oscillation mode are assigned non-zero weights, while all other diagonal elements are set to zero. This achieves a targeted enhancement of the damping ratio of the weakly damped oscillation mode, while ensuring that the oscillation mode with good damping is not affected. Step 3-3: Solve the algebraic Riccati equation to obtain the state feedback control gain for a given weighting matrix W. Q and W R The matrix minimizes the cost function shown in equation (18), and the optimal control law is a linear state feedback. Solve the following algebraic Riccati equation: (20) In the formula, The system state weighting matrix is ​​obtained by inverse transformation of the modal weighting matrix; R=W R P is a positive definite solution to the algebraic Riccati equation; The final control law is: (21) In the formula, The state feedback control gain matrix; Steps 3-4: Extract the damping coefficients of the active and reactive power control channels of each new energy source from the control gain matrix C; according to the relationship between the control input vector u and the change in active / reactive power reference values ​​in equations (21) and (12), divide the control gain matrix C into corresponding blocks, and let C be written in block form: (22) Each block corresponds to a state variable. , , and The feedback gain of the function, since the additional damping control shown in equation (15) is only related to the speed deviation. Relatedly, the damping coefficients K1 and K2 of the active and reactive power control channels are determined by... Block extraction: (23) In the formula, for The row corresponding to the active power control channel; for The row corresponding to the reactive power control channel.

5. The new energy active / reactive power coordinated control method for oscillation stabilization improvement according to claim 1, characterized in that, Step 4 specifically includes the following steps: Step 4-1: Determine the variables to be optimized and calculate the weighting matrix W of MLQR. Q and W R The diagonal elements form a vector W, which is used as the variable to be optimized, i.e.: (24) In the formula, , , ..., For W Q The diagonal elements, n=2N g +2N v This represents the total number of system state variables. , , ..., For W R The diagonal elements, 2N v To control the total number of input variables, each new energy source has two control channels: active power and reactive power. Step 4-2: Establish the optimization control objective function, with the goal of minimizing the sum of damping ratios of all critical oscillation modes, i.e.: (25) in, N represents the actual damping ratio of the i-th critical oscillation mode under the action of a damping controller designed based on the weighted matrix W; c The number of critical oscillation modes that require attention; Step 4-3: Establish damping ratio constraints for critical oscillation modes. To ensure the small-signal power angle stability of the system, the damping ratio of each critical oscillation mode must meet the minimum requirements: (26) In the formula, This is the preset minimum damping ratio threshold; Step 4-4: Establish active power limit constraints for new energy sources; during damping control, the output power of each new energy source's active power control channel should not exceed the upper limit of its active power regulation capability. (27) In the formula, U is the damping power of the j-th active power control channel in the i-th oscillation mode of the system; j This represents the upper limit of the adjustable capacity of the j-th renewable energy active power control channel; Steps 4-5: Establish reactive power limit constraints for new energy sources; during damping control, the output power of each new energy reactive power control channel should not exceed the upper limit of its reactive power regulation capability. (28) In the formula, Let be the damping power of the j-th active power control channel in the i-th oscillation mode of the system; This represents the upper limit of the adjustable capacity of the j-th renewable energy active power control channel; Steps 4-6: Establish apparent power constraints for new energy sources; the apparent power of each new energy source should not exceed the rated capacity of its power electronic devices. (29) In the formula, S represents the apparent power of the k-th new energy source in the i-th oscillation mode of the system; k This represents the rated power of the kth new energy source. Step 4-7: Combining steps 4-2 to 4-6, construct a complete optimization model, represented as: (30) For candidate solutions that do not meet the above constraints, a penalty function method is used to impose a penalty on their objective function value.

6. The new energy active / reactive power coordinated control method for oscillation stabilization improvement according to claim 1, characterized in that, Step 5 specifically includes the following steps: Step 5-1: Initialize the genetic algorithm population by randomly generating a set of individuals, i.e., candidate solutions. Each individual is encoded by the diagonal elements W of a weighted matrix to be optimized. Set the genetic algorithm parameters such as population size, maximum number of iterations, crossover probability, and mutation probability. Step 5-2: Fitness Assessment and Constraint Handling; For each individual in the population, i.e., each weighted matrix W, perform the following operations: Based on the current W, the state feedback control gain matrix C is obtained by solving the algebraic Riccati equation (20), and then the damping coefficients K1 and K2 of each new energy active and reactive control channel are obtained according to equation (23). Substitute the damping coefficient into the closed-loop system state matrix A. cl Eigenvalue analysis was performed to extract the damping ratio of each critical oscillation mode. ; Calculate the damping power of each control channel under each critical oscillation mode. Apparent power generated by each converter connected to the grid ; Calculate the objective function value f(W) according to equation (25); Check whether the constraints of equations (26) to (29) are satisfied. If not, apply a penalty to the objective function value using the penalty function method. Step 5-3: Optimize the solution based on the genetic algorithm, select individuals from the current population based on their fitness values, and retain superior individuals; perform crossover and mutation operations on the selected individuals to generate a new generation of population; Step 5-4: Iteration termination judgment; Repeat steps 5-2 to 5-3 until the preset maximum number of iterations is reached or the convergence condition is met, and output the optimal weighting matrix W*. Step 5-5: Determine the final damping coefficient based on the optimal weighting matrix W*; Based on the optimal weighting matrix W*, the algebraic Riccati equation is solved again to obtain the final state feedback control gain C*, and the damping coefficient of each converter's active power control channel is determined according to equation (23). Damping coefficient of reactive power control channel Complete the design of the coordination and control strategy.

7. A new energy active / reactive power coordinated control system for oscillating and stabilizing improvement, used to implement the method as described in claim 1, characterized in that, include: Modeling module: Establishing a state-space model of the new energy power system; Controller design module: By adding power control to the reference values ​​of active and reactive power of new energy sources, a damped controller is designed using MLQR, and the state feedback control gain is obtained by solving the algebraic Riccati equation; Optimization module: Construct an optimization model with the objective of minimizing the sum of damping ratios of all critical oscillation modes, and constrained by the active power, reactive power, and apparent power of new energy sources. Use a genetic algorithm to obtain the parameter optimization results. Simulation verification module: Based on the obtained optimization results, analyze the oscillation characteristics of the system before and after the implementation of cooperative control, and verify the effectiveness of the control strategy.

8. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method of claim 1.

9. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method of claim 1.

10. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method of claim 1.