Next Article in Journal
Probabilistic Design Method for Aircraft Thermal Protective Layers Based on Surrogate Models
Previous Article in Journal
Structural Characterization and Molecular Model Construction of Lignite: A Case of Xianfeng Coal
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Estimation of the Region of Attraction of Polynomial Swing Equation Using Sum of Squares Theory

College of Electrical Engineering, Zhejiang University, Hangzhou 310058, China
*
Author to whom correspondence should be addressed.
Energies 2024, 17(5), 1050; https://doi.org/10.3390/en17051050
Submission received: 18 January 2024 / Revised: 14 February 2024 / Accepted: 20 February 2024 / Published: 23 February 2024
(This article belongs to the Section F: Electrical Engineering)

Abstract

:
Estimation of the region of attraction of the power system using sum of squares (SOS) programming theory is investigated in this paper. Firstly, the Taylor expansion formula is applied to explore the inherent polynomial structure of the swing equation. The single machine projection equation for a multi-machine system is proposed based on the amplitude characteristic of the rotor angle response in decoupled space. Secondly, the theory of SOS programming originating from the polynomial system is derived, and the theory about estimation of the region of attraction for the differential algebraic system is summarized. Thirdly, the method for estimating the region of attraction for the polynomial swing equation based on a V-S two-stage iterative procedure is proposed. Finally, a single machine infinite bus power system, an IEEE 3-machine power system, and an IEEE 4-machine power system are employed to validate the effectiveness and accuracy of the proposed method and analysis.

1. Introduction

Large-disturbance stability analysis of nonlinear systems has been a major challenge for a long time [1]. One reason is that the dynamic process of nonlinear systems is relatively complicated, while the other is a lack of effective mathematical tools. Historically, ever since Christiaan Huygens initiated the use of the scientific paradigm to study simple pendulums [2], the only tool available for theoretical analysis has been the law of conservation of energy, a status quo that persists to this day. Similarly, various analytical energy function methods have been proposed under the law of conservation of energy and Lyapunov’s second method [3,4] over the past years in the field of power system stability analysis. However, the systematic construction of an energy function with minimal model dependencies for stability analysis remains an open question [5] in the power system community.
In the past two decades, the connections among the SOS, algebraic geometry, and optimization have been discovered [6,7,8]. Hence, SOS programming theory has been systematically developed in response to Hilbert’s 17th mathematical problem in the sense of numerical optimization methodology [9]. The essence of the theory lies in its ability to verify the “positivity” condition of a polynomial via SOS programming, making it possible to construct Lyapunov functions for any polynomial dynamic system and enable the stability analysis for nonlinear systems, attracting extensive research attention.
A Lyapunov function search method based on SOS programming is proposed in [10], and corresponding examples are given to verify the effectiveness of the proposed method. Reference [11] also provides the construction method of the Lyapunov function for the differential algebraic equation (DAE) system based on SOS theory and gives an estimate of the domain of attraction. In [12], a local estimation method for the domain of attraction of the Van der Pol equation is proposed by combining SOS theory and simulations. Reference [13] enhanced the performance of the method for estimating the domain of attraction by introducing a shape factor based on the SOS theory, with this enhancement verified using the van der Pol equation and the second-order equation. To balance the trade-off between computation time and solution quality, the DSOS and SDSOS methods and their theoretical framework have been proposed and established based on algebraic geometry theory [14], which boosts the computational efficiency of the proposed methods. Driven by the demand for computing in large-scale systems, an approach has been proposed to address the significant increase in computation time associated with SOS optimization [15], aiming to estimate the domain of attraction for sparse polynomial differential systems in the event of computation burden. These results show the application potential of SOS in dealing with polynomial systems, something that has been extensively studied in various fields.
In the community of power systems, as renewable energy sources become integrated into the grid, the advantages of photovoltaic and other forms of generation are becoming increasingly apparent [16], leading to a greater emphasis on stability analysis methods. Thus, the SOS method has also attracted considerable attention. The potential of this method was first observed by Milano et al. [17], converting the power grid swing equations into a polynomial DAE system by introducing auxiliary variables; the estimation of the region of attraction for a three-machine power system is, thus, given. Using the same technique as Milano, reference [18] further gives the numerical energy function and calculation process of the power system in detail. In [19], addressing the computational burden associated with SOS optimization in large-scale power systems, a parallel and scalable algorithm is proposed to evaluate the stability of interconnected power systems using the Lyapunov function through the SOS method, with the corresponding adaptive and distributed control algorithms designed. In [20], by applying a multivariate Taylor expansion formula, non-polynomial power system equations are transformed into uncertain DAE. The SOS method and squared matrix representation are then employed to find the optimal fractional-type Lyapunov functions for the system, and an estimation of the domain of attraction for the equation is provided. In [21,22], the problem of system security domain with low voltage ride through is defined as an SOS programming problem within the context of the DAE system framework, and a systematic solution is presented. Reference [23] uses the SOS programming method to analyze the robust stability of power systems with uncertain parameters, extending the application of the SOS method. Reference [24] focuses on the phase-locked loop equations in power system converters, and the comparisons with time-domain simulations and hardware-in-the-loop experiments results validate the accuracy of the estimation of domain of attraction based on the SOS method. However, the technique mentioned above in the multi-machine scenario converting the non-polynomial swing equations into polynomial dynamical systems is based on the introduction of auxiliary variables, increasing the dimension of the equation and destroying the intrinsic structural characteristics of the original equation.
Hence, this paper investigates the estimation of the domain of attraction for power systems by adopting a rather different approach: exploring the inherent polynomial structural characteristics of the swing equation without introducing auxiliary variables. Specifically, the Taylor formula is used to reveal the inherent polynomial structure of the swing equation both in single machine and multi-machine scenarios, which establish the polynomial model of the power grid dynamic equation in general. Subsequently, the method to estimate the region of attraction for polynomial power systems based on V-S two-stage is proposed. Finally, the simulation examples from a single-machine infinite bus power system, IEEE 3-machine 9-bus system, and IEEE 4-machine power system demonstrate the effectiveness of the proposed method.

2. Theoretical Basis of SOS

