A method, apparatus, device, and storage medium for characterizing the stable attraction domain of a microgrid.

By establishing a mathematical model of the microgrid system and performing Thevenin equivalent transformation, fuzzification, and Lyapunov energy function analysis, the problem of characterizing the attraction domain of a constant impedance load connected to a microgrid system was solved, enabling stability judgment and safe operation assurance of the microgrid.

CN123121571APending Publication Date: 2026-11-17ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies cannot accurately characterize the attraction domain of constant impedance loads connected to a microgrid system under different operating conditions, making it difficult to determine the system's stable state and to take measures in advance to prevent system instability.

Method used

A mathematical model of a microgrid system with constant impedance loads is established. An equivalent mathematical model is generated through Thevenin equivalent transformation. The model is then fuzzified to construct a TS fuzzy model. A Lyapunov energy function is established, and an asymptotic stability condition inequality is generated. The Lyapunov energy function is then solved to characterize the attraction domain.

Benefits of technology

Accurately characterize the stable attraction domain of the microgrid, ensure the safe operation boundary of the system, guarantee the reliable grid connection of distributed renewable energy, and improve the renewable energy consumption capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123121571A_ABST
    Figure CN123121571A_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and storage medium for characterizing the stable attraction domain of a microgrid, addressing the technical problem that existing technologies cannot quantitatively describe the attraction domain of a microgrid system with constant impedance loads under different operating conditions. The invention includes: establishing a mathematical model of the microgrid system with constant impedance loads; performing a Thevenin equivalent transformation on the load side and grid side of the mathematical model to generate a transformed mathematical model; moving the equilibrium point of the transformed mathematical model to the origin to obtain a higher-order nonlinear model of the constant impedance microgrid; fuzzifying the higher-order nonlinear model of the constant impedance microgrid to obtain a T-S fuzzy model; establishing a Lyapunov energy function and the corresponding asymptotic stability inequality based on the T-S fuzzy model; solving the Lyapunov energy function according to the asymptotic stability inequality to obtain the coefficient matrix and parameter extrema; and characterizing the attraction domain based on the coefficient matrix and parameter extrema.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of microgrid technology, and in particular to a method, apparatus, device, and storage medium for characterizing the stable attraction domain of a microgrid. Background Technology

[0002] With the development of new energy sources, new power distribution systems are rapidly transforming into a "dual-high" model characterized by high penetration of renewable energy and high integration of power electronic equipment. As the penetration rate of distributed new energy sources such as wind power and photovoltaics in power distribution networks continues to rise, microgrids, which operate with distributed new energy sources at their core, serve as an important component of new power distribution systems. They enable flexible grid connection and efficient utilization of distributed energy, effectively compensating for the technical shortcomings of traditional power distribution networks, such as a lack of overall management and control of distributed energy and weak anti-interference capabilities. They have become a key carrier for promoting the consumption of new energy and building new power systems.

[0003] Distributed generation technology is highly flexible and has attracted much attention as a key means to promote the utilization of renewable energy. However, if transient faults in microgrids are not effectively suppressed and handled, they can easily exacerbate the complexity of system transient stability problems.

[0004] As the penetration rate of source-side resources in distribution networks continues to increase, their complex transient characteristics have become a key factor affecting the transient stability of the system. For microgrid systems, stability studies under small disturbances are relatively comprehensive; however, given the increasing scale of distributed generation and the diversity of operating modes, in-depth research into the transient stability of the system under large disturbances has become crucial. Existing technologies lack accurate modeling of the transient processes in microgrid systems and effective characterization of the attraction domain, failing to meet the stringent requirements for transient stability performance under high-proportion source-side resource grid integration. This is mainly manifested in the following aspects: Transient modeling is challenging: The nonlinear voltage characteristics of constant impedance loads result in high-order and highly nonlinear overall transient models of microgrids, significantly increasing the difficulty of modeling and solving. When a microgrid system operates with a constant impedance load, the load power varies with the square of the voltage, forming a strong coupling relationship with the converter output dynamics and network topology, further increasing the complexity and difficulty of microgrid transient modeling.

[0005] Lack of Characterization of the Attraction Domain: Currently, there is a lack of effective methods for characterizing the attraction domain of constant impedance loads connected to microgrids. As the boundary range for stable system operation, the accurate determination of the attraction domain is crucial for judging system stability and formulating reasonable control strategies. Existing technologies cannot quantitatively describe the attraction domain of constant impedance load connected to a microgrid under different operating conditions, making it difficult to grasp the system's stable state in actual operation and to take preventative measures to prevent system instability. Summary of the Invention

