Professional Documents
Culture Documents
STABILITY ANALYSIS
Yaman C. Evrenoso~
glu Hasan Da~
g
the eld. This is due to the diÆculty of the usage of The classical model of a power system uses the clas-
the detailed model for transient stability and due to the sical model of synchronous machine which consists of
rare examples of this model. only dierential equations. During the stability study
Keywords Transient Stability Analysis, dynamic sim- the assumptions made are [1];
ulation and detailed power system model.
Mechanical power input is constant,
1 Introduction Damping power is neglected,
Many problems regarding the operation and control Constant voltage behind the transient reactance
of power systems require interactive solutions of large model of the synchronous machine is valid,
sets of equations representing system components. The The mechanical rotor angle of a machine is as-
transient stability problem, one of the most compute- sumed to be equal to the angle of the voltage be-
intensive power system simulation, is among these prob- hind the transient reactance,
lems and it has received the necessary attention for the
last couple of decades [1, 2, 3, 4, 5]. Loads are represented by passive impedances.
On-line simulation of contingencies for the purpose of
dynamic assessment, transient stability, of power sys- The model only includes the swing equation of the
tem has not been possible to date. At this point the generator and the active power that is supplied by the
most important stage is the choice of the power system generator. If there are m generators and n buses, by
model. The assumptions made in the classical model, the application of the Kron reduction, the system can
especially the ignorance of the excitation system and be reduced to m internal nodes of the each classical
the electrical dynamics of the rotor windings, cause the machines [1]. All other nodes are eliminated as the
results become far away from the actual ones. During result of the Kron reduction, and the reduced system
on-line simulation the detailed model of power system can be represented as follows:
needs be used to obtain actual results.
The problem requires the solution of a set of ( 2H )Æ = P P
!s
i
i mi ei (1)
dierential-algebraic equations (DAE). Dierential
equations represent dynamics of rotating machines and X
n
T 0 E_0 = E 0 + (X X 0 )I
written as two rst order dierential equations as fol- d0i di di qi qi qi
T V_ = V + K R
K K Ai Fi
E
Here the initial conditions are obtained by a result Ai Ri
T
Ri Ai fi
Fi
f di
ter all the needed values are obtained these two rst TF i Rf i_ = Rf i +T KF i
Ef di (7)
order non-linear dierential equations are solved by a Fi
E 0 V cos(Æ )
i i i Rsi Iqi X0 Idi = 0
qi di
) + I cos(Æ )] P = 0
sient stability analysis with classical model. For the i di i i qi i i Li
V V (G sin B cos )
we used Improved Euler technique with a step size of i k ik ik ik ik
0.005. V [I cos(Æ
i di
k=1
) I sin(Æi )] Q i = 0 qi i i Li
i = 1; :::; m (9)
3 Transient Stability: Detailed Model
Load buses;
The detailed power system model is based on two-
axis synchronous generator with IEEE type I exciter X
n
( ) Q = 0
the long time constants. However, the exciter dynam- Vi Vk Gik sinik Bik cosik Li
i = m + 1; :::; n (10)
the time scale of interest. Assuming m machines and n
buses in a system the necessary equations for detailed Equation (5) represents the mechanical dynamics of
model transient stability analysis are: the rotor while the (6) represents the electrical dynam-
Dierential equations : ics. The exciter is modeled in (7). Since the stator
Rotor dynamics; and the network transients are too fast to be included
in the transient stability simulation, integral manifold
Æ_ = !
techniques are used in [2] to eliminate the 60 Hz tran-
i !i s
sients. Thus the algebraic equations in (8), (9) and
M !_
i i = T T D (! ! )
Mi ei i i s (10) are obtained from the reduction of the dynamical
i = 1; :::; m (5) equations which represent the stator and network fast
transients [3].
where, T = (E 0 X 0 I )I + (E 0 + X 0 I )I . It can be seen from the entire set of equations that
they form a system of nonlinear dierential algebraic
ei qi di di qi di qi qi di
equations (DAE), which can be represented implicitly trapezoidal method is chosen since it is often used in in-
as follows: dustry when SI method is implemented [5, 3].
x_ = f (x; y; u) (11) The steps of SI method can be summarized as follows:
0 = g(x; y) (12)
Algebraizing the dierential equations by using a
where, f is a nonlinear vector function representing the numerical integration method such as implicit Eu-
dierential equations, and g is a nonlinear vector func- ler's method.
tion representing the algebraic equations. The state
variables are grouped as follows: Solving the nonlinear algebraic system using
Newton-Raphson method for each time step. The
T
x = [Æ ; ! ; E 0 ; E 0 ; V ; R ; E ] nonlinear equations at this step are the algebraized
dierential equations that are belong to generator
i i qi di Ri Fi f di
T
y = [V ; ; I ; I ]
j j di qi
dynamics and the algebraic equations of stator and
T
u = [T ; V ; ! ]
Mi REF i s
network.
i = 1; :::; m j = 1; :::; n (13)
Solving the linear system of equations at each time
The simulation of the dynamic behavior of a power step of Newton-Raphson method. In this step, nor-
system requires the solution of dierential equations mally a direct method such as LU factorization
(11), in conjunction with the set of algebraic equations is used. However, if the problem is to be solved
(12), at each time step. A typical analysis considers in a parallel environment, which is a necessity for
about 10 seconds of simulation with an integration step very large systems, an iterative method is to be
between 10 and 10 seconds. There are two dier-
3 2
used. The most general iterative methods for non-
ent main approaches to solve this problem [4]: symmetric linear systems is Generalized Minimal
RESidual (GMRES) [17].
1. Alternating solution (explicit or implicit),
2. Simultaneous solution (explicit or implicit). By the application of implicit Euler's method with
an integration step size h, following equations can be
The choice needs to consider a method that produces a obtained:
solution to the problem as rapidly as possible, with the =x 2 [f (x ) + f (x ; y )] = 0 (14)
h
following conditions [4]: F1 n+1 xn n+1 ; yn+1 n n
F = g (x ) = 0 (15)
reliability, ;y
2 n+1 n+1
suÆcient accuracy, Assuming the values at time step n are known a non-
linear system of equations are obtained at time step
exibility and ease of maintenance and enhance- n + 1. The Newton-Raphson method is applied to the
ment system as follows:
In explicit methods, an explicit integration scheme F (k) = (k)
Jn+1 Xn+1 (16)
such as Runge-Kutta or Adam-Bashfort is used in order
to algebraize the dierential equations while an implicit (k+1)
Xn+1 = (k)
Xn+1 + X n+1 (17)
integration method such as trapezoidal rule or implicit
Euler's scheme is used in implicit methods. where:
In the alternating ( also called partitioned) methods
the approach is to solve the dierential and algebraic F = F1
numerically stable than Partitioned methods [3, 2]. The time step (X = X ).
(0)
n+1 n
4 Experimental Results of power system and the results are given in Figure 3.
In the transient stability program of detailed model, we
A transient stability program is written in Matlab have 7 dierential equations and 2 algebraic equations
version 5.3 and is run on a PC, Pentium III-733 MHz, for each generator and 2 algebraic equations for each
256 MB memory. First a three phase short circuit fault bus. This sums up to 7m + 2n + 2n equations for a
applied at bus 5 as in [1]. system of m generators and n buses. In our test sys-
tem we have 3 generators and nine buses, which means
250
+ :delta1,− :delta2,...:delta3 delta21(−)=delta2−delta1,delta31(..)=delta3−delta1
100
21 dierential equations, 21 state variables and 24 al-
gebraic equations, 24 algebraic variables. As a result,
dierential algebraic system of 45 equations were solved
90
200 80
during the simulation. We used the symbolic function
70
of Matlab and formed Jacobean matrices symbolically
150 60 by 45 symbolic variables. At each iteration of Newton-
Raphson the new and old variables are substituted into
delta−degree
delta−degree
100 40
30
the symbolic function of Matlab was too slow.
50 20
0 0
0 0.5 1 1.5 2 0 0.5 1 1.5 2
time−sec time−sec
50 60
delta−degree
−50 50
Figure 1 shows the absolute rotor angles, while the right −100 45
classical model, due to the assumptions the results de- in the system using detailed model.
viate greatly from the actual ones.
The rst iteration with the detailed model takes
+ :delta1,− :delta2,...:delta3 delta21(−)=delta2−delta1,delta31(..)=delta3−delta1
20 18
−10
15
iteration). The rst 25 iterations takes about 1555 sec-
−20
onds (about 62 seconds per iterations). This is to show
delta−degree
delta−degree
12
−50
−60
11
Using a time step h = 0:0025 simulating 2 seconds
real time of the system we need 800 iterations. If we
take 62 second per iteration constant for the rest of iter-
−70 10
−80
0 0.5 1 1.5 2
9
0 0.5 1 1.5 2
ations, 800 iterations will last 13,7 hours. This is clearly
unacceptably long. Even though we ignore slowness of
time−sec time−sec
Fig. 2: Simulation results for a 0.5 pu load increase the package the cpu times are still high and there seem
in the system using classical model. to be a need of solving the problem on parallel environ-
ments. Furthermore, faster methods needs be devised
The latter simulation is repeated with detailed model for on-line monitoring.
5 Conclusions IEEE Transactions on Power Systems, 8(1):90{96,
February 1993.
A transient stability program is written in Matlab
that uses both the classical and the detailed models.
[9] G. P. Granelli, M. Montagna, M. LaScala, and
F. Torelli. Relaxation-newton methods for transient
The paper has presented a tutorial nature explana- stability analysis on a vector/parallel computer. IEEE
tion for the detailed transient stability analysis of power Transactions on Power Systems, 9(2):637{643, May
system. 1994.
[10] M. LaScala, A. Bose, D. J. Tylavsky, and J. S. Chai. A
Due to increasing complexity of power system, highly parallel method for transient stability analysis.
transient stability analysis using classical model is IEEE Transactions on Power Systems, 5(4):1439{1446,
becoming insuÆcient. Thus, the detailed model November 1990.
needs be used for a reliable answer to the problem. [11] M. LaScala, M. Brucoli, F. Torelli, and M. Trovato. A
Gauss-Jacobi-Block-Newton method for parallel tran-
However, using the detailed model increases prob- sient stability analysis. IEEE Transactions on Power
Systems, 5(4):1168{1177, November 1990.
lem dimension more than vefold. Hence for very
large systems solution time may be too big. One [12] S. Y. Lee, H. D. Chiang, K. G. Lee, and B. Y. Ku.
has to opt for parallel solution techniques. But in Parallel power system transient stability analysis on
hypercube multiprocessors. In Power Industry Com-
this case the direct methods for the solution of lin- puter Applications Conference (PICA), pages 400{406,
ear systems of equations are not amenable to par- May 1989.
allel processing. Thus, one has to choose iterative [13] M. A. Pai and A. Y. Kulkarni. A simulation tool for
methods for the solution of linear equations. transient stability analysis suitable for parallel compu-
tation. In 4th IEEE Conference on Control Applica-
The use of iterative methods enable the transient tions, pages 1010{1013, Albany, NY, September 1995.
stability problem be solved on parallel environ- [14] M. A. Pai, P. W. Sauer, and A. Y. Kulkarni. Con-
ments. jugate gradient approach to parallel processing in dy-
namic simulation of power systems. In American Con-
trol Conference, pages 1644{1647, June 1992.
Acknowledgements
[15] N. Zhu and A. Bose. A dynamic partitioning scheme for
parallel transient stability analysis. In Power Industry
The authors acknowledge the nancial support from Computer Applications Conference (PICA), Baltimore,
Istanbul Technical University due to the grants from Maryland, May 1991.
Institute of Science and Technology and Young Investi- Elementary Dier-
gator Research Grant respectively.
[16] W. E. Boyce and R. C. DiPrima.
ential Equations and Boundary Value Problems. John
Wiley and Sons, 1997.
[17] Y. Saad and M. Schultz. GMRES: A generalized mini-
REFERENCES
mal residual algorithm for solving nonsymmetric linear
[1] P. M. Anderson and A. A. Fouad. Power System Con- systems. SIAM Journal on Scientic and Statistical
trol and Stability. The Iowa State University Press, Computing, 7:856{869, 1986.
Ames, Iowa, 1977.
[2] P. W. Sauer and M. A. Pai. Power System Dynamics
and Stability. Prentice-Hall, New Jersey, 1998.
[3] A. Y. Kulkarni. High Speed Dynamic Simulation of
Power Systems. PhD thesis, University of Illionis,
1996.
[4] B. Stott. Power system dynamic response calcula-
tions. Proceedings of the IEEE, 67(2):219{241, Febru-
ary 1979.
[5] H. W. Dommel and N. Sato. Fast transient stability
solutions. IEEE Transactions on Power Apparatus and
Systems, PAS-91(4):1643{1650, July/August 1972.
[6] F. L. Alvarado. Parallel solution of transient prob-
lems by trapezoidal integration. IEEE Transactions on
Power Apparatus and Systems, PAS{98(3):1080{1090,
May/June 1979.
[7] A. Bose and J. S. Chai. Computation of power sys-
tem dynamics using parallel computers. In Proceedings
of the American Control Conference, pages 1634{1638,
June 1992.
[8] D. M. Falc~ao, E. Kaszkurewicz, and H. L. S. Almeida.
Application of parallel processing techniques to the
simulation of power system electromagnetic transients.