In this section, the theoretical basis of SOS is reviewed. Specifically, the basic concepts in algebraic geometry and the key theorem are presented in Section 2.1 and Section 2.2, respectively; more details can be found in reference [6].

2.1. Basic Concepts

This section introduces some key concepts in algebraic geometry and SOS programing theory. Three basic concepts are introduced as follows,
Definition 1 (monomial).
The monomials  m α  for  n  variables are defined as follows,
m α ( x ) = x α : = x 1 α 1 x 2 α 1 · · · x n α n ; α n + ,
where  m α : x n  is a monomial. The degree of the monomial  m α  is defined as follows,
deg m α = i = 1 n α i .
Definition 2 (polynomial).
The polynomial  p ( x )  for  n  variables is defined as follows,
p ( x ) : = j = 1 k c j m α j ( x ) = j = 1 k c j x α j ; c j .
The degree for the polynomial p ( x ) is defined as,
deg p = max α deg m α
The set of all n variables polynomials is defined as follows,
R n = p ( x ) = j = 1 k c j x α j     x n , α j n .
All sets of degree not exceeding d in the definition of R n are as follows,
R n , d : = p R n     deg p d .
The m dimensions polynomial vector R n , d m is defined as follows,
R n , d m : = s 1 , s 2 , · · · , s m T     s i R n , d ,   deg s i d , i = 1 , · · · , m .
The set of SOS for n variables is defined as follows,
Σ n : = s R s = i = 1 M p i 2 , p i R n , i = 1 ,   , M ,
where all set of degree not exceeding d in the definition of Σ n are denoted as follows,
Σ n , d : = s Σ n     deg s d .

2.2. Key Result

This section introduces the key result in SOS theory. Three basic concepts are demonstrated as follows,
Definition 3 (Monoid).
Given  { g 1 , g 2 , · · · , g t } R n , a monoid is defined as follows,
M g 1 , · · · , g t = g 1 k 1 g 2 k 2 · · · g t k t k 1 , · · · , k t + .
Definition 4 (Cone).
Given  { f 1 , f 2 , · · · , f s } R n , a cone is defined as follows,
C f 1 , · · · , f s = s 0 + s i b i s 0 , s i Σ n , b i M ( f 1 , f 2 , · · · , f s ) .
Definition 5 (Ideal).
Given  { h 1 , h 2 , · · · , h u } R n , an ideal is defined as follows,
I h 1 , · · · , h u = h k p k p k R n .
Theorem 1 (Positivestellensatz).
Given the subset  { g 1 , g 2 , · · · , g t } , { f 1 , f 2 , · · · , f s } , and  { h 1 , h 2 , · · · , h u }  in  R n , the following two conditions are equivalent,
1. The following subset is empty,
x n f 1 0 , f 2 0 , · · · , f s 0 g 1 0 , g 2 0 , · · · , g t 0 h 1 = 0 , h 2 = 0 , · · · , h u = 0   =   .
2. There exists  f C f 1 , · · · , f s , g M g 1 , · · · , g t , and  h I g 1 , · · · , g t  such that the following equation is satisfied,
f + g 2 + h = 0 .

3. The Polynomial Model of Power Systems

In this section, the polynomial model of the power system in single-machine and multi-machine scenarios is derived. Specifically, the polynomial model of the single-machine system is obtained in Section 3.1, and the projection polynomial equation for the multi-machine system is derived stepwise in Section 3.2.

3.1. Polynomial Model of Single-Machine Systems

Consider the equation of a single-machine infinite bus power system as follows,
2 H ω R δ ¨ + D ω R δ ˙ = P M P max sin δ δ ( t c ) = δ 0 ;   δ ˙ ( t c ) = ω 0 .
The Taylor expansion formula is adopted as follows,
sin δ = δ 1 3 ! a 3 δ 3 + 1 5 ! a 5 δ 5 1 7 ! a 7 δ 7 + o δ 7 = δ + a 3 δ 3 + a 5 δ 5 + a 7 δ 7 + o δ 7 .
Substituting Equation (16) into Equation (15), we obtain the following equation,
d 2 δ d t 2 + D 2 H · d δ d t = ω R 2 H P M p T ω R 2 H P max p max sin δ p T p max δ + a 3 δ 3 + a 5 δ 5 + a 7 δ 7 .
Shifting the equilibrium point of Equation (17) to the origin by introducing the coordinate transformation y = δ δ s , where δ s is the stable equilibrium point of Equation (15), Equation (17) can be written as,
d 2 y d t 2 + D 2 H d y d t = p max b 1 y + b 2 y 2 + b 3 y 3 + b 4 y 4 + b 5 y 5 + b 6 y 6 + b 7 y 7   = b 1 y + b 2 y 2 + b 3 y 3 + b 4 y 4 + b 5 y 5 + b 6 y 6 + b 7 y 7 = f 7 y ,
where b i = p max b i , f 7 1 , 7 , and the coefficients in Equation (18) are shown as follows,
b 1   = 1 + 5 a 5 δ s 4 + 3 a 3 δ s 2 + 7 a 7 δ s 6 b 2 = 3 a 3 δ s + 10 a 5 δ s 3 + 21 a 7 δ s 5 b 3 = a 3 + 10 a 5 δ s 2 + 35 a 7 δ s 4 b 4 = 5 a 5 δ s + 35 a 7 δ s 3 b 5 = a 5 + 21 a 7 δ s 2 b 6 = 7 a 7 δ s b 7 = a 7 .

3.2. Polynomial Model of Multi-Machine Systems