[0006] This invention provides a method, apparatus, device, and storage medium for characterizing the stable attraction domain of a microgrid, which solves the technical problem that existing technologies cannot quantitatively describe the attraction domain of a microgrid system with constant impedance loads under different operating conditions, making it difficult to grasp the stable state of the system in actual operation and to take measures in advance to prevent system instability.

[0007] This invention provides a method for characterizing the stable attraction domain of a microgrid, comprising: Establish a mathematical model for a microgrid system with constant impedance loads connected to it. The Thevenin equivalent transformation is applied to the load side and the grid side of the mathematical model to generate the equivalent transformed mathematical model; By moving the equilibrium point of the mathematical model after the equivalent transformation to the origin, a high-order nonlinear model of constant impedance access microgrid is obtained. The high-order nonlinear model of the constant impedance access microgrid is fuzzified to obtain the TS fuzzy model. Establish the Lyapunov energy function based on the TS fuzzy model, and generate the asymptotic stability condition inequality of the Lyapunov energy function; Based on the asymptotic stability condition inequality, the Lyapunov energy function is solved to obtain the coefficient matrix and parameter extrema; The attraction domain of a constant impedance load connected to a microgrid system is characterized by the coefficient matrix and the extreme values ​​of the parameters.

[0008] Optionally, the mathematical model for the microgrid system with constant impedance loads is as follows: ; Where δ represents the output power angle, is the first derivative of the output power angle, ω and ω0 represent the output angular frequency and the rated angular frequency, respectively, and P e and P ref Q represents the output active power and the active power command value, respectively. e To output reactive power, Q ref Where D is the reactive power command value, J is the damping coefficient, and v is the moment of inertia. g V is the grid voltage. o i is the output voltage of the virtual synchronous machine. o L is the output current, ω is the output angular frequency, and L is the output current. L R L i represents the load-side inductance and resistance, respectively. g i L and i f These are the grid-side current, load-side current, and output current, respectively; L g and R g R represents the line inductance and line resistance, respectively. f L f and Cf These represent the filter resistor, filter inductor, and filter capacitor, respectively. The subscripts d and q represent the d-axis and q-axis components of the corresponding state variables, respectively. E is the VSG output voltage, and U... m K is the grid voltage, and K is the inertial parameter of the denominator of the reactive power loop differential element. q It represents the reactive power-voltage droop coefficient.

[0009] Optionally, the equivalent mathematical model after the transformation is: ; Among them, v g R is the Thevenin equivalent grid voltage. e L e These represent the line impedance after Thevenin equivalent.

[0010] Optionally, the higher-order nonlinear model of the constant impedance access microgrid is: ;

[0011] Wherein, the subscripts d and q are the components of the corresponding state variables in the d and q axis coordinates, the subscript with 0 indicates the steady-state value of the system output, x1 is the power angle disturbance component, x2 is the angular frequency disturbance component, x3 is the VSG potential amplitude disturbance component, x4 is the d-axis current disturbance component of the filter inductor, x5 is the q-axis current disturbance component of the filter inductor, x6 is the d-axis terminal voltage disturbance component of the filter capacitor, x7 is the q-axis terminal voltage disturbance component of the filter capacitor, x8 is the d-axis output current disturbance component of the grid-connected side, and x9 is the q-axis output current disturbance component of the grid-connected side.

[0012] Optionally, the asymptotic stability condition inequality of the Lyapunov energy function is: ; Where M is the coefficient matrix, A1 is the system state matrix corresponding to the first fuzzy rule, A2 is the system state matrix corresponding to the second fuzzy rule, A3 is the system state matrix corresponding to the fuzzy rule, and A4 is the system state matrix corresponding to the fourth fuzzy rule.

[0013] Optionally, the step of solving the Lyapunov energy function based on the asymptotic stability condition inequality to obtain the coefficient matrix and parameter extrema includes: Set the extreme values ​​of the parameters in the asymptotic stability condition inequality to 0; Solve the asymptotic stability condition inequality based on the extreme values ​​of the parameters; If the asymptotic stability condition inequality has a feasible solution, then solve for the coefficient matrix of the Lyapunov energy function coefficient matrix; The extreme values ​​of the parameters are adjusted with a preset adjustment step size, and the process of solving the asymptotic stability condition inequality based on the extreme values ​​of the parameters is returned. If the asymptotic stability condition inequality has no feasible solution, then output the extreme values ​​of the parameters and the coefficient matrix.

