Controller parameter optimization method and system based on transient stability domain maximization
Through virtual synchronous generator control and Lyapunov function optimization, the problem of poor transient stability of the power system is solved, and the transient stability domain of the power system is maximized and the stability improvement of the power system is improved.
Patent Information
- Application Number
- CN202411005455.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-07-25
AI Technical Summary
The existing power systems have poor transient stability in high interference environments, and traditional parameter optimization methods have large calculations and low efficiency, making it difficult to effectively improve the transient stability domain of multi-machine systems.
The state equation of multi-machine system is constructed using virtual synchronous generator control, and the square sum planning algorithm is used to obtain the stable domain enlargement Lyapnov function, and the parameters of Lyapnov function are optimized by simulating the internal domain expansion parameter optimization algorithm, and the network structure is redesigned. Controller parameters to maximize transient stable domain.
It improves the transient stability of the power system, simplifies the calculation process, reduces the calculation cost, and improves the solution efficiency of the Liyapunov function and the compatibility of parameter optimization.
Smart Images

Figure CN118963117A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of controller parameter design, and in particular to a controller parameter optimization method and system based on maximizing transient stability domain. Background Art
[0002] As the proportion of new energy in the energy supply system gradually increases, the grid structure dominated by synchronous machines on the original generator side has undergone substantial changes, and power electronic equipment dominated by voltage source converters has shown a trend of high penetration. It is of great value to study the stability mechanism and control technology of voltage source converters under the background of widespread application of power electronic equipment. However, the application of a high proportion of power electronic equipment in the power system has caused a qualitative change in the power system at the physical level, which is reflected in the reduction of the physical entity of the rotor, resulting in a significant decrease in the stored kinetic energy and a deterioration in the system's ability to resist disturbances. Under large disturbances, the dynamic behavior and mechanism of power electronic equipment and the conclusions of traditional transient stability research cannot provide technical support for ensuring energy supply.
[0003] Classic parameter optimization methods such as eigenvalue analysis based on state-space equations, sequence impedance model analysis, and automatic control theory based on open-loop transfer functions generally aim to increase energy dissipation, speed up transient response, and slow down the change of angular velocity under large disturbances. However, parameter design from the perspective of increasing the transient stability domain faces many challenges. The Lyapunov energy function is usually used to estimate the transient stability domain of a multi-machine system, but the non-uniqueness of the Lyapunov function increases the difficulty of solving the Lyapunov function of the multi-machine system and the difficulty of solving the boundary of the maximum stability domain. Especially for multi-machine systems containing power electronic converters, traditional algorithms such as doubling step search and golden section method have defects such as large amount of calculation and low calculation efficiency when applied to the square sum planning algorithm for solving the boundary of the maximum stability domain. Summary of the invention
[0004] The present invention provides a controller parameter optimization method and system based on maximizing the transient stability region, which can maximize the transient stability region and improve the stability of the power system where the controller is located.
[0005] In order to solve the above technical problems, the present invention provides a controller parameter optimization method based on maximizing the transient stability region, comprising:
[0006] Using a virtual synchronous generator to control a grid-type controller and obtain operation data of the grid-type controller; wherein the operation data of the grid-type controller includes the common coupling point active power and the common coupling point reactive power of the grid-type controller;
[0007] According to the operation data of the networked controller, a multi-machine system state equation is constructed; wherein the multi-machine system state equation includes a synchronous machine swing equation, a power angle differential equation and a speed differential equation;
[0008] Using a square sum programming algorithm to process the state equation of the multi-machine system to obtain a Lyapunov function with an expanded stability domain;
[0009] The Lyapunov function with the expanded stable domain is processed using a simulated inner domain expansion parameter optimization algorithm to construct an optimized Lyapunov function; wherein the simulated inner domain expansion parameter optimization algorithm includes an inner loop algorithm and an outer loop algorithm;
[0010] Based on the optimized Lyapunov function, the parameters of the network controller are redesigned.
[0011] The present invention first constructs the state space equation of a multi-machine system, which can correctly reflect the kinematic equation of a virtual synchronous generator control of a dynamic response; then, in the multi-machine system, a square sum programming algorithm is used to obtain the Lyapunov function with an expanded stability domain, and then a simulated inner domain expansion parameter optimization algorithm is used to solve the Lyapunov function parameters and the Lyapunov function of the maximized stability domain; finally, according to the Lyapunov function of the maximized stability domain, the parameters of the grid-type controller in the multi-machine system are optimized and the transient stability domain is designed; thereby maximizing the transient stability domain and improving the stability of the power system where the controller is located.
[0012] Furthermore, constructing a multi-machine system state equation according to the operation data of the networked controller includes:
[0013] According to the common coupling point active power and common coupling point reactive power of the grid-type controller, the synchronous generator swing equation is obtained by outputting the synchronous phase angle and voltage amplitude of the virtual synchronous generator;
[0014] The damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator are obtained, and a power angle differential equation and a speed differential equation are constructed according to the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator; wherein the power angle differential equation and the speed differential equation are specifically as follows:
[0015]
[0016] In the formula, represents the virtual power angle; f represents the standard frequency, Δω represents the per-unit value of the virtual rotor angular velocity deviation; represents the derivative of the virtual rotor angular velocity deviation per unit value; w p =D / M,K p=1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P e Indicates the active power of the converter grid connection point;
[0017] The synchronous machine swing equation, the power angle differential equation and the speed differential equation are combined to construct a multi-machine system state equation; wherein the multi-machine system state equation is specifically as follows:
[0018]
[0019]
[0020]
[0021]
[0022]
[0023] In the formula, represents the virtual power angle of the i-th unit relative to the j-th unit; ω i represents the angular velocity of the i-th virtual rotor; represents the derivative of the angular velocity of the i-th virtual rotor; H i represents the inertia time constant of the i-th unit; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient; P eref Indicates the given reference active power; P ei represents the active power output by the i-th unit; P mi represents the mechanical power input of the i-th unit, D i represents the damping coefficient of the i-th virtual generator.
[0024] The present invention firstly controls the control loop of the networked controller through a virtual synchronous generator, establishes the relationship between the power angle, the speed and the active power, constructs the synchronous machine swing equation, the power angle differential equation and the speed differential equation, obtains the multi-machine system state equation, and can correctly reflect the dynamic response of the multi-machine system and the networked controller.
[0025] Furthermore, the use of the square sum programming algorithm to process the state equation of the multi-machine system to obtain the Lyapunov function with an expanded stability domain includes:
[0026] Using a semidefinite programming solver to calculate the state equation of the multi-machine system to obtain an initial Lyapunov function;
[0027] Using a forward search method and a binary search method to calculate the boundary value of the initial Lyapunov function, obtaining the boundary value of the transient stability domain and the Lyapunov function with normalized boundary values;
[0028] The boundary value normalized Lyapunov function is cyclically updated until the solution quality of the updated Lyapunov function is lower than a preset threshold, the loop is stopped, and the Lyapunov function with an expanded stable domain is obtained; wherein, in each loop, the coefficient polynomial of the Lyapunov function is calculated according to the multi-machine system state equation and the boundary value normalized Lyapunov function; under the constraint that the outer domain contains the inner domain, the coefficient polynomial and the boundary value normalized Lyapunov function are combined to construct a candidate Lyapunov function; if the solution quality of the candidate Lyapunov function in the current loop is lower than the preset threshold, the candidate Lyapunov function in the current loop is used as the Lyapunov function with an expanded stable domain.
[0029] The present invention uses a semidefinite programming solver to automatically search the state equation of a multi-machine system to obtain an initial Lyapunov function, and then performs boundary value normalization and cyclic update on the initial Lyapunov function to obtain a Lyapunov function with an expanded stable domain, thereby improving the computational efficiency of the Lyapunov function, saving computational costs, simplifying the computational algorithm, and avoiding unnecessary consumption of computing resources.
[0030] Furthermore, the use of the simulated inner domain expansion parameter optimization algorithm to process the Lyapunov function with the expanded stability domain to construct an optimized Lyapunov function includes:
[0031] Using an inner loop algorithm to process the Lyapunov function with the expanded stability domain, to obtain a first Lyapunov function parameter;
[0032] Iteratively optimize the first Lyapunov function parameters using an outer loop algorithm to obtain second Lyapunov function parameters;
[0033] According to the second Lyapunov function parameters, the parameters of the Lyapunov function with the expanded stability domain are optimized to obtain an optimized Lyapunov function.
[0034] Furthermore, the inner loop algorithm is used to process the Lyapunov function with the expanded stability domain to obtain the first Lyapunov function parameter, including:
[0035] Setting the parameters of the Lyapunov function with the expanded stability domain as the parameters to be solved, and constructing a state space equation containing the parameters to be solved;
[0036] Constructing a first constraint condition including the state space equation and the stability condition of the Lyapunov function; wherein the first constraint condition is specifically as follows:
[0037]
[0038] Where s2 and s4 represent the coefficients of the polynomial to be solved; V represents the Lyapunov function with expanded stability domain, f represents the state space equation containing the parameters to be solved; G represents the equality constraint under triangular coordinate transformation; and l2 represent the square sum polynomial; ∑ M represents a square sum polynomial;
[0039] Under the constraint of the first constraint condition, the state space equation containing the parameters to be solved is solved by a solver to obtain the first Lyapunov function parameters.
[0040] Furthermore, the iterative optimization of the first Lyapunov function parameters using an outer loop algorithm to obtain the second Lyapunov function parameters includes:
[0041] Combining the constraint condition that the outer domain contains the inner domain, the Lyapunov function stability condition and the trigonometric function transformation constraint condition, a second constraint condition is constructed; wherein, the second constraint condition is specifically as follows:
[0042]
[0043] Where V represents the Lyapunov function to be solved; p represents the Lyapunov function after the previous round of iterative optimization; and l i (o=1,2,3) represents the square sum polynomial, G i (i=1,2,3) represents the equality constraint under triangular coordinate transformation, s1, s2 and s4 represent the known polynomial coefficients; f represents the state space equation containing the parameters of the Lyapunov function after the previous round of iterative optimization; ∑ M represents a square sum polynomial;
[0044] Iteratively optimize the first Lyapunov function parameters using an outer loop algorithm; until the Lyapunov function parameters after the current iterative optimization meet the preset iterative stop condition, stop the iterative optimization, and output the Lyapunov function parameters after the current iterative optimization as the second Lyapunov function parameters;
[0045] Among them, in the first round of iterative optimization, under the constraint of the second constraint condition, the first Lyapunov function parameters are optimized to obtain the Lyapunov function parameters after the first round of iterative optimization; in the iterative optimization after the first round, under the constraint of the second constraint condition, the Lyapunov function parameters after the previous round of iterative optimization are optimized to obtain the Lyapunov function parameters after the current iterative optimization; the preset iteration stop condition is specifically: the Lyapunov function parameters after the current iterative optimization meet the preset transient stability domain boundary value expansion condition and the preset convergence accuracy requirement, and the maximum absolute value deviation between the Lyapunov function parameters after the previous round of iterative optimization and the Lyapunov function parameters after the current iterative optimization is less than the preset accuracy value.
[0046] The present invention is based on the virtual synchronous generator square sum planning algorithm, combines the inner loop algorithm and the outer loop algorithm to design a simulated inner domain extended parameter optimization algorithm, uses the simulated inner domain extended parameter optimization algorithm to solve the optimal transient stability domain boundary and the Lyapunov function parameters of the maximized stability domain, and improves the compatibility and universality of the Lyapunov function parameter optimization method. The optimal transient stability domain boundary can quantitatively describe the stability margin of the working point before and after the disturbance, and is applied to the online dynamic safety analysis and monitoring of large power systems containing power electronic equipment.
[0047] Based on the above method embodiment, the present invention provides a corresponding system embodiment, which provides a controller parameter optimization system based on maximizing the transient stability domain, including: an operation data module, a state equation module, a square sum planning module, a parameter optimization module and a controller optimization module;
[0048] The operation data module is to use the virtual synchronous generator to control the grid-type controller and obtain the operation data of the grid-type controller; wherein the operation data of the grid-type controller includes the common coupling point active power and common coupling point reactive power of the grid-type controller;
[0049] The state equation module is to construct a multi-machine system state equation according to the operation data of the networked controller; wherein the multi-machine system state equation includes a synchronous machine swing equation, a power angle differential equation and a speed differential equation;
[0050] The square sum planning module uses the square sum planning algorithm to process the state equation of the multi-machine system to obtain the Lyapunov function with an expanded stable domain;
[0051] The parameter optimization module is to process the Lyapunov function with the expansion of the stable domain by using a simulated inner domain expansion parameter optimization algorithm to construct an optimized Lyapunov function; wherein the simulated inner domain expansion parameter optimization algorithm includes an inner loop algorithm and an outer loop algorithm;
[0052] The controller optimization module is to redesign the parameters of the networked controller based on the optimized Lyapunov function.
[0053] Further, the state equation module includes: a first equation unit, a second equation unit and a third equation unit;
[0054] The first equation unit is used to obtain the synchronous machine swing equation according to the common coupling point active power and common coupling point reactive power of the grid-type controller, through the virtual synchronous generator output synchronous phase angle and voltage amplitude;
[0055] The second equation unit is used to obtain the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator, and construct a power angle differential equation and a speed differential equation according to the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator; wherein the power angle differential equation and the speed differential equation are specifically as follows:
[0056]
[0057] In the formula, represents the virtual power angle; f represents the standard frequency, Δω represents the per-unit value of the virtual rotor angular velocity deviation; Indicates the virtual rotor angular velocity deviation per unit value; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P e Indicates the active power of the converter grid connection point.
[0058] The third equation unit is used to construct a multi-machine system state equation by combining the synchronous machine swing equation, the power angle differential equation and the speed differential equation; wherein the multi-machine system state equation is specifically as follows:
[0059]
[0060]
[0061]
[0062]
[0063]
[0064] In the formula, represents the virtual power angle of the i-th unit relative to the j-th unit; ω i represents the angular velocity of the i-th virtual rotor, represents the derivative of the angular velocity of the i-th virtual rotor, i.e., the rotor angular acceleration; H i represents the inertia time constant of the i-th unit; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P ei represents the active power output by the i-th unit; P mi represents the mechanical power input of the i-th unit, D i represents the damping coefficient of the i-th virtual generator.
[0065] Furthermore, the square sum planning module includes: an initial function unit, a normalized function unit and a loop update unit;
[0066] The initial function unit is used to calculate the state equation of the multi-machine system using a semidefinite programming solver to obtain an initial Lyapunov function;
[0067] The normalization function unit is used to calculate the boundary value of the initial Lyapunov function by using the forward search method and the dichotomy method to obtain the boundary value of the transient stability domain and the Lyapunov function of the boundary value normalization;
[0068] The loop updating unit is used to loop update the boundary value normalized Lyapunov function until the solution quality of the updated Lyapunov function is lower than a preset threshold, stop the loop, and obtain the Lyapunov function with an expanded stable domain; wherein, in each loop, the coefficient polynomial of the Lyapunov function is calculated according to the multi-machine system state equation and the boundary value normalized Lyapunov function; under the constraint that the outer domain contains the inner domain, the coefficient polynomial and the boundary value normalized Lyapunov function are combined to construct a candidate Lyapunov function; if the solution quality of the candidate Lyapunov function in the current loop is lower than the preset threshold, the candidate Lyapunov function in the current loop is used as the Lyapunov function with an expanded stable domain.
[0069] Furthermore, the parameter optimization module includes: an inner loop unit, an outer loop unit and an optimization function unit;
[0070] The inner loop unit is used to process the Lyapunov function with the expanded stability domain using an inner loop algorithm to obtain a first Lyapunov function parameter;
[0071] The outer loop unit is used to iteratively optimize the first Lyapunov function parameters using an outer loop algorithm to obtain second Lyapunov function parameters;
[0072] The optimization function unit is used to optimize the parameters of the Lyapunov function with expanded stability domain according to the parameters of the second Lyapunov function to obtain the optimized Lyapunov function.
[0073] Further, the inner loop unit includes: a variable setting subunit, a first constraint subunit and a variable solving subunit;
[0074] The variable setting subunit is used to set the parameters of the Lyapunov function with the expanded stability domain as the parameters to be solved, and construct a state space equation containing the parameters to be solved;
[0075] The first constraint subunit is used to construct a first constraint condition including the state space equation and the Lyapunov function stability condition; wherein the first constraint condition is specifically as follows:
[0076]
[0077] Where s2 and s4 represent the coefficients of the polynomial to be solved; V represents the Lyapunov function with expanded stability domain, f represents the state space equation containing the parameters to be solved; G represents the equality constraint under triangular coordinate transformation; and l2 represent the square sum polynomial; ∑ M represents a square sum polynomial;
[0078] The variable solving subunit is used to solve the state space equation containing the parameters to be solved by a solver under the constraint of the first constraint condition to obtain the first Lyapunov function parameters.
[0079] Further, it is characterized in that the outer loop unit includes: a second constraint subunit and an outer loop optimization subunit;
[0080] The second constraint subunit is used to construct a second constraint condition by combining the constraint condition that the outer domain contains the inner domain, the Lyapunov function stability condition and the trigonometric function transformation constraint condition; wherein the second constraint condition is specifically as follows:
[0081]
[0082] Where V represents the Lyapunov function to be solved; p represents the Lyapunov function after the previous round of iterative optimization; and l i (o=1,2,3) represents the square sum polynomial, G i (i=1,2,3) represents the equality constraint under triangular coordinate transformation, s1, s2 and s4 represent the known polynomial coefficients; f represents the state space equation containing the parameters of the Lyapunov function after the previous round of iterative optimization; ∑ M Represents a sum of squares polynomial.
[0083] The outer loop optimization subunit is used to iteratively optimize the first Lyapunov function parameters using an outer loop algorithm; until the Lyapunov function parameters after the current iterative optimization meet the preset iterative stop condition, stop the iterative optimization, and output the Lyapunov function parameters after the current iterative optimization as the second Lyapunov function parameters;
[0084] Among them, in the first round of iterative optimization, under the constraint of the second constraint condition, the first Lyapunov function parameters are optimized to obtain the Lyapunov function parameters after the first round of iterative optimization; in the iterative optimization after the first round, under the constraint of the second constraint condition, the Lyapunov function parameters after the previous round of iterative optimization are optimized to obtain the Lyapunov function parameters after the current iterative optimization; the preset iteration stop condition is specifically: the Lyapunov function parameters after the current iterative optimization meet the preset transient stability domain boundary value expansion condition and the preset convergence accuracy requirement, and the maximum absolute value deviation between the Lyapunov function parameters after the previous round of iterative optimization and the Lyapunov function parameters after the current iterative optimization is less than the preset accuracy value. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] Figure 1 : A flow chart of an embodiment of a controller parameter optimization method based on maximizing the transient stability region provided by the present invention;
[0086] Figure 2 : A structural diagram of an embodiment of the new energy unit system topology provided by the present invention;
[0087] Figure 3 : A structural diagram of an embodiment of a virtual synchronous generator provided by the present invention;
[0088] Figure 4 : A process diagram of an embodiment of the Lyapunov function square sum planning solution provided by the present invention;
[0089] Figure 5 : A flow chart of an embodiment of the simulation inner domain extension parameter optimization algorithm provided by the present invention;
[0090] Figure 6 : A comparison result diagram of an embodiment of the invention for comparing the enlarged transient stability domain and the initial transient stability domain;
[0091] Figure 7 : A verification result diagram of an embodiment of the transient stability domain time domain simulation verification provided by the present invention;
[0092] Figure 8 : A structural diagram of an embodiment of a controller parameter optimization system based on maximizing the transient stability domain provided by the present invention. DETAILED DESCRIPTION
[0093] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0094] In the description of the present application, it should be understood that the terms "first", "second" and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first", "second" and "third" may explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, "several" means two or more.
[0095] The present invention provides a controller parameter optimization method and system based on maximizing the transient stability domain, which can maximize the transient stability domain and improve the stability of the power system where the controller is located.
[0096] Example 1
[0097] Based on the above requirements, an embodiment of the present invention provides a controller parameter optimization method based on maximizing the transient stability region. The method flow is as follows: Figure 1 As shown, the method includes steps S1 to S5, and each step is specifically as follows:
[0098] S1. Use a virtual synchronous generator to control a grid-type controller and obtain operating data of the grid-type controller; wherein the operating data of the grid-type controller includes the active power of a common coupling point and the reactive power of a common coupling point of the grid-type controller.
[0099] This example analyzes a new energy unit consisting of two synchronous generators and a grid-connected control converter. The system topology of the new energy unit is shown in the figure below. Figure 2 shown.
[0100] This embodiment uses a virtual synchronous generator to control a grid-type controller. The virtual synchronous generator used is as follows: Figure 3 As shown in the figure, the parameters have the following meanings: P e Indicates the active power of the inverter AC measured at the grid connection point, P eref Represents the given reference active power, w p =D / M,Kp =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, Δω represents the angular velocity deviation per unit value, U a , U b and U c Represent the three-phase voltages a, b and c respectively.
[0101] The operation data of the grid-type controller is obtained by controlling the normal operation of the new energy unit. The operation data of the grid-type controller includes the common coupling point active power and common coupling point reactive power of the grid-type controller, and the common coupling point active power and common coupling point reactive power are obtained through the output of the power calculation module of the virtual synchronous generator.
[0102] S2. Construct a multi-machine system state equation based on the operation data of the networked controller; wherein the multi-machine system state equation includes a synchronous machine swing equation, a power angle differential equation, and a speed differential equation. This step includes steps S2.1 to S2.3, and each step is as follows:
[0103] S2.1. According to the common coupling point active power and common coupling point reactive power of the grid-type controller, the synchronous machine swing equation is obtained by outputting the synchronous phase angle and voltage amplitude of the virtual synchronous generator.
[0104] This embodiment outputs the synchronous phase angle and voltage amplitude through a virtual synchronous generator according to the common coupling point active power and common coupling point reactive power of the grid-type controller and transmits them to the inner loop control, and outputs the synchronous machine swing equation through the control module of the virtual synchronous generator.
[0105] S2.2. Obtain the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator, and construct a power angle differential equation and a speed differential equation according to the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator; wherein the power angle differential equation and the speed differential equation are specifically as follows:
[0106]
[0107] In the formula, represents the virtual power angle; f represents the standard frequency, Δω represents the per-unit value of the virtual rotor angular velocity deviation; Indicates the virtual rotor angular velocity deviation per unit value; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P e Indicates the active power of the converter grid connection point.
[0108] This embodiment constructs the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator through the virtual synchronous generator control loop, establishes the relationship between the power angle, the speed and the active power, and obtains the power angle differential equation and the speed differential equation.
[0109] S2.3. Combining the synchronous machine swing equation, the power angle differential equation and the speed differential equation, construct a multi-machine system state equation; wherein the multi-machine system state equation is specifically as follows:
[0110]
[0111]
[0112]
[0113]
[0114]
[0115] In the formula, represents the virtual power angle of the i-th unit relative to the j-th unit; ω i represents the angular velocity of the i-th virtual rotor, represents the derivative of the angular velocity of the i-th virtual rotor, i.e., the rotor angular acceleration; H i represents the inertia time constant of the i-th unit; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P ei represents the active power output by the i-th unit; P mi represents the mechanical power input of the i-th unit, D i represents the damping coefficient of the i-th virtual generator.
[0116] The above multi-machine system state equation takes Unit 1 as the reference unit and can correctly reflect the dynamic response of the multi-machine system and the grid-type controller.
[0117] S3, using the square sum planning algorithm to process the state equation of the multi-machine system to obtain the Lyapunov function with an expanded stability domain. The square sum planning solution process of the Lyapunov function in this step is as follows: Figure 4 As shown, this step includes step S3.1 to step S3.3, and each step is as follows:
[0118] S3.1. Use a semidefinite programming solver to calculate the state equation of the multi-machine system to obtain an initial Lyapunov function.
[0119] In this embodiment, a semidefinite programming solver is used to calculate the state equation of the multi-machine system to obtain an initial Lyapunov function. In this embodiment, the semidefinite programming solver used is the SOSSTOOLS toolbox.
[0120] S3.2. Calculate the boundary value of the initial Lyapunov function using the forward search method and the binary search method to obtain the boundary value of the transient stability domain and the Lyapunov function with normalized boundary values.
[0121] This embodiment uses the forward search method and the binary method to calculate the boundary value of the initial Lyapunov function. The calculated boundary value is the boundary value of the transient stability domain. Then, based on the transient stability domain boundary value, a Lyapunov function with normalized boundary value is constructed.
[0122] S3.3. The boundary value normalized Lyapunov function is cyclically updated until the solution quality of the updated Lyapunov function is lower than a preset threshold, the loop is stopped, and the Lyapunov function with an expanded stable domain is obtained; wherein, in each loop, the coefficient polynomial of the Lyapunov function is calculated according to the multi-machine system state equation and the boundary value normalized Lyapunov function; under the constraint that the outer domain contains the inner domain, the coefficient polynomial and the boundary value normalized Lyapunov function are combined to construct a candidate Lyapunov function; if the solution quality of the candidate Lyapunov function in the current loop is lower than the preset threshold, the candidate Lyapunov function in the current loop is used as the Lyapunov function with an expanded stable domain.
[0123] This embodiment performs cyclic updating on the Lyapunov function with normalized boundary values, and the specific steps are as follows:
[0124] (1) Combining the state equation of the multi-machine system with the Lyapunov function with normalized boundary values, the coefficient polynomial satisfying the initial constraints is calculated;
[0125] (2) Based on the coefficient polynomial that satisfies the initial constraint conditions, a new candidate Lyapunov function is constructed under the constraint that the outer domain contains the inner domain;
[0126] (3) Determine whether the solution quality of the candidate Lyapunov function in the current loop is lower than a preset threshold: If it is lower than the preset threshold, exit the loop and output the candidate Lyapunov function of the current loop as the Lyapunov function with expanded stability domain. If it is higher than the preset threshold, repeat the above steps (1) and (2) until the solution quality of the updated Lyapunov function is lower than the preset threshold, and then stop the loop.
[0127] S4, using the simulated inner domain expansion parameter optimization algorithm to process the Lyapunov function of the stable domain expansion, and construct an optimized Lyapunov function; wherein the simulated inner domain expansion parameter optimization algorithm includes an inner loop algorithm and an outer loop algorithm. The flowchart of the simulated inner domain expansion parameter optimization algorithm is as follows Figure 5 As shown, this step includes step S4.1 to step S4.3, and each step is specifically as follows:
[0128] S4.1, using the inner loop algorithm to process the Lyapunov function with the expanded stability domain to obtain the first Lyapunov function parameter. This step includes steps S4.1.1 to S4.1.3, each step is as follows:
[0129] S4.1.1. Setting the parameters of the Lyapunov function with the expanded stability domain as the parameters to be solved, and constructing a state space equation containing the parameters to be solved.
[0130] This embodiment performs parameter optimization based on the Lyapunov function with expanded stable domain, enters the inner loop algorithm, sets the parameters in the Lyapunov function with expanded stable domain as the parameters to be solved, sets the parameter values as the decision variables to be solved, and obtains a state space equation containing the parameters to be solved.
[0131] S4.1.2. Construct a first constraint condition including the state space equation and the stability condition of the Lyapunov function; wherein the first constraint condition is as follows:
[0132]
[0133] Where s2 and s4 represent the coefficients of the polynomial to be solved; V represents the Lyapunov function with expanded stability domain, f represents the state space equation containing the parameters to be solved; G represents the equality constraint under triangular coordinate transformation; and l2 represent the square sum polynomial; ∑ M Represents a sum of squares polynomial.
[0134] S4.1.3. Under the constraint of the first constraint condition, the state space equation containing the parameters to be solved is solved by a solver to obtain the first Lyapunov function parameters.
[0135] Under the constraint of the first constraint condition, this embodiment inputs the state space equation containing the parameters to be solved into the semidefinite programming solver, and automatically returns a new Lyapunov function parameter through the semidefinite programming solver to obtain the first Lyapunov function parameter.
[0136] S4.2, using an outer loop algorithm to iteratively optimize the first Lyapunov function parameters to obtain the second Lyapunov function parameters. This step includes steps S4.2.1 to S4.2.2, each of which is as follows:
[0137] S4.2.1. Combining the constraint that the outer domain contains the inner domain, the Lyapunov function stability condition and the trigonometric function transformation constraint condition, a second constraint condition is constructed; wherein the second constraint condition is specifically as follows:
[0138]
[0139] Where V represents the Lyapunov function to be solved; p represents the Lyapunov function after the previous round of iterative optimization; and l i (o=1,2,3) represents the square sum polynomial, G i (i=1,2,3) represents the equality constraint under triangular coordinate transformation, s1, s2 and s4 represent the known polynomial coefficients; f represents the state space equation containing the parameters of the Lyapunov function after the previous round of iterative optimization; ∑ M Represents a sum of squares polynomial.
[0140] S4.2.2, using an outer loop algorithm to iteratively optimize the first Lyapunov function parameters; until the Lyapunov function parameters after the current iterative optimization meet the preset iterative stop condition, stop the iterative optimization, and output the Lyapunov function parameters after the current iterative optimization as the second Lyapunov function parameters;
[0141] Among them, in the first round of iterative optimization, under the constraint of the second constraint condition, the first Lyapunov function parameters are optimized to obtain the Lyapunov function parameters after the first round of iterative optimization; in the iterative optimization after the first round, under the constraint of the second constraint condition, the Lyapunov function parameters after the previous round of iterative optimization are optimized to obtain the Lyapunov function parameters after the current iterative optimization; the preset iteration stop condition is specifically: the Lyapunov function parameters after the current iterative optimization meet the preset transient stability domain boundary value expansion condition and the preset convergence accuracy requirement, and the maximum absolute value deviation between the Lyapunov function parameters after the previous round of iterative optimization and the Lyapunov function parameters after the current iterative optimization is less than the preset accuracy value.
[0142] After using the inner loop algorithm to obtain new first Lyapunov function parameters, this embodiment uses the outer loop algorithm to further optimize the first Lyapunov function parameters to obtain second Lyapunov function parameters that maximize the transient stability domain.
[0143] Finally, this embodiment also checks whether the obtained second Lyapunov function parameters meet the conditions for expanding the boundary value of the transient stability region and the requirements for convergence accuracy. When the maximum absolute value deviation of the Lyapunov function parameters of two adjacent outer loop iterations is lower than the accuracy value or the solution quality, the loop ends, and the Lyapunov function parameters after the current iteration optimization are output as the second Lyapunov function parameters for redesigning the controller parameters and estimating the system's maximum transient stability region.
[0144] S4.3. Optimize the parameters of the Lyapunov function with the expanded stability domain according to the second Lyapunov function parameters to obtain an optimized Lyapunov function.
[0145] In this embodiment, according to the second Lyapunov function parameter, the Lyapunov function with expanded stability domain is optimized to obtain an optimized Lyapunov function.
[0146] S5. Redesign the parameters of the network controller based on the optimized Lyapunov function.
[0147] This embodiment redesigns the parameters of the grid-connected controller and re-estimates the maximum transient stability region of the power system based on the second Lyapunov function parameters and the optimized Lyapunov function. Figure 6 As shown in the figure, the operating point of the expanded transient stability domain is selected to verify the conservatism of the time domain simulation. The verification results are shown in Figure 7 shown.
[0148] The implementation of the above embodiments of the present invention has the following beneficial effects:
[0149] The present invention provides a controller parameter optimization method based on maximizing the transient stability domain. First, the state space equation of a multi-machine system is constructed to correctly reflect the kinematic equation of a virtual synchronous generator control of a dynamic response; then, in the multi-machine system, a square sum programming algorithm is used to obtain the Lyapunov function with an expanded stability domain, and then a simulated inner domain expansion parameter optimization algorithm is used to solve the Lyapunov function parameters and the Lyapunov function of the maximized stability domain; finally, according to the Lyapunov function of the maximized stability domain, the parameters of the meshed controller in the multi-machine system are optimized and the transient stability domain is designed; thereby maximizing the transient stability domain and improving the stability of the power system where the controller is located.
[0150] Example 2
[0151] Based on the content of the above embodiments, an embodiment of the present invention provides a controller parameter optimization system based on maximizing the transient stability region, including: an operation data module 101, a state equation module 102, a square sum planning module 103, a parameter optimization module 104 and a controller optimization module 105. The system structure is as follows Figure 8 shown.
[0152] The operation data module 101 is to use the virtual synchronous generator to control the grid-type controller and obtain the operation data of the grid-type controller; wherein the operation data of the grid-type controller includes the common coupling point active power and common coupling point reactive power of the grid-type controller;
[0153] The state equation module 102 is to construct a multi-machine system state equation according to the operation data of the networked controller; wherein the multi-machine system state equation includes a synchronous machine swing equation, a power angle differential equation and a speed differential equation;
[0154] The square sum planning module 103 is to process the state equation of the multi-machine system using the square sum planning algorithm to obtain the Lyapunov function with an expanded stability domain;
[0155] The parameter optimization module 104 is to process the Lyapunov function with the expansion of the stable domain by using a simulated inner domain expansion parameter optimization algorithm to construct an optimized Lyapunov function; wherein the simulated inner domain expansion parameter optimization algorithm includes an inner loop algorithm and an outer loop algorithm;
[0156] The controller optimization module 1025 is to redesign the parameters of the meshed controller according to the optimized Lyapunov function.
[0157] Furthermore, the state equation module 102 includes: a first equation unit 201, a second equation unit 202 and a third equation unit 203;
[0158] The first equation unit 201 is used to obtain the synchronous machine swing equation according to the common coupling point active power and common coupling point reactive power of the grid-type controller, through the synchronous phase angle and voltage amplitude output by the virtual synchronous generator;
[0159] The second equation unit 202 is used to obtain the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator, and construct a power angle differential equation and a speed differential equation according to the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator; wherein the power angle differential equation and the speed differential equation are specifically as follows:
[0160]
[0161] In the formula, represents the virtual power angle; f represents the standard frequency, Δω represents the per-unit value of the virtual rotor angular velocity deviation; Indicates the virtual rotor angular velocity deviation per unit value; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P e Indicates the active power of the converter grid connection point.
[0162] The third equation unit 203 is used to construct a multi-machine system state equation by combining the synchronous machine swing equation, the power angle differential equation and the speed differential equation; wherein the multi-machine system state equation is specifically as follows:
[0163]
[0164]
[0165]
[0166]
[0167]
[0168] In the formula, represents the virtual power angle of the i-th unit relative to the j-th unit; ω i represents the angular velocity of the i-th virtual rotor, represents the derivative of the angular velocity of the i-th virtual rotor, i.e., the rotor angular acceleration; H i represents the inertia time constant of the i-th unit; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P ei represents the active power output by the i-th unit; P mi represents the mechanical power input of the i-th unit, D i represents the damping coefficient of the i-th virtual generator.
[0169] Furthermore, the square sum planning module 103 includes: an initial function unit 301, a normalized function unit 302 and a loop updating unit 303;
[0170] The initial function unit 301 is used to calculate the state equation of the multi-machine system using a semidefinite programming solver to obtain an initial Lyapunov function;
[0171] The normalization function unit 302 is used to calculate the boundary value of the initial Lyapunov function by using the forward search method and the binary method to obtain the boundary value of the transient stability region and the Lyapunov function of the boundary value normalization;
[0172] The loop updating unit 303 is used to loop update the boundary value normalized Lyapunov function until the solution quality of the updated Lyapunov function is lower than a preset threshold, stop the loop, and obtain the Lyapunov function with an expanded stable domain; wherein, in each loop, the coefficient polynomial of the Lyapunov function is calculated according to the multi-machine system state equation and the boundary value normalized Lyapunov function; under the constraint that the outer domain contains the inner domain, the coefficient polynomial and the boundary value normalized Lyapunov function are combined to construct a candidate Lyapunov function; if the solution quality of the candidate Lyapunov function in the current loop is lower than the preset threshold, the candidate Lyapunov function in the current loop is used as the Lyapunov function with an expanded stable domain.
[0173] Furthermore, the parameter optimization module 104 includes: an inner loop unit 401, an outer loop unit 402 and an optimization function unit 403;
[0174] The inner loop unit 401 is used to process the Lyapunov function with the expanded stability domain using an inner loop algorithm to obtain a first Lyapunov function parameter;
[0175] The outer loop unit 402 is used to iteratively optimize the first Lyapunov function parameters using an outer loop algorithm to obtain second Lyapunov function parameters;
[0176] The optimization function unit 403 is used to optimize the parameters of the Lyapunov function with expanded stability domain according to the parameters of the second Lyapunov function to obtain an optimized Lyapunov function.
[0177] Furthermore, the inner loop unit 401 includes: a variable setting subunit 501, a first constraint subunit 502 and a variable solving subunit 503;
[0178] The variable setting subunit 501 is used to set the parameters of the Lyapunov function with the expanded stability domain as the parameters to be solved, and construct a state space equation containing the parameters to be solved;
[0179] The first constraint subunit 502 is used to construct a first constraint condition including the state space equation and the Lyapunov function stability condition; wherein the first constraint condition is specifically as follows:
[0180]
[0181] Where s2 and s4 represent the coefficients of the polynomial to be solved; V represents the Lyapunov function with expanded stability domain, f represents the state space equation containing the parameters to be solved; G represents the equality constraint under triangular coordinate transformation; and l2 represent the square sum polynomial; ∑ M Represents a sum of squares polynomial.
[0182] The variable solving subunit 503 is used to solve the state space equation containing the parameters to be solved by a solver under the constraint of the first constraint condition to obtain the first Lyapunov function parameters.
[0183] Further, the outer loop unit 402 includes: a second constraint subunit 601 and an outer loop optimization subunit 602;
[0184] The second constraint subunit 601 is used to construct a second constraint condition by combining the constraint condition that the outer domain contains the inner domain, the Lyapunov function stability condition and the trigonometric function transformation constraint condition; wherein the second constraint condition is specifically as follows:
[0185]
[0186] Where V represents the Lyapunov function to be solved; p represents the Lyapunov function after the previous round of iterative optimization; and l i (o=1,2,3) represents the square sum polynomial, G i (i=1,2,3) represents the equality constraint under triangular coordinate transformation, s1, s2 and s4 represent the known polynomial coefficients; f represents the state space equation containing the parameters of the Lyapunov function after the previous round of iterative optimization; Σ M Represents a sum of squares polynomial.
[0187] The outer loop optimization subunit 602 is used to iteratively optimize the first Lyapunov function parameters using an outer loop algorithm; until the Lyapunov function parameters after the current iterative optimization meet the preset iterative stop condition, stop the iterative optimization, and output the Lyapunov function parameters after the current iterative optimization as the second Lyapunov function parameters;
[0188] Among them, in the first round of iterative optimization, under the constraint of the second constraint condition, the first Lyapunov function parameters are optimized to obtain the Lyapunov function parameters after the first round of iterative optimization; in the iterative optimization after the first round, under the constraint of the second constraint condition, the Lyapunov function parameters after the previous round of iterative optimization are optimized to obtain the Lyapunov function parameters after the current iterative optimization; the preset iteration stop condition is specifically: the Lyapunov function parameters after the current iterative optimization meet the preset transient stability domain boundary value expansion condition and the preset convergence accuracy requirement, and the maximum absolute value deviation between the Lyapunov function parameters after the previous round of iterative optimization and the Lyapunov function parameters after the current iterative optimization is less than the preset accuracy value.
[0189] The more detailed working principle and step flow of this embodiment can refer to, but are not limited to, the relevant records of Embodiment 1.
[0190] The implementation of the above embodiments of the present invention has the following beneficial effects:
[0191] The present invention provides a controller parameter optimization system based on maximizing the transient stability domain, which realizes the maximization of the transient stability domain and improves the stability of the power system where the grid-type controller is located.
[0192] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A controller parameter optimization method based on maximizing transient stability region, characterized in that: include: Using a virtual synchronous generator to control a grid-type controller and obtain operation data of the grid-type controller; wherein the operation data of the grid-type controller includes the common coupling point active power and the common coupling point reactive power of the grid-type controller; According to the operation data of the networked controller, a multi-machine system state equation is constructed; wherein the multi-machine system state equation includes a synchronous machine swing equation, a power angle differential equation and a speed differential equation; Using a square sum programming algorithm to process the state equation of the multi-machine system to obtain a Lyapunov function with an expanded stability domain; The Lyapunov function with the expanded stable domain is processed using a simulated inner domain expansion parameter optimization algorithm to construct an optimized Lyapunov function; wherein the simulated inner domain expansion parameter optimization algorithm includes an inner loop algorithm and an outer loop algorithm; Based on the optimized Lyapunov function, the parameters of the network controller are redesigned.
2. A controller parameter optimization method based on maximizing the transient stability region according to claim 1, characterized in that: The step of constructing a multi-machine system state equation according to the operation data of the networked controller includes: According to the common coupling point active power and common coupling point reactive power of the grid-type controller, the synchronous generator swing equation is obtained by outputting the synchronous phase angle and voltage amplitude of the virtual synchronous generator; The damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator are obtained, and a power angle differential equation and a speed differential equation are constructed according to the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator; wherein the power angle differential equation and the speed differential equation are specifically as follows: In the formula, represents the virtual power angle; f represents the standard frequency, Δω represents the per-unit value of the virtual rotor angular velocity deviation; represents the derivative of Δω, i.e. the rotor angular acceleration; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P e Indicates the active power of the converter grid connection point; The synchronous machine swing equation, the power angle differential equation and the speed differential equation are combined to construct a multi-machine system state equation; wherein the multi-machine system state equation is specifically as follows: In the formula, represents the virtual power angle of the i-th unit relative to the j-th unit; ω i represents the angular velocity of the i-th virtual rotor, represents the derivative of the angular velocity of the i-th virtual rotor, i.e., the rotor angular acceleration; H i represents the inertia time constant of the i-th unit; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P ei represents the active power output by the i-th unit; P mi represents the mechanical power input of the i-th unit, D i represents the damping coefficient of the i-th virtual generator.
3. The controller parameter optimization method based on maximizing the transient stability region according to claim 1, characterized in that: The method of using the square sum programming algorithm to process the state equation of the multi-machine system to obtain the Lyapunov function with an expanded stability domain includes: Using a semidefinite programming solver to calculate the state equation of the multi-machine system to obtain an initial Lyapunov function; Using a forward search method and a binary search method to calculate the boundary value of the initial Lyapunov function, obtaining the boundary value of the transient stability domain and the Lyapunov function with normalized boundary values; The boundary value normalized Lyapunov function is cyclically updated until the solution quality of the updated Lyapunov function is lower than a preset threshold, the loop is stopped, and the Lyapunov function with an expanded stable domain is obtained; wherein, in each loop, the coefficient polynomial of the Lyapunov function is calculated according to the multi-machine system state equation and the boundary value normalized Lyapunov function; under the constraint that the outer domain contains the inner domain, the coefficient polynomial and the boundary value normalized Lyapunov function are combined to construct a candidate Lyapunov function; if the solution quality of the candidate Lyapunov function in the current loop is lower than the preset threshold, the candidate Lyapunov function in the current loop is used as the Lyapunov function with an expanded stable domain.
4. The controller parameter optimization method based on maximizing the transient stability region according to claim 1, characterized in that: The method of using a simulated inner domain expansion parameter optimization algorithm to process the Lyapunov function with the expanded stability domain to construct an optimized Lyapunov function includes: Using an inner loop algorithm to process the Lyapunov function with the expanded stability domain, to obtain a first Lyapunov function parameter; Iteratively optimize the first Lyapunov function parameters using an outer loop algorithm to obtain second Lyapunov function parameters; According to the second Lyapunov function parameters, the parameters of the Lyapunov function with the expanded stability domain are optimized to obtain an optimized Lyapunov function.
5. A controller parameter optimization method based on maximizing the transient stability region according to claim 4, characterized in that: The inner loop algorithm is used to process the Lyapunov function with the expanded stability domain to obtain the first Lyapunov function parameter, including: Setting the parameters of the Lyapunov function with the expanded stability domain as the parameters to be solved, and constructing a state space equation containing the parameters to be solved; Constructing a first constraint condition including the state space equation and the stability condition of the Lyapunov function; wherein the first constraint condition is specifically as follows: Where s2 and s4 represent the coefficients of the polynomial to be solved; V represents the Lyapunov function with expanded stability domain, f represents the state space equation containing the parameters to be solved; G represents the equality constraint under triangular coordinate transformation; and l2 represent the square sum polynomial; ∑ M Represents a sum of squares polynomial. Under the constraint of the first constraint condition, the state space equation containing the parameters to be solved is solved by a solver to obtain the first Lyapunov function parameters.
6. A controller parameter optimization method based on maximizing the transient stability region according to claim 4, characterized in that: The iterative optimization of the first Lyapunov function parameters using an outer loop algorithm to obtain the second Lyapunov function parameters includes: Combining the constraint condition that the outer domain contains the inner domain, the Lyapunov function stability condition and the trigonometric function transformation constraint condition, a second constraint condition is constructed; wherein, the second constraint condition is specifically as follows: Where V represents the Lyapunov function to be solved; p represents the Lyapunov function after the previous round of iterative optimization; and l i (o=1,2,3) represents the square sum polynomial, G i (i=1,2,3) represents the equality constraint under triangular coordinate transformation, s1, s2 and s4 represent the known polynomial coefficients; f represents the state space equation containing the parameters of the Lyapunov function after the previous round of iterative optimization; Σ M Represents a sum of squares polynomial. Iteratively optimize the first Lyapunov function parameters using an outer loop algorithm; until the Lyapunov function parameters after the current iterative optimization meet the preset iterative stop condition, stop the iterative optimization, and output the Lyapunov function parameters after the current iterative optimization as the second Lyapunov function parameters; Among them, in the first round of iterative optimization, under the constraint of the second constraint condition, the first Lyapunov function parameters are optimized to obtain the Lyapunov function parameters after the first round of iterative optimization; in the iterative optimization after the first round, under the constraint of the second constraint condition, the Lyapunov function parameters after the previous round of iterative optimization are optimized to obtain the Lyapunov function parameters after the current iterative optimization; the preset iteration stop condition is specifically: the Lyapunov function parameters after the current iterative optimization meet the preset transient stability domain boundary value expansion condition and the preset convergence accuracy requirement, and the maximum absolute value deviation between the Lyapunov function parameters after the previous round of iterative optimization and the Lyapunov function parameters after the current iterative optimization is less than the preset accuracy value.
7. A controller parameter optimization system based on maximizing transient stability region, characterized in that: include: Operation data module, state equation module, square sum planning module, parameter optimization module and controller optimization module; The operation data module is to use the virtual synchronous generator to control the grid-type controller and obtain the operation data of the grid-type controller; wherein the operation data of the grid-type controller includes the common coupling point active power and common coupling point reactive power of the grid-type controller; The state equation module is to construct a multi-machine system state equation according to the operation data of the networked controller; wherein the multi-machine system state equation includes a synchronous machine swing equation, a power angle differential equation and a speed differential equation; The square sum planning module uses the square sum planning algorithm to process the state equation of the multi-machine system to obtain the Lyapunov function with an expanded stable domain; The parameter optimization module is to process the Lyapunov function with the expansion of the stable domain by using a simulated inner domain expansion parameter optimization algorithm to construct an optimized Lyapunov function; wherein the simulated inner domain expansion parameter optimization algorithm includes an inner loop algorithm and an outer loop algorithm; The controller optimization module is to redesign the parameters of the networked controller based on the optimized Lyapunov function.
8. The controller parameter optimization system based on maximizing the transient stability region according to claim 7, characterized in that: The state equation module includes: a first equation unit, a second equation unit and a third equation unit; The first equation unit is used to obtain the synchronous machine swing equation according to the common coupling point active power and common coupling point reactive power of the grid-type controller, through the virtual synchronous generator output synchronous phase angle and voltage amplitude; The second equation unit is used to obtain the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator, and construct a power angle differential equation and a speed differential equation according to the damping coefficient of the virtual synchronous generator and the inertia time coefficient of the virtual synchronous generator; wherein the power angle differential equation and the speed differential equation are specifically as follows: In the formula, represents the virtual power angle; f represents the standard frequency, Δω represents the per-unit value of the virtual rotor angular velocity deviation; Indicates the virtual rotor angular velocity deviation per unit value; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P e Indicates the active power of the converter grid connection point. The third equation unit is used to construct a multi-machine system state equation by combining the synchronous machine swing equation, the power angle differential equation and the speed differential equation; wherein the multi-machine system state equation is specifically as follows: In the formula, represents the virtual power angle of the i-th unit relative to the j-th unit; ω i represents the angular velocity of the i-th virtual rotor; represents the derivative of the angular velocity of the i-th virtual rotor; H i represents the inertia time constant of the i-th unit; w p =D / M,K p =1 / D, D represents the virtual generator damping coefficient, M represents the virtual generator inertia time coefficient, P eref Represents the given reference active power, P ei represents the active power output by the i-th unit; P mi represents the mechanical power input of the i-th unit, D i represents the damping coefficient of the i-th virtual generator.
9. The controller parameter optimization method based on maximizing the transient stability region according to claim 7, characterized in that: The square sum planning module includes: an initial function unit, a normalized function unit and a loop updating unit; The initial function unit is used to calculate the state equation of the multi-machine system using a semidefinite programming solver to obtain an initial Lyapunov function; The normalization function unit is used to calculate the boundary value of the initial Lyapunov function by using the forward search method and the dichotomy method to obtain the boundary value of the transient stability domain and the Lyapunov function of the boundary value normalization; The loop updating unit is used to loop update the boundary value normalized Lyapunov function until the solution quality of the updated Lyapunov function is lower than a preset threshold, stop the loop, and obtain the Lyapunov function with an expanded stable domain; wherein, in each loop, the coefficient polynomial of the Lyapunov function is calculated according to the multi-machine system state equation and the boundary value normalized Lyapunov function; under the constraint that the outer domain contains the inner domain, the coefficient polynomial and the boundary value normalized Lyapunov function are combined to construct a candidate Lyapunov function; if the solution quality of the candidate Lyapunov function in the current loop is lower than the preset threshold, the candidate Lyapunov function in the current loop is used as the Lyapunov function with an expanded stable domain.
10. The controller parameter optimization system based on maximizing the transient stability region according to claim 7, characterized in that: The parameter optimization module includes: an inner loop unit, an outer loop unit and an optimization function unit; The inner loop unit is used to process the Lyapunov function with the expanded stability domain using an inner loop algorithm to obtain a first Lyapunov function parameter; The outer loop unit is used to iteratively optimize the first Lyapunov function parameters using an outer loop algorithm to obtain second Lyapunov function parameters; The optimization function unit is used to optimize the parameters of the Lyapunov function with expanded stability domain according to the parameters of the second Lyapunov function to obtain the optimized Lyapunov function.
11. A controller parameter optimization system based on transient stability region maximization according to claim 10, characterized in that: The inner loop unit includes: a variable setting subunit, a first constraint subunit and a variable solving subunit; The variable setting subunit is used to set the parameters of the Lyapunov function with the expanded stability domain as the parameters to be solved, and construct a state space equation containing the parameters to be solved; The first constraint subunit is used to construct a first constraint condition including the state space equation and the Lyapunov function stability condition; wherein the first constraint condition is specifically as follows: Where s2 and s4 represent the coefficients of the polynomial to be solved; V represents the Lyapunov function with expanded stability domain, f represents the state space equation containing the parameters to be solved; G represents the equality constraint under triangular coordinate transformation; and l2 represent the square sum polynomial; ∑ M represents a square sum polynomial; The variable solving subunit is used to solve the state space equation containing the parameters to be solved by a solver under the constraint of the first constraint condition to obtain the first Lyapunov function parameters.
12. The controller parameter optimization system based on transient stability region maximization according to claim 10, characterized in that: The outer loop unit includes: a second constraint subunit and an outer loop optimization subunit; The second constraint subunit is used to construct a second constraint condition by combining the constraint condition that the outer domain contains the inner domain, the Lyapunov function stability condition and the trigonometric function transformation constraint condition; wherein the second constraint condition is specifically as follows: Where V represents the Lyapunov function to be solved; p represents the Lyapunov function after the previous round of iterative optimization; and l i (i=1,2,3) represents the square sum polynomial, G i (i=1,2,3) represents the equality constraint under triangular coordinate transformation, s1, s2 and s4 represent the known polynomial coefficients; f represents the state space equation containing the parameters of the Lyapunov function after the previous round of iterative optimization; ∑ M Represents a sum of squares polynomial. The outer loop optimization subunit is used to iteratively optimize the first Lyapunov function parameters using an outer loop algorithm; until the Lyapunov function parameters after the current iterative optimization meet the preset iterative stop condition, stop the iterative optimization, and output the Lyapunov function parameters after the current iterative optimization as the second Lyapunov function parameters; Among them, in the first round of iterative optimization, under the constraint of the second constraint condition, the first Lyapunov function parameters are optimized to obtain the Lyapunov function parameters after the first round of iterative optimization; in the iterative optimization after the first round, under the constraint of the second constraint condition, the Lyapunov function parameters after the previous round of iterative optimization are optimized to obtain the Lyapunov function parameters after the current iterative optimization; the preset iteration stop condition is specifically: the Lyapunov function parameters after the current iterative optimization meet the preset transient stability domain boundary value expansion condition and the preset convergence accuracy requirement, and the maximum absolute value deviation between the Lyapunov function parameters after the previous round of iterative optimization and the Lyapunov function parameters after the current iterative optimization is less than the preset accuracy value.
Citation Information
Patent Citations
Transient stability analysis method and device for network-forming inverter, and storage medium
CN116526560A
Power system stability domain analysis method based on Lyapunov function
CN117220274A
Transient stability analysis method, system, chip and equipment for water-light complementary system
CN117526410A
Inverter networking control method based on Landau-Stewart oscillator
CN117526428A
Security region based security-constrained economic dispatching method
US20150310366A1
Cited By
Method and system for designing neural network controller of power system
CN121432866A