In the case of multi-machine systemss, when the generator adopts a constant voltage model after transient reactance and the load adopts a constant impedance model, the dynamic process after a large disturbance can be described by the initial value problem [25], as demonstrated in Equation (20),
2 H i ω R δ ¨ i + D i ω R δ ˙ i = P M i j = 1 n + 1 a i j sin δ i j γ i j δ i ( t c ) = δ i 0 ; δ ˙ i ( t c ) = ω i 0 ,
where δ i j = δ i δ j represents the rotor angle difference, n + 1 indicates the number of synchronous machines in the power grid, ω R is the reference frequency of the power grid, P M i represents the mechanical power of the i-th machine, and ( δ i 0 , ω i 0 ) represents the initial values of the state variables. The other coefficients in Equation (20) are defined as follows,
a i j = E i · Y i j · E j ; γ i j = ϕ i j π / 2 ; Y i j = Y i j exp j ϕ i j ,
where Y i j represents the elements of a complex admittance matrix Y in a reduced network related to the power grid, and Y i j is the potential behind the transient reactance of the i-th machine.
Using the same technique as in Equation (16), the swing Equation (20) can be rewritten as follows when the sine function is expanded to a cubic term,
2 H i ω R δ ¨ i + D i ω R δ ˙ i = P M i j = 1 n + 1 a i j δ i j α i j ϵ δ i j α i j 3 ,
where ϵ = 1 / 6 is the coefficient. We move the stable equilibrium of Equation (22), i.e., δ ¯ , into the original by applying the coordinate transformation y = δ δ ¯ . Hence, the right-hand side of Equation (22) can be expressed as follows,
r . h . s . = P m i j = 1 n + 1 a i j δ i j α i j ϵ ( δ i j γ i j ) 3 = P m i j = 1 n + 1 a i j y i j + δ ¯ i j α i j ϵ ( y i j + δ ¯ i j γ i j ) 3 = P m i j = 1 n + 1 a i j ( ς i j ϵ ς i j 3 ) 0 j = 1 n + 1 a i j 3 ϵ a i j ς i j 2 b i j y i j + ϵ j = 1 n + 1 3 a i j ς i j y i j 2 + ϵ j = 1 n + 1 a i j y i j 3 = j = 1 n + 1 a i j b i j y i j + ϵ j = 1 n + 1 c i j y i j 2 + ϵ j = 1 n + 1 a i j y i j 3 ,
where ς i j = δ ¯ i δ ¯ j γ i j and c i j = 3 a i j ς i j . In order to write the algebraic Equation (23) in matrix form, the following coefficient matrix P is defined,
P y = y 12 , · · · , y 1 , n + 1 , y 23 , · · · , y i j , · · · , y 2 , n + 1 , · · · , y n , n + 1 T ,
where y i j = y i y j ,   1 i < j n + 1 indicates the angle difference. Hence, the matrix form of Equation (23) can be represented as follows,
M y + D y = A 1 y + ϵ A 2 d i a g ( P y ) P y + ϵ A 3 d i a g ( P y ) d i a g ( P y ) P y ,
where M = d i a g ( 2 H 1 / ω R , · · · , 2 H n + 1 / ω R ) and D = d i a g ( D 1 / ω R , · · · , D n + 1 / ω R ) are the inertial matrix and damping matrix, respectively. A { 1 , 2 , 3 } is the coefficient matrix corresponding to Equation (23). Specifically, A 1 can be written as follows,
A 1 = j = 1 , j i n + 1 a 1 , i j i = j a 1 , i j i j .
Notice that the matrix P in Equation (24) has some structural characteristics because of the constraint imposed by Equation (24). Without loss of generality, we take n = 3 as an example to illustrate the structural characteristics of P as follows:
y 1 y 2 y 1 y 3 y 1 y 4 y 2 y 3 y 2 y 4 y 3 y 4 = 1 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 0 1 0 1 0 0 1 1 P y 1   y 1   y 3   y 4 .
It can be seen that P · 1 = 0 , which means that the summation of any row of P is equal to 0. Hence, we introduce a linear transformation y = U z satisfying the following,
M 1 A 1 = U Λ 2 U 1 Λ 2 = d i a g ( λ 1 2 , · · · , λ n 2 , 0 ) U = u 1 , , u n , 1 = u , 1 ,
where λ 1 2 λ 2 2 · · · λ n 2 are the n nonzero eigenvalues of the matrix M 1 A 1 . Considering the characteristics of matrix P, we have P U = P [ u , 1 ] = [ α , 0 ] . Thus, by substituting Equation (28) and eigen-transformation y = U z into Equation (25), we obtain a partly decoupled polynomial mode of swing equation as follows,
z 1 z n + 1 + U 1 M 1 D U z 1 z n + 1 = λ 2 0 z 1 z n + 1 + ϵ σ 1 σ 2 A 2 d i a g ( α z 1 ) α z 1 + ϵ σ 1 σ 2 A 3 d i a g ( α z 1 ) d i a g ( α z 1 ) α z 1 ,
where z = [ z 1 , z n + 1 ] , λ 2 = d i a g ( λ 1 2 , · · · , λ n 2 ) , σ = U 1 M 1 , and σ T = [ σ 1 T , σ 2 T ] . Assuming that there is uniform damping in the power system [26], i.e., D i / 2 H i = μ , Equation (29) can be written as follows,
z 1 + μ z 1 = λ 2 z 1 h 1 ( X ) + ϵ σ 1 A 2 d i a g ( α z 1 ) α z 1 h 2 ( X ) + ϵ σ 1 A 3 d i a g ( α z 1 ) d i a g ( α z 1 ) α z 1 h 3 ( X ) ( a ) z n + 1 + μ z n + 1 = ϵ σ 2 A 2 d i a g ( α z 1 ) α z 1 + ϵ σ 2 A 3 d i a g ( α z 1 ) d i a g ( α z 1 ) α z 1 ( b ) .
It becomes obvious that the main subsystem (30)-(a) is completely decoupled from the variable z n + 1 , and the system (30)-(b) completely depends on the main subsystem variable z 1 . It is pleasant to observe that the above two systems can be solved sequentially. Therefore, the description of the transient stability problem in the power system can be formulated as the initial value problem of a second-order polynomial nonlinear state–output equation, as shown in Equation (31),
X ¨ + μ X ˙ = h 1 ( X ) + h 2 ( X ) + h 3 ( X ) = H ( X ) ( a ) X 0 = U 1 y ( 0 ) ; X ˙ 0 = U 1 y ˙ ( 0 ) ( b ) ,
where the state variable X = [ z 1 , z 2 , · · · , z n ] T n and the nonlinear function h { 1 , 2 , 3 } : n n are polynomial mappings, specifically, h 1 R n , 1 n , h 2 R n , 2 n , h 3 R n , 3 n .

3.3. Single-Machine Projection Polynomial Equation for Multi-Machine Systems