[0014] Optionally, the step of characterizing the attraction domain of the constant impedance load connected to the microgrid system based on the coefficient matrix and the extreme values ​​of the parameters includes: The angular frequency disturbance component and output voltage disturbance component of the grid-type inverter with constant impedance load connected to the microgrid system are calculated by obtaining the coefficient matrix and the extreme values ​​of the parameters. A two-dimensional plane is constructed using the angular frequency disturbance component and the output voltage disturbance component to obtain the attraction domain of the constant impedance load connected to the microgrid system.

[0015] The present invention also provides a microgrid stable attraction domain characterization device, comprising: The mathematical model building module is used to build mathematical models for microgrid systems with constant impedance loads connected to them. The Thevenin equivalent transformation module is used to perform Thevenin equivalent transformation on the load side and the grid side of the mathematical model to generate the equivalent transformed mathematical model. The high-order nonlinear model generation module is used to move the equilibrium point of the equivalent transformed mathematical model to the origin to obtain a high-order nonlinear model of constant impedance access microgrid. The fuzzification processing module is used to perform fuzzification processing on the high-order nonlinear model of the constant impedance access microgrid to obtain the TS fuzzy model. An asymptotic stability condition inequality generation module is used to establish the Lyapunov energy function based on the TS fuzzy model and generate the asymptotic stability condition inequality of the Lyapunov energy function. The solution module is used to solve the Lyapunov energy function according to the asymptotic stability condition inequality, and obtain the coefficient matrix and parameter extrema; The attraction domain characterization module is used to characterize the attraction domain of a constant impedance load connected to a microgrid system based on the coefficient matrix and the extreme values ​​of the parameters.

[0016] The present invention also provides an electronic device, the device comprising a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the microgrid stable attraction domain characterization method as described above, according to instructions in the program code.

[0017] The present invention also provides a computer-readable storage medium for storing program code for executing the microgrid stable attraction domain characterization method as described in any of the preceding claims.

[0018] As can be seen from the above technical solutions, this invention has the following advantages: This invention establishes a mathematical model of a microgrid system with constant impedance loads; performs Thevenin equivalent transformation on the load and grid sides of the mathematical model to generate an equivalent transformed mathematical model; moves the equilibrium point of the equivalent transformed mathematical model to the origin to obtain a high-order nonlinear model of the constant impedance microgrid; performs fuzzification processing on the high-order nonlinear model of the constant impedance microgrid to obtain a TS fuzzy model; establishes a Lyapunov energy function based on the TS fuzzy model and generates an asymptotic stability condition inequality for the Lyapunov energy function; solves the Lyapunov energy function according to the asymptotic stability condition inequality to obtain the coefficient matrix and parameter extrema; and characterizes the attraction domain of the constant impedance load microgrid system based on the coefficient matrix and parameter extrema. Thus, it accurately characterizes the stable attraction domain of a microgrid with constant impedance loads, precisely defines its safe operation boundary, ensures reliable grid connection of distributed renewable energy, maintains the transient stability of the microgrid, and enhances the renewable energy consumption space. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 A flowchart illustrating the steps of a method for characterizing a stable attraction domain in a microgrid, as provided in an embodiment of the present invention; Figure 2 This is a main circuit structure diagram of a microgrid system with constant impedance load provided in an embodiment of the present invention; Figure 3 This is a control structure diagram of a microgrid system with constant impedance loads provided in an embodiment of the present invention; Figure 4a Figure 1 shows the attraction domain of a microgrid system with constant impedance loads connected to it under different load-side impedances. Figure 4b Figure 1 shows the attraction domain of a microgrid system with constant impedance loads connected under different moments of inertia. Figure 4c Figure 1 shows the attraction domain of a microgrid system with constant impedance loads connected under different damping coefficients. Figure 4dFigure 1 shows the attraction domain of a microgrid system with constant impedance loads connected to it under different droop coefficients. Figure 5 This is a structural block diagram of a microgrid stable attraction domain characterization device provided in an embodiment of the present invention. Detailed Implementation

[0021] This invention provides a method, apparatus, device, and storage medium for characterizing the stable attraction domain of a microgrid, which solves the technical problem that the prior art cannot quantitatively describe the attraction domain of a microgrid system with constant impedance loads under different operating conditions, making it difficult to grasp the stable state of the system in actual operation and to take measures in advance to prevent system instability.

