1. Introduction
The power system’s ability to withstand a large disturbance without generators losing synchronism is routinely evaluated at control centers. This evaluation can be performed through Lyapunov-based and non-Lyapunov-based transient stability approaches [
1]. In the latter category, the methods that have received the most attention are time-domain (TD) simulation [
2], the extended equal area criterion [
3,
4], and data-driven techniques [
1,
5,
6].
In the context of the conventional TD simulation method, the transient stability problem is formulated through a system of nonlinear differential-algebraic equations (DAEs), where the algebraic network’s equations can be expressed either in the current balance or power balance form [
7]. This DAE system is directly solved by means of a numerical integration process. Different TD approaches have been proposed to increase the efficiency of that integration process, such as the use of the dishonest Newton method [
8] and a mix of explicit and implicit integration methods [
9]. The decomposition of DAEs into equivalent linear subsystems for the purpose of parallel computing was proposed in [
5,
10], while the use of a semi-implicit formulation to reduce the computational burden and to simplify the formulation of the transient stability problem is reported in [
11]. Lastly, an analytical method to solve the set of DAEs using differential transformation is detailed in [
12]. Despite these outstanding contributions, the conventional TD simulation is still the most used approach in the power engineering industry for performing transient stability analysis [
5,
9].
In the conventional TD simulation method, the DAEs are commonly solved by means of an explicit partitioned integration approach when the current balance form is considered. On the other hand, when the power balance form is adopted, a simultaneous-implicit (SI) integration approach is generally used [
5]. When comparing both approaches, the power balance form has the advantage of being a general framework for modeling all devices used in different power system studies [
7,
8], including renewable energy sources [
1,
13]. In addition, this approach may be faster and numerically more stable for stiff systems [
5,
14]. Therefore, this work has focused on this SI approach.
The SI approach solves the transient stability problem in a single frame of reference, where the set of DAEs is algebraized by the trapezoidal integration method. The resulting nonlinear discrete equations are solved by means of Newton’s method at each integration step. Therefore, an accurate initial condition of the dynamic and algebraic state variables is crucial in avoiding an ill-conditioned Jacobian matrix and the loss of Newton’s method convergence [
7]. Unlike dynamic state variables, algebraic state variables instantaneously change after a disturbance occurs. In this case, the TD simulation must be paused to compute the values of algebraic states that determine the network’s equilibrium point immediately after the disturbance occurrence [
14]. The TD simulation is then continued by considering this equilibrium point as the initial condition for the first integration step of the post-disturbance period. However, the TD simulation cannot be completed if the computation of such an equilibrium point fails due to the lack of an accurate initial condition, which is the problem addressed in this paper, as detailed below.
The post-disturbance equilibrium point associated with the inception of a fault can be obtained by directly solving the set of nonlinear algebraic equations of the network in power balance form through Newton’s method [
14]. Care must be exercised, however, when this approach is used to compute the equilibrium point at the fault clearing instant [
7]. In this case, one intuitive initialization for solving those nonlinear algebraic equations is using the values of algebraic state variables calculated just before the fault clearing. However, when the disturbance is a short circuit and the voltage magnitudes’ adjustments are divided by their corresponding voltage magnitudes, this initialization leads to a singular Jacobian matrix so that Newton’s method fails to converge [
15]. If voltage adjustments are not weighted, the iterative solution of the algebraic equations results in a zero voltage magnitude at the faulted bus immediately after clearing the fault. Furthermore, this null value remains for the rest of the TD simulation [
7]. Another option is to initialize the algebraic states to their prefault values or with a flat initialization profile. These initializations, however, could steer Newton’s method to an eventual loss of convergence because the longer the fault clearing time, the further away the initial guess is from the algebraic variables’ actual values immediately after clearing the fault [
16]. In these circumstances, Newton’s method fails to compute the network’s equilibrium point at the fault clearing instant, and therefore, the TD simulation cannot be continued.
To the best of the authors’ knowledge, a strategy for addressing the above numerical problems has not been reported in the literature for transient stability studies of power systems. In addition, in a review of the technical documentation of existing commercial and open-source software for transient stability analyses, no guidelines to solve those numerical issues have been found. This lack of guidelines may be because existing commercial software formulates the transient stability problem by expressing the algebraic network’s equations in the current balance form, where the initialization of the algebraic variables at the fault clearing instant do not produce that failure of the TD simulation.
In this context, this paper provides a comprehensive analysis to clarify the failure of Newton’s method in calculating the network equilibrium point at the fault clearing instant when the algebraic network’s equations are in power balance form, which is also illustrated by numerical examples. Furthermore, an approach is proposed to solve the algebraic state variables just after clearing a fault by overcoming those drawbacks in the SI approach. To this aim, the generator and load models are transformed into current injections that are related to the network’s nodal voltages through a constant extended network admittance matrix. Hence, this LU-factorized matrix, which is constant throughout the solution process, is used to solve the current injection-based system model by performing only one forward and backward substitution in each iteration of the fixed-point iteration method.
This paper is organized as follows: First, the power balance-based transient stability problem and the failure of Newton’s method in the SI approach are described in
Section 2. Next, the proposed approach is given in detail in
Section 3. Several case studies are then presented in
Section 4 to illustrate the failure of the SI approach and to demonstrate the effectiveness of the proposed approach. Lastly, conclusions are presented in
Section 5.
2. Problem Statement for the Computation of the Equilibrium Point at
In this section, the problem for computing the network’s equilibrium point at the fault clearing instant is comprehensively formulated. For this purpose, the transient stability problem is formulated by a set of DAEs expressed in the power balance form, and these equations are discretized by the SI approach. These discretized equations are then used to clarify how the initialization of algebraic variables at leads to the misperformance of Newton’s method in computing that equilibrium point.
The power system’s dynamics are given by the set of DAEs
where
x and
y denote the vectors of dynamic and algebraic state variables, while
β is the vector of input parameters. The algebraic variables correspond to the bus voltages expressed in polar or
D-Q rectangular coordinates:
y = [
]
T = [
,…,
,
,…,
]
T or
y = [
]
T = [
,…,
,
,…,
]
T, where T is the transposed operator. Furthermore, the rate of change of
x given by
f(∙) is restricted to comply with the nodal power balance
g(∙) = 0.
2.1. TD Simulation via a Simultaneous-Implicit Approach
The dynamics of
x and
y are obtained for a study time period
T by discretizing (1) through the trapezoidal rule and iteratively solving the resulting discretized equations for each discrete time using Newton’s method, as follows. At the (
k + 1)
-th time step, the discretized equations are linearized: [
Jk+1]
i [∆
χk+1]
i = −[
Фk+1]
i, where the Jacobian matrix
Jk+1 is given by (2) and ∆
χk+1 = [∆
xT ∆
yT]
k+1,T. Note that the Jacobian submatrices correspond to (3), and
I denotes an identity matrix. Furthermore,
Фk+1 = [
φ(·)
T g(·)
T]
k+1,T, where the vector
φ(·)
k+1 corresponds to the discretization of
f(∙) via the trapezoidal rule in the time interval [
k,
k + 1], as given by (4) and
g(·)
k+1 =
g(
xk+1,
yk+1,
β):
Lastly, the linearized equations are solved at each iteration i of Newton’s method to obtain [∆χk+1]i and to update the values of the variables according to [xk+1]i+1 = [xk+1]i + [Δxk+1]i and [yk+1]i+1 = [yk+1]i + [Δyk+1]i, until a convergence criterion is satisfied. This solution method is applied to the entire study time period defined from the initial time to the time tf of the fault inception, from tf to the fault clearing time tcl, and from tcl to the end of the study time period tend: T = [, tf] (tf, tcl] (tcl, tend].
2.2. Explicit Formulation of the Nonlinear Power Balance Equations at
The DAEs in (1) must reflect any network disturbance, including the clearing of faults. Hence, at the first time step after clearing the fault, k + 1 = , the step size must be set as Δt = 0 to calculate the instantaneous change in state variables’ values. According to (4), setting Δt = 0 directly yields xk+1 = xk, where xk represents the values of the dynamic state variables at the last time step before clearing the fault: k = . Hence, the values of the dynamic state variables are known for k + 1 = but not the values of algebraic state variables yk+1 that correspond to the network’s equilibrium point immediately after clearing the fault.
An intuitive approach for attempting to obtain the value of the algebraic state variables yk+1 is to use Newton’s method for solving the nonlinear power balance equations related to that time step k + 1 = : g(∙)k+1 = 0. For this purpose, however, an initial condition of those variables is unknown because the values of the algebraic state variables instantaneously change from to . In this context, the application of Newton’s method is difficult, as detailed below based on the explicit formulation of those nonlinear power balance equations.
Since the values of the variables
xk+1 and input parameters
β are known, the nonlinear power balance equations can be expressed only in terms of the variables
yk+1:
g(
y)
k+1 = 0. For a system of
nb buses, the set of power balance equations is given in explicit form by (5), where the equation for the
nth bus is the product of multiplying the corresponding voltage phasor
by the sum of the
Nn complex conjugated currents injected at that bus [
7]:
For the sake of simplicity, (5) is expressed in compact form by (6), where
is given by (7):
The set of Equation (6) must be linearized around an initial condition
y0 for their solution. Therefore, Taylor’s series theorem is applied, which yields (8), where
An and
Bn are given in (9) and (10), respectively. It should be noted that
yk+1 = [
vT θT]
k+1,T,
, and
for
l = 1,…,
nb:
To simplify and speed up the calculation of partial derivatives w.r.t. voltage magnitudes, the terms
In(·)
and (∂
In(·)/
)
in (8) and (9) can be multiplied by the voltage magnitudes
and
, respectively. To maintain the validity of (8), however, the increments
and
must be properly divided by those voltage magnitudes, which yields
After some algebraic manipulation, either the linearized system (8) or (11) can be expressed as in (13) to attempt to solve (6) at the time step
k + 1 =
via Newton’s method:
The iterative solution of (13) requires a proper initialization y0 = []k+1,T of the variables yk+1 to compute the network’s equilibrium point just after the fault clearing. However, a strategy to assess that initial condition has not been reported in the existing literature for transient stability studies of power systems. This is not trivial because some nodal voltages change their values abruptly after clearing the fault. In this context, an intuitive way to overcome this initialization problem consists of setting the initial values at their corresponding values to the prefault conditions, y0 = , or just before the fault clearing time, y0 = . Another option is to perform a flat initialization, y0 = [1T 0T]0,T, where vectors 1 and 0 represent the flat voltage profile in polar coordinates. These initialization procedures, however, may lead to the Newton method’s misperformance, as discussed in the next section.
2.3. Newton Method’s Misperformance at
Assuming the occurrence of a solid short circuit at the
nth bus of a power system, the corresponding voltage magnitude
∈
y becomes 0 during the fault period (
tf,
). After clearing the fault at time step
k + 1 =
,
recovers positive values for the post-fault period [
,
tend]. To assess the power system’s transient response under this contingency scenario through Newton’s method, the algebraic state variables could be initialized to the values they have just before the fault is cleared,
y0 =
, which is called
initialization. This implies that (8) must be evaluated by considering
at the first iteration of the solution process, such that the linearized equation in (8) related to the faulted bus
n becomes
because the terms multiplied by
are canceled out. Hence, the solution of (13) yields
, and therefore, the value of
is not updated for the next iteration. In this case,
will remain 0 for all further iterations of the solution process. Furthermore, this null value remains for the rest of the time-domain simulation [
7], leading to an inaccurate computation of the power system’s transient behavior.
On the other hand, if the initialization is used along with the linearized system (11) instead of (8), the consideration of in the first iteration cancels out the linearized equation corresponding to the nth row in (11), which leads to an ill-conditioned Jacobian matrix in (13). In this case, Newton’s method fails to converge to the equilibrium point associated with the fault clearing time. After that, the time-domain simulation cannot continue computing the system state variables evolution.
Lastly, it is well known that Newton’s method convergence is sensitive to the initial guess of the unknown variables [
16]. Hence, the method may fail to converge when an initialization based on the prefault operating conditions or a flat voltage profile is used because, as the fault clearing time is longer, the solution of the algebraic state variables at time step
k + 1 =
moves away from the initialization of
y0. This statement is numerically demonstrated in
Section 4.
3. Proposed Approach
Based on the preceding discussion, an approach to compute the value of the algebraic state variables yk+1 at the time step k + 1 = is proposed in this section. For this purpose, a current injection-based power system model is formulated. This model relates current injections to nodal voltages through an extended admittance matrix assembled by adding the equivalent admittances of generators and loads to the traditional network admittance matrix. Those equivalent admittances are directly derived from the current injection models of generators and loads. Lastly, the vector value yk+1 is obtained from the solution of a proposed current injection-based model using a fixed-point method, as reported below.
3.1. Current Injection Generator Model
The injected current by the
ith generator is obtained by transforming its Thévenin’s equivalent circuit into Norton’s equivalent circuit, as depicted in
Figure 1.
From Kirchhoff’s voltage law, the voltage source behind the transient reactance
in terms of the generators’
d-q reference frame is given by (14), where
is the generator rotor angle [
14]:
The current source and impedance associated with Norton’s circuit are directly derived from (14):
where
and
Iwi (
w = d,
q) are as given in (16) [
14]. Where
∈
and
∈
correspond to the voltage at the generator terminals in
D-Q rectangular coordinates,
(
α = 1
d, 2
q) are flux linkages, and
(
w =
d,
q) represent the internal voltages:
The stator algebraic Equation (14) through (16) can represent different generator models by properly setting the coefficients
kεi (
ε = 1,…,6), as given in
Table 1. Furthermore, since the dynamic states do not change instantaneously, the values of
(
α = 1
d, 2
q),
(
w =
d,
q), and
are known at
from their corresponding values computed at
.
Based on (15) and (16), the current source
is expressed in terms of
D-Q rectangular coordinates:
where the constant terms in (17) are given by
By applying Kirchhoff’s current law to the Norton circuit, the total current
injected by the generator is given by (17) plus the current through the impedance
. This results in
Lastly, the current injection model for the
ng generators embedded in the system is directly obtained from (19):
where the elements of
Ga = diag(
Ga1,…,
Gang),
Ba = diag(
Ba1,…,
Bang), and
Bb = diag(
Bb1,…,
Bbng) are calculated from (18), while
BN = diag(−1
/, …,−1
/).
3.2. Current Injection Load Model
The complex power drawn by the load connected at the
ith bus is given by the ZIP load model [
14]. Thus, the total current demanded by the load equals the complex conjugate of the ratio of that power to the voltage at the connection bus. This current can be expressed in terms of the
D-
Q coordinates:
where
ILN Qi(·) and
ILN Di(·) are nonlinear terms given by (22). Furthermore, the coefficients of the last two linear terms in (21) are given by (23). Note that
v0i,
P0i, and
Q0i are known steady-state values of the voltage magnitude at the connection bus as well as the active and reactive power demanded by the load, respectively. Finally,
pγi and
qγi (for
γ =
z,
c,
p) are the ZIP parameters, and
:
Lastly, the current injection model for all
nl loads of the system is obtained from (21) to (23):
where the elements of the diagonal matrices
Gz and
Bz are given by (23).
3.3. Current Injection-Based System Model
The general form of the system’s current injection model for time step
k + 1 =
is given by
, which is expressed in
D-
Q coordinates by
where
G and
B are conductance and susceptance submatrices related to the real and imaginary parts of the network admittance matrix
corresponding to the time step
k + 1 =
, respectively. This matrix is diagonal dominant because of the location of susceptance submatrices. Substituting (20) and (24) into (25) results in the proposed current injection model:
where the current injections and nodal voltages are related by the matrix referred to as the extended admittance matrix:
Yext. In addition, note that in transit nodes, generators and loads current injections do not exist such that the corresponding elements in the current vector are 0. Furthermore, the elements of
Yext associated with these transit nodes only correspond to the elements of
. Lastly, the proposed model (26) is nonlinear because of the terms
ILN Q(·) and
ILN D(·). A suitable solution method for (26) is given below.
3.4. Algorithm for Computing Algebraic State Variables
The computation of algebraic state variables just after clearing a fault is performed by solving the proposed model (26) for
yk+1 = [
]
k+1,T through the fixed-point iteration method. For applying this method, (26) is rewritten as given in (27), where the superscript
k + 1 has been omitted to simplify the notation. The iterative solution process is depicted in
Figure 2 and detailed below:
The procedure starts by assembling the
Yext matrix and computing its LU factors, while the terms
and
are evaluated from (18) by using the known values of dynamic state variables
x at
. Furthermore, the initial estimation of the algebraic variables is performed using one of the initialization processes described in
Section 2.2, which results in
y0 = [
]
T. After that, the initial values are transformed into rectangular coordinates:
y0 ↦
y0 = [
]
T. Furthermore, the iteration index is set as
i = 0 to start the iterative solution process by evaluating
ILN Q(·) and
ILN D(·) from (22) and assembling the set of equations (27). Lastly, (27) is solved by using the LU factors of
Yext in a forward and backward substitution to obtain a new value
yi+1. If the maximum absolute difference between
yi+1 and
yi satisfies a given tolerance
Tol,
yi+1 is transformed into polar coordinates, and the result is set as the solution of the algebraic state variables at time step
k + 1 =
. If not,
yi+1 is set as the initial value
yi, the method returns to evaluate the terms
ILN Q(·) and
ILN D(·) from (22) in the
i + 1 iteration, and the procedure is repeated.
It is important to note that Yext, , and are constants because they do not depend on the variables to be solved. Hence, their corresponding values and the LU factors of Yext are computed only once at the beginning of the solution process. In this sense, the computational burden at each iteration is mainly due to the forward and backward substitution executed to obtain a new value of yi = [ ]i,T. In this way, the proposed approach efficiently solves the current injection model (26). Finally, if all loads are represented by pure constant impedances, the ZIP parameters pγi and qγi (for γ = c,p) in (22) are 0 and thus cancel out the nonlinear terms ILN Q(·) and ILN D(·). In this case, (26) becomes linear, and the proposal will require just one iteration for its solution.
On the other hand, when the initializing nodal voltages have the same values as just before clearing a short circuit at the ith bus, the voltages vDi and vQi must be initialized with 1 and 0, respectively, to avoid a division by 0 in (22).
Lastly, for application purposes, the TD simulation by the SI approach described in
Section 2.1 must be paused just after clearing the fault to obtain
yk+1 by using the proposed approach. This solution establishes the network’s equilibrium point at
k + 1 =
and, together with the known value
xk+1 of the dynamic state variables,
χk+1 = [
xT yT]
k+1,T, yields the initial guess of the system state variables to continue the TD simulation for the post-disturbance period.
5. Conclusions
This paper proposes a fundamentally different and general approach for solving algebraic state variables just after clearing a fault in the power balance-based transient stability problem. The results show that the network’s equations expressed in the power balance form cannot be effectively solved using Newton’s method when the initialization of the algebraic state variables is used. The initialization of those variables based on the prefault operating conditions, or a flat voltage profile, may mitigate this problem but does not ensure the success of Newton’s method in the SI approach at the fault clearing instant.
Accordingly, an approach was proposed in this paper to successfully compute the network’s equilibrium point in transient stability studies just after clearing a fault. For this purpose, a current injection-based system model has been derived, where current injections of generators and loads are related to nodal voltages by a constant extended admittance matrix. Hence, only one triangular factorization is needed at the beginning of the solution process to then compute nodal voltages through forward and backward substitutions. Numerical examples demonstrate the generality, robustness, low computation time, and high accuracy of the proposed approach, as well as how it overcomes the non-convergence problem of Newton’s method to compute the network’s equilibrium point immediately after the fault is cleared. In this way, the proposal can be used to assist the SI approach in computing the network’s equilibrium point at the fault clearing instant.
Finally, as future research work, it is proposed to explore the application of the proposed approach to perform TD simulations integrating the uncertainty of renewable resources. These simulations directly provide Jacobian matrices required to perform dynamic trajectory sensitivity analysis with respect to power system parameters.