27
ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana- Champaign [email protected]

ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Embed Size (px)

Citation preview

Page 1: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

ECE 476 Power System Analysis

Lecture 23: Transient Stability

Prof. Tom Overbye

Dept. of Electrical and Computer Engineering

University of Illinois at Urbana-Champaign

[email protected]

Page 2: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Announcements

• Read Chapters 11 and 12 (sections 12.1 to 12.3)• Homework 10 is 9.1,9.2 (bus 3), 9.14, 9.16, 11.7. It

should be turned in on Dec 3 (no quiz)• Design project due date is Tuesday, December 8• Final exam is Wednesday Dec 16, 7 to 10pm,

room 1013; comprehensive, closed book, closed notes with three note sheets and standard calculators allowed

2

Page 3: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Single Machine Infinite Bus (SMIB)

• To understand the transient stability problem we’ll first consider the case of a single machine (generator) connected to a power system bus with a fixed voltage magnitude and angle (known as an infinite bus) through a transmission line with impedance jXL

3

Page 4: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

SMIB, cont’d

'

'

( ) sin

sin

ae

d L

aM

d L

EP

X X

EM D P

X X

4

Page 5: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

SMIB Equilibrium Points

'

Equilibrium points are determined by setting the

right-hand side to zero

sinaM

d L

EM D P

X X

'

'th

1

sin 0

Define X

sin

aM

d L

d L

M th

a

EP

X X

X X

P XE

5

Page 6: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Transient Stability Analysis

• For transient stability analysis we need to consider three systems1. Prefault - before the fault occurs the system is assumed

to be at an equilibrium point

2. Faulted - the fault changes the system equations, moving the system away from its equilibrium point

3. Postfault - after fault is cleared the system hopefully returns to a new operating point

Actual transient stability studies can havemultiple events

6

Page 7: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Transient Stability Solution Methods

• There are two methods for solving the transient stability problem

1. Numerical integration• this is by far the most common technique, particularly for

large systems; during the fault and after the fault the power system differential equations are solved using numerical methods

2. Direct or energy methods; for a two bus system this method is known as the equal area criteria

• mostly used to provide an intuitive insight into the transient stability problem

7

Page 8: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

SMIB Example

• Assume a generator is supplying power to an infinite bus through two parallel transmission lines. Then a balanced three phase fault occurs at the terminal of one of the lines. The fault is cleared by the opening of this line’s circuit breakers.

8

Page 9: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

SMIB Example, cont’d

Simplified prefault system

1

The prefault system has two

equilibrium points; the left one

is stable, the right one unstable

sin M th

a

P XE

9

Page 10: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

SMIB Example, Faulted System

During the fault the system changes

The equivalent system during the fault is then

During this fault nopower can be transferredfrom the generator to the system

10

Page 11: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

SMIB Example, Post Fault System

After the fault the system again changes

The equivalent system after the fault is then

11

Page 12: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

SMIB Example, Dynamics

eDuring the disturbance the form of P ( ) changes,

altering the power system dynamics:

1sina th

Mth

E VP

M X

12

Page 13: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Differential Algebraic Equations

• Many problems, including many in the power area, can be formulated as a set of differential, algebraic equations (DAE) of the form

• A power example is transient stability, in which f represents (primarily) the generator dynamics, and g (primarily) the bus power balance equations

• We'll initially consider the simpler problem of just

( , )

( , )

x f x y

0 g x y

( )x f x13

Page 14: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Ordinary Differential Equations (ODEs)

• Assume we have a problem of the form

• This is known as an initial value problem, since the initial value of x is given at some time t0

– We need to determine x(t) for future time– Initial value, x0, must be either be given or determined by

solving for an equilibrium point, f(x) = 0– Higher-order systems can be put into this first order form

• Except for special cases, such as linear systems, an analytic solution is usually not possible – numerical methods must be used

0 0( ) with (t ) x f x x x

14

Page 15: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Initial value Problem Examples

0

0

1 2

2 1 2

Example 1: Exponential Decay

A simple example with an analytic solution is

x with x(0) x

This has a solution x(t) x

Example 2: Mass-Spring System

or

x

1

t

x

e

kx gM Mx Dx

x

x k x gM D xM

15

Example 2is similarto theSMIBswingequation

Page 16: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Numerical Solution Methods

• Numerical solution methods do not generate exact solutions; they practically always introduce some error– Methods assume time advances in discrete increments, called

a stepsize (or time step), Dt– Speed accuracy tradeoff: a smaller Dt usually gives a better