[0022] To make the objectives, features, and advantages of this invention more apparent and understandable, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0023] Please see Figure 1 , Figure 1 A flowchart illustrating the steps of a method for characterizing a stable attraction domain in a microgrid, as provided in an embodiment of the present invention.

[0024] The present invention provides a method for characterizing the stable attraction domain of a microgrid, which may specifically include the following steps: Step 101: Establish a mathematical model for a microgrid system with constant impedance loads connected to it. Please refer to Figure 2 and Figure 3 , Figure 2 This is a main circuit structure diagram of a microgrid system with constant impedance load provided in an embodiment of the present invention; Figure 3 This is a control structure diagram of a microgrid system with constant impedance loads provided in an embodiment of the present invention; based on Figure 2 and Figure 3 The embodiments of the present invention can combine the transient interaction characteristics between constant impedance loads and microgrids to establish a data model for a microgrid system with constant impedance loads connected to it, as detailed below: ; Where δ represents the output power angle, is the first derivative of the output power angle, ω and ω0 represent the output angular frequency and the rated angular frequency, respectively, and P e and P ref Q represents the output active power and the active power command value, respectively. e To output reactive power, Q refWhere D is the reactive power command value, J is the damping coefficient, and v is the moment of inertia. g V is the grid voltage. o i is the output voltage of the virtual synchronous machine. o L is the output current, ω is the output angular frequency, and L is the output current. L R L i represents the load-side inductance and resistance, respectively. g i L and i f These are the grid-side current, load-side current, and output current, respectively; L g and R g R represents the line inductance and line resistance, respectively. f L f and C f These represent the filter resistor, filter inductor, and filter capacitor, respectively. The subscripts d and q represent the d-axis and q-axis components of the corresponding state variables, respectively. E is the VSG output voltage, and U... m K is the grid voltage, and K is the inertial parameter of the denominator of the reactive power loop differential element. q It represents the reactive power-voltage droop coefficient.

[0025] Step 102: Perform Thevenin equivalent transformation on the load and grid side of the mathematical model to generate the equivalent transformed mathematical model; In practical scenarios, to utilize the linear characteristics of constant impedance loads, the complex microgrid differential algebraic equations (DAE) are reduced to pure differential equations (ODE), thereby concentrating the dispersed network parameters into a single trigonometric function of the power angle. This allows subsequent TS fuzzification to achieve sector-wide linear approximation with minimal model error, ultimately ensuring that LMI (linear matrix inequality) can solve for the non-conservative attraction domain ellipsoid. This invention, after constructing a mathematical model of a microgrid system with constant impedance loads, performs real-time Thevenin equivalence on both the load side and the grid side to construct the equivalent transformed mathematical model. Specifically: ; Among them, v g R is the Thevenin equivalent grid voltage. e L e These represent the line impedance after Thevenin equivalent.

[0026] Step 103: Move the equilibrium point of the mathematical model after the equivalent transformation to the origin to obtain the high-order nonlinear model of the constant impedance microgrid. In this embodiment of the invention, after obtaining the equivalent transformation mathematical model, the equilibrium point of the equivalent transformation mathematical model can be moved to the origin, so that the deviation of each state variable in the steady-state operation of the microgrid system with constant impedance load approaches 0. Based on the steady-state operating point, a high-order nonlinear model of the constant impedance microgrid is constructed, as follows: ; ; Wherein, the subscripts d and q are the components of the corresponding state variables in the d and q axis coordinates, the subscript with 0 indicates the steady-state value of the system output, x1 is the power angle disturbance component, x2 is the angular frequency disturbance component, x3 is the VSG potential amplitude disturbance component, x4 is the d-axis current disturbance component of the filter inductor, x5 is the q-axis current disturbance component of the filter inductor, x6 is the d-axis terminal voltage disturbance component of the filter capacitor, x7 is the q-axis terminal voltage disturbance component of the filter capacitor, x8 is the d-axis output current disturbance component of the grid-connected side, and x9 is the q-axis output current disturbance component of the grid-connected side.

[0027] Step 104: Fuzzyize the high-order nonlinear model of the constant impedance microgrid to obtain the TS fuzzy model. In this embodiment of the invention, the high-order nonlinear model of the constant impedance access microgrid can be fuzzified to obtain the TS fuzzy model, and a Lyapunov energy function based on the TS fuzzy model can be established to provide a basis for characterizing the attraction domain of the system.