In the z coordinate system in Equation (31), the equation describing the motion of the maximum rotor angle z M = max 1 i n z i is given as follows,
z M + μ z M = λ M 2 z M + ϵ row ( M , σ 1 A 2 ) β 2 M T α z 1 α z 1 + ϵ row ( M , σ 1 A 3 ) β 3 M T α z 1 α z 1 α z 1 = λ 2 z M + β 2 M T α z 1 α z 1 + β 3 M T α z 1 α z 1 α z 1 ,
where row ( M ,   σ 1 A 2 ) represents the M-th row of the matrix σ 1 A 2 , and the symbol represents the Hadamard product of matrices. Denoting the variable z 1 = [ z M , z o ] , the quadratic term α z 1 α z 1 in Equation (32) can be demonstrated as follows,
α z 1 α z 1 = α M z M + α o z o α M z M + α o z o   = α M z M α M z M + α M z M α o z o + α o z o α M z M + α o z o α o z o   = z M 2 α M α M + z M α M α o z o + z M α o z o α M + α o z o α o z o   = z M 2 α M α M f M 2 + 2 z M α M α o z o f c 2 + α o z o α o z o f o 2   = z M 2 f M 2 + 2 z M f c 2 + f o 2 ,
where the subscript M indicates the maximum value term, subscript c represents the coupling term, and subscript o represents other terms. The cubic term α z 1 α z 1 α z 1 in Equation (32) can be reformulated as follows,
α z 1 α z 1 α z 1 = 3 z M α M α o z o α o z o f c 31   + z M 3 α M α M α M f M 3 + 3 z M 2 α M α M α o z o f c 32 + α o z o α o z o α o z o f o 3   = 3 z M f c 31 + z M 3 f M 3 + 3 z M 2 f c 32 + f o 3 ,
where the meaning of the different subscripts is the same as in Equation (33). Therefore, combining Equations (33) and (34), the equation describing the motion of the maximum rotor angle in Equation (32) can be rewritten as follows,
d 2 z M d t 2 + μ d z M d t = λ 2 z M F 1 + z M 2 β 2 T f M 2 F 2 + 2 z M β 2 T f c 2 F 3 + β 2 T f o 2 F 4   + z M 3 β 3 T f M 3 F 5 + 3 z M 2 β 3 T f c 32 F 6 + 3 z M β 3 T f c 31 F 7 + β 3 T f o 3 F 8   = F 1 + F 2 + F 3 + F 4 + F 5 + F 6 + F 7 + F 8 .
It is obvious that the forces governing the variation of maximum rotor angle z M can be decomposed into eight parts from Equation (35). Specifically, these forces can be divided into three categories, i.e., self -terms ( F 1 , F 2 , F 5 ), cross-coupling terms ( F 3 , F 6 , F 7 ), and other terms ( F 4 , F 8 ).
It is observed that there are response characteristics z M > > z i in the z coordinate system which can be spotted in the section of cases studied. Hence, this allows the formulation of the following equation,
F 1 + F 2 + F 5 > > F 2 + F 3 + F 4 + F 6 + F 7 + F 8 .
Thus, Equation (35) can be approximated as follows,
d 2 z M d t 2 + μ d z M d t F 1 + F 2 + F 5 = λ 2 a 1 z M + z M 2 β 2 T f M 2 a 2 + z M 3 β 3 T f M 3 a 3   = a 1 z M + a 2 z M 2 + a 3 z M 3 = F ( z M ) ,
where F R 1 , 3 . Therefore, the single-machine projection equation in the multi-machine scenario is obtained, with the physical significance of reducing a coupled multi-machine equation to a single-machine equation describing the motion of the maximum rotor angle.

4. Estimation of the Region of Attraction Method in Power Systems

In this section, the fundamental theory of the region of attraction is reviewed (Section 4.1), and the methods and procedures for estimating the region of attraction of power systems is proposed (Section 4.2).

4.1. Fundamental Theory

Consider a polynomial-type constrained DAE as follows,
z ˙ = F ( z ) 0 = G ( z ) ( a ) H ( z ) 0 ( b ) ,
where F R n s , G R n t , H R n u , namely F : n s , G : n t , and H : n u , represent polynomial systems. Let the origin be a stable equilibrium point in Equation (38) and let us denote the solutions satisfying Equation (38) with the initial condition z i n i by φ ( t , z i n i ) . The definition [1] and key theorem associated with the domain of attraction are introduced as follows,
D = z i n i n lim t φ ( t , z i n i ) = 0 .
Theorem 2 (Extended Lyapunov Theorem [27]).
For the given DAE system represented by Equation (38)-(a), if there exists a set  D n  containing the origin, and there exists a smooth function  V : D , with  V ( 0 ) = 0 , such that the following inequality (40) holds,
V ( z ) > 0 z z M β p ( z ) 0 , G ( z ) = 0 \ { 0 } V ˙ ( z ) > 0 z z M β p ( z ) 0 , G ( z ) = 0 \ { 0 } ,
where  p : D 0 , D 0 D n  is a known function, then the system described by Equation (38)-(a) is asymptotically stable at the origin.
Considering the constrained DAE (38), and assuming the existence of a known function p , if there exists a polynomial-type function V : D , i.e., V R n , satisfying the conditions based on inequality (41),
h ( z ) 0 z z n β p ( z ) 0 , G ( z ) = 0 .
Equivalently, the set operation form is obtained combing Equation (40) with Equation (41) as follows,
z n β p ( z ) 0 , G ( z ) = 0 \ 0   z M V ( z ) > 0 z n β p ( z ) 0 , G ( z ) = 0 \ 0   z M V ˙ ( z ) > 0 z n β p ( z ) 0 , G ( z ) = 0 z M h ( z ) 0 .
Formula l ( z ) = ε z T z is defined to represent the constraint z 0 in Equation (42), where ε indicates a small parameter. Hence, the empty set form of Equation (42) can be written as follows,
z n β p ( z ) 0 , V ( z ) 0 l ( z ) 0 G ( z ) = 0 = z n β p ( z ) 0 , V ˙ ( z ) 0 l 2 ( z ) 0 G ( z ) = 0 = z n β p ( z ) 0 h ( z ) 0 h ( z ) 0 G ( z ) = 0 = .
Define the set P β = { z | p ( z ) β } , and P β can represent an estimate of D . Based on Theorem 1 and the equivalent conditions in Equation (43), the estimation of the region of attraction can be formulated in the form of an SOS programming problem as follows,
max β s 1 , s 2 , · · · , s 12 n , V R n ,   λ 1 , 2 R n u ,   k 1 , k 2 , k 2 Z + s . t . s 1 + s 2 β p ( z ) + s 3 V ( z )   + s 4 β p ( z ) V ( z ) + l 2 k 1 + λ 1 T G ( z ) = 0 s 5 + s 6 β p ( z ) + s 7 V ˙ ( z )   + s 8 β p ( z ) V ˙ ( z ) + l 2 2 k 2 + λ 2 T G ( z ) = 0 s 9 + s 10 β p ( z ) s 11 h ( z )   s 12 β p ( z ) h ( z ) + h ( z ) 2 k 3 + λ 3 T G ( z ) = 0 .

