Figures
Abstract
Objective
This research pioneers a novel approach to obtain a closed-form analytic solution to the nonlinear second order differential swing equation that models power system dynamics. The distinctive element of this study is the integration of a generalized load model known as a ZIP load model (constant impedance Z, constant current I, and constant power P loads).
Methods
Building on previous work where an analytic solution for the swing equation was derived in a linear system with limited load types, this study introduces two fundamental novelties: 1) the innovative examination and modeling of the ZIP load model, successfully integrating constant current loads to augment constant impedance and constant power loads; 2) the unique derivation of voltage variables in relation to rotor angles employing the holomorphic embedding (HE) method and the Padé approximation. These innovations are incorporated into the swing equations to achieve an unprecedented analytical solution, thereby enhancing system dynamics. Simulations on a model system were performed to evaluate transient stability.
Results
The ZIP load model is ingeniously utilized to generate a linear model. A comparison of the developed load model and analytical solution with those obtained through time-domain simulation demonstrated the remarkable precision and efficacy of the proposed model across a range of IEEE model systems.
Conclusion
The study addresses the key challenges in power system dynamics, namely the diverse load characteristics and the time-consuming nature of time-domain simulation. Breaking new ground, this research proposes an analytical solution to the swing equation using a comprehensive ZIP model, without resorting to unphysical assumptions. The close-form solution not only assures computational efficiency but also preserves accuracy. This solution effectively estimates system dynamics following a disturbance, representing a significant advancement in the field.
Citation: Oh H (2023) Analytic solution to swing equations in power grids with ZIP load models. PLoS ONE 18(6): e0286600. https://doi.org/10.1371/journal.pone.0286600
Editor: Praveen Kumar Balachandran, Vardhaman College of Engineering, INDIA
Received: February 23, 2023; Accepted: May 19, 2023; Published: June 8, 2023
This is an open access article, free of all copyright, and may be freely reproduced, distributed, transmitted, modified, built upon, or otherwise used by anyone for any lawful purpose. The work is made available under the Creative Commons CC0 public domain dedication.
Data Availability: Data can be found at https://electricgrids.engr.tamu.edu/.
Funding: The authors received no specific funding for this work.
Competing interests: The authors have declared that no competing interests exist.
Abbreviations:
*,
complex conjugate; EI,
internal voltage magnitude vector at Ibus; Eref,
reference voltage magnitude; Ibus,
transformed internal generator nodes; IEEE,
Institute of Electrical and Electronics Engineers; j,
; Kbus,
set of nodes directly connected to a generator; KM,
union of Kbus and Mbus, K ∪ M; Mbus,
set of nodes that are not directly connected to a generator; Nb,
number of buses; NI,
number of nodes in Ibus; NKM,
number of nodes in Kbus or in Mbus; v,
complex voltage vector, v = vx + jvy; vx,
real component of voltage vector; vy,
imaginary component of voltage vector; Wj,
reciprocal voltages at the jth node, Wj = 1/ vj; Ybus,
nodal admittance matrix; Ytr,
admittance matrix where Ytr = Gtr + jBtr
I. Introduction
As societal demand for electric power grows, maintaining synchronization among synchronous generators becomes increasingly difficult. Failure to maintain synchronization might lead to fluctuations in the rotational motion of the generators over time. The swing equations [1], which are complex nonlinear second-order differential equations, govern the behavior of the synchronous generators. The problem has remained unanswered for almost a century, and research on rotor motions post-disturbance has primarily concentrated on either physically unacceptable assumptions [2–9] or time-consuming numerical simulations [10–16], which may not be suited for assessing real-time system stability.
An analytical solution for linear loads such as frequency-dependent loads and constant impedance loads was recently developed, allowing power grid stability to be assessed with minimal computational effort [17]. However, this approach does not take into account nonlinear loads, such as constant power loads (PQ loads). The BIG model has been proposed [18, 19], but it implies load linearization and a minimal deviations from the static operating point, which may not be valid during disturbances. The deviation could lead to substantial errors in the simulation results [10, 11, 16]. Please see the surveys in [20, 21] for further information on load modeling.
During the transients, voltages and flows are determined by power flow equations. To determine the voltages for a given set of PQ, PV, and slack buses, a power flow (PF) problem is solved. Because the PF problem is NP-hard (non-deterministic polynomial-time), finding a precise solution within an acceptable timeframe is challenging. To solve the PF problem, heuristic approaches, such as Newton-Raphson or Gauss-Seidel methods [1], are typically utilized. Each node usually has two known values and two equations for calculating the real and imaginary parts of voltages, as well as real and reactive power injections. However, a novel tensor computation-based method has been presented that does not require uniform knowledge and assigns 2N knowns from all nodes [22].
Holomorphic embedding (HE) is another method being investigated for an analytical solution to the PF problem [23, 24]. HE entails equating the s term by term and extending the voltages, reciprocal voltages, and reactive power generation in terms of the variable s. The zeroth order solution, or "germ solution," is determined independently of the loading conditions, although the first and higher order terms are affected by them. The HE method is extended to numerical dynamic simulations, albeit with the strict requirements that the variables be approximated as a truncated sum of McLaurin series [25]. Because this assumption is only valid within an unknown convergence radius, the number of terms to include after truncation is determined heuristically, which potentially leads to inaccurate results if the number of terms is incorrectly assigned.
In this study, the HE method will be employed to derive voltage interdependence for various load characteristics. The following is how the paper is structured: Section II provides a load modeling approach for integrating load characteristics into swing equations in an efficient and precise manner. Section III shows how nodal voltages are linearly proportional to rotor angles (i.e., voltages at Ibus). Section IV provides the analytical solution to a differential equation established inside a validity region in order to approximate swing equations using nonlinear load models. Section V extends the analytical solution’s application beyond its validity region. Section VI discusses the numerical methodologies that were employed in this study. Section VII describes the numerical results obtained by simulating dynamics with ZIP loads and explains stability assessments for selected examples. Finally, Section VIII summarizes the study’s findings and draw conclusions.
II. Load modeling
Because the solution to swing equation stated in [17] already accounts for frequency dependent loads, this section will focus on a frequency-independent load model. The ZIP model, which incorporates constant impedance Z, constant current I, and constant power P loads, is a popular load model for power flow and dynamic simulations [20, 21]. This load model accurately represents load behavior under normal and fault conditions, making it a useful tool for power flow studies and stability analysis. Constant impedance Z, constant current I, and constant power P loads are addressed in detail in the sections that follow.
II.1. Constant impedance loads
Constant impedance (Z) loads have steady impedance characteristics, which means their electrical resistance remains constant regardless of the applied voltage. As a result, the current delivered to the load is directly proportional to the voltage, however the power delivered to the load increases with the square of the magnitude of the voltage. Constant impedance loads accurately depict resistance-based loads such as electric heating devices and incandescent light bulbs.
One approach to model constant impedance loads is to embed them in the Ybus matrix. The jth element in the diagonal matrix in this method is
[26], where
represents the complex conjugate of the constant impedance loads at the jth node when the voltage magnitude at the node |vj| is 1.0 per unit (p.u.). When the voltage magnitude is |vj|, the actual realized power injection at Node j is
[26]. Consequently, the modified nodal admittance matrix is
, where
is the nodal admittance matrix without Z loads. The modified matrix Ybus is then used to calculate the network current Ibus with constant impedance, which can be estimated using the formula Ibus = Ybus v.
II.2. Constant current loads
Constant current loads are electrical loads that provide power proportional to the magnitude of the voltage at the node, [26]. It is, however, difficult to establish the relationship between current and voltage based on the linear relationship between power and voltage magnitude. As a result, for modeling purposes, we approximated constant current loads in terms of other load types. During transients, the voltage magnitudes |vj| at the KM nodes do not deviate significantly from known values and may be expressed as
, where
. Taylor’s series expansion approximates
, allowing constant current loads to be decomposed into constant impedance and constant power loads,
., The deviation of the approximation
is calculated as an error measurement;
.
Fig 1 depicts the true delivered normalized power to constant current loads and its approximation, which contains two quadratic components in relation to voltage magnitude and do not vary with magnitude. Fig 1 shows that the approximation closely matches the true values within a range of 2–3% for a wide range of voltage magnitudes, with the approximation deviating by around 20% from the voltage magnitude at which it was made. If the voltage magnitudes exceed a specific range, the approximation may no longer be valid, and an updated approximation with the new voltage magnitude may be necessary. However, there was little need for this in our stability studies.
The deviations of the approximation are 2–3% within 20% deviation of the voltage magnitudes.
II.3. Constant power loads
A constant power load is an electrical load that requires a consistent power supply to operate regardless of voltage or current fluctuations. Although the load’s impedance varies, the power consumed remains constant. Electric motors, fluorescent lighting, and induction heating are examples of such loads. Voltage-dependent loads, on the other hand, are easier to support on the transmission network since they respond to variations in system voltage. Constant impedance loads, for example, fluctuate proportionally to the square of the voltage, resulting in a greater reduction when the voltage falls below 1.0 p.u. This constant power load type is observed in numerous power flow analyses, such as MATPOWER [27] and Holomorphic Embedding [23].
II.4. Concluding remark on the ZIP load models
Throughout this study, the ZIP load models are used in a variety of ways. Constant current I loads are first transformed into constant impedance and constant power loads. The extended Z and P loads are created by combining these transformed components with the existing Z and P loads. The extended constant impedance loads Z are incorporated into the nodal admittance matrix Ybus, modifying the diagonal components of the nodal admittance matrix , which is generated using the branch data and shunt elements. P continues to be a load for the power flow problem or quasi-power flow problem (QPF as defined in Section III), which is discussed in the following section. As a result, the PF problem, or QPF, establishes the voltages required to fulfill the extended P loads throughout the system, using the modified Ybus.
III. Linearized interdependence between voltages
Real and reactive power injections, as well as real and imaginary voltages, are required to define the state of a node. Traditional PF problems use two known variables at each node to determine the other two, which vary depending on the bus type: 1) slack bus with known voltages; 2) PV bus with specified real power injection and voltage magnitude; and 3) PQ bus with both real and reactive power injections specified. The power balance equations at Bus i, denoted as [1], and the computation of the other two variables using the two known.
During transients, the voltage magnitudes at Ibus stay constant [28]. The goal of QPF is to determine the voltages at KM in response to the rotor angle (equivalent to the voltage angle at Ibus). This research addresses the QPF problem, which is a form of PF problem in which the remaining two variables are calculated using power balance equations and two known variables. The QPF formulation differs slightly from standard PF problems in that it has two types of buses: reference buses with known real and imaginary voltages (all Ibus) and PQ buses.
Load characteristics are critical and this study takes ZIP loads into account. After the decomposition of I loads, QPF determines voltages throughout the system that satisfy the extended P loads with the modified nodal admittance matrix in terms of the extended Z loads. The Kronecker product is capable of efficiently solving the QPF problem [22]. Kirchhoff’s current law finds at Bus j ∈ KM [1]. In this case,
is a designated current for all j in KM, serving as a placeholder to improve load model flexibility, such as shunt currents, creating a linear relationship between the voltages. Previous investigations have shown that when only Z loads are present, the linear relationship is accurate [17]. Many attempts have been made to derive a linear relationship between nodal voltages. The linear relationship has the advantage of allowing the power flow equations to be concisely expressed in a smaller number of nodes, which is why it is sometimes referred as a network reduction. Section III.1. illustrates conventional techniques, and Section III.2. presents the proposed approach based on Holomorphic Embedding.
III.1. Conventional methods to represent vKM in terms of vI
The Ward reduction method [29] is employed when the voltage magnitudes at KM are almost constant,. The current at KM can be expressed as a linear combination of the voltages at KM and Ibus, where
is a partitioned Ybus matrix with the rows and columns correspond to KM;
is a partitioned Ybus matrix in which the rows correspond to KM but the columns correspond to Ibus;
is the complex conjugate of the delivered power to KM normalized with the squared voltage magnitude; and
is the designated current at KM.
The following equation can estimate the voltages at KM using the known voltages at Ibus and the power injections, assuming that the voltage magnitude at KM remains constant: [29]. This method can potentially reduce the complexity of the power flow problem while increasing computational efficiency.
Voltage sensitivities close to the original dispatch can also be investigated: . The nodal power balance, f(v) = f(v0) = 0, must be maintained while voltages fluctuate. As a result, the first-term Taylor series expansion provides a linear relationship between Ibus and other buses’ voltages:
[1].
Because both methods investigate physical power flow models, a reduced network with fewer nodes can be constructed. However, if the voltages at Ibus (i.e., rotor angle) differ from the voltages used for linearization, the errors in the voltage estimates can be substantial.
III.2. Proposed method based on the holomorphic embedding
The holomorphic embedding method is an innovative approach to power flow analysis that tries to discover voltage solutions analytically rather than iteratively [23]. In HE’s load modeling, constant impedance (Z) load models are represented as I = Ybus v + I0 where I represents current, Ybus is the nodal admittance matrix, v represent voltages, and I0 is the designated current. The Ybus matrix has been altered and divided into two parts: Ytr and Ysh. Ytr has zero row sums meaning that its row sums are all zeros. In contrast, Ysh is a diagonal matrix made up of nodal shunt elements. If Ysh is zero, the germ solution serves no flows or loads in the system. Voltage magnitudes and angles in the germ solution are homogeneous, with a typical magnitude of unity and an angle of zero. It is possible, however, to select a reference voltage magnitude other than unity, which is denoted by Eref.
Depending on the bus types specified in [17], the power balance equation is (1A) for Bus i ∈ Ibus and (1B) for Bus j ∈ KM:
(1A)
(1B)
Here, Ei os the voltage magnitude at Bus i; pi and qi are the real and reactive power injections at Bus i, while pj and qj are the real and reactive power injections at Bus j; and wj is the reciprocal voltages at Bus j, i.e., wj vj = 1, respectively.
The formulae for Ytrv and Yshv, given the partitioned into submatrices Ytr and Ysh are as follows: and
. According to the germ solution in [23], because the row sums of Ytr are all zero, one can set v[0] or Eref∠θ0 to unity. Let θ0 = 0 or v[0] = Eref for simplicity. According to the definition of w, vj(s) wj(s) = 1, resulting in:
. Consequently, we obtain
, and
where j and n are indices while Eref is a constant. Assuming that
and
satisfy the linear equations
and
for k = 0, 1,…, n-1 where A is a row vector and a is a scalar. We can write
as:
(2A)
Where
and
. (2A) is quadratic in Ibus voltages, but it can be linearized around known bus voltage values as follows:
(2B)
Where
, and
.
From the linear expression where
and
, we find
. With
linearized as shown in (2B) and vI(s) = Eref 1 + (vI − Eref 1)s, (1B) becomes:
(2C)
Where
and
. (2C) is solved because
is a full-rank matrix:
or
(2D)
Where
and
.
The cardinalities of and
are
and nKM × 1, respectively. Summation over n gives:
. Because adding an infinite number of terms is infeasible, we seek the Padé approximation [24], which was inspired by [23]:
(3A)
In this study, we set l equal to m. The first linear system is constructed using the coefficients of sk, k = 0, …, l:
The second linear system is given by the coefficients of sk, k = l+1, …, l+m:
It is worth noticing that the linear matrix equations in (3E)-(3G) are derived in such a way that the superposition s becomes zero at any value for xI and yI. To find a linear equation, use (3E)-(3G):
(4A)
As a result, the vector formed of the coefficients in the denominator series of the Padé approximation resides in the null space of the Wb matrix. Because the denominator function of the Padé approximation (3A) cannot be zero, the vector must be a nontrivial solution. To explore the matrix’s null space, the singular value decomposition of Wb (Wb = UΣVT) is used:
(4B)
The coefficients in the nominator series are found utilizing the values for from (3B)-(3D), and (4B). The Padé approximation yields a linear relationship between vI and vKM at s = 1:
(5)
Where
and
.
The power balance equation for Ibus is . Linear equations that
are obtained by linearizing the right-hand side of the power balance equation at Ibus using (5) and vI(s) = Eref + (vI − Eref)s. As a result,
(6A)
As with (3A)-(3I), the Padé approximation is applied to produce the linear expression for real and reactive power generation at Ibus:
(6B)
The definitions of ξi (≡ qixi) and ξi (≡ qiyi) reveal the following:
(7A)
(7B)
Where
and
. Like (3A)-(3I), the Padé approximation offers the linear formula for ξI and ξI at Ibus:
(8)
III.3. Error analysis
The number of terms in the nominator and denominator series, denoted by l and m, respectively, influences the accuracy of the Padé approximation. While not as robust as the McLaurin series, the amount of terms utilized has an effect on the precision of the Padé approximation [30]. The holomorphic embedding procedure limits the series to a limited number of terms, resulting in errors in the matrices and vectors due to inaccuracies in the data and observations. The errors are caused by two factors: deviation from the voltage values at Ibus during the linearization process and truncation error due to the finite nature of l. The matrix and currents obtained using the Padé approximation are represented by and
, respectively. In contrast, Ψ∞ and ψ∞ denote the matrices and currents acquired by employing an infinite number of terms. Denote
and
as the solutions with and without errors in (9):
and
. The difference between solutions is bounded by [31]:
(10)
Where
and
, and
.
(10) is an equality constrained least squares problem with a fixed voltage reference angle, as given in [31]: . The elementary column vector corresponding to the location of the reference angle node (ref) is denoted by eref. Let
be the partitioned matrix
from which the node ref is removed. The solution to the equality constrained least squares problem is [31]:
. The subscript ref indicates that the element in
corresponding to the reference angle node has been removed. To complete
, add one row to the element in
by including a row vector and an element on the right-hand side in
. As previously stated, (9) is only applicable in the neighborhood of the dispatch where linearization is performed. The linear coefficients in (9) must be revised if the voltages at Ibus change significantly.
IV. Analytical solution to swing equations
When there is a disturbance in a power system, the swing equation governs the system dynamics: where Mj and Dj are the inertia and damping coefficients of the jth generator, respectively; δj,
, and
are the rotor angle, mechanical power input, and electrical power output of the jth generator, respectively. Kirchhoff’s laws govern the output of electrical power. The coordinate transformation of the swing equation to [17] yields:
(11)
where
Using (9), (11) becomes:
(12)
(13)
Where
. It should be noted that the factors in square brackets in (12) and (13) are related to the admittance matrix and are normalized to the inertia of the corresponding generators. (12) and (13) are both simplified [17]:
(14)
Where
, and
, respectively.
The linear differential Eq (14), like the one in [17], is constrained by two parameters, O1 and O2. Because of these constraints, (14) is equivalent to the swing Eq (10). O1 denotes all of the voltages at Ibus, whereas O2 denotes the boundary condition where the linear approximation (9) is still valid. (16) depicts the combination of O1 and O2:
(15)
(16)
The validity region is defined by (16), as indicated in [17]. When (16) is satisfied, (14) remains within a distance of ε from the solution to the swing equation. As a result, (14) is also ε-close to the true solution of the swing equation, and the error is bounded by k(17)ε, where k(17) is a constant as proved in [17]. According to [32], velocity control in the form of is more effective in maintaining O1 than location control. The following is the solution to differential Eq (14):
(17)
Where, as demonstrated in [17], Ψk is the matrix form of the kth vector spanning the null space of
where
and Dl is a block-diagonal matrix containing the eigenvalues of T;
where
and
; and
where ψl = Ψl u(t = 0) and
.
The rotor angle δI is determined as the imaginary component of log(xI + jyI). Because the reference angle bus is fixed while calculating the sensitivities in (9), the rotor angles are relative to the reference angle node ref. To put it another way, the estimated rotor angles are . δI is frequently referenced against the center of inertia δCOI,
where Mtot = ∑iMi. Using the definition of δCOI, it is possible to determine:
(18)
(18) yields (19), which alters the reference angle:
(19)
δij is the Kronecker delta [33]. The rotor angles relative to the moment of inertia can be determined directly using the solution in (17) since the linear coefficients,
, are independent of the reference bus. As a result, the linear approximation using HE in (9) remains valid, despite the fact that it is predicted on a specific choice of the reference angle bus.
V. Beyond the validity region
Denote f and g as (14) and (15), respectively:
(20)
(21)
F(wI, ωI, ρI) is formed as follows:
(22)
According to the definition of the validity region in [17], the value of F is non-zero at the last point on the boundary. Iteratively, the Newton-Raphson method is used to obtain a consistent initial point for , and
. The starting point needs to be compatible with the differential equation (14). Kirchhoff’s laws are utilized to compute the initial power injection.
The solution in (17) is valid if the power injection is close enough to the estimated value from (9) and (17) as well as the update for l. Otherwise, the linear sensitivities in (9) must be recalculated to determine matrices H and L, and the solution in (17) must be recalculated, resulting in greater complexity.
VI. Numerical simulation methods
VI.1. Exact approach: Time-Domain Simulation (TDS)
The power flow equation becomes linear when dealing with linear loads such as constant impedance load, allowing for relatively simple digital simulation. The power flow equation becomes quadratic when a constant current or constant power load is present. Several iterative steps are involved in the modified Euler method:
- Predictor stage: The voltages at KM are estimated in this stage by solving the QPF problem using the voltages at Ibus, vI. Using the given equations
and
, the mechanical power,
, electrical power,
, and damping factor, Dj, of each node are utilized to compute the first derivative of angular frequency, dωj⁄dt, and the first derivative of the voltage angle, dδj⁄dt. Using these first-order derivatives, the second-order derivatives of rotor angle, dωi2)/dt and the accompanying frequency and angle values, dδi2)/dt, ωi2) and δi2), are then calculated.
- Corrector stage: A new QPF problem is solved using the rotor angle values calculated in the predictor stage, δi2). This entails calculating the power generated at each node, which is then used to determine the second-order derivatives of rotor angle, dωi3)/dt, and their corresponding frequency and rotor angle values, dδi3)/dt, ωi3) and δi3), respectively. Solving the QPF problem determines power generation.
- Return to Step 1 for the next iteration based on the revised voltage angles at Ibus δi3).
In terms of node categorization, the QPF problem at Step 1 differs from conventional PF problems. There are reference nodes, PV nodes, and PQ nodes in conventional PF problems. In the QPF problem, the voltage magnitudes and angles are known at all Ibus while the real and reactive power injections are known at the remaining nodes, which are referred to as KM. Normally, the voltage angle at the reference angle bus is set to zero.
The first step of the QPF problem has 2N equations and 2N unknowns that can be utilized to compute the vector [vx; vy; pinj; qinj]4N, where vx and vy are the real and the imaginary components of the voltage vector, and pinj and qinj are the real and the reactive power injections, respectively. Despite the fact that Step 1 differs from the conventional PF problem in terms of node classification, it can still be solved using a method such as the Kronecker product [22]. The Kronecker product is a matrix operation that can convert power flow equations into matrices, making numerical computation easier to solve the equations. The 2N equations and 2N unknowns in Step 1’s QPF problem can be written in matrix form using the Kronecker product and solved using a variety of numerical approaches.
However, the computational costs of numerically solving (23) increase considerably with each iteration. For example, 104 instances of (23) must be solved to complete a 10-second event with a time step of 10−3 seconds.
VI.2. Heuristic Truncated McLaurin Series (HTMS) approach
Section V.1 emphasizes that the QPF problem is structured in the same way as conventional PF problems. To investigate this similarity, the HE [25] is employed for numerical simulations. One may begin by assuming that the time-dependent rotor angles for both δj and ωj as a McLaurin series near t = 0: as well as
. The series is then truncated to the first m terms.
(24)
With (24), one can deduce expressions for
and
. Comparing the τth power of t in (24) and the definitions of δ and ω leads to (25) that establishes the relationship between two consecutive terms, τ and τ + 1:
(25)
At each term, the rotor angles are computed using (25), and two nodal variables, either nodal voltages or power injections, are determined based on the bus type, resulting in a QPF problem.
The numerical simulation process begins with a simulation of the system at τ = 0, ωj[0] and δj[0] are calculated. The HE algorithm uses these values to find an analytic solution to identify voltages and power injections at τ = 0. The values for
and (25) allow us to calculate ωj[1] and δj[1] for the next HE at τ = 1, and so on.
In (24), the state and algebraic variables u(t) are assumed in a truncated McLaurin series form; . The series’ convergence radius is:
(26)
Because the series used in HE are numerically evaluated, there is no theoretical limit to the value of kmin necessary to satisfy (27A) as long as k is greater than kmin. As a result, the number of truncations is heuristically chosen, despite the fact that the number is important to the accuracy of the approximation. For example, the state and algebraic variables x and y are written as [17]. The resulting rotor angle (voltage angles at Ibus) is given by
. The time dependence is clearly not polynomial.
Considering two extreme cases, rapidly diverging and rapidly converging, we observe that the function is more accurately approximated as the number of terms m in the McLaurin series increases. See Fig 2 that depicts the truncated McLaurin series of exp(t)cos(3t) (exponentially diverging case) and exp(-t)cos(3t) (exponentially converging case). The convergence region for the truncated McLaurin series for δj, ωj, xi, and yi should be the minimum of all kmin values defined in (26) at the same time, as given by (27) to ensure proper convergence for all variables:
(27)
The color lines correspond to the number of terms used for the approximation.
Because the HE method is based on numerical term-by-term computation, deriving the analytical forms of and
is difficult, if attainable. To the best of our knowledge, predicting t (corresponding to m) in advance to satisfy (27) is thus impossible. When the truncation error is too significant, it can be decreased by either 1) increasing the number of terms (i.e., increasing m) or 2) using the Taylor series expansion when the truncation error becomes too significant, such as
.
To keep the error within an acceptable range, m may need to increase exponentially as the simulation’s termination time tte increases. As a result, the second approach is employed in this study. Because this method does not involve updating the state and algebraic variables at each iteration, its computation cost is lower than that of traditional time-domain simulation methods. The accuracy of this approach, however, may be jeopardized if the system evolves to a new equilibrium in which the McLaurin series no longer accurately approximates the system dynamics. In such instances as shown in [25], this approach may produce imprecise numerical results or incur a high computational cost.
VII. Simulation results
VII.1. Load modeling ZIP loads to ZP loads
Constant current loads are split into the constant impedance and the constant power loads using the formula . Power flow studies are performed on all the systems in the MATPOWER [27] to identify voltage caused errors caused by the approximation of the constant current loads. The errors remain less than 1% for all the systems. In the simulations, loads are equally distributed as Z, I, and P loads, i.e., one third of loads are Z loads, I loads, and P loads each at all the PQ nodes. Fig 3 depicts the typical examples from the selected systems.
If the voltage magnitudes do not deviate more than 10%, relative errors in the loads, as shown in Fig 1, remain below 1%. As a result, the resulting voltage errors are also less than 1%. The numerical error in approximating loads from constant current loads, as depicted in Fig 1, falls within a range similar to that of the demand forecast. The voltage difference is normally minor as long as demand forecast is close to the actual demand. In general, the resulting voltages are determined by how the load is distributed across the network. If the input is close to a certain value, the system’s output will remain close to the expected output, as illustrated in Fig 3.
VII.2. Voltage estimate using holomorphic embedding
Section III discusses several circuit analysis methods for simplifying complex electrical networks. These methods represent an arbitrary two-port network is represented by these methods as a single voltage source in series with an impedance. By utilizing circuit analysis techniques, they enable determination of voltage and current behavior at various points in the network. The resulting equivalent circuit provides a mean to model the original circuit’s behavior in terms of voltage, which proves valuable in reducing electrical circuit complexity and enhancing the understanding of their behavior. The networks considered for numerical simulation are the same as in Section VII.1, with a typical example displayed in Fig 4. All tested networks perform similarly.
The proposed method clearly provides an accurate estimate of the voltages at KM while covering a wide range of voltages at Ibus. Considering the accuracy of the estimate and the formulation of all nodal voltages and branch flows are expressed in terms of voltages at Ibus, it is possible to construct an efficient, accurate, and highly adaptable "reduced" network that maps the power flows over the original network. However, the challenge of developing a network corresponding to the highly asymmetric nodal admittance matrix appearing in I = Yv poses a potential barrier to creating a "reduced" network.
VII.3. Simulation environments
Simulations were conducted on various IEEE model systems (including the IEEE 4-, 9-, 14-, 30-, and 39-bus systems). However, for purpose of visual presentation and comparison with the results from [17], the simulation results for the IEEE 9-bus system are discussed in detail (Fig 5). The 9-bus system is expanded to 12 buses by adding 3 Ibus (Bus 10, 11, and 12) to represent the internal generators located at Bus 1, 2, and 3, respectively.
IEEE-9bus system shown in left. The arrows represent the system’s loads, and they are all ZIP loads with equal distributions (1/3, 1/3, 1/3). Note that Ibus = {Gen 1, Gen 2, Gen 3}, Kbus = {Bus 1, Bus 2, Bus 3}, Mbus = {Bus 4, Bus 5, Bus 6, Bus 7, Bus 8, Bus 9}. An equivalent 12-bus system is built by modeling the generators as nodes, i.e., Gen 1, 2, and 3 correspond to Bus 10, 11, and 12, respectively (shown in right). Rotor angles are represented by the voltage angles at Ibus.
In one particular case, a line failure is assumed to occur near Bus 7 on the line connecting Bus 7 and Bus 8, which consist of two separate circuits. The fault is detected immediately after the disturbance, and the circuit breaker is opened to isolate the disturbance, indicating that the fault is cleared. Once the fault is cleared, power is restored to the remaining circuit. The stability is assessed using a coupled oscillator model [34], direct methods [2–7, 35, 36], numerical TDS, and the proposed method. Other outages, such as various load losses at Bus 8, are modelled and analyzed for their effects on system stability simulated and evaluated using the same methodologies.
When the voltage magnitudes at all nodes deviate from the pre-fault state along the on-fault trajectory of the line outage before the fault is cleared, the errors in load modeling, as well as the errors from the linearization in the holomorphic embedding, become considerable. In contrast to the errors discussed above, the inaccuracy induced by assuming that all loads are constant impedance loads is rather minor. Consequently, utilizing the constant power load type during the on-fault trajectory is feasible. However, because the fault-clearing process is quick, precise TDS does not necessitate a high computation cost. When the loads are not entirely constant impedance loads, the on-fault trajectory is identified using TDS simulation in this study.
It is worth noting that the HTMS method converges within a time radius of around 10−2–10−1 seconds, with 20–30 terms yielding accurate results when compared to TDS results, with a 5% tolerance between the two components. Each HE procedure at involves a matrix inversion, resulting in computation costs for HTMS being in the order of [31], where m is the number of terms in the truncated McLaurin series and THTMS is the time period of one HTMS evaluation. The time step TTDS for TDS in this study is 10−3, and QPF includes a matrix inversion, therefore the TDS computation costs are in the order of
[31]. The costs of computing HTMS (πHTMS) are comparable to those of computing TDS
[31].
All numerical calculations were performed on a Mac Pro equipped with two 2.93 GHz 6-core Xeon processors. The P load values are adjusted to match the Z load values in the post-fault trajectory presentedin [17], i.e., and
, where vj denotes the voltage at Bus j at the beginning of the post-fault trajectory in [17]. Consequently, the stability assessment results in Ref [17] for the coupled oscillator and the direct method remain unchanged. Table 1 only shows the evaluation results for TDS and the proposed method.
VII.4. Line outage between Bus 5 and Bus 7 near Bus 7
The line outage results will serve as an example. As shown in Table 1, the TDS approach is employed to calculate the on-fault trajectory, which increases the computation time of the proposed method. In contrast to Z loads where the loads gradually adjust based on voltage magnitudes, the rotor motions are constrained to support constant power loads. Because of these constraints imposed on P loads, the real and imaginary components of the rotor motion (the time derivatives of the voltages) deviate significantly from zero. Voltages at Ibus (rotor) with P loads, as a result, cross the validity region boundaries more frequently than voltages at Ibus (rotor) with Z loads do to satisfy (16).
The validity region is a key element in the proposed method since it assures that the resulting solution obtained is sufficiently close to the time series provided by TDS. In the case of the line outage simulation, the validity region boundary is reached at 0.1 seconds, as shown in Fig 6. Fig 7 illustrates the real and imaginary components of the rotor motions as a result of position and velocity projections. Fig 7(C) compares the blue and red lines showing that when the value of ε is set to 1% the approximation employed to simplify O1 holds well. The 1-norm is used to derive a useful expression for the validity boundary based on the inequality of norms [31], ‖∙‖∞ ≤ ‖∙‖2 ≤ ‖∙‖1.
The time where the time series intersects the validity boundary has an analytic form, and the consistent initialization yields ρI, ωI, and vI. Using the consistent initial values, the swing equations and corresponding solutions are identified for the next validity region, ensuring that the analytical solution and numerical computation remain sufficiently close to evaluate the stability over the entire range. The stability assessment is as follows. With a known analytical solution valid within a boundary, one can assess if the system is stable or becomes unstable within the boundary. If the system becomes unstable, the assessment determines that the system is unstable. Otherwise, the assessment is continued to the next boundary. If the assessment is not completed by the time frame that a control mechanism, such as governor control, is engaged, the system is at least operationally stable [17]. Only the value for β in (17) should be modified to match the specified values for analytic solution. The computation costs associated with the update of β are minimal because the evaluation of β is a least square problem with a fixed matrix, [ψ1⋯ψ4NI].
It is important to note that the computation time in Table 1 includes all procedures until stability is determined, which entails approximately 10 times of consistent initialization problems until t = 3 seconds. This considerably increases the computation cost. The proposed approach, however, has a substantially reduced computation cost when compared to TDS. A greater value for ε in (16) can be utilized to further improve computational efficiency at the expense of compromising analytical solution accuracy. Table 1 shows the computation times for TDS and the proposed method until stability is assessed (t = 1 second). When ε is set to 10%, the initialization problem is only solved twice, while the stability assessment remains unaltered, resulting in a reduction in computation time from 3.71 seconds to 1.22 seconds.
VII.5. Voltage linearization using holomorphic embedding
The HE linearization method relies on a specified reference angle, typically zero, at an arbitrarily chosen node (in this study, Bus 1). To achieve this, we rotate the voltages until the angle at the reference node is zero. Following the fault clearance (t = 0 sec), the rotor angles undergo step changes, as shown in Fig 8(A) and 8(B). These changes result from the voltage angle shift at the reference angle node, not from alteration in the physical rotor angles. The rotor angles with respect to that of COI offsets the step change as illustrated in (19) (See Fig 8(B)). TDS will continue until the system establishes a new equilibrium or becomes unstable. Each TDS step necessitates solving 2 QPF problems–one at the predictor stage and the other at the corrector stage, for a total of 6,000 QPF are solved during the 3-second at a frequency of 10−3 sec. As the proposed method offers an analytic expression for the variables over time during the post-fault period, it is possible to calculate errors. For example, the leading terms in the linearization error based on HE are of the order ϑ(NKM2) [31] if is stored.
The angles are referenced against the voltage angle (1) at Bus 1 or (2) at the Center of Inertia (COI).
Fig 9 illustrates nodal voltages in the IEEE 9-bus system, where the imaginary components of the voltages at selected nodes (Bus 1, 4, 5, and 6) are non-positive. This observation implies that the behavior of the nodal voltages may not be uniform across the system, indicating that there may be an underlying structure that warrants further investigation. To investigate this further, the sensitivity matrix HKM, as given in (9), is examined. Let represent the HKM sensitivities corresponding to Bus j. The angle between two subspaces formed by
and
is defined as θij. Two spaces are considered nearly linearly dependent when the angle between them is small [37, 38] (See Table 2 for the values for θij). Partitioning the buses based on the behavior exhibited in Fig 9 may be difficult because θij represents the angle between two subspaces spanning 2NI dimensions. To cluster the buses, the k-means clustering algorithm [39, 40] is employed, with the θij values. According to k-means clustering results, Buses 1, 4, 5, and 6 constitute one group, while the remaining buses form another. Fig 5 displays the locations of these groups in the IEEE 9-bus system, with the lower half of the system forming one group. Following a line outage, the path between the two groups becomes less efficient for power transfer, leading to a degree of system partitioning. This partitioning impact is reflected in the sensitivity matrix HKM, which can provide valuable insights for analyzing the system’s stability and vulnerability during disturbances. Further studies can focus on understanding and mitigating the impacts of these partitioning effects on power system performance and reliability.
VII.6. The effects of load characteristics on power system dynamics
Fig 10(A) displays the characteristics of various load types, including constant impedance loads (Z), constant current loads (I), and constant power loads (P), using the proposed method, which yields results that are visually indistinguishable from those obtained using the TDS method. This implies that in this study, the two major error sources of the proposed analytical solution to swing equations—I load modeling in terms of Z and P loads, and the condition in (16)—are minimal.
Blue, red, and green lines correspond to the load types, constant impedance (Z), constant current (I), and constant power (P) loads, respectively.
Fig 10(A) initially displays load characteristics before 0.5 seconds, which become evident after 2 seconds (for further details, see Fig 10(B)–10(D)). According to Section II.3, higher nodal voltages at a node necessitate a larger power for P loads. This is reflected in LwI in (14), resulting in a larger L matrix.
The analysis of the eigenvalues and coefficients from (17) reveals that only two coefficients associated with the generator at Bus 3 have significant values (see second row of Table 3). Their corresponding eigenvalues are listed in the third and the fourth rows of Table 3. The first set of eigenvalues have larger imaginary components, suggesting that the corresponding functions u in (17) oscillate more quickly than those related to the second set. Therefore, the smaller coefficients of the second set of imaginary eigenvalues cause the modes’ linear sum to oscillate even faster. This explains why the periods of the rotor dynamics decreases with I and P loads, potentially due to the damping effect of the constant power loads on the system.
To simplify our physical explanation, let’s disregard l in (14) and suppose that all coefficients in (14) are scalar. With this adjustment, (14) then represents a spring-mass-dashpot system, where a spring either push or pull the mass illustrated in Fig 11. The equation of the motion for this system is: [33] where m denotes the mass, c is the dashpot constant, and k represents the spring constant. The solution to this equation is: x(t) = x1 exp(λ1 t) + x2 exp(λ2 t) where
and
. The values for x1 and x2 are selected to satisfy the system’s initial and boundary conditions. When c2 is less than 4mk, the system oscillates underdamped.
Fig 12 demonstrates different damping behaviors based on various k values, assuming x1 = x2 = 1, m = 1, and c = 1.7. In case where k = 1 (represented by the blue line), the system is overdamped since c2 > 4mk, and the mass shifts to the next stable point. The red and green lines display changes in the mass location for lower and higher k values respectively. Importantly, Fig 12 shows that as k value increases, the oscillation period decreases. Fig 10 shows that the oscillation periods τ change with the types of loads, τZload > τIload > τPload. This suggests that in the spring-mass-dashpot system, the loads function similarly to a spring, and constant power loads exert the strongest restoring force.
VIII. Conclusions
The author of this paper proposes a novel approach for evaluating the transient stability of power grids by deriving an analytic solution to the swing equation that can accommodate all ZIP models while complying to Kirchhoff’s laws. The swing equation is transformed into a differential algebraic equation, and that the ZIP load models are analytically integrated using the holomorphic embedding method. As demonstrated in the paper’s example, the proposed solution enables an accurate and efficient assessment of stability.
The proposed assessment tool is fundamentally different from traditional methods such as the coupled oscillator model and the direct method because it avoids making physically inadmissible assumptions. Additionally, it distinguishes itself from time-domain simulation methods by offering relatively low computation costs. These advantages make the proposed tool an attractive option for real-time transient stability assessment in power systems, which is crucial for maintaining grid reliability and security.
The potential applications of this novel method include real-time monitoring and control of power systems, as well as grid planning and optimization. By providing a more accurate and computationally efficient means of assessing transient stability, the proposed approach can help grid operators make better-informed decisions and respond more quickly to potential threats, ultimately enhancing the overall performance and resilience of power systems.
References
- 1.
W. S. J. Grainger, Power system analysis, 1st ed. McGraw-Hill, 1994.
- 2. Willems J. L. and Willems J. C., “The Application of Lyapunov Methods to the Computation of Transient Stability Regions for Multimachine Power Systems,” IEEE Trans. Power Appar. Syst., vol. PAS-89, no. 5, 1970,
- 3.
H.-D. Chiang, Direct Methods for Stability Analysis of Electric Power Systems. 2010.
- 4. Vu T. L. and Turitsyn K., “A Framework for Robust Assessment of Power Grid Stability and Resiliency,” IEEE Trans. Automat. Contr., vol. 62, no. 3, 2017,
- 5. Chiang H. D., “Study of the Existence of Energy Functions for Power Systems with Losses,” IEEE Trans. Circuits Syst., vol. 36, no. 11, 1989,
- 6.
T. L. Vu and K. Turitsyn, “Synchronization stability of lossy and uncertain power grids,” in Proceedings of the American Control Conference, 2015, vol. 2015-July.
- 7. Hill D. J. and Chong C. N., “Lyapunov functions of lur’e-postnikov form for structure preserving models of power systems,” Automatica, vol. 25, no. 3, 1989,
- 8. Anghel M., Milano F., and Papachristodoulou A., “Algorithmic construction of lyapunov functions for power system stability analysis,” IEEE Trans. Circuits Syst. I Regul. Pap., vol. 60, no. 9, 2013,
- 9. Löf P. A., Smed T., Andersson G., and Hill D. J., “Fast calculation of a voltage stability index,” IEEE Trans. Power Syst., vol. 7, no. 1, 1992,
- 10. Overbye T. J., “Effects of load modelling on analysis of power system voltage stability,” Int. J. Electr. Power Energy Syst., vol. 16, no. 5, 1994,
- 11. Diao R., Vittal V., and Logic N., “Design of a real-time security assessment tool for situational awareness enhancement in modern power systems,” IEEE Trans. Power Syst., vol. 25, no. 2, 2010,
- 12.
Z. Huang, S. Jin, and R. Diao, “Predictive dynamic simulation for large-scale power systems through high-performance computing,” 2012.
- 13. Nagel I., Fabre L., Pastre M., Krummenacher F., Cherkaoui R., and Kayal M., “High-speed power system transient stability simulation using highly dedicated hardware,” IEEE Trans. Power Syst., vol. 28, no. 4, 2013,
- 14. Jin S., Huang Z., Diao R., Wu D., and Chen Y., “Comparative Implementation of High Performance Computing for Power System Dynamic Simulations,” IEEE Trans. Smart Grid, vol. 8, no. 3, 2017,
- 15. Pulgar-Painemal H., Wang Y., and Silva-Saravia H., “On Inertia Distribution, Inter-Area Oscillations and Location of Electronically-Interfaced Resources,” IEEE Trans. Power Syst., vol. 33, no. 1, 2017,
- 16. Pasiopoulou I. D., Kontis E. O., Papadopoulos T. Α., and Papagiannis G. K., “Effect of load modeling on power system stability studies,” Electr. Power Syst. Res., vol. 207, p. 107846, 2022,
- 17. Oh H., “Analytical solution to swing equations in power grids,” PLoS One, vol. 14, no. 11, p. e0225097, Aug. 2019, pmid:31743351
- 18.
M. Jereminov, A. Pandey, H. A. Song, B. Hooi, C. Faloutsos, and L. Pileggi, “Linear load model for robust power system analysis,” in 2017 IEEE PES Innovative Smart Grid Technologies Conference Europe, ISGT-Europe 2017—Proceedings, 2017, vol. 2018-January.
- 19.
H. A. Song, B. Hooi, M. Jereminov, A. Pandey, L. Pileggi, and C. Faloutsos, “PowerCast: Mining and Forecasting Power Grid Sequences,” in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2017, vol. 10535 LNAI.
- 20. Price W. W. et al., “Standard Load Models for Power Flow and Dynamic Performance Simulation,” IEEE Trans. Power Syst., vol. 10, no. 3, 1995,
- 21. Arif A., Wang Z., Wang J., Mather B., Bashualdo H., and Zhao D., “Load modeling—A review,” IEEE Transactions on Smart Grid, vol. 9, no. 6. 2018,
- 22. Oh H., “A Unified and Efficient Approach to Power Flow Analysis,” Energies, vol. 12, no. 12, p. 2425, Jun. 2019,
- 23.
A. Trias, “The Holomorphic Embedding Load Flow method,” 2012.
- 24. Trias A. and Marín J. L., “A Padé-Weierstrass technique for the rigorous enforcement of control limits in power flow studies,” Int. J. Electr. Power Energy Syst., vol. 99, 2018,
- 25. Yao R., Liu Y., Sun K., Qiu F., and Wang J., “Efficient and Robust Dynamic Simulation of Power Systems with Holomorphic Embedding,” IEEE Trans. Power Syst., vol. 35, no. 2, 2020,
- 26.
T. Overbye, “Transient Stability Solutions,” 2019. https://overbye.engr.tamu.edu/wp-content/uploads/sites/146/2019/10/ECEN667_2019_Lect15.pdf.
- 27. Zimmerman R. D., Murillo-Sánchez C. E., and Thomas R. J., “MATPOWER: Steady-state operations, planning, and analysis tools for power systems research and education,” IEEE Trans. Power Syst., 2011,
- 28. Anderson P. M., Fouad A. A., and Happ H. H., “Power System Control and Stability,” IEEE Trans. Syst. Man. Cybern., vol. 9, no. 2, 2008,
- 29. Ward J. B., “Equivalent Circuits for Power-Flow Studies,” Trans. Am. Inst. Electr. Eng., vol. 68, 1949,
- 30. Wall H. S., “On the Pade Approximants Associated with the Continued Fraction and Series of Stieltjes,” Trans. Am. Math. Soc., vol. 31, no. 1, 1929,
- 31.
G. H. Golub and C. F. Van Loan, Matrix Computations (Johns Hopkins Studies in Mathematical Sciences)(3rd Edition), vol. 208–209. 1996.
- 32.
E. Hairer and G. Wanner, “Solving Ordinary Differential Equations II: Stiff and Differential-Algebraic Problems,” 2002.
- 33.
B. R. Kusse and E. A. Westwig, Mathematical Physics. 2006.
- 34. Dörfler F., Chertkov M., and Bullo F., “Synchronization in complex oscillator networks and smart grids,” Proc. Natl. Acad. Sci. U. S. A., vol. 110, no. 6, 2013, pmid:23319658
- 35. Pai M. A., Padiyar K. R., and Radhakrishna C., “Transient stability analysis of multi-machine AC/DC power systems via energy-function method.,” SAE Prepr., 1981.
- 36. Filatrella G., Nielsen A. H., and Pedersen N. F., “Analysis of a power grid using a Kuramoto-like model,” Eur. Phys. J. B, vol. 61, no. 4, 2008,
- 37. Ȧke Björck and G. H. Golub , “Numerical methods for computing angles between linear subspaces,” Math. Comput., vol. 27, no. 123, 1973,
- 38.
P. Å. Wedin, “On angles between subspaces of a finite dimensional inner product space,” 1983.
- 39. Cooper M. and Seber G. A. F., “Multivariate Observations,” J. Mark. Res., vol. 22, no. 2, 1985,
- 40. Everitt B. and Spath H., “Cluster Dissection and Analysis: Theory, Fortran Programs and Examples.,” J. R. Stat. Soc. Ser. A, vol. 148, no. 3, 1985,