[0028] First, the nonlinear terms in the high-order nonlinear model of the constant-impedance connected microgrid are accurately characterized. State variables x2 and x3 are selected as fuzzy modeling variables, where x2 represents the angular frequency disturbance component of the grid-connected inverter, and x3 represents the output voltage disturbance component of the grid-connected inverter. Based on the minimum and maximum values ​​of each state variable within its operating range, a fuzzy set for the corresponding parallel system is constructed, and two fuzzy rules are designed for state variables x2 and x3 respectively to achieve a locally linearized description of the nonlinear system.

[0029] The corresponding specific fuzzy rules are expressed as follows: Rule R1: If x2 is x 2min x3 is x 3min Then the local linear model of the system is: ; Rule R2: If x2 is x 2min x3 is x 3max Then the local linear model of the system is: ; Rule R3: If x2 is x 2max x3 is x 3minThen the local linear model of the system is: ; Rule R4: If x2 is x 2max x3 is x 3max Then the local linear model of the system is: ; The above four local linear models of the system constitute a complete TS fuzzy model.

[0030] Step 105: Establish the Lyapunov energy function based on the TS fuzzy model and generate the asymptotic stability condition inequality of the Lyapunov energy function. In this embodiment of the invention, the Lyapunov energy function considering constant impedance loads connected to a microgrid system is expressed as: ; Where M is the coefficient matrix; According to the stability principle of the Lyapunov energy function, the system will enter an asymptotically stable state when V(x) ≤ 0. Substituting the TS fuzzy model under the premise that V(x) ≤ 0, we obtain the asymptotic stability condition: ; in, A i Let represent the system state matrix corresponding to the i-th fuzzy rule, where i = 1, 2, 3, 4.

[0031] Stability analysis of the TS fuzzy model shows that the system is stable if matrix M exists. That is, the stability condition for a microgrid system considering constant impedance loads is: ; Where M is the coefficient matrix, belonging to 9 9 unknown symmetric matrices, A1 is the system state matrix corresponding to the first fuzzy rule, A2 is the system state matrix corresponding to the second fuzzy rule, A3 is the system state matrix corresponding to the fuzzy rule, and A4 is the system state matrix corresponding to the fourth fuzzy rule.

[0032] Step 106: Solve for the Lyapunov energy function based on the asymptotic stability condition inequality to obtain the coefficient matrix and parameter extrema; In this embodiment of the invention, the Lyapunov energy function can be solved according to the asymptotic stability condition inequality, thereby obtaining the corresponding coefficient matrix and parameter extrema.

[0033] In one example, step 106 may include the following sub-steps: S61, assign the parameter extrema of the asymptotic stability condition inequality to 0; S62, Solving asymptotic stability condition inequalities based on parameter extrema; S63. If the asymptotic stability condition inequality has a feasible solution, then solve for the coefficient matrix of the Lyapunov energy function coefficient matrix. S64, adjust the extreme values ​​of the parameters with a preset adjustment step size, and return the steps of solving the asymptotic stability condition inequalities based on the extreme values ​​of the parameters; S65. If the asymptotic stability condition inequality has no feasible solution, then output the extreme values ​​of the parameters and the coefficient matrix.

[0034] In this embodiment of the invention, the asymptotic stability condition inequality can be solved using the LMI toolbox of MATLAB software. The specific operation process is as follows: First, the extreme value variable x is... imin x imax The initial value is set to 0; if the asymptotic stability condition inequality has a feasible solution, the coefficient matrix M in the Lyapunov energy function of the system is solved; then, with an adjustment step size of 0.01, the range of parameter values ​​is adjusted by decreasing the minimum value of the parameter and increasing the maximum value of the parameter, and the constraints corresponding to the LMI condition are solved again based on the adjusted parameters; if the LMI condition has no feasible solution, the attraction domain of the system is characterized by the coefficient matrix and parameter extrema obtained in the previous steps.

[0035] Step 107: Characterize the attraction domain of the constant impedance load connected to the microgrid system based on the coefficient matrix and parameter extrema.

[0036] In this embodiment of the invention, the attraction domain of a constant impedance load connected to a microgrid system can be characterized by the coefficient matrix and the extreme values ​​of the parameters.

