Power System Dynamics Guide
Power System Dynamics Guide
Transient Stability
S. Sivasubramani
Associate Professor
Electrical Engineering Department
Indian Institute of Technology Patna
www.iitp.ac.in/~siva
Let
dx
= f(x, t)
dt
where x is the state vector and f(x, t) is a vector of non linear functions.
1 Explicit Methods
1 Euler Method
2 Modified Euler Method
3 Runge-Kutta Methods
2 Implicit Methods
1 Trapezoidal Rule
x1
∆x ∆t
x0
t0 t1 t
dx
x1 = x0 + ∆x = x0 + ∆t
dt x=x0
This has to be repeated till the time reaches the final simulation time.
dx
x1 = x0 + ∆x = x0 + ∆t
dt x=x0
This has to be repeated till the time reaches the final simulation time.
Since it considers only the firs derivative of x, it is referred to as a
first order method.
∆t has to be small to achieve accuracy.
Since it uses only the first order information, it may introduce errors.
This process has to be repeated until the desired accuracy or the final
simulation time.
Siva (IIT P) EE549 6 / 83
Runge-Kutta (R-K) Methods
Euler and the modified Euler method require smaller time steps.
R-K methods approximate the Taylor series solution. However they do
not need derivatives higher than the first.
R-K methods use the effectiveness of higher derivatives by several
evaluations of the first derivative.
They are classified based on the number of evaluations.
The value of x at t = t0 + ∆t is
k1 + k2
x1 = x0 + ∆x = x0 +
2
where
k1 = f (x0 , t0 )∆t
k2 = f (x0 + k1 , t0 + ∆t)∆t
The value of x at t = t0 + ∆t is
k1 + k2
x1 = x0 + ∆x = x0 +
2
where
k1 = f (x0 , t0 )∆t
k2 = f (x0 + k1 , t0 + ∆t)∆t
In general,
k1 + k2
xn+1 = xn +
2
where
k1 = f (xn , tn )∆t
k2 = f (xn + k1 , tn + ∆t)∆t
Explicit methods calculate x at any time step from the knowledge of the
values of x at previous time steps.
Explicit methods calculate x at any time step from the knowledge of the
values of x at previous time steps.
f (x, t)
f (x1 , t1 )
f (x0 , t0 )
t0 ∆t t1 t
In all the above models, Turbine and Speed governor dynamics are
neglected. Hence TM is constant.
Te = Pe = Pmax sin δ
E 0 ∠δ 0.995∠0◦
dω ωs
= (Tm − Te − D(ω − ωs ))
dt 2H
dδ
= (ω − ωs )
dt
The general formula for the second order R-K method
k1ω + k2ω
ωn+1 = ωn +
2
k1δ + k2δ
δn+1 = δn +
2
Siva (IIT P) EE549 21 / 83
where
ωs
k1ω = (Tm − Pmax sin(δn ) − D(ωn − ωs ))∆t
2H
k1δ = (ωn − ωs )∆t
ωs
k2ω = (Tm − Pmax sin(δn + k1δ ) − D(ωn + k1ω − ωs ))∆t
2H
k2δ = (ωn + k1ω − ωs )∆t
0
dEq0
Td0 = −Eq0 − (Xd − Xd0 )Id + Efd
dt
dδ
= ω − ωs
dt
2H dω
= Tm − Te − D(ω − ωbase )
ωs dt
The electrical torque developed is
S∗ 0.9 − 0.436
I¯t = ∗ = = 1∠2.5◦
V 1.0∠−28.34◦
Ē 0 = V̄t + I¯t × (Ra + Xq ) = 2.37∠70.14◦
δ0 = 70.14◦
Vd0 = Vt sin(δ0 − α) = 0.6666 Vq0 = Vt cos(δ0 − α) = 0.7455
Id0 = It sin(δ0 − γ) = 0.9249 Iq0 = It cos(δ0 − γ) = 0.3803
0
Eq0 = Vq0 + Iq0 Rs + Id0 Xd0 = 1.0241 Efd = Eq0
0
+ (Xd − Xd0 )Id = 2.4207
0
dEq0
Td0 = −Eq0 − (Xd − Xd0 )Id + Efd
dt
dδ
= ω − ωs
dt
2H dω
= Tm − Te − D(ω − ωbase )
ωs dt
dEfd
TA = −Efd + KA (Vref − Vt )
dt
The electrical torque developed is
KA = 200 TA = 0.025
S∗ 0.9 − 0.436
I¯t = ∗ = = 1∠2.5◦
V 1.0∠−28.34◦
Ē 0 = V̄t + I¯t × (Ra + Xq ) = 2.37∠70.14◦
δ0 = 70.14◦
Vd0 = Vt sin(δ0 − α) = 0.6666 Vq0 = Vt cos(δ0 − α) = 0.7455
Id0 = It sin(δ0 − γ) = 0.9249 Iq0 = It cos(δ0 − γ) = 0.3803
0
Eq0 = Vq0 + Iq0 Rs + Id0 Xd0 = 1.0241 Efd = Eq0
0
+ (Xd − Xd0 )Id = 2.4207
Vref = 1.021
KA = 200 TA = 0.025
There are two methods by which DAE can be solved. They are
1 Partitioned method (Explicit Method)- first the differential equations
are solved through numerical integration and then the algebraic equa-
tions are solved and this process is repeated till the end of the simula-
tion.
2 Simultaneous method (Implicit Method) - both the differential and
algebraic equations are solved together in each iteration.
where
1
Refer to slide no 27 in the synchronous machine representation lecture notes
Siva (IIT P) EE549 38 / 83
If saliency is neglected(Xd00 = Xq00 ), the generator current can be written as
1
00 00 (δi − π2 ) θi
Idi + Iqi = (E di + E qi )e − Vi e i = 1, · · · ng (3)
Rsi + Xdi00
It can be written as
Idq = h(x, V) (4)
It can be written as
g(x, Idq , V, u) = 0 (6)
Solving the above set of equations is load flow analysis.
Siva (IIT P) EE549 40 / 83
The complete set of DAE can be expressed as
ẋ = f(x, Idq , V, u)
Idq = h(x, V) (7)
g(x, Idq , V, u) = 0
Where ∆t is the integration time step and should be less than the least
time constant of the system in order to have a stable numerical method.
After xn+1 is found, the algebraic equations can be solved by solving the
following equations.
E00n+1
IGn+1 Y YGN
= GG T 0 (11)
0 YGN Ybus VNn+1
Where, ng is the number of generators, nt is the total number of buses and
V1n+1
00
E1n+1 ..
IG 1n+1 .
.. 00 ..
IGn+1 = . , En+1 = . , VNn+1 = V1n g
n+1
00 .
IG ng n+1 E1n ..
g n+1
V1nt n+1
This process has to be repeated until the desired accuracy or the final
simulation time.
The modified Euler method uses first a predictor step and a corrector step
to improve numerical stability.
The modified Euler method uses first a predictor step and a corrector step
to improve numerical stability.
This process has to be repeated until the desired accuracy or the final
Siva (IIT P) EE549 47 / 83
Simultaneous Method (Implicit Method)
∆t
xn+1 = xn + f(xn+1 , Idqn+1 , Vn+1 , un+1 ) + f(xn , Idqn , Vn , un ) (18)
2
where ∆t = tn+1 − tn . The algebraic equations at (n + 1)th instant are
Va1
Vb1 Vc2
(a) Positive Sequence (b) Negative Sequence
Va0
Vb0
Vc0
(c) Zero Sequence
Siva (IIT P) EE549 52 / 83
Let us introduce a = 1∠120◦ .
1 1 1 1
V b = a2 V a , V c = aV a (26)
2 2 2 2
V b = aV a , V c = a2 V a (27)
0
Va 1 1 1 Va
V b = 1 a2 1
a V a
(28)
Vc 1 a a2 Va
2
V a = 0, I b = I c = 0 (37)
Therefore,
0 1 2
Va = Va + Va + Va = 0 (38)
0 1 2 Ia
Ia = Ia = Ia = (39)
3
On substituting (36) in (38) and using (39),
1 2 0
E a − I aZ 1 − I aZ 2 − I aZ 0 = 0
1 Ea
Ia = (40)
Z1 + Z2 + Z0
V b = V c , I b = −I c , I a = 0 (41)
Therefore,
1 2
Va = Va (42)
0
Va =0 (43)
1 2
Ia = −I a (44)
0
Ia =0 (45)
1
Substituting (42) to (46) in (36) and solving for I a give
1 Ea
Ia = (46)
Z1 + Z2
1 Ea
Ia = (51)
Z 2Z 0
Z1 + Z 2 +Z 0
It says
Ẋ = f(X) (52)
Source: P. Kundur
d
(V (δ, ω 0 )) = 0 (59)
dt
The function VPE (δ, ω 0 ) is the sum of change in kinetic energy and
the potential energy gained.
The potential energy function VPE (δ) can also be expressed as a
change in the potential energy from the steady state.
Infinite Bus
F
Pmax1
Pmax3
A2
Pm
A1
δ0 δcr δu δ
PE(δu )
Energy
Vcr (δu , ω 0 )
KE(δcr )
PE(δcr )
δ0 δcr δu δ
A1 = A2
PE(δcr ) + KE(δcr ) = PE(δu )
A1 = A2
PE(δcr ) + KE(δcr ) = PE(δu )
Vcr (δu , ω 0 ) is the maximum energy the system can have without
becoming unstable.
If the energy exceeds this critical energy then the system is unstable.
Hence, the system stability can be assessed by computing the
transient energy at the critical clearing angle and checking if it less
than Vcr (δu , ω 0 ).
1
Vcl (δcr , ω 0 ) = M(ω 0 )2 − Pm (δcr − δ0 ) − Pmax (cos δcr − cos δ0 ) (63)
2
Pmax = 1.1024
0.9
δSEP = sin−1 = 0.9552 rad
1.1024
δUEP = π − δSEP = 2.1864 rad
The transient energy function is
1
V (δ, ω 0 ) = M(ω 0 )2 − Pm (δ − δ0 ) − Pmax (cos δ − cos δ0 )
2
Vcl = 0.1767
d 2 δi
Mi = Pmi − Pmaxi sin δi i = 1, 2, · · · ng (64)
dt 2
IG = YR EG (65)
where YR is the reduced admittance matrix with all nodes other than the
generator internal nodes eliminated, EG is the generator internal source
voltage vector, and IG is the generator current vector.
ng
d 2 δi 0
X
Mi 2
= Pmi − EGi EGk (Gik cos(δi − δk ) + Bik sin(δi − δk )) (67)
dt
k=1
k6=i
Defining all the rotor angles and speed in terms of Centre Of Inertia (COI)
as
ng
1 X
δ0 = Mi δi
MT
i=1
ng (68)
1 X
ω0 = Mi ωi
MT
i=1
Png
where MT = i=1 Mi .
θi = δi − δ0
(69)
ω̃i = ωi − ω0
where Cik = EGi EGk Bik and Dik = EGi EGk Gik .
ng
d 2 δ0 Mi X d 2 δi
Mi = Mi 2
dt 2 MT dt
i=1
ng ng
Mi X 0 X
= Pmi − EGi EGk (Gik cos(δi − δk ) + Bik sin(δi − δk ))
MT
i=1 k=1
k6=i
ng ng ng
Mi X 0 XX
= Pmi − EGi EGk (Gik cos(δi − δk ) + Bik sin(δi − δk ))
MT
i=1 i=1 k=1
k6=i
Mi
= PCOI
MT
(71)