4.2. Methods and Procedures for Estimating the Region of Attraction of Power Systems

Considering the model of the power system as pure differential equations, the estimation of the region of attraction of Equations (18) and (37) in single-machine and multi-machines scenarios, respectively, can be written as follows according to Equation (44),
max β s 1 , s 2 , · · · , s 8 n , V R n , k 1 , k 2 + s . t . s 1 + s 2 β p ( z ) + s 3 V ( z ) + s 4 β p ( z ) V ( z ) + l 1 2 k 1 = 0 s 5 + s 6 β p ( z ) + s 7 V ˙ ( z ) + s 8 β p ( z ) V ˙ ( z ) + l 2 2 k 2 = 0 ,
To reduce the complexity of the optimization model mentioned above, we set k 1 = k 2 = 1 . Considering the nonlinear relationship between the decision variables V and s 4 , s 8 , to simplify the planning problem we set s 4 = s 8 = 0 . Notice that s 1 n , l 1 n , therefore, the formular s 1 · l 1 n and the following equation are formulated,
s 1 = s 1 l 1 ; s 2 = s 2 l 2 ; s 3 = s 3 l 2 s 5 = s 5 l 2 ; s 6 = s 6 l 2 ; s 7 = s 7 l 2 .
Therefore, the optimization problem described by Equation (45) can be formulated as a quadratic programming form as follows,
max β s 2 , s 3 , s 6 , s 7 n , V R n , k 1 , k 2 Z + s . t . s 2 β p ( z ) + s 3 V ( z ) l 1 n s 6 β p ( z ) s 7 V ˙ ( z ) l 2 n .
Given that the decision variables V and s 3 , s 7 in Equation (47) exhibit bilinear characteristics, which are generally difficult to solve, the decision variables are fixed separately and the bilinear optimization of Equation (47) is divided into two sub-problems and two stages of optimization problems as follows,
s s t a g e v s t a g e max s 2 , s 3 , s 6 , s 7 n β s . t . s 2 β p ( z ) + s 3 V ( z ) l 1 n s 6 β p ( z ) s 7 V ˙ ( z ) l 2 n max V R n β s . t . s 2 β p ( z ) + s 3 V ( z ) l 1 n s 6 β p ( z ) s 7 V ˙ ( z ) l 2 n .
Therefore, the procedure to estimate the region of attraction based on Equation (48) can be summarize as shown in Figure 1.

5. Case Study

In this section, several power system examples are employed to show the effectiveness of the proposed method.

5.1. Single-Machine Infinite Bus System

Consider a single-machine infinite bus system with the system parameters as described in Table 1 and the topology as shown in Figure 2.
According to the technique described in Section 3.1 with the aid of parameters in Table 1, the polynomial model of a single-machine infinite power system, originating from the swing equation, can be obtained as follows,
δ ˙ = ω ω ˙ = 54.263 · δ + 24.235 · δ 2 + 9.046 · δ 3 2.014 · δ 4 0.445 · δ 5 + 0.073 · δ 6 + 0.014 · δ 7 .
Once the polynomial mathematical model Equation (49) is obtained, the SOS programming method can be used to compute the eligible V-function, which has a distribution of values in (δ, ω) space as shown in Figure 3 below.
In Figure 3a, it can be observed that the V function is positive in a large area near the origin, while it is always negative near the origin for the derivative of the obtained V function. This confirms that the V function obtained by the SOS method satisfies the two conditions imposed by Equation (40), meaning that the V function is a candidate function from Theorem 2. Moreover, the domain of attraction of the single-machine system is plotted using this V function as shown in Figure 4.
It can be observed from Figure 4 that there is a considerable overlap between the domain of attraction generated by the V function and the phase portrait, respectively, confirming the validity of the estimation method detailed in Section 4. Furthermore, the time-domain simulation result in and out of the domain of attraction, i.e., Ω c = { ( δ , ω ) | V ( δ , ω ) 2 } , is shown in Figure 5.
It can be noticed from Figure 5 that the rotor angle outside the estimation of the region of attraction diverges, while the rotor angle is stable when the initial value is in the estimation of the region of attraction. This verifies the validity of the method proposed in this paper for the estimation of the domain of attraction.

5.2. IEEE 3-Machine Test Power System

