ANALYSIS
1
OBJECTIVE
To introduce numerical integration
methods - Euler method, Modified Euler
method, and Runge-Kutta methods for
solving Transient stability problem in
Power System.
2
OBJECTIVE (Cont)
3
FIG 15.1 AN SMIB SYSTEM
EB = 1.0 p.u.
Vt = 1.0 p.u.
Xd
xL1
xT
Infinite Bus
G
xL2
Pe = 1.0 p.u.
4
FIG 15.1 AN SMIB SYSTEM (Cont)
Xd = 0.2 p.u, xT = 0.1 p.u, xL1=xL2=0.4 p.u.
A 3-phase to ground fault occurs at the the left
end of line L2. (Fig 15.1). The fault is cleared at a
time of 0.05 sec. Is the system stable?
Determine also the critical clearing angle and
critical clearing time.
5
PRE FAULT CONDITION
Determine initial conditions for the
stability analysis:
xL1
E| Vt|
xL2 EB |0o
Xd xT
Pe Pe
Pe
E| Vt|
xe
EB |0o
jxd
Pe , It
Pe , It
xL1 xL2
x e =x T +
(xL1 + xL2 )
Pe
xe
EB |0o
Vt|
Vt EB
Pe = sin ;
Xe
= sin-1 {Pe X e / VtEB } 8
PRE FAULT CONDITION (Cont)
Compute the following :
It = (V t - EB ) / (jX e )
E = V t + jx d It
' '
H d2
=Pm - Pe p.u.MW (15.1)
f dt 2
'
E EB
Pe = sin = Pmax sin (15.2)
X
X = x 'd + X e (15.3)
10
SWING EQUATION (Cont)
11
SWING EQUATION (Cont)
12
CHANGE IN TRANSFER REACTANCE
13
CHANGE IN TRANSFER REACTANCE
(Cont)
C
A B xL1
E|
(xd +xT)
EB |0o
xL2
14
CHANGE IN TRANSFER REACTANCE
(Cont)
xAC
A
C
xL1
(xd +xT)
B
xL2
xCo
xAo o
15
CHANGE IN TRANSFER REACTANCE
(Cont)
Nr Nr Nr
x AC = ;x A0 = ;x C0 = '
0 xL1 (x d + x T )
X f = x AC =
Pmax(f) = 0
16
EQUAL AREA CRITERION
P
Pmax(pre)
A1
0 B C cl m *
o
17
EQUAL AREA CRITERION (Cont)
2
H d
= Pm ;
f dt 2
increases from 0 ; B C
At = cl , fault is cleared;
Point C jumps to Point E 18
EQUAL AREA CRITERION (Cont)
Now Pe (given by point E) is greater than Pm.
Deceleration acts on rotor. However rotor
angle increases further since speed of rotor is
still greater than synchronous speed.
Rotor swings up to m . This corresponds to
area A2 becoming equal to A1.
19
EQUAL AREA CRITERION (Cont)
Area A1 is proportional to the excess K.E.
pumped to the rotor making it run at a speed
> synch. Speed.
Area A2 is proportional to the K.E. drawn
back from rotor.
When A2=A1, all the excess K.E. pumped into
the rotor is taken back. = s . No more
increase in . Now decrease because of
deceleration. 20
EQUAL AREA CRITERION (Cont)
S.S. solution, under post fault situation is given
by point H on the post fault curve.
Rotor angle swings around this point until
damping brings it to equilibrium point.
It should be noted that the negative area A2 can
be generated only if is less than * (Fig 15.4).
21
EQUAL AREA CRITERION (Cont)
Pm
* = - sin {
-1
}
Pmax(post)
If goes beyond * ,Pe < Pm then rotor
starts accelerating again contributing
to + ve area
22
EQUAL AREA CRITERION (Cont)
System will be stable if the fault is cleared
giving an area A1 for which we can generate
an area A2 before the rotor reaches *.
(the point of no return).
23
EQUAL AREA CRITERION (Cont)
P
Pmax(pre)
Pmax(post)
A2
Pm
A1
o s cc *
A1 = A 2
*
Pm (cc - 0 ) = P
cc
max(post) sin d -Pm ( * - cc )
*
Pm ( * - 0 ) = - Pmax(post) cos cc
25
CRITICAL CLEARING ANGLE (cont)
26
CRITICAL CLEARING TIME
Under fault:
d
2
f
2
= Pm
dt H
d f
= Pm t
dt H
cc t cc
f
0
d =
H
Pm
0
t dt
27
CRITICAL CLEARING TIME (Cont)
f
( cc - o ) = Pm (t cc / 2)
2
H
t cc = Critical clearing time
1/2
2H
t cc = (cc - o )
f Pm
28
NUMERICAL EXAMPLE
E| xL1
Vt|
xL2
EB |0o
xd xT
Pe ,It Pe ,It
Vt EB 1.0 * 1.0
Pe = sin = sin = 1.0
xE 0.3
=17.458 ;V t = 1.0 17.458
o o
=0.954 + j0.3p.u
30
NUMERICAL EXAMPLE (Cont)
31
CRITICAL CLEARING ANGLE
Pre fault:
Xpre =0.2 + 0.1+ 0.2 = 0.5pu
E'EB 1.05 * 1.0
Pmax(pre) = = = 2.10pu
X 0.5
pre
Pm = Pe =1.0;0 = 28.44 o
32
CRITICAL CLEARING ANGLE (Cont)
During fault :
X (f) = ;Pmax(f) =0
Post fault :
X (post) =0.2 + 0.1+ 0.4 = 0.7pu
1.05 * 1.0
Pmax(post) = =1.5pu
0.7
* = - sin {Pm / Pmax(post) } = - sin {1.0/1.5}
-1 -1
33
CRITICAL CLEARING ANGLE (Cont)
* = - 0.7297 = 2.4119rad
-1
= cos {cos(2.4119) +[1.0/1.5](2.4119 - 0.4957)}
o
=1.0097 rad or 57.9
34
CRITICAL CLEARING TIME
2H
t cc = { (cc - 0 )} 1/2
f Pm
2*5
={ (1.0097 - 0.4957)}
* 50 * 1.0
=0.181sec
t cc = 0.05 sec .
Hence the system is stable
35
MID LINE FAULT
36
MID LINE FAULT (Cont)
Pmax(post)
A2
Pm
A1
Pmax(f)
o cc *
38
MID LINE FAULT (Cont)
In figure A1 = A 2
cc
A1 =
0
[Pm -Pe(f) ] d
cc
= Pm (cc - 0 ) + Pmax(f) cos 0
39
MID LINE FAULT (Cont)
*
A2 = [P
cc
max(post) sin -Pm ]d
*
=- Pmax(post) cos cc -Pm ( * - cc )
40
MID LINE FAULT (Cont)
A1 = A 2
42
NUMERICAL EXAMPLE
Same example, but mid-line fault in line L2
0.4
E|
EB |0o
0.2 0.1s
0.2 0.2
A B
43
NUMERICAL EXAMPLE (Cont)
xAC
A
C
0.4
0.3
B
0.2
0.2
xAo xC0
o
44
NUMERICAL EXAMPLE (Cont)
45
NUMERICAL EXAMPLE (Cont)
46
NUMERICAL EXAMPLE (Cont)
47
NUMERICAL EXAMPLE (Cont)
cc =
-1 1.0[2.4119 - 0.4957]+1.5cos(2.4119)- 0.8077cos(0.4957)
cos { }
[1.5- 0.8077]
= cos-1(0.12698)
o
= 82.7
49
STATE VARIABLE MODEL (Cont)
The state variable model enables
systematic application of any numerical
integration technique for solving Swing
Equation thereby helping development of
computer software which can be applied to
problems involving Power System of any
size.
50
SWING EQUATION
51
SWING EQUATION (Cont)
d
=-s ( 16.2)
dt
d
dt gives the relative rotor speed
in elect.radian per sec.
52
SWING EQUATION (Cont)
Differentiating( 16.2)w.r.ttime t
d d
2
= ( 16.3)
dt 2
dt
S ubstituting( 16.3)in( 16.1)anddefining
x1 = andx 2 =,
.x = =
. f P
-Pmax sin ( 16.4)
.x = .=-
H
1 m
1 s
( 16.5)
53
SWING EQUATION (Cont)
f
x1 = Pm -Pmax sinx 2 =f(1 x )
H ( 16.6)
x1 = x1 -2 f = f(2 x )
x = (f x ) ( 16.7)
x = ( x1 x 2 ) =( )
t t
( 16.8)
54
SWING EQUATION (Cont)
Problem Statement:
Given: Initial Conditions, (0) and (0)
and the fault sequence.
To det: the solution of (16.6) or (16.7)
(t) and (t) ; t 0
55
NUMERICAL INTEGERATION
METHODS
The most practical method of transient
stability analysis is time-domain
simulation.
In this method the non-linear differential
equations are solved using step-by-step
numerical integration technique.
56
EULER METHOD
It is a simple method and can serve as
a good introduction to numerical
integration.
Later advanced methods used in
commercial software will be taken up.
57
EULER METHOD (Cont)
dx
x= = f (x, t) (16.9)
dt
with x = x0 at t = t 0
Fig(16.1) illustrates the principle underlying
the Euler method
58
EULER METHOD (Cont)
x True solution
x1
Tangent
x
xo
to t1 t
dx
| = f(x 0 ,t 0 )
dt (xo ,to )
60
EULER METHOD (Cont)
61
EULER METHOD (Cont)
t2 t3
x1 = x o + t( x o ) + ( x o ) + ( x o )+..... ( 16.11)
2! 3!
62
ALGORITHM FOR EULER METHOD
dx
x n = x n-1 + |( xn-1,tn-1 ) . t ( 16.12)
dt
n =1, 2,.......Nmax
63
LIMITATION OF EULER METHOD
64
NUMERICAL STABILITY
Numerical stability of a numerical technique
depends on the propagation of error.
If early errors cause other large error later, the
method is said to be numerically unstable.
Euler method has poor numerical stability.
65
MODIFIED EULER METHOD
The inaccuracy of the Euler method is due to the
reason that the derivative at the beginning of the
interval is used for the entire interval.
The modified Euler method overcomes this
problem by using the average of the derivatives at
the two ends.
66
MODIFIED EULER METHOD
Predictor Step:
Predict the value at the end of the step using
the derivative at the beginning of the step.
dx
x1 = x0 +
p
|( x0 ,t0 ) . t ( 16.13)
dt
67
MODIFIED EULER METHOD (Cont)
Corrector step:
The corrected value is found by using the
average of the derivative at the beginning of
the step and the derivative at the end of the
step computed using the predicted value x1p
1 dx dx
x 1 = x 0 + |( x o,t ) + |( xp,t ) .t
c
( 16.14)
2 dt o
dt 1 1
68
NUMERICAL EXAMPLE
A 25 MVA, 50 HZ water wheel generator delivers 20
MW over a double circuit transmission line to a
metro system (Infinite Bus)
69
NUMERICAL EXAMPLE (Cont)
70
NUMERICAL EXAMPLE (Cont)
Choose the modified Euler method and a time
step of 0.05 sec.
C 0.2 B
EB = 1.0 p.u.
E=1.03p.u. 0.3
- + + -
A
0.1 0.1
F
H=
H = 2.76
71
NUMERICAL EXAMPLE (Cont)
f
x1 = Pm -Pmax sinx 2 = f(1 x )
H ( 16.6)
x 2 = x1 -2f = f(2 x )
f *50
= = 56.913;
H 2.76
20
2f =100 = 314.16; Pm = = 0.8 p.u.
25
72
NUMERICAL EXAMPLE (Cont)
x1 = 56.913 [0.8 - Pmax sinx 2 ]
( 16.15)
x 2 = x1 -314.16
0.3 0.2
F
A B
0.1
0.1
XAo
o
XBo
74
NUMERICAL EXAMPLE (Cont)
76
SWING EQUATIONS
77
INITIAL CONDITIONS
Rotor velocity or x1 and relative rotor angle
or x2 cannot jump suddenly on the occurrence of
fault at t = 0+ because of the inertia rotor
possesses.
d
At t = 0-, both the rotor acceleration or x1 and
dt
d
the relative rotor velocity, or x 2 are zero.
dt
79
INITIAL CONDITIONS (Cont)
S etting x =0 in eqn.( 16.15) , we get
0 = Pe( 0- ) - P sin
max( pre) ( 0-)
( 0+ )=sin-1( 0.8/2.575)=0.3159rad.
x ( 0 + ) = ( 0 + ) = ( 0 - ) = 0.3159 rad
2
or 18.1o ( 16.17) 80
INITIAL CONDITIONS (Cont)
0 = x(1 0- )-314.16
x1 = 56.913 [0.8 - 0.9364 sinx 2 ]
(16.16)
x 2 = x1 - 314.16
x1 (0+ ) = 314.16 rad / sec
x 2 (0+ ) = 0.3159 rad.
82
MODIFIED EULER STEP (Cont)
x( t+t )= x( t )+x(i t )* t;
p c
i=1, 2
i i
1
x( t+t )= x( t )+ x(i t )+x(i t+t ) * t; i=1, 2
c c p
2
i i
x(1 0 ) = 56.913[0.8 -0.9364 sin( 0.3159) ] = 28.974
83
MODIFIED EULER STEP (Cont)
= 314.16 + 28.974 * 0.05 = 315.6087 rad / sec
84
MODIFIED EULER STEP (Cont)
p p
1 2
= 315.6087 - 314.16
=1.4487 rad
85
MODIFIED EULER STEP (Cont)
c c p
x (0.05) = x (0) + 0.025 [x1 (0) + x (0.05)]
1 1 1
x 1c (0.05) = ?
x c2 (0.05) = ?
Then x p1 (0.1) = ?
88
PREDICTOR-CORRECTOR METHODS
90
SECOND ORDER (R-K) METHOD
dx
= f( x, t) ( 16.19)
dt
The second order R -K formula for the value
of x at t = t0 + t is
k1 +k 2
x1 = x 0 + x = x 0 + ( 16.20)
2
where
k1 = f( x 0 , t0 ) * t
k 2 = f( x 0 +k1, t0 + t) * t
91
ALGORITHM
k1 + k 2
xn+1 = xn + ; n = 0,1, ...N max (16.21)
2
k 1 = f(xn , t n )* t
k 2 = f(xn + k 1 , t n + t)* t
92
FOURTH ORDER R-K METHOD
1
x n+1 = x n + k1 +2K 2 +2K 3 +K 4 ; ( 16.22)
6
n =0,1,....Nmax
where
k1 = f( x n , tn ) * t
k1 t
k2 = f( x n + , tn + ) * t
2 2
93
FOURTH ORDER R-K METHOD
(Cont)
k2 t
k 3 = f x n + , tn + * t
2 2
k 4 = f x n +k 3 , tn +t * t
Physical Interpretation of the above solution :
k1 = S lope at the beginning of time step * t
k 2 = first approx. to slope at midstep * t
94
FOURTH ORDER R-K METHOD
(Cont)
k3 = S econd approx. to slope at midstep * t
k 4 = S lope at the end of time step * t
1
x = k1 +2k 2 +2k3 +k 4
6
Thus x is the incremental value of x
given by the weighted average of estimates
based on slopes at the beginning, midpoint,
and end of the time step.
95