Power system Lyapunov function construction method, device and equipment based on induction motor
By constructing a Lyapunov function for a power system based on an induction motor, electrical quantities and stability balance data are obtained, and power flow equations are constructed. This solves the problems of narrow applicability and low accuracy in existing technologies, and achieves higher analytical accuracy and wider applicability.
Patent Information
- Application Number
- CN202610166793.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-05
- Publication Date
- 2026-05-15
AI Technical Summary
In the existing technology, the energy function method for transient stability analysis of large-scale power systems containing induction motors has the problems of narrow applicability and low accuracy. In particular, it cannot be applied to the case where infinite bus does not exist, and the low accuracy of the first-order model of the induction motor leads to misjudgment.
This paper presents a method for constructing Lyapunov functions for power systems based on induction motors. By acquiring electrical quantity data and stability balance data of all generator sets in the power system, a transient stability analysis model is constructed, which is then converted into power flow equations. Trigonometric function data and state data are obtained to determine whether to construct Lyapunov functions. This method is applicable to power systems with or without infinite busbars.
It improves the accuracy and applicability of Lyapunov function construction, enabling more accurate analysis of the transient stability of large-scale power systems containing induction motors, without the need to assume an infinite bus, and is applicable to a wider range of power system scenarios.
Smart Images

Figure CN122045567A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of transient stability analysis technology for power systems, and in particular to a method, apparatus, and equipment for constructing Lyapunov functions for power systems based on induction motors. Background Technology
[0002] The Lyapunov function method is a primary approach for analyzing the transient stability of large-scale power systems, and constructing the Lyapunov function is its core step. However, for transient stability analysis of large-scale power systems containing induction motors, the energy function method is another approach. However, this method requires the assumption of an infinite bus in the power system and only considers the first-order dynamics of the induction motors. Therefore, this method, which considers the first-order dynamics of the induction motors, is unsuitable for power systems without an infinite bus. Furthermore, the low accuracy of the first-order model of the induction motor can easily lead to misjudgments, resulting in low applicability and accuracy of the energy function method for transient stability analysis of power systems. Therefore, currently, there is a lack of methods for constructing Lyapunov functions for large-scale power systems that consider the detailed dynamics of induction motors. Summary of the Invention
[0003] This application provides a method, apparatus, and device for constructing Lyapunov functions for power systems based on induction motors, which addresses the technical problems of narrow applicability and low accuracy in existing transient stability analysis of power systems containing induction motors using the energy function method.
[0004] To achieve the above objectives, this application provides the following technical solution:
[0005] On the one hand, a method for constructing Lyapunov functions for power systems based on induction motors is provided, including the following steps:
[0006] Acquire electrical quantity data of all generator sets in the power system, and acquire stable balance data of the power system when it is in a stable equilibrium.
[0007] A transient stability analysis model of the power system is obtained by constructing a model based on the electrical quantity data.
[0008] The transient stability analysis model is transformed based on the stable equilibrium data to obtain the power flow equations; trigonometric function data and state data are then obtained from the power flow equations.
[0009] Based on the trigonometric function data, determine whether to construct the Lyapunov function of the power system based on the state data and the trigonometric function data.
[0010] Optionally, the generator set includes an induction motor and a synchronous generator; obtaining stable balance data indicating that the power system is in a stable equilibrium includes:
[0011] Obtain the relative angle expression of the power system, the steady-state value of the rotor slip of each of the induction motors in stable equilibrium of the power system, and the steady-state value of the angle of each of the generator sets relative to the reference synchronous generator.
[0012] The relative angle steady-state value corresponding to any two generator sets is obtained by using the relative angle expression based on the angle steady-state values of any two generator sets.
[0013] The expression for the relative angle is:
[0014] ;
[0015] In the formula, Let be the steady-state value of the relative angle between the i-th generator set and the j-th generator set. Let be the steady-state angle value of the i-th generator set relative to the reference synchronous generator n. Let G be the steady-state angle value of the j-th generator set relative to the reference synchronous generator n, G be the total number of synchronous generators in the power system, and M be the total number of induction motors in the power system; the stable balance data includes the steady-state value of the relative angle and the steady-state value of the rotor slip.
[0016] Optionally, the trigonometric function data includes all trigonometric function terms and coefficients in the power flow equations; determining whether to construct the Lyapunov function of the power system based on the trigonometric function data and the state data includes:
[0017] If all the trigonometric function terms are the same and all the coefficients of the function terms are constant, then the Lyapunov function of the power system is constructed based on the state data and the trigonometric function data.
[0018] If at least one of the trigonometric function terms is different and / or if one of the coefficients of all the function terms is not a constant, then the Lyapunov function cannot be constructed for the power system.
[0019] Optionally, the generator set includes an induction motor and a synchronous generator; the Lyapunov function of the power system is constructed based on the state data and the trigonometric function data, including:
[0020] Based on the state data, determine the state vector;
[0021] Connect any two of the generator sets to determine the number of branches;
[0022] The trigonometric function vector is determined based on the trigonometric function terms and the number of branches in the trigonometric function data;
[0023] Obtain the coefficient matrix for constructing the Lyapunov function, and construct it based on the state vector, the trigonometric function vector, and the coefficient matrix to obtain the Lyapunov function of the power system.
[0024] Optionally, if the power system includes n synchronous generators and m induction motors, the number of branches is denoted as ε, and the coefficient matrix includes a first coefficient matrix and a second coefficient matrix, obtaining the coefficient matrix for constructing the Lyapunov function includes:
[0025] Obtain the first zero matrix (m x n), the second zero matrix (n x m), the third zero matrix (m x (n-1)) and the fourth zero matrix ((n-1) x (n-1) and the fifth zero matrix ((n-1) x (m) and the sixth zero matrix (n x (n-1) and the seventh zero matrix (m x (m) and the eighth zero matrix ((n-1) x (ε)) and the eighth zero matrix ((n-1) x (ε)) and the n-1 column matrix, the m column matrix, the first identity matrix ((n-1) x (n-1) and the second identity matrix (m x (m) and the third zero matrix ((n-1) x (n-1)) and the fourth zero matrix ((n-1) x (n-1)) and the fifth zero matrix ((n-1) x (m) and the sixth zero matrix (n-1) and the seventh zero matrix (m x (m) and the eighth zero matrix ((n-1) x (ε))) and the eighth zero matrix ((n-1) x (ε))) and the eighth zero matrix ((n-1) x (ε)))))))))))))))))))))))))))))))))""))))""))))""')))"""' ...
[0026] Based on the power flow equations, determine the definition matrix;
[0027] Based on the conduction data of any two generator sets in the electrical quantity data, determine the conduction matrix; based on the equivalent coefficients and inertia coefficients of all induction motors in the electrical quantity data, determine the corresponding m-order diagonal equivalent coefficient matrix and m-order diagonal inertia coefficient matrix; based on the inertia coefficients and damping coefficients of all synchronous generators in the electrical quantity data, determine the corresponding n-order diagonal inertia coefficient matrix and n-order diagonal damping coefficient matrix; based on the angular velocity reference value of the induction motor in the electrical quantity data and the second identity matrix, determine the angular velocity matrix;
[0028] The first matrix is determined based on the inverse matrix of the n-order diagonal inertia coefficient matrix and the second zero matrix; the second matrix is determined based on the m-order diagonal equivalent coefficient matrix and the first zero matrix; and the third matrix is determined based on the first zero matrix and the inverse matrix of the m-order diagonal inertia coefficient matrix.
[0029] The fourth matrix is determined based on the transpose of the (n-1)th order column matrix and the first identity matrix; the fifth matrix is determined based on the transpose of the m-th order column matrix and the third zero matrix.
[0030] The second coefficient matrix is determined based on the transpose of the eighth zero matrix, the first matrix, the second matrix, the third matrix, the conductivity matrix, and the definition matrix;
[0031] The first coefficient matrix of the square matrix is determined based on the first zero matrix, the second zero matrix, the third zero matrix, the fourth zero matrix, the fifth zero matrix, the sixth zero matrix, the seventh zero matrix, the fourth matrix, the nth-order diagonal inertia coefficient matrix, the nth-order diagonal damping coefficient matrix, the second matrix, and the angular velocity matrix.
[0032] Optionally, the generator set includes an induction motor and a synchronous generator. If the power system includes n synchronous generators and m induction motors; the state data includes the angular velocity of each synchronous generator, the rotor slip of each induction motor, the steady-state value of the rotor slip of each induction motor, and the steady-state value and angle of each generator set relative to a reference synchronous generator; determining the state vector based on the state data includes:
[0033] The angle deviation of the corresponding generator set is calculated based on the angle and the steady-state value of each generator set.
[0034] The slip deviation of the corresponding induction motor is calculated based on the rotor slip and the steady-state value of the rotor slip for each induction motor.
[0035] A first vector is obtained by constructing an n-1 order row matrix based on the angular deviations of all the synchronous generators; a second vector is obtained by constructing an n order row matrix based on all the angular velocities; a third vector is obtained by constructing an m order row matrix based on the angular deviations of all the induction motors; and a fourth vector is obtained by constructing an m order row matrix based on all the slip deviations.
[0036] A fourth-order row matrix is constructed based on the first vector, the second vector, the third vector, and the fourth vector to obtain the state vector.
[0037] On the other hand, a Lyapunov function construction device for power systems based on induction motors is provided, including: a data acquisition module, a model building module, a model conversion module, and a function construction module;
[0038] The data acquisition module is used to acquire electrical quantity data of all generator sets in the power system, and to acquire stable balance data of the power system when it is in a stable balance.
[0039] The model building module is used to build a model based on the electrical quantity data to obtain the transient stability analysis model of the power system.
[0040] The model conversion module is used to convert the transient stability analysis model based on the stable equilibrium data to obtain the power flow equations; and to obtain trigonometric function data and state data from the power flow equations.
[0041] The function construction module is used to determine whether to construct the Lyapunov function of the power system based on the trigonometric function data and the state data.
[0042] Optionally, the trigonometric function data includes all trigonometric function terms and coefficients in the power flow equations; the function construction module is further configured to construct the Lyapunov function of the power system based on the state data and the trigonometric function data if all the trigonometric function terms are the same and all the coefficients of the function terms are constant; or if at least one of the trigonometric function terms is different and / or one of the coefficients of the function terms is not constant, then the Lyapunov function of the power system cannot be constructed.
[0043] Optionally, the generator set includes an induction motor and a synchronous generator; the function construction module includes a first vector determination submodule, a branch determination submodule, a second vector determination submodule, and a function construction submodule;
[0044] The first vector determination submodule is used to determine a state vector based on the state data;
[0045] The branch determination submodule is used to connect any two of the generator sets and determine the number of branches;
[0046] The second vector determination submodule is used to determine the trigonometric function vector based on the trigonometric function terms and the number of branches in the trigonometric function data;
[0047] The function construction submodule is used to obtain the coefficient matrix for constructing the Lyapunov function, and constructs the Lyapunov function of the power system based on the state vector, the trigonometric function vector and the coefficient matrix.
[0048] On the other hand, a terminal device is provided, including a processor and a memory;
[0049] The memory is used to store program code and transmit the program code to the processor;
[0050] The processor is configured to execute the Lyapunov function construction method for power systems based on induction motors as described above, according to the instructions in the program code.
[0051] This invention discloses a method, apparatus, and equipment for constructing Lyapunov functions for power systems based on induction motors. The method includes: acquiring electrical quantity data of all generator units in the power system, and acquiring stable equilibrium data indicating that the power system is in a stable equilibrium state; constructing a model based on the electrical quantity data to obtain a transient stability analysis model of the power system; transforming the transient stability analysis model based on the stable equilibrium data to obtain power flow equations; extracting trigonometric function data and state data from the power flow equations; and determining whether to construct the Lyapunov function of the power system based on the trigonometric function data and the state data, thereby obtaining the Lyapunov function of the power system.
[0052] As can be seen from the above technical solutions, this application has the following advantages: The method for constructing the Lyapunov function of a power system based on induction motors constructs power flow equations by obtaining the electrical quantities of all generator units in the power system and their stable equilibrium data. From the power flow equations, trigonometric function data for determining whether the Lyapunov function of the power system is constructed and state data based on the constructed Lyapunov function of the power system are obtained, thereby improving the accuracy of the Lyapunov function construction of the power system. This method does not require the assumption of an infinite bus in the power system, and is applicable to both power systems with and without infinite buses. This method has stronger applicability to the construction of the Lyapunov function of the power system, and solves the technical problems of narrow applicability and low accuracy of existing methods that use the energy function method for transient stability analysis of power systems containing induction motors.
[0053] This Lyapunov function construction device for power systems based on induction motors acquires electrical quantities of all generator units in the power system and stable equilibrium data of their stable equilibrium through a data acquisition module, a model building module, a model conversion module, and a function construction module. It then constructs power flow equations, extracts trigonometric function data to determine whether the Lyapunov function of the power system is valid, and obtains state data based on the constructed Lyapunov function, thus improving the accuracy of Lyapunov function construction. Furthermore, it eliminates the need to assume the existence of an infinite bus in the power system, making it applicable to both power systems with and without infinite buses, thus enhancing the applicability of Lyapunov function construction for power systems. Attached Figure Description
[0054] To more clearly illustrate the technical solutions in the embodiments of this application 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0055] Figure 1 This is a flowchart illustrating the steps of the Lyapunov function construction method for a power system based on an induction motor, as described in an embodiment of this application.
[0056] Figure 2 This is a schematic diagram of the framework of the Lyapunov function construction method for a power system based on an induction motor, as described in an embodiment of this application.
[0057] Figure 3 This is a schematic diagram of the matrix definition in the Lyapunov function construction method for a power system based on an induction motor, as described in an embodiment of this application.
[0058] Figure 4 This is a schematic diagram of the framework of the Lyapunov function construction device for a power system based on an induction motor, as described in an embodiment of this application.
[0059] Figure 5 This is a schematic diagram of the terminal device described in an embodiment of this application. Detailed Implementation
[0060] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0061] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0062] In the embodiments of this application, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in the embodiments of this application according to the specific circumstances.
[0063] Patent terminology used in this application:
[0064] Lyapunov functions:
[0065] Considering autonomous nonlinear dynamic systems Suppose x=0 (the origin) is the equilibrium point of the system. If there exists an open set containing the origin... With continuously differentiable scalar functions satisfy , making
[0066] ;
[0067] Then x=0 is the stable equilibrium point of the nonlinear dynamic system, and the scalar function V(x) is called the Lyapunov function of the nonlinear dynamic system.
[0068] This application provides a method, apparatus, and device for constructing Lyapunov functions for power systems based on induction motors, which solves the technical problems of narrow applicability and low accuracy in existing transient stability analysis of power systems containing induction motors using the energy function method.
[0069] Example 1:
[0070] Figure 1 This is a flowchart illustrating the steps of the Lyapunov function construction method for a power system based on an induction motor, as described in an embodiment of this application. Figure 2 This is a schematic diagram illustrating the framework of the Lyapunov function construction method for a power system based on an induction motor, as described in an embodiment of this application.
[0071] like Figure 1 and Figure 2 As shown in the figure, this application provides a method for constructing Lyapunov functions for a power system based on an induction motor, including the following steps:
[0072] S1. Obtain electrical quantity data of all generator sets in the power system, and obtain stable equilibrium data of the power system when it is in a stable equilibrium.
[0073] It should be noted that the generator set includes synchronous generators and induction motors. In constructing the Lyapunov function for the power system based on induction motors, step S1 is required to obtain the multidimensional electrical quantity data needed to build the transient stability analysis model of the power system, as well as the stable equilibrium data required for model transformation, providing data for subsequent steps. In this embodiment, if the power system includes n synchronous generators and m induction motors, G={1, 2, ..., n} and M={n+1, n+2, ..., n+m} are the sets of numbers for the synchronous generators and induction motors, respectively. The electrical quantity data includes the angular velocity reference value and the internal potential angle δ of each induction motor. i Rotor slip s i Mechanical torque T m,i Electromagnetic torque T e,i Inertia coefficient T J,i Equivalent coefficient T red,i Transient time constant Transient reactance Synchronous Reactor X i and internal potential amplitude E i and the angular velocity ω of each synchronous generator i Mechanical power P m,i Electromagnetic power P e,i (P) e,i (It is a constant value), inertial constant M i Damping coefficient D i The angle δ of the generator set relative to the reference synchronous generator i,n and the conductance G of any two generator sets ij and susceptance B ij Etc. Stable equilibrium data includes steady-state values of relative angles. and rotor slip steady-state value Among them, based on the transient time constant of each induction motor Transient reactance Synchronous Reactor X i and internal potential amplitude E i The equivalent coefficients of the corresponding induction motor are calculated using the equivalent coefficient formula. The nth synchronous generator is used as the reference synchronous generator. The equivalent coefficient formula is as follows:
[0074] .
[0075] In this embodiment of the application, step S1 can obtain electrical quantity data of all generator sets in the power system and stable balance data of the power system being in a stable balance on the power system's energy management, dispatching or monitoring platform.
[0076] S2. Based on the electrical quantity data, a model is constructed to obtain the transient stability analysis model of the power system.
[0077] It should be noted that step S2 is based on step S1, which obtains all generator sets and constructs a transient stability analysis model of the power system through data-driven (such as reinforcement learning, random forest, support vector machine SVM, neural network and other machine learning) or mechanism modeling (such as the second-order differential equation of the rotor motion of existing generators, the dynamic equation of induction motors, etc.). This provides a basic framework for subsequent stability assessment and also provides a basic model for constructing the power flow equations required for the Lyapunov function of the power system based on induction motors.
[0078] In this embodiment, step S2 can be based on a second-order model of the induction motor that considers the internal potential angle and rotor slip dynamics. The dynamic equation of the second-order model is:
[0079] ;
[0080] In the formula, t is time, and δ i Let s be the internal electromotive force angle of the i-th induction motor. i Let T be the rotor slip of the i-th induction motor. m,i Let T be the mechanical torque of the i-th induction motor. e,i Let T be the electromagnetic torque of the i-th induction motor. J,i Let T be the inertia coefficient of the i-th induction motor. red,i Let be the equivalent coefficient of the i-th induction motor. Therefore, considering a large-scale power system with n synchronous generators and m induction motors, and choosing the n-th synchronous generator as the reference synchronous generator, the expression for the transient stability analysis model of the power system is:
[0081] ;
[0082] ;
[0083] In the formula, ω i Let ω be the angular velocity of the i-th synchronous generator. n Let be the angular velocity of the nth synchronous generator. Let P be the angular derivative of the i-th generator unit relative to the reference synchronous generator n. m,i Let P be the mechanical power of the i-th synchronous generator. e,i Let M be the electromagnetic power of the i-th synchronous generator. i Let D be the inertial constant of the i-th synchronous generator. i Let be the damping coefficient of the i-th synchronous generator. Let be the derivative of the angular velocity of the i-th synchronous generator. Let δ be the rotor slip derivative of the i-th induction motor. i,n Let G be the angle of the i-th generator set relative to the reference synchronous generator. ij and B ij E represents the conductance and susceptance between the i-th generator set and the j-th generator set, respectively. i Let E be the internal electromotive force of the i-th generator set. j Let δ be the internal electromotive force of the j-th generator unit. j,n Let be the angle of the j-th generator set relative to the reference synchronous generator.
[0084] It should be noted that, as can be seen from the expression of the transient stability analysis model, the previous... The first 2m equations represent the dynamic equations of the synchronous generator, and the remaining 2m equations represent the dynamic equations of the induction motor. When i=n, In the expression of the transient stability analysis model, when i takes values from 1, 2, ..., n ( ), i represents a synchronous generator, i represents an induction motor ( If both i and j exist, we can determine whether a generator set is a synchronous generator or an induction motor by directly judging whether i and j belong to set G or set M.
[0085] S3. Transform the transient stability analysis model based on the stable equilibrium data to obtain the power flow equations; extract trigonometric function data and state data from the power flow equations.
[0086] It should be noted that step S3 involves truncating the transient stability analysis model determined in step S2 at the stable equilibrium point of the power system to obtain the power flow equations. Then, the power flow equations are used to determine the judgment data required to construct the Lyapunov function of the power system. This judgment data includes trigonometric function data and state data. In this embodiment, the trigonometric function data includes all trigonometric function terms and their coefficients in the power flow equations. The state data includes the angular velocity of each synchronous generator, the rotor slip of each induction motor, the steady-state value of the rotor slip of each induction motor, and the steady-state value and angle of each generator set relative to the reference synchronous generator.
[0087] In this embodiment of the application, step S3 can be understood as adopting The expression of the transient stability analysis model in step S2 is converted into power flow equations. Then, by setting all zeros on the left-hand side of the power flow equations, the numerical values of the power system at the stable equilibrium point can be obtained as state data. Step S3 can also be understood as transforming the transient stability analysis model into power flow equations based on data from the stable equilibrium state of the power system (such as the voltage and power of generator units) through mathematical transformations. Then, key information containing the operating state of the power system (such as trigonometric functions of angles, coefficients of function terms, state data, etc.) is extracted from the power flow equations.
[0088] In this embodiment of the application, the expression for the power flow equation is:
[0089] ;
[0090] In the formula, Let be the steady-state value of the relative angle between the i-th generator set and the j-th generator set. Let S be the steady-state value of the rotor slip of the i-th induction motor. ij This represents the conductivity data between the i-th generator set and the j-th generator set. Where S... ij =E i E j B ij .
[0091] It should be noted that, as can be seen from the expression of the power flow equations, the trigonometric function terms are... For the nonlinear terms in the power flow equations, and other nonlinear terms, the coefficients of the function terms corresponding to the trigonometric function terms are S. ij In this embodiment, the trigonometric function data includes the trigonometric function terms of the three terms in the power flow equation and the coefficients of the corresponding three function terms.
[0092] S4. Based on the trigonometric function data, determine whether to construct the Lyapunov function of the power system based on the state data and trigonometric function data.
[0093] It should be noted that while Lyapunov function construction is typically used to analyze the stability of power systems (such as asymptotic stability and Lyapunov stability), explicit construction is not required in all scenarios. Step S4 can be understood as determining, based on trigonometric function data and pre-set conditions or specific mathematical methods, whether to further construct the Lyapunov function of the power system using state data and trigonometric function data, and ultimately completing the construction of the Lyapunov function for power system stability analysis and evaluation. For example, in this embodiment, the pre-set conditions are: if all trigonometric function terms are identical and all function term coefficients are constant, then the Lyapunov function of the power system is constructed based on the state data and trigonometric function data. If at least one trigonometric function term is different and / or one coefficient of all function terms is not constant, then the Lyapunov function cannot be constructed for the power system. The specific mathematical method can be understood as determining whether all trigonometric function terms fall within a first set threshold range and whether all function term coefficients fall within a second set threshold range. If these conditions are met, it indicates that the Lyapunov function of the power system needs to be constructed; otherwise, it does not. The first and second set threshold ranges can be set according to requirements.
[0094] In this embodiment, the Lyapunov function construction method for power systems based on induction motors can be directly applied to transient stability analysis of large-scale power systems considering the detailed dynamics of induction motors, with higher accuracy. Furthermore, this method does not require the assumption of an infinite bus in the power system, making it applicable to both power systems with and without infinite buses, thus enhancing its versatility.
[0095] This application provides a method for constructing Lyapunov functions for power systems based on induction motors. The method includes acquiring electrical quantity data of all generator units in the power system, and acquiring stable equilibrium data of the power system in a stable equilibrium state; constructing a model based on the electrical quantity data to obtain a transient stability analysis model of the power system; transforming the transient stability analysis model based on the stable equilibrium data to obtain power flow equations; extracting trigonometric function data and state data from the power flow equations; and determining whether to construct the Lyapunov function of the power system based on the trigonometric function data and the state data, thereby obtaining the Lyapunov function of the power system. This method for constructing Lyapunov functions for power systems based on induction motors constructs power flow equations by acquiring the electrical quantities of all generator units in the power system and their stable equilibrium data. From these equations, trigonometric function data for determining whether the Lyapunov function of the power system is valid is obtained, along with state data for constructing the Lyapunov function, thus improving the accuracy of Lyapunov function construction. This method does not require the assumption of an infinite bus in the power system, making it applicable to both systems with and without infinite buses. This broadens the applicability of Lyapunov function construction and solves the technical problems of narrow applicability and low accuracy associated with existing energy function methods for transient stability analysis of power systems containing induction motors.
[0096] In one embodiment of this application, obtaining stable equilibrium data indicating that the power system is in a stable equilibrium includes:
[0097] Obtain the relative angle expression of the power system, as well as the steady-state values of the rotor slip of each induction motor in a stable equilibrium and the steady-state values of the angles of each generator set relative to the reference synchronous generator.
[0098] The relative angle steady-state value corresponding to any two generator sets is obtained by using the relative angle expression based on the angle steady-state values of any two generator sets.
[0099] The expression for the relative angle is:
[0100] ;
[0101] In the formula, Let be the steady-state value of the relative angle between the i-th generator set and the j-th generator set. Let be the steady-state angle value of the i-th generator set relative to the reference synchronous generator n. Let be the steady-state angle value of the j-th generator set relative to the reference synchronous generator n, G be the total number of synchronous generators in the power system, and M be the total number of induction motors in the power system; the stable balance data includes the steady-state value of the relative angle and the steady-state value of the rotor slip.
[0102] It should be noted that in a power system, the steady-state angle of each generator unit relative to the reference synchronous generator can be denoted as: In another embodiment, the relative angle steady-state value corresponding to any two generator sets can be measured, or the absolute angle difference can be calculated based on the angle steady-state values of any two generator sets as the relative angle steady-state value corresponding to any two generator sets. Alternatively, the relative angle steady-state value corresponding to any two generator sets can be obtained by directly calculating the angle difference between the angle steady-state values of the two generator sets based on the power flow results.
[0103] In one embodiment of this application, the Lyapunov function of the power system is constructed based on state data and trigonometric function data, including:
[0104] Determine the state vector based on the state data;
[0105] Connect any two generator sets to determine the number of branches;
[0106] Determine the trigonometric function vector based on the trigonometric function terms and the number of branches in the trigonometric function data;
[0107] Obtain the coefficient matrix for constructing the Lyapunov function. Construct the Lyapunov function of the power system based on the state vector, trigonometric function vector, and coefficient matrix.
[0108] It should be noted that the state vector x = [x1; x2; x3; x4], where x1 is the first vector, x2 is the second vector, x3 is the third vector, and x4 is the fourth vector. The number of branches is denoted as ε. In the topology diagram of a power system, a generator set is considered a node. If node a of a generator set is directly connected to node b, then node a and node b form a branch, called branch ab. The number of branches connected to all generator set nodes is called the number of branches. The trigonometric function vector is determined using a preset formula or rule based on the trigonometric function terms and the number of branches. For example, the trigonometric function vector is: The coefficient matrix includes a first coefficient matrix A and a second coefficient matrix B, based on the state vector x and the trigonometric function vector. The Lyapunov function for the power system is constructed by performing Lyapunov functions on the coefficient matrix in Lure form. For example, the Lyapunov function... for: In this embodiment, during the construction of the Lyapunov function for the power system, the following steps are taken: Given a positive definite matrix Q' of order X, construct a quadratic Lyapunov function as the Lyapunov function of the power system based on the state vector x and the positive definite matrix Q', such as the quadratic Lyapunov function V(x) = x. T Q'x, where the superscript T of the matrix is the transpose of the matrix. In this embodiment, the structured construction of the power system Lyapunov function based on state data and trigonometric function data is achieved through state vectorization, trigonometric function term integration, and coefficient matrix coordination to construct an energy-type or quadratic Lyapunov function that satisfies the stability criterion.
[0109] In one embodiment of this application, determining the state vector based on state data includes:
[0110] The angle deviation of the corresponding generator set is calculated based on the angle and steady-state angle value of each generator set.
[0111] The slip deviation of the corresponding induction motor is calculated based on the rotor slip and the steady-state value of the rotor slip for each induction motor.
[0112] The first vector is obtained by constructing an n-1 order row matrix based on the angular deviations of all synchronous generators; the second vector is obtained by constructing an n order row matrix based on all angular velocities; the third vector is obtained by constructing an m order row matrix based on the angular deviations of all induction motors; and the fourth vector is obtained by constructing an m order row matrix based on all slip deviations.
[0113] The state vector is obtained by constructing a fourth-order row matrix based on the first, second, third, and fourth vectors.
[0114] It should be noted that, based on the state data, each vector in the state vector is represented according to a preset formula. For example, the first vector x1 is an (n-1)th order row matrix composed of the deviations between the angles of each synchronous generator and their steady-state angle values, i.e. The second vector x2 is an n-order row matrix composed of the angular velocities of all synchronous generators, i.e. The third vector x3 is an m-order row matrix composed of the deviations between the angle of each induction motor and its steady-state angle value, i.e. The fourth vector x4 is an m-order row matrix composed of the deviation between the rotor slip of each induction motor and its steady-state rotor slip value as the angular deviation, i.e. .
[0115] In one embodiment of this application, obtaining the coefficient matrix for constructing the Lyapunov function includes:
[0116] Obtain the first zero matrix (m x n), the second zero matrix (n x m), the third zero matrix (m x (n-1)) and the fourth zero matrix ((n-1) x (n-1) and the fifth zero matrix ((n-1) x (m) and the sixth zero matrix (n x (n-1) and the seventh zero matrix (m x (m) and the eighth zero matrix ((n-1) x (ε)) and the eighth zero matrix ((n-1) x (ε)) and the n-1 column matrix, the m column matrix, the first identity matrix ((n-1) x (n-1) and the second identity matrix (m x (m) and the third zero matrix ((n-1) x (n-1)) and the fourth zero matrix ((n-1) x (n-1)) and the fifth zero matrix ((n-1) x (m) and the sixth zero matrix (n-1) and the seventh zero matrix (m x (m) and the eighth zero matrix ((n-1) x (ε))) and the eighth zero matrix ((n-1) x (ε))) and the eighth zero matrix ((n-1) x (ε)))))))))))))))))))))))))))))))))""))))""))))""')))"""' ...
[0117] Based on the power flow equations, define the matrix;
[0118] Based on the conduction data of any two generator sets in the electrical quantity data, determine the conduction matrix; based on the equivalent coefficients and inertia coefficients of all induction motors in the electrical quantity data, determine the corresponding m-order diagonal equivalent coefficient matrix and m-order diagonal inertia coefficient matrix; based on the inertia coefficients and damping coefficients of all synchronous generators in the electrical quantity data, determine the corresponding n-order diagonal inertia coefficient matrix and n-order diagonal damping coefficient matrix; based on the angular velocity reference value and second identity matrix of the induction motors in the electrical quantity data, determine the angular velocity matrix.
[0119] The first matrix is determined based on the inverse matrix and the second zero matrix of the n-order diagonal inertia coefficient matrix; the second matrix is determined based on the m-order diagonal equivalent coefficient matrix and the first zero matrix; and the third matrix is determined based on the first zero matrix and the inverse matrix of the m-order diagonal inertia coefficient matrix.
[0120] The fourth matrix is determined by the transpose of the (n-1)th column matrix and the first identity matrix; the fifth matrix is determined by the transpose of the m-th column matrix and the third zero matrix.
[0121] The second coefficient matrix is determined by transposing the eighth zero matrix, the first matrix, the second matrix, the third matrix, the conduction matrix, and the definition matrix.
[0122] The first coefficient matrix of the square matrix is determined based on the first zero matrix, the second zero matrix, the third zero matrix, the fourth zero matrix, the fifth zero matrix, the sixth zero matrix, the seventh zero matrix, the fourth matrix, the nth-order diagonal inertia coefficient matrix, the nth-order diagonal damping coefficient matrix, the second matrix, and the angular velocity matrix.
[0123] It should be noted that the first zero matrix is denoted as O. m×n The second zero matrix is denoted as O. n×m The third zero matrix is denoted as O. m×(n-1) The fourth zero matrix is denoted as O. (n-1)×(n-1) The fifth zero matrix is denoted as O. (n-1)×m The sixth zero matrix is denoted as O. n×(n-1) The seventh zero matrix is denoted as O m×m The eighth zero matrix with (n-1) rows and ε columns is denoted as O. (n-1)×| ε| An n-1 order column matrix is denoted as An m-order column matrix is denoted as The first identity matrix is denoted as The second identity matrix is denoted as I. m×m .
[0124] Figure 3 This is a schematic diagram of the matrix definition in the Lyapunov function construction method for a power system based on an induction motor, as described in an embodiment of this application.
[0125] In this embodiment, determining the definition matrix E based on the power flow equations can be understood as constructing an incidence matrix based on the power system topology graph corresponding to the power flow equations. Constructing an incidence matrix based on the power system topology graph corresponding to the power flow equations is a fundamental concept in graph theory. The definition matrix can be understood as: constructing a matrix to represent the intrinsic meaning of the graph; this matrix is called the incidence matrix, such as... Figure 3 As shown, each node represents a column, and each side represents a row, so... Figure 3 The graph can be drawn from a 5x4 matrix, and vice versa. The first row represents edge ①, where -1 represents flow out of node 1 and 1 represents flow in from node 2. That is, flow originates from node 1 and flows to node 2. In fact, the connection relationships between the nodes of a power system can also be represented by a matrix.
[0126] In this embodiment of the application, a conductivity matrix is determined based on the conductivity data of any two generator sets in the electrical quantity data. The conductivity matrix S is a diagonal matrix composed of the number of all branches, i.e. .
[0127] In this embodiment, the corresponding m-order diagonal equivalent coefficient matrix T is determined based on the equivalent coefficients and inertia coefficients of all induction motors in the electrical quantity data. red and the m-th order diagonal inertia coefficient matrix T J ,Right now , Based on the inertia coefficients and damping coefficients of all synchronous generators in the electrical quantity data, determine the corresponding nth-order diagonal inertia coefficient matrix M and nth-order diagonal damping coefficient matrix D, i.e. , Based on the reference value ω of the induction motor in the electrical quantity data. b Second identity matrix I m×m Determine the angular velocity matrix ω, i.e. The first matrix is denoted as S1, i.e. The second matrix is denoted as S2, i.e. The third matrix is denoted as S3, i.e. The fourth matrix is denoted as T1, i.e. The fifth matrix is denoted as T2, i.e. .
[0128] It should be noted that, based on the state vector x and the trigonometric function vector... The power flow equations are transformed by transposing the first matrix S1, the third matrix S3, the fourth matrix T1, the fifth matrix T2, the nth-order diagonal inertia coefficient matrix M, the nth-order diagonal damping coefficient matrix D, the second matrix S2, the angular velocity matrix ω, the conduction matrix S, and the defining matrix E, resulting in a compact form of the power flow equations. The expression for the compact form of the power flow equations is as follows:
[0129] ;
[0130] In the formula, These are the derivatives of the first vector x1, the second vector x2, the third vector x3, and the fourth vector x4, respectively.
[0131] In this embodiment of the application, the expression for the first coefficient matrix A is:
[0132] ;
[0133] The expression for the second coefficient matrix B is:
[0134] ;
[0135] In the formula, This represents the number of branches in the contracted network of the power system topology diagram.
[0136] In the embodiments of this application, the sixth matrix Cx is determined according to the defined matrix, that is:
[0137] ;
[0138] C=E[I n×n O n×n O n×2m ;O m×2n I m×m O m×m ];
[0139] In the formula, I is the identity matrix, O is the identity matrix, the matrix subscript m×m represents m rows and m columns, the matrix subscript n×2m represents n rows and 2m columns, the matrix subscript n×n represents n rows and n columns, and the matrix subscript m×2n represents m rows and 2n columns.
[0140] Example 2:
[0141] Figure 4 This is a schematic diagram of the framework of the Lyapunov function construction device for a power system based on an induction motor, as described in an embodiment of this application.
[0142] like Figure 4 As shown, this application provides a Lyapunov function construction device for a power system based on an induction motor, including a data acquisition module 10, a model building module 20, a model conversion module 30, and a function construction module 40;
[0143] The data acquisition module 10 is used to acquire electrical quantity data of all generator sets in the power system, as well as stable balance data of the power system when it is in a stable balance.
[0144] The model building module 20 is used to build a model based on electrical quantity data to obtain a transient stability analysis model of the power system.
[0145] The model conversion module 30 is used to convert the transient stability analysis model based on the stable equilibrium data to obtain the power flow equations; and to obtain trigonometric function data and state data from the power flow equations.
[0146] The function construction module 40 is used to determine whether to construct the Lyapunov function of the power system based on the trigonometric function data and the state data, so as to obtain the Lyapunov function of the power system.
[0147] It should be noted that the content of each module in the device of Embodiment 2 corresponds to the content of each step in the method of Embodiment 1. Therefore, the content of each module in the device for constructing Lyapunov functions for power systems based on induction motors will not be repeated in this embodiment. This device for constructing Lyapunov functions for power systems based on induction motors acquires electrical quantities of all generator units in the power system and stable equilibrium data of these units through a data acquisition module, a model construction module, a model conversion module, and a function construction module. It then constructs power flow equations by obtaining trigonometric function data to determine whether the Lyapunov function of the power system is valid and state data based on the constructed Lyapunov function, thereby improving the accuracy of the Lyapunov function construction. It does not require the assumption of an infinite bus in the power system, making it applicable to both power systems with and without infinite buses, thus achieving greater applicability for constructing Lyapunov functions for power systems.
[0148] In the embodiments of this application, the trigonometric function data includes all trigonometric function terms and coefficients in the power flow equations; the function construction module 40 is further configured to construct the Lyapunov function of the power system based on the state data and trigonometric function data if all trigonometric function terms are the same and all function term coefficients are constant; or if at least one trigonometric function term is different and / or one coefficient of all function term coefficients is not constant, then the Lyapunov function of the power system cannot be constructed.
[0149] In the embodiments of this application, the generator set includes an induction motor and a synchronous generator; the function construction module 40 includes a first vector determination submodule, a branch determination submodule, a second vector determination submodule, and a function construction submodule;
[0150] The first vector determination submodule is used to determine the state vector based on the state data;
[0151] The branch determination submodule is used to connect any two generator sets and determine the number of branches;
[0152] The second vector determination submodule is used to determine the trigonometric function vector based on the trigonometric function terms and the number of branches in the trigonometric function data.
[0153] The function construction submodule is used to obtain the coefficient matrix for constructing the Lyapunov function. It is constructed based on the state vector, trigonometric function vector, and coefficient matrix to obtain the Lyapunov function of the power system.
[0154] Example 3:
[0155] Figure 5 This is a schematic diagram of the terminal device described in an embodiment of this application.
[0156] like Figure 5 As shown, this application provides a terminal device, including a processor and a memory;
[0157] Memory is used to store program code and transfer the program code to the processor;
[0158] The processor is used to execute the Lyapunov function construction method for the induction motor-based power system described above, according to the instructions in the program code.
[0159] It should be noted that the processor is used to execute the steps in the above embodiment of a method for constructing Lyapunov functions for a power system based on an induction motor, according to the instructions in the program code. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in the above system / device embodiments.
[0160] For example, a computer program can be divided into one or more modules / units, one or more of which are stored in memory and executed by a processor to complete this application. One or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in a terminal device.
[0161] Terminal devices can be computing devices such as desktop computers, laptops, handheld computers, and cloud servers. Terminal devices may include, but are not limited to, processors and memory. Those skilled in the art will understand that this does not constitute a limitation on the terminal device, which may include more or fewer components than illustrated, or combinations of certain components, or different components. For example, a terminal device may also include input / output devices, network access devices, buses, etc.
[0162] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0163] Memory can be an internal storage unit of a terminal device, such as a hard drive or RAM. Memory can also be an external storage device, such as a plug-in hard drive, SmartMedia Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, memory can include both internal and external storage units. Memory is used to store computer programs and other programs and data required by the terminal device. Memory can also be used to temporarily store data that has been output or will be output.
[0164] 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.
[0165] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0166] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0167] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0168] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0169] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application 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 this application.
Claims
1. A method for constructing Lyapunov functions for a power system based on an induction motor, characterized in that, Includes the following steps: Acquire electrical quantity data of all generator sets in the power system, and acquire stable balance data of the power system when it is in a stable equilibrium. The transient stability analysis model of the power system is obtained by constructing a model based on the electrical quantity data. The transient stability analysis model is transformed based on the stable equilibrium data to obtain the power flow equations; trigonometric function data and state data are then obtained from the power flow equations. Based on the trigonometric function data, determine whether to construct the Lyapunov function of the power system based on the state data and the trigonometric function data.
2. The method for constructing Lyapunov functions for power systems based on induction motors according to claim 1, characterized in that, The generator set includes an induction motor and a synchronous generator; obtaining stable balance data of the power system includes: Obtain the relative angle expression of the power system, the steady-state value of the rotor slip of each of the induction motors in stable equilibrium of the power system, and the steady-state value of the angle of each of the generator sets relative to the reference synchronous generator. The relative angle steady-state value corresponding to any two generator sets is obtained by using the relative angle expression based on the angle steady-state values of any two generator sets. The expression for the relative angle is: ; In the formula, Let be the steady-state value of the relative angle between the i-th generator set and the j-th generator set. Let be the steady-state angle value of the i-th generator set relative to the reference synchronous generator n. Let G be the steady-state angle value of the j-th generator set relative to the reference synchronous generator n, G be the total number of synchronous generators in the power system, and M be the total number of induction motors in the power system; the stable balance data includes the steady-state value of the relative angle and the steady-state value of the rotor slip.
3. The method for constructing Lyapunov functions for power systems based on induction motors according to claim 1, characterized in that, The trigonometric function data includes all trigonometric function terms and coefficients in the power flow equations; based on the trigonometric function data, determining whether to construct the Lyapunov function of the power system based on the state data and the trigonometric function data includes: If all the trigonometric function terms are the same and all the coefficients of the function terms are constant, then the Lyapunov function of the power system is constructed based on the state data and the trigonometric function data. If at least one of the trigonometric function terms is different and / or if one of the coefficients of all the function terms is not a constant, then the Lyapunov function cannot be constructed for the power system.
4. The method for constructing Lyapunov functions for power systems based on induction motors according to claim 1, characterized in that, The generator set includes an induction motor and a synchronous generator; the Lyapunov function of the power system is constructed based on the state data and the trigonometric function data, including: Based on the state data, determine the state vector; Connect any two of the generator sets to determine the number of branches; The trigonometric function vector is determined based on the trigonometric function terms and the number of branches in the trigonometric function data; Obtain the coefficient matrix for constructing the Lyapunov function, and construct it based on the state vector, the trigonometric function vector, and the coefficient matrix to obtain the Lyapunov function of the power system.
5. The method for constructing Lyapunov functions for power systems based on induction motors according to claim 4, characterized in that, If the power system includes n synchronous generators and m induction motors, and the number of branches is denoted as ε, and the coefficient matrix includes a first coefficient matrix and a second coefficient matrix, then obtaining the coefficient matrix for constructing the Lyapunov function includes: Obtain the first zero matrix (m x n), the second zero matrix (n x m), the third zero matrix (m x (n-1)) and the fourth zero matrix ((n-1) x (n-1) and the fifth zero matrix ((n-1) x (m) and the sixth zero matrix (n x (n-1) and the seventh zero matrix (m x (m) and the eighth zero matrix ((n-1) x (ε)) and the eighth zero matrix ((n-1) x (ε)) and the n-1 column matrix, the m column matrix, the first identity matrix ((n-1) x (n-1) and the second identity matrix (m x (m) and the third zero matrix ((n-1) x (n-1)) and the fourth zero matrix ((n-1) x (n-1)) and the fifth zero matrix ((n-1) x (m) and the sixth zero matrix (n-1) and the seventh zero matrix (m x (m) and the eighth zero matrix ((n-1) x (ε))) and the eighth zero matrix ((n-1) x (ε))) and the eighth zero matrix ((n-1) x (ε)))))))))))))))))))))))))))))))))""))))""))))""')))"""' ... Based on the power flow equations, determine the definition matrix; Based on the conduction data of any two generator sets in the electrical quantity data, determine the conduction matrix; based on the equivalent coefficients and inertia coefficients of all induction motors in the electrical quantity data, determine the corresponding m-order diagonal equivalent coefficient matrix and m-order diagonal inertia coefficient matrix; based on the inertia coefficients and damping coefficients of all synchronous generators in the electrical quantity data, determine the corresponding n-order diagonal inertia coefficient matrix and n-order diagonal damping coefficient matrix; based on the angular velocity reference value of the induction motor in the electrical quantity data and the second identity matrix, determine the angular velocity matrix; The first matrix is determined based on the inverse matrix of the n-order diagonal inertia coefficient matrix and the second zero matrix; the second matrix is determined based on the m-order diagonal equivalent coefficient matrix and the first zero matrix; and the third matrix is determined based on the first zero matrix and the inverse matrix of the m-order diagonal inertia coefficient matrix. The fourth matrix is determined based on the transpose of the (n-1)th order column matrix and the first identity matrix; the fifth matrix is determined based on the transpose of the m-th order column matrix and the third zero matrix. The second coefficient matrix is determined based on the transpose of the eighth zero matrix, the first matrix, the second matrix, the third matrix, the conductivity matrix, and the definition matrix; The first coefficient matrix of the square matrix is determined based on the first zero matrix, the second zero matrix, the third zero matrix, the fourth zero matrix, the fifth zero matrix, the sixth zero matrix, the seventh zero matrix, the fourth matrix, the nth-order diagonal inertia coefficient matrix, the nth-order diagonal damping coefficient matrix, the second matrix, and the angular velocity matrix.
6. The method for constructing Lyapunov functions for power systems based on induction motors according to claim 4, characterized in that, The generator set includes an induction motor and a synchronous generator. If the power system includes n synchronous generators and m induction motors, the state data includes the angular velocity of each synchronous generator, the rotor slip of each induction motor, the steady-state value of the rotor slip of each induction motor, and the steady-state value and angle of each generator set relative to a reference synchronous generator. Determining the state vector based on the state data includes: The angle deviation of the corresponding generator set is calculated based on the angle and the steady-state value of each generator set. The slip deviation of the corresponding induction motor is calculated based on the rotor slip and the steady-state value of the rotor slip for each induction motor. A first vector is obtained by constructing an n-1 order row matrix based on the angular deviations of all the synchronous generators; a second vector is obtained by constructing an n order row matrix based on all the angular velocities; a third vector is obtained by constructing an m order row matrix based on the angular deviations of all the induction motors; and a fourth vector is obtained by constructing an m order row matrix based on all the slip deviations. A fourth-order row matrix is constructed based on the first vector, the second vector, the third vector, and the fourth vector to obtain the state vector.
7. A Lyapunov function construction device for power systems based on induction motors, characterized in that, include: Data acquisition module, model building module, model transformation module, and function building module; The data acquisition module is used to acquire electrical quantity data of all generator sets in the power system, and to acquire stable balance data of the power system when it is in a stable balance. The model building module is used to build a model based on the electrical quantity data to obtain the transient stability analysis model of the power system. The model conversion module is used to convert the transient stability analysis model based on the stable equilibrium data to obtain the power flow equations; and to obtain trigonometric function data and state data from the power flow equations. The function construction module is used to determine whether to construct the Lyapunov function of the power system based on the trigonometric function data and the state data, thereby obtaining the Lyapunov function of the power system.
8. The Lyapunov function construction device for power systems based on induction motors according to claim 7, characterized in that, The trigonometric function data includes all trigonometric function terms and coefficients in the power flow equations. The function construction module is further configured to construct the Lyapunov function of the power system based on the state data and the trigonometric function data if all trigonometric function terms are identical and all function term coefficients are constant; or if at least one trigonometric function term is different and / or one coefficient of all function term coefficients is not constant, then the Lyapunov function of the power system cannot be constructed.
9. The Lyapunov function construction device for power systems based on induction motors according to claim 7, characterized in that, The generator set includes an induction motor and a synchronous generator; the function construction module includes a first vector determination submodule, a branch determination submodule, a second vector determination submodule, and a function construction submodule; The first vector determination submodule is used to determine a state vector based on the state data; The branch determination submodule is used to connect any two of the generator sets and determine the number of branches; The second vector determination submodule is used to determine the trigonometric function vector based on the trigonometric function terms and the number of branches in the trigonometric function data; The function construction submodule is used to obtain the coefficient matrix for constructing the Lyapunov function, and constructs the Lyapunov function of the power system based on the state vector, the trigonometric function vector and the coefficient matrix.
10. A terminal device, characterized in that, Including the processor and memory; The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the Lyapunov function construction method for power systems based on induction motors as described in any one of claims 1-6, according to the instructions in the program code.