Consider an IEEE 3-machine 9-bus system with the system parameters as described in [28] and the topology as shown in Figure 6.
A 3-phase short-circuit fault is set to 0.2 s at bus 7, with the fault duration time set to 0.06 s. The rotor angle variations of the system described by Equations (22) and (30) are shown in Figure 7.
It can be observed that the rotor angle is moving forward after the clearance of fault in the δ coordinate system from Figure 7a. However, these motions can be divided into three parts, i.e., z 1 , z 2 , z 3 , where z 1 and z 2 are the oscillating components while z 3 is moving forward over time from Figure 7b, verifying the analysis from Equation (30). Moreover, the amplitude between z 1 and z 2 exhibits new characteristics, that is, | z 1 | > > | z 2 | , further validating the hypothesis in Section 3.3, that is, z M > > z i , where M = 1 , i = 2 . Hence, the driving force governing the variation in z 1 can be divided as follows into eight parts according to Equation (35).
As shown in Figure 8a, among the nine types of forces driving the variations in z 1 , F 1 , F 2 , F 5 overwhelmingly dominate the other forces, and this fact can be observed from Figure 8b, which confirms the validity of Equation (36). Thus, the single-machine projection of the polynomial equation for a 3-machine 9-bus power system can be obtained as follows.
z M = 75.396 z M 15.371 z M 2 + 14.589 z M 3 R 1 , 3 ,
where M = 1 . The V function implemented through the SOS method in Section 4 can proceed, and the value distribution of V function and its derivative is shown below.
The same observations can be made from Figure 9 as in the SMIB case, namely that the V function is positive in a large area near the origin (Figure 9a), while it is always negative near the origin for the derivative of the obtained V function (Figure 9b). This further confirms the fact that the V function obtained through the SOS method is a candidate function from Theorem 2. The domain of attraction of the single-machine system is plotted using this V function in Figure 10.
Compared to the time domain method, the estimation of the domain of attraction obtained through SOS is conservative, and this is due to the inherent numerical calculation characteristic of SOS when conducting the optimization procedure shown Figure 1. Once the optimization is claimed to have found a non-optimal solution, human intervention is also limited, resulting in the conservative property of the estimation of the region of attraction shown in Figure 10.

5.3. IEEE 4-Machine Test Power System

Consider an IEEE 4-machine 11-bus system with the system parameters as described in [29] and with the topology as shown in Figure 11.
A 3-phase short-circuit fault is set to 0.2 s at bus 8, with the fault duration set to 0.06 s. The rotor angle variations described by Equation (22) and Equation (30), respectively, are shown in Figure 12.
From Figure 12a, we can see that the rotor angle starts to rise at 0.02 s, indicating that the system dynamic process has begun. According to Equation (30), the angle dynamics in the original δ space can be transformed into the Z space shown in Figure 12b.
It can be observed from Figure 12b that the rotor angle dynamics in the original δ space can be decomposed into oscillating components, i.e., z 1 , z 2 , z 3 , and a linear component, i.e., z 4 , demonstrating the validity of the analysis in Section 3.2. Meanwhile, we can observe that z 1 > > z 2 and z 1 > > z 3 in Z space, manifesting the dynamic dominance of the z 1 variable. Additionally, the driving forces sustaining variation in z 1 can be decomposed into eight parts as follows.
We can see from Figure 13a that F 1 , F 2 , F 5 play a leading role among the driving forces, with these facts also observable in Figure 13b, showing that the summation of F 1 , F 2 , F 5 are almost equal to the right-hand side of Equation (35). Hence, the equation governing the variation in z1 can be rewritten as follows according to Equation (37).
z 1 = 12.2889 z 1 + 3.6546 z 1 2 + 2.3700 z 1 3 R 1 , 3 ,
We can obtain the V function by applying the procedure in Figure 1, Section 4, based on Equation (51). The value distribution of the gained V function in three dimensions can be plotted as follows.
From Figure 14a,b, it can be observed that the V function is positive in a large area near the origin and the derivative of the obtained V function with time is negative, respectively. These facts show that the V function obtained through the SOS method satisfies the two conditions specified in Theorem 2, further verifying the validity of the V function. Moreover, the comparison of the domain of attraction between the V function and the time domain method is demonstrated as follows.
It can be noticed that the domain of attraction determined by time domain method and the V function from Figure 15 exhibit a high degree of overlap, indicating that the proposed method can estimate the domain of attraction effectively. Furthermore, we define the set, Ω c = { ( z 1 , z ˙ 1 ) | V ( z 1 , z ˙ 1 ) 5.5 } , and the response of the system with different initial value is illustrated as follows.
Figure 16 compares the system response following the input of different initial values. The result indicates that the system remains stable if the initial value is in the domain of attraction, i.e., z 1 Ω c , and vice versa. This shows that the estimated region of attraction can predict the qualitative behavior of the dynamic system, further verifying the effectiveness of the proposed method in estimating the region of attraction.

6. Conclusions

In this paper, leveraging the polynomial structural characteristics of power system swing equations, we propose an estimation method for the domain of attraction based on the SOS programming theory. The conclusions are as follows:
(1)
The swing equations of the power system exhibit inherent polynomial structural characteristics. Based on the Taylor expansion formula, the power system model in both single-machine and multi-machine scenarios can be unified in a polynomial framework.
(2)
Based on the amplitude characteristics of angles in Z space, a single-machine projection equation governing the variation of maximum angle for multi-machines power system is capable of determining the stability of the polynomial system.
(3)
Case studies of single-machine and multi-machine systems compared to the time-domain method demonstrate that the proposed method can compute the Lyapunov function (V function) and effectively estimate the domain of attraction of the power system.
This work contributes to the understanding of the polynomial structural characteristics of power systems and provides an estimation of the domain of attraction for polynomial-type power system equations using the SOS programming method. Further research should focus on accumulating experience in SOS programming and applying this differential algebra-based time domain method to various applications in power systems.

Author Contributions

Conceptualization, J.L.; formal analysis, H.W.; methodology, J.L. and X.Z.; project administration, D.G.; software, J.L. and H.W.; supervision, X.Z.; validation, J.L.; writing—original draft, J.L. and H.W.; writing—review & editing, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the State Grid of China Corporation Headquarter Project “Renewable Power System Typical Instability Forms, Mechanisms and Analysis”, grant number 5108-202218280A-2-437-XG.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to the first author’s PhD thesis having not been submitted at the time of publication of this work.

Acknowledgments