[0037] In one example, step 107 may include the following sub-steps: S71, obtain the coefficient matrix and parameter extreme values ​​to calculate the angular frequency disturbance component and output voltage disturbance component of the grid-type inverter with constant impedance load connected to the microgrid system; S72 uses angular frequency disturbance components and output voltage disturbance components to construct a two-dimensional plane to obtain the attraction domain of constant impedance load connected to the microgrid system.

[0038] Select state variables x2 and x3 to construct the corresponding two-dimensional plane, and use this to analyze the attraction domain characteristics of the microgrid system under constant impedance access mode.

[0039] Among them, considering the attraction domain distribution characteristics of constant impedance loads connected to the microgrid system, as follows: Figure 4a , 4b , Figure 4c , 4d As shown.

[0040] This invention establishes a mathematical model of a microgrid system with constant impedance loads; performs a Thevenin equivalent transformation on the load and grid sides of the mathematical model to generate an equivalent transformed mathematical model; moves the equilibrium point of the equivalent transformed mathematical model to the origin, obtaining a high-order nonlinear model of the constant impedance microgrid; fuzzifies the high-order nonlinear model of the constant impedance microgrid to obtain a TS fuzzy model; establishes a Lyapunov energy function based on the TS fuzzy model and generates an asymptotic stability inequality for the Lyapunov energy function; solves the Lyapunov energy function according to the asymptotic stability inequality to obtain the coefficient matrix and parameter extrema; and characterizes the attraction domain of the constant impedance load microgrid system based on the coefficient matrix and parameter extrema. This accurately characterizes the stable attraction domain of a microgrid with constant impedance loads, precisely defines its safe operating boundary, ensures reliable grid connection of distributed renewable energy, maintains the transient stability of the microgrid, and enhances the renewable energy consumption capacity.

[0041] Please see Figure 5 , Figure 5 This is a structural block diagram of a microgrid stable attraction domain characterization device provided in an embodiment of the present invention.

[0042] This invention provides a microgrid stable attraction domain characterization device, comprising: Mathematical model building module 501 is used to build a mathematical model of a microgrid system with constant impedance loads connected to it. Thevenin equivalent transformation module 502 is used to perform the Thevenin equivalent transformation on the load side and the grid side of the mathematical model to generate the equivalent transformed mathematical model; The high-order nonlinear model generation module 503 is used to move the equilibrium point of the equivalent transformation mathematical model to the origin to obtain the high-order nonlinear model of the constant impedance microgrid. The fuzzification processing module 504 is used to fuzzify the high-order nonlinear model of the constant impedance access microgrid to obtain the TS fuzzy model. The asymptotic stability condition inequality generation module 505 is used to establish the Lyapunov energy function based on the TS fuzzy model and generate the asymptotic stability condition inequality of the Lyapunov energy function. Solver module 506 is used to solve the Lyapunov energy function based on the asymptotic stability condition inequality, and obtain the coefficient matrix and parameter extrema; The attraction domain characterization module 507 is used to characterize the attraction domain of a constant impedance load connected to a microgrid system based on the coefficient matrix and parameter extrema.

[0043] In this embodiment of the invention, the mathematical model for a microgrid system with constant impedance loads is as follows: ; Where δ represents the output power angle, P is the first derivative of the output power angle, where ω and ω0 represent the output angular frequency and the rated angular frequency, respectively. e and P ref Q represents the output active power and the active power command value, respectively. e To output reactive power, Q ref Where D is the reactive power command value, J is the damping coefficient, and v is the moment of inertia. g V is the grid voltage. o i is the output voltage of the virtual synchronous machine. o L is the output current, ω is the output angular frequency, and L is the output current. L R L i represents the load-side inductance and resistance, respectively. g i L and i f These are the grid-side current, load-side current, and output current, respectively; L g and R g R represents the line inductance and line resistance, respectively. f L f and C f These represent the filter resistor, filter inductor, and filter capacitor, respectively. The subscripts d and q represent the d-axis and q-axis components of the corresponding state variables, respectively. E is the VSG output voltage, and U... m K is the grid voltage, and K is the inertial parameter of the denominator of the reactive power loop differential element. q It represents the reactive power-voltage droop coefficient.

[0044] In this embodiment of the invention, the equivalent mathematical model after transformation is as follows: ; Among them, v g R is the Thevenin equivalent grid voltage. e L e These represent the line impedance after Thevenin equivalent.