solution, but it takes longer to compute – Numeric roundoff error due to finite computer word size

• Key issue is the derivative of x, f(x) depends on x, the value we are trying to determine

• A solution exists as long as f(x) is continuously differentiable

16

Page 17: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Numerical Solution Methods

• There are a wide variety of different solution approaches, we will only touch on several

• One-step methods: require information about solution just at one point, x(t)– Forward Euler – Runge-Kutta

• Multi-step methods: make use of information at more than one point, x(t), x(t-D t), x(t-D2t)…– Adams-Bashforth

• Predictor-Corrector Methods: implicit– Backward Euler

17

Page 18: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Error Propagation

• At each time step the total round-off error is the sum of the local round-off at time and the propagated error from steps 1, 2 , … , k − 1

• An algorithm with the desirable property that local round-off error decays with increasing number of steps is said to be numerically stable

• Otherwise, the algorithm is numerically unstable• Numerically unstable algorithms can nevertheless give

quite good performance if appropriate time steps are used– This is particularly true when coupled with algebraic equations

18

Page 19: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Euler’s Method

The simplest technique for numerically integrating

these equations is known as Euler's method. Key idea

dis to approximate ( ( )) as

dt tThen

( ) ( ) ( ( ))

In general the smaller the ti

t

t t t t t

D D

D D

x xx f x

x x f x

me step, , the better the

approximation.

tD

19

Page 20: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Euler’s Method Algorithm

0

0 0

end

Set t = t (usually 0)

(t ) =

Pick the time step t, which is problem specific

While t t Do

( ) ( ) ( ( ))

End While

t t t t t

t t t

D

D D D

x x

x x f x

20

Page 21: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Euler’s Method Example 1

0

0

Consider the Exponential Decay Example

x with x(0) x

This has a solution x(t) x

Since we know the solution we can compare the accuracy

of Euler's method for different time steps

t

x

e

21

Page 22: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Euler’s Method Example 1, cont’d

t xactual(t) x(t) Dt=0.1 x(t) Dt=0.05

0 10 10 10

0.1 9.048 9 9.02

0.2 8.187 8.10 8.15

0.3 7.408 7.29 7.35

… … … …

1.0 3.678 3.49 3.58

… … … …

2.0 1.353 1.22 1.2922

Page 23: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Euler’s Method Example 2

1 2

2 1

1 2

1

Consider the equations describing the horizontal

position of a cart attached to a lossless spring:

x

Assuming initial conditions of (0) 1 and x (0) 0,

the analytic solution is x ( ) cos .

We

x

x x

x

t t

can again compare the results of the analytic and

numerical solutions

23

Page 24: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Euler's Method Example 2, cont'd

1 1 2

2 2 1

Starting from the initial conditions at t =0 we next

calculate the value of x(t) at time t = 0.25.

(0.25) (0) 0.25 (0) 1.0

(0.25) (0) 0.25 (0) 0.25

Then we continue on to the next time step, t

x x x

x x x

1 1 2

2 2 1

= 0.50

(0.50) (0.25) 0.25 (0.25)

1.0 0.25 ( 0.25) 0.9375

(0.50) (0.25) 0.25 (0.25)

0.25 0.25 (1.0) 0.50

x x x

x x x

24

Page 25: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Euler's Method Example 2, cont'd

t x1actual(t) x1(t) Dt=0.25

0 1 1

0.25 0.9689 1

0.50 0.8776 0.9375

0.75 0.7317 0.8125

1.00 0.5403 0.6289

… … …

10.0 -0.8391 -3.129

100.0 0.8623 -151,983

Since we know fromthe exactsolution thatx1 is boundedbetween -1 and 1, clearly themethod isnumericallyunstable

25

Page 26: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Euler's Method Example 2, cont'd

Dt x1(10)

actual -0.8391

0.25 -3.129

0.10 -1.4088

0.01 -0.8823

0.001 -0.8423

Below is a comparison of the solution values for x1(t)

at time t = 10 seconds

26

Page 27: ECE 476 Power System Analysis Lecture 23: Transient Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at

Second Order Runge-Kutta Method

• Runge-Kutta methods improve on Euler's method by evaluating f(x) at selected points over the time step

• Simplest method is the second order method in which

• That is, k1 is what we get from Euler's; k2 improves on this by reevaluating at the estimated end of the time step

1 2

1

2 1

1              

2where   

  

      

t t t

t t

t t

D

D

D

x x k k

k f x

k f x k

27