The main author (Jing Li) would like to thank the team (Hao Wu, Xianwen Zhan, and Deqiang Gan) for their continuous support and contributions toward this research and the College of Electrical Engineering at Zhejiang University for funding via a studentship bursary.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Khalil, H.K. Nonlinear Systems; Prentice Hall: Upper Saddle River, NJ, USA, 2002. [Google Scholar]
  2. Winfree, A.T. Biological rhythms and the behavior of populations of coupled oscillators. J. Theor. Biol. 1967, 16, 15–42. [Google Scholar] [CrossRef] [PubMed]
  3. Fouad, A.-A.; Vittal, V. Power System Transient Stability Analysis Using the Transient Energy Function Method; Pearson Education: Upper Saddle River, NJ, USA, 1991. [Google Scholar]
  4. Gassara, H.; Iben Ammar, I.; Ben Makhlouf, A.; Mchiri, L.; Rhaima, M. Design of Polynomial Observer-Based Control of Fractional-Order Power Systems. Mathematics 2023, 11, 4450. [Google Scholar] [CrossRef]
  5. Shakerighadi, B.; Ebrahimzadeh, E.; Blaabjerg, F.; Leth Bak, C. Large-signal stability modeling for the grid-connected VSC based on the Lyapunov method. Energies 2018, 11, 2533. [Google Scholar] [CrossRef]
  6. Parrilo, P.A. Structured Semidefinite Programs and Semialgebraic Geometry Methods in Robustness and Optimization; California Institute of Technology: Pasadena, CA, USA, 2000. [Google Scholar]
  7. Jarvis-Wloszek, Z.W. Lyapunov Based Analysis and Controller Synthesis for Polynomial Systems Using Sum-of-Squares Optimization; University of California, Berkeley: Berkeley, CA, USA, 2003. [Google Scholar]
  8. Tan, W. Nonlinear Control Analysis and Synthesis Using Sum-of-Squares Programming; ProQuest: Ann Arbor, MI, USA, 2006. [Google Scholar]
  9. Blekherman, G.; Parrilo, P.A.; Thomas, R.R. Semidefinite Optimization and Convex Algebraic Geometry; SIAM: Philadelphia, PA, USA, 2012. [Google Scholar]
  10. Tan, W.; Packard, A. Searching for control Lyapunov functions using sums of squares programming. In Proceedings of the 42nd Annual Allerton Conference on Communications, Control and Computing, Monticello, IL, USA, 29 September–1 October 2004; 2004; pp. 210–219. [Google Scholar]
  11. Papachristodoulou, A.; Prajna, S. A tutorial on sum of squares techniques for systems analysis. In Proceedings of the 2005, American Control Conference, Portland, OR, USA, 8–10 June 2005; pp. 2686–2700. [Google Scholar]
  12. Topcu, U.; Packard, A.; Seiler, P. Local stability analysis using simulations and sum-of-squares programming. Automatica 2008, 44, 2669–2675. [Google Scholar] [CrossRef]
  13. Khodadadi, L.; Samadi, B.; Khaloozadeh, H. Estimation of region of attraction for polynomial nonlinear systems: A numerical method. ISA Trans. 2014, 53, 25–32. [Google Scholar] [CrossRef] [PubMed]
  14. Ahmadi, A.A.; Majumdar, A. DSOS and SDSOS optimization: More tractable alternatives to sum of squares and semidefinite optimization. SIAM J. Appl. Algebra Geom. 2019, 3, 193–230. [Google Scholar] [CrossRef]
  15. Tacchi, M.; Cardozo, C.; Henrion, D.; Lasserre, J.B. Approximating regions of attraction of a sparse polynomial differential system. IFAC-PapersOnLine 2020, 53, 3266–3271. [Google Scholar] [CrossRef]
  16. Ameen, F.; Siddiq, A.; Trohák, A.; Benotsmane, R. A Scalable Hierarchical Dynamic PV Array Reconfiguration under Partial Shading. Energies 2024, 17, 181. [Google Scholar] [CrossRef]
  17. Anghel, M.; Milano, F.; Papachristodoulou, A. Algorithmic construction of Lyapunov functions for power system stability analysis. IEEE Trans. Circuits Syst. I Regul. Pap. 2013, 60, 2533–2546. [Google Scholar] [CrossRef]
  18. Mazumder, S.K.; de la Fuente, E.P. Dynamic stability analysis of power network. In Proceedings of the 2015 IEEE Energy Conversion Congress and Exposition (ECCE), Montreal, QC, Canada, 20–24 September 2015; pp. 5808–5815. [Google Scholar]
  19. Kundu, S.; Anghel, M. Stability and control of power systems using vector Lyapunov functions and sum-of-squares methods. In Proceedings of the 2015 European Control Conference (ECC), Linz, Austria, 15–17 July 2015; pp. 253–259. [Google Scholar]
  20. Han, D.; El-Guindy, A.; Althoff, M. Power systems transient stability analysis via optimal rational Lyapunov functions. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 17–21 July 2016; pp. 1–5. [Google Scholar]
  21. Mishra, C.; Thorp, J.S.; Centeno, V.A.; Pal, A. Stability region estimation under low voltage ride through constraints using sum of squares. In Proceedings of the 2017 North American Power Symposium (NAPS), Morgantown, WV, USA, 17–19 September 2017; pp. 1–6. [Google Scholar]
  22. Mishra, C.; Pal, A.; Thorp, J.S.; Centeno, V.A. Transient stability assessment of prone-to-trip renewable generation rich power systems using lyapunov’s direct method. IEEE Trans. Sustain. Energy 2019, 10, 1523–1533. [Google Scholar] [CrossRef]
  23. Izumi, S.; Somekawa, H.; Xin, X.; Yamasaki, T. Analysis of robust transient stability of power systems using sum of squares programming. Int. J. Electr. Power Energy Syst. 2020, 115, 105401. [Google Scholar] [CrossRef]
  24. Zhang, Z.; Schuerhuber, R.; Fickert, L.; Friedl, K.; Chen, G.; Zhang, Y. Domain of attraction’s estimation for grid connected converters with phase-locked loop. IEEE Trans. Power Syst. 2021, 37, 1351–1362. [Google Scholar] [CrossRef]
  25. Zhang, Q.; Gan, D. A Gronwall Inequality Based Approach to Transient Stability Assessment for Power Grids. arXiv 2023, arXiv:2311.02231. [Google Scholar]
  26. Chiang, H.-D.; Wu, F.F.; Varaiya, P.P. A BCU method for direct analysis of power system transient stability. IEEE Trans. Power Syst. 1994, 9, 1194–1208. [Google Scholar] [CrossRef]
  27. Topcu, U.; Packard, A.; Seiler, P.; Balas, G. Help on sos [ask the experts]. IEEE Control Syst. Mag. 2010, 30, 18–23. [Google Scholar]
  28. Anderson, P.M.; Fouad, A.A. Power System Control and Stability; John Wiley & Sons: Hoboken, NJ, USA, 2008. [Google Scholar]
  29. Kundur, P. Power system stability. Power Syst. Stab. Control. 2007, 10, 7–11. [Google Scholar]