[0045] In this embodiment of the invention, the high-order nonlinear model of the constant impedance access microgrid is as follows: ; ; Wherein, the subscripts d and q are the components of the corresponding state variables in the d and q axis coordinates, the subscript with 0 indicates the steady-state value of the system output, x1 is the power angle disturbance component, x2 is the angular frequency disturbance component, x3 is the VSG potential amplitude disturbance component, x4 is the d-axis current disturbance component of the filter inductor, x5 is the q-axis current disturbance component of the filter inductor, x6 is the d-axis terminal voltage disturbance component of the filter capacitor, x7 is the q-axis terminal voltage disturbance component of the filter capacitor, x8 is the d-axis output current disturbance component of the grid-connected side, and x9 is the q-axis output current disturbance component of the grid-connected side.

[0046] In this embodiment of the invention, the asymptotic stability condition inequality for the Lyapunov energy function is: ; Where M is the coefficient matrix, A1 is the system state matrix corresponding to the first fuzzy rule, A2 is the system state matrix corresponding to the second fuzzy rule, A3 is the system state matrix corresponding to the fuzzy rule, and A4 is the system state matrix corresponding to the fourth fuzzy rule.

[0047] In this embodiment of the invention, the steps of solving the Lyapunov energy function based on the asymptotic stability condition inequality to obtain the coefficient matrix and parameter extrema include: Set the extreme values ​​of the parameters in the asymptotic stability condition inequality to 0; Solving asymptotic stability condition inequalities based on parametric extrema; If the asymptotic stability condition inequality has a feasible solution, then solve for the coefficient matrix of the Lyapunov energy function coefficient matrix. Adjust the extreme values ​​of the parameters with a preset adjustment step size, and return the steps for solving the asymptotic stability condition inequality based on the extreme values ​​of the parameters; If the asymptotic stability conditional inequality has no feasible solution, then output the extreme values ​​of the parameters and the coefficient matrix.

[0048] In this embodiment of the invention, the step of characterizing the attraction domain of a constant impedance load connected to a microgrid system based on the coefficient matrix and parameter extrema includes: Obtain the coefficient matrix and parameter extrema to calculate the angular frequency disturbance component and output voltage disturbance component of a grid-type inverter connected to a microgrid system with constant impedance load; A two-dimensional plane is constructed using angular frequency disturbance components and output voltage disturbance components to obtain the attraction domain of a constant impedance load connected to a microgrid system.

[0049] This invention also provides an electronic device, which includes a processor and a memory: The memory is used to store program code and transfer the program code to the processor; The processor is used to execute the microgrid stable attraction domain characterization method of this invention according to the instructions in the program code.

[0050] This invention also provides a computer-readable storage medium for storing program code for executing the microgrid stable attraction domain characterization method of this invention.

[0051] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0052] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0053] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented 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.

[0054] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (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 terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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.

[0055] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate 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.

[0056] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal 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.

[0057] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0058] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0059] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

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

Claims

1. A method for characterizing the stable attraction domain of a microgrid, characterized in that, include: Establish a mathematical model for a microgrid system with constant impedance loads connected to it. The Thevenin equivalent transformation is applied to the load side and the grid side of the mathematical model to generate the equivalent transformed mathematical model; By moving the equilibrium point of the mathematical model after the equivalent transformation to the origin, a high-order nonlinear model of constant impedance access microgrid is obtained. The high-order nonlinear model of the constant impedance access microgrid is fuzzified to obtain the TS fuzzy model. Establish the Lyapunov energy function based on the TS fuzzy model, and generate the asymptotic stability condition inequality of the Lyapunov energy function; Based on the asymptotic stability condition inequality, the Lyapunov energy function is solved to obtain the coefficient matrix and parameter extrema; The attraction domain of a constant impedance load connected to a microgrid system is characterized by the coefficient matrix and the extreme values ​​of the parameters.

2. The method according to claim 1, characterized in that, The mathematical model for the microgrid system with constant impedance loads is as follows: ; Where δ represents the output power angle, is the first derivative of the output power angle, ω and ω0 represent the output angular frequency and the rated angular frequency, respectively, and P e and P ref Q represents the output active power and the active power command value, respectively. e To output reactive power, Q ref Where D is the reactive power command value, J is the damping coefficient, and v is the moment of inertia. g V is the grid voltage. o i is the output voltage of the virtual synchronous machine. o L is the output current, ω is the output angular frequency, and L is the output current. L R L i represents the load-side inductance and resistance, respectively. g i L and i f These are the grid-side current, load-side current, and output current, respectively; L g and R g R represents the line inductance and line resistance, respectively. f L f and C f These represent the filter resistor, filter inductor, and filter capacitor, respectively. The subscripts d and q represent the d-axis and q-axis components of the corresponding state variables, respectively. E is the VSG output voltage, and U... m K is the grid voltage, and K is the inertial parameter of the denominator of the reactive power loop differential element. q It represents the reactive power-voltage droop coefficient.

3. The method according to claim 2, characterized in that, The equivalent transformation mathematical model is as follows: ; Among them, v g R is the Thevenin equivalent grid voltage. e L e These represent the line impedance after Thevenin equivalent.

4. The method according to claim 3, characterized in that, The higher-order nonlinear model of the constant impedance access microgrid is as follows: ; ; Wherein, the subscripts d and q are the components of the corresponding state variables in the d and q axis coordinates, the subscript with 0 indicates the steady-state value of the system output, x1 is the power angle disturbance component, x2 is the angular frequency disturbance component, x3 is the VSG potential amplitude disturbance component, x4 is the d-axis current disturbance component of the filter inductor, x5 is the q-axis current disturbance component of the filter inductor, x6 is the d-axis terminal voltage disturbance component of the filter capacitor, x7 is the q-axis terminal voltage disturbance component of the filter capacitor, x8 is the d-axis output current disturbance component of the grid-connected side, and x9 is the q-axis output current disturbance component of the grid-connected side.

5. The method according to claim 4, characterized in that, The asymptotic stability condition inequality for the Lyapunov energy function is: ; Where M is the coefficient matrix, A1 is the system state matrix corresponding to the first fuzzy rule, A2 is the system state matrix corresponding to the second fuzzy rule, A3 is the system state matrix corresponding to the fuzzy rule, and A4 is the system state matrix corresponding to the fourth fuzzy rule.

6. The method according to claim 5, characterized in that, The step of solving the Lyapunov energy function based on the asymptotic stability condition inequality to obtain the coefficient matrix and parameter extrema includes: Set the extreme values ​​of the parameters in the asymptotic stability condition inequality to 0; Solve the asymptotic stability condition inequality based on the extreme values ​​of the parameters; If the asymptotic stability condition inequality has a feasible solution, then solve for the coefficient matrix of the Lyapunov energy function coefficient matrix; The extreme values ​​of the parameters are adjusted with a preset adjustment step size, and the process of solving the asymptotic stability condition inequality based on the extreme values ​​of the parameters is returned. If the asymptotic stability condition inequality has no feasible solution, then output the extreme values ​​of the parameters and the coefficient matrix.

7. The method according to claim 1, characterized in that, The step of characterizing the attraction domain of a constant impedance load connected to a microgrid system based on the coefficient matrix and the extreme values ​​of the parameters includes: The angular frequency disturbance component and output voltage disturbance component of the grid-type inverter with constant impedance load connected to the microgrid system are calculated by obtaining the coefficient matrix and the extreme values ​​of the parameters. A two-dimensional plane is constructed using the angular frequency disturbance component and the output voltage disturbance component to obtain the attraction domain of the constant impedance load connected to the microgrid system.

8. A device for characterizing the stable attraction domain of a microgrid, characterized in that, include: The mathematical model building module is used to build mathematical models for microgrid systems with constant impedance loads connected to them. The Thevenin equivalent transformation module is used to perform Thevenin equivalent transformation on the load side and the grid side of the mathematical model to generate the equivalent transformed mathematical model. The high-order nonlinear model generation module is used to move the equilibrium point of the equivalent transformed mathematical model to the origin to obtain a high-order nonlinear model of constant impedance access microgrid. The fuzzification processing module is used to perform fuzzification processing on the high-order nonlinear model of the constant impedance access microgrid to obtain the TS fuzzy model. An asymptotic stability condition inequality generation module is used to establish the Lyapunov energy function based on the TS fuzzy model and generate the asymptotic stability condition inequality of the Lyapunov energy function. The solution module is used to solve the Lyapunov energy function according to the asymptotic stability condition inequality, and obtain the coefficient matrix and parameter extrema; The attraction domain characterization module is used to characterize the attraction domain of a constant impedance load connected to a microgrid system based on the coefficient matrix and the extreme values ​​of the parameters.

9. An electronic device, characterized in that, The device includes a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the microgrid stable attraction domain characterization method according to any one of claims 1-7, based on instructions in the program code.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store program code for executing the microgrid stable attraction domain characterization method according to any one of claims 1-7.