Figure 1. Procedures behind the estimation of the region of attraction.
Figure 1. Procedures behind the estimation of the region of attraction.
Energies 17 01050 g001
Figure 2. Single-machine infinite power system.
Figure 2. Single-machine infinite power system.
Energies 17 01050 g002
Figure 3. Value distribution of the V function and its derivative. (a) Value distribution of the V function; (b) value distribution of the derivative of the V function.
Figure 3. Value distribution of the V function and its derivative. (a) Value distribution of the V function; (b) value distribution of the derivative of the V function.
Energies 17 01050 g003
Figure 4. Comparison diagram for the estimation of the domain of attraction of single-machine infinite bus system. (a) Contour of the domain of attraction; (b) comparison with the time-domain method.
Figure 4. Comparison diagram for the estimation of the domain of attraction of single-machine infinite bus system. (a) Contour of the domain of attraction; (b) comparison with the time-domain method.
Energies 17 01050 g004
Figure 5. Time-domain simulation curves.
Figure 5. Time-domain simulation curves.
Energies 17 01050 g005
Figure 6. 3-machine and 9-bus system.
Figure 6. 3-machine and 9-bus system.
Energies 17 01050 g006
Figure 7. Response of rotor angle in different spaces. (a) The rotor angle response in the original space, i.e., δ coordinate system, governed by Equation (20); (b) the rotor angle response in Z space, i.e., Z coordinate system, governed by Equation (29).
Figure 7. Response of rotor angle in different spaces. (a) The rotor angle response in the original space, i.e., δ coordinate system, governed by Equation (20); (b) the rotor angle response in Z space, i.e., Z coordinate system, governed by Equation (29).
Energies 17 01050 g007
Figure 8. Decomposition of the driving forces governing the variation in z 1 for IEEE 3-machine 9-bus system. (a) All the eight driving forces that dominate z 1 variation; (b) the three main driving forces that dominate z 1 variation.
Figure 8. Decomposition of the driving forces governing the variation in z 1 for IEEE 3-machine 9-bus system. (a) All the eight driving forces that dominate z 1 variation; (b) the three main driving forces that dominate z 1 variation.
Energies 17 01050 g008
Figure 9. Value distribution of V function and its derivative of a 3-machine 9-bus system. (a) Value distribution of the V function; (b) value distribution of the derivative of the V function.
Figure 9. Value distribution of V function and its derivative of a 3-machine 9-bus system. (a) Value distribution of the V function; (b) value distribution of the derivative of the V function.
Energies 17 01050 g009
Figure 10. Comparison diagram for the estimation of the domain of attraction of IEEE 3-machine 9-bus system. (a) Contour of the domain of attraction; (b) comparison with the time-domain method.
Figure 10. Comparison diagram for the estimation of the domain of attraction of IEEE 3-machine 9-bus system. (a) Contour of the domain of attraction; (b) comparison with the time-domain method.
Energies 17 01050 g010
Figure 11. 4-machine and 11-bus system.
Figure 11. 4-machine and 11-bus system.
Energies 17 01050 g011
Figure 12. Response of rotor angle in different spaces. (a) The rotor angle response in the original space, i.e., δ coordinate system, governed by Equation (20); (b) the rotor angle response in Z space, i.e., Z coordinate system, governed by Equation (29).
Figure 12. Response of rotor angle in different spaces. (a) The rotor angle response in the original space, i.e., δ coordinate system, governed by Equation (20); (b) the rotor angle response in Z space, i.e., Z coordinate system, governed by Equation (29).
Energies 17 01050 g012
Figure 13. Decomposition of the driving forces governing variation in z 1 for IEEE 4-machine 11-bus system. (a) All the eight driving forces that dominate z 1 variation; (b) the three main driving forces that dominate z 1 variation.
Figure 13. Decomposition of the driving forces governing variation in z 1 for IEEE 4-machine 11-bus system. (a) All the eight driving forces that dominate z 1 variation; (b) the three main driving forces that dominate z 1 variation.
Energies 17 01050 g013
Figure 14. Value distribution of the V function and its derivative of IEEE 4-machine 11-bus system. (a) Value distribution of the V function; (b) value distribution of the derivative of the V function.
Figure 14. Value distribution of the V function and its derivative of IEEE 4-machine 11-bus system. (a) Value distribution of the V function; (b) value distribution of the derivative of the V function.
Energies 17 01050 g014
Figure 15. Comparison diagram for the estimation of the domain of attraction of IEEE 4-machine 11-bus system. (a) Contour of the domain of attraction; (b) comparison with the time-domain method.
Figure 15. Comparison diagram for the estimation of the domain of attraction of IEEE 4-machine 11-bus system. (a) Contour of the domain of attraction; (b) comparison with the time-domain method.
Energies 17 01050 g015
Figure 16. Contour of the domain of attraction.
Figure 16. Contour of the domain of attraction.
Energies 17 01050 g016
Table 1. Parameters of single-machine infinite power system.
Table 1. Parameters of single-machine infinite power system.
HDPMPmaxωR
3.500.91.35375.8
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, J.; Wu, H.; Zhan, X.; Gan, D. Estimation of the Region of Attraction of Polynomial Swing Equation Using Sum of Squares Theory. Energies 2024, 17, 1050. https://doi.org/10.3390/en17051050

AMA Style

Li J, Wu H, Zhan X, Gan D. Estimation of the Region of Attraction of Polynomial Swing Equation Using Sum of Squares Theory. Energies. 2024; 17(5):1050. https://doi.org/10.3390/en17051050

Chicago/Turabian Style

Li, Jing, Hao Wu, Xianwen Zhan, and Deqiang Gan. 2024. "Estimation of the Region of Attraction of Polynomial Swing Equation Using Sum of Squares Theory" Energies 17, no. 5: 1050. https://doi.org/10.3390/en17051050

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop