43
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign [email protected] 1 Lecture 3: Power Flow Analysis

ECE 530 – Analysis Techniques for Large-Scale Electrical Systems

Embed Size (px)

DESCRIPTION

ECE 530 – Analysis Techniques for Large-Scale Electrical Systems. Lecture 3: Power Flow Analysis. Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign [email protected]. Announcements. Homework 1 will be posted today. - PowerPoint PPT Presentation

Citation preview

Page 1: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

ECE 530 – Analysis Techniques for Large-Scale Electrical Systems

Prof. Hao ZhuDept. of Electrical and Computer Engineering

University of Illinois at Urbana-Champaign

[email protected]

1

Lecture 3: Power Flow Analysis

Page 2: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Announcements

• Homework 1 will be posted today.• Due Sep 11 (Thur), in class

2

Page 3: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Static Power System Analysis

• One of the most common power system analysis tools is the power flow, which tells how power flows through a power system in the quasi-steady state time frame

• The power flow can be used to model the full, three-phase system, but usually (practically always) for transmission system analysis the system is assumed to be balanced. Hence a per phase equivalent model is used.

3

Page 4: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power System Component Models: Transmission Lines

• Power flow timeframe models for common power system devices, including transmission lines, transformers, generators and loads, are developed in the prerequisite course ECE 476.

• Transmission lines will be modeled using the p circuit

4

Page 5: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power System Component Models: Transformers

• Transformer equivalent model

5

Page 6: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power System Component Models: Loads

• Ultimate goal is to supply loads with electricity at constant frequency and voltage

• Electrical characteristics of individual loads matter, but usually they can only be estimated– actual loads are constantly changing, consisting of a large

number of individual devices– only limited network observability of load characteristics

• Aggregate models are typically used for analysis• Two common models

– constant power: Si = Pi + jQi

– constant impedance: Si = |V|2 / Zi

6

Page 7: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power System Component Models: Generators

• Engineering models depend upon application• Generators are usually synchronous machines• For generators we will use two different models:

– a steady-state model, treating the generator as a constant power source operating at a fixed voltage; this model will be used for power flow and economic analysis

– a short term model treating the generator as a constant voltage source behind a possibly time-varying reactance

7

Page 8: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Per Phase Calculations

• A key problem in analyzing power systems is the large number of transformers. – It would be very difficult to continually have to refer

impedances to the different sides of the transformers

• This problem is avoided by a normalization of all variables.

• This normalization is known as per unit analysis

8

actual quantityquantity in per unit

base value of quantity

Page 9: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Per Unit Conversion Procedure, 1f

1. Pick a 1f VA base for the entire system, SB

2. Pick a voltage base for each different voltage level, VB. Voltage bases are related by transformer turns ratios. Voltages are line to neutral.

3. Calculate the impedance base, ZB= (VB)2/SB

4. Calculate the current base, IB = VB/ZB

5. Convert actual values to per unitNote, per unit conversion on affects magnitudes, not the angles. Also, per unit quantities no longer have units (i.e., a voltage is 1.0 p.u., not 1 p.u. volts)

9

Page 10: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Per Unit Solution Procedure

1. Convert to per unit (p.u.) (many problems are already in per unit)

2. Solve

3. Convert back to actual as necessary

10

Page 11: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Per Unit Example

Solve for the current, load voltage and load power in the circuit shown below using per unit analysis with an SB of 100 MVA, and voltage bases of 8 kV, 80 kV and 16 kV.

Original Circuit

11

Page 12: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Per Unit Example, cont’d

2

2

2

80.64

100

8064

100

162.56

100

LeftB

MiddleB

RightB

kVZ

MVA

kVZ

MVA

kVZ

MVA

Same circuit, withvalues expressedin per unit.

12

Page 13: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Per Unit Example, cont’d

L

2*

1.0 00.22 30.8 p.u. (not amps)

3.91 2.327

V 1.0 0 0.22 30.8

p.u.

0.189 p.u.

1.0 0 0.22 30.8 30.8 p.u.

LL L L

G

Ij

VS V I

ZS

13

Page 14: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Per Unit Example, cont’d

To convert back to actual values just multiply the per unit values by their per unit base

L

Actual

ActualL

ActualG

MiddleB

ActualMiddle

0.859 30.8 16 kV 13.7 30.8 kV

0.189 0 100 MVA 18.9 0 MVA

0.22 30.8 100 MVA 22.0 30.8 MVA

100 MVAI 1250 Amps

80 kV

I 0.22 30.8 Amps 275 30.8

V

S

S

14

Page 15: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Three Phase Per Unit

1. Pick a 3f VA base for the entire system,

2. Pick a voltage base for each different voltage level, VB. Voltages are line to line.

3. Calculate the impedance base

Procedure is very similar to 1f except we use a 3f VA base, and use line to line voltage bases

3BS

2 2 2, , ,3 1 1

( 3 )

3B LL B LN B LN

BB B B

V V VZ

S S S

Exactly the same impedance bases as with single phase!15

Page 16: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Three Phase Per Unit, cont'd

4. Calculate the current base, IB

5. Convert actual values to per unit

3 1 13 1B B

, , ,

3I I

3 3 3B B B

B LL B LN B LN

S S S

V V V

Exactly the same current bases as with single phase!

16

Page 17: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Three Phase Per Unit Example

Solve for the current, load voltage and load power in the previous circuit, assuming a 3f power base of300 MVA, and line to line voltage bases of 13.8 kV,138 kV and 27.6 kV (square root of 3 larger than the 1f example voltages). Also assume the generator is Y-connected so its line to line voltage is 13.8 kV.

Convert to per unitas before. Note thesystem is exactly thesame!

17

Page 18: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

3f Per Unit Example, cont'd

L

2*

1.0 00.22 30.8 p.u. (not amps)

3.91 2.327

V 1.0 0 0.22 30.8

p.u.

0.189 p.u.

1.0 0 0.22 30.8 30.8 p.u.

LL L L

G

Ij

VS V I

ZS

Again, analysis is exactly the same!

18

Page 19: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

3f Per Unit Example, cont'd

LActual

ActualL

ActualG

MiddleB

ActualMiddle

0.859 30.8 27.6 kV 23.8 30.8 kV

0.189 0 300 MVA 56.7 0 MVA

0.22 30.8 300 MVA 66.0 30.8 MVA

300 MVAI 125 (same cur0 Amps

3138 kV

I 0.22 30.

rent!)

8

V

S

S

Amps 275 30.8

Differences appear when we convert back to actual values

19

Page 20: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

3f Per Unit Example 2

•Assume a 3f load of 100+j50 MVA with VLL

of 69 kV is connected to a source through the below network:

What is the supply current and complex power?

Answer: I=467 amps, S = 103.3 + j76.0 MVA20

Page 21: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Bus Admittance Matrix or Ybus

• First step in solving the power flow is to create what is known as the bus admittance matrix, often call the Ybus.

• The Ybus gives the relationships between all the bus current injections, I, and all the bus voltages, V,

I = Ybus V

• The Ybus is developed by applying KCL at each bus in the system to relate the bus current injections, the bus voltages, and the branch impedances and admittances

21

Page 22: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Ybus Example

Determine the bus admittance matrix for the networkshown below, assuming the current injection at eachbus i is Ii = IGi - IDi where IGi is the current injection into the

bus from the generator and IDi is the current flowing into theload

22

Page 23: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Ybus Example, cont’d

1 1 1

1 31 21 12 13

1 1 2 1 3 j

1 2 3

2 21 23 24

1 2 3 4

By KCL at bus 1 we have

1( ) ( ) (with Y )

( )

Similarly

( )

G D

A B

A Bj

A B A B

A A C D C D

I I I

V VV VI I I

Z Z

I V V Y V V YZ

Y Y V Y V Y V

I I I I

Y V Y Y Y V Y V Y V

23

=

Page 24: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Ybus Example, cont’d

1 1

2 2

3 3

4 4

We can get similar relationships for buses 3 and 4

The results can then be expressed in matrix form

0

0

0 0

bus

A B A B

A A C D C D

B C B C

D D

I Y Y Y Y V

I Y Y Y Y Y Y V

I Y Y Y Y V

I Y Y V

I Y V

For a system with n buses, Ybus is an n by n symmetric matrix (i.e., one where Aij = Aji); however this will not be true

in general when we consider phase shifting transformers24

Page 25: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Ybus General Form

•The diagonal terms, Yii, are the self admittance terms, equal to the sum of the admittances of all devices incident to bus i.

•The off-diagonal terms, Yij, are equal to the negative of the sum of the admittances joining the two buses.

•With large systems Ybus is a sparse matrix (that is, most entries are zero)•Shunt terms, such as with the p line model, only affect the diagonal terms. 25

Page 26: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Modeling Shunts in the Ybus

from other lines

2 2

Since ( )2

21 1

Note

kcij i j k i

kcii ii k

k k k kk

k k k k k k k

YI V V Y V

YY Y Y

R jX R jXY

Z R jX R jX R X

26

Page 27: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Two Bus System Example

1 21 1

1 1

2 2

( ) 112 16

2 0.03 0.04

12 15.9 12 16

12 16 12 15.9

cYV VI V j

Z j

I Vj j

I Vj j

27

Page 28: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Using the Ybus

1

bus

If the voltages are known then we can solve for

the current injections:

If the current injections are known then we can

solve for the voltages:

where is the bus impedance matr

bus

bus bus

Y V I

Y I V Z I

Z ix

However, this requires that Ybus not be singular; note itwill be singular if there are no shunt connections!

28

Page 29: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Solving for Bus Currents

*1 1 1

For example, in previous case assume

1.0

0.8 0.2

Then

12 15.9 12 16 1.0 5.60 0.70

12 16 12 15.9 0.8 0.2 5.58 0.88

Therefore the power injected at bus 1 is

S 1.0 (5.60

j

j j j

j j j j

V I

V

*2 2 2

0.70) 5.60 0.70

(0.8 0.2) ( 5.58 0.88) 4.64 0.41

j j

S V I j j j

29

Page 30: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Solving for Bus Voltages

1

*1 1 1

For example, in previous case assume

5.0

4.8

Then

12 15.9 12 16 5.0 0.0738 0.902

12 16 12 15.9 4.8 0.0738 1.098

Therefore the power injected is

S (0.0738 0.902) 5 0

j j j

j j j

V I j

I

*2 2 2

.37 4.51

( 0.0738 1.098) ( 4.8) 0.35 5.27

j

S V I j j

30

Page 31: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power Flow Analysis

• When analyzing power systems we know neither the complex bus voltages nor the complex current injections

• Rather, we know the complex power being consumed by the load, and the power being injected by the generators plus their voltage magnitudes

• Therefore we can not directly use the Ybus

equations, but rather must use the power balance equations

31

Page 32: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power Flow Analysis

• Classic paper for this lecture is W.F. Tinney and C.E. Hart, “Power Flow Solution by Newton’s Method,” IEEE Power App System, Nov 1967

• Basic power flow is also covered in essentially power system analysis textbooks.

• At Illinois we use the term “power flow” not “load flow” since power flows not load. Also, the power flow usage is not new (see title of Tinney’s 1967 paper, and note Tinney references Ward’s 1956 paper)–A nice history of the power flow is given in an insert by

Alvarado and Thomas in T.J. Overbye, J.D. Weber, “Visualizing the Electric Grid,” IEEE Spectrum, Feb 2001.

32

Page 33: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power Balance Equations

1

bus

1

From KCL we know at each bus i in an n bus system

the current injection, , must be equal to the current

that flows into the network

Since = we also know

i

n

i Gi Di ikk

n

i Gi Di ik kk

I

I I I I

I I I Y V

I Y V

*iThe network power injection is then S i iV I

33

Page 34: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power Balance Equations, cont’d

** * *

i1 1

S

This is an equation with complex numbers.

Sometimes we would like an equivalent set of real

power equations. These can be derived by defining

n n

i i i ik k i ik kk k

ik ik ik

i

V I V Y V V Y V

Y G jB

V

jRecall e cos sin

iji i i

ik i k

V e V

j

These equationscan also be formulated using rectangularcoordinates forthe voltages:Vi = ei + jfi

34

=

=

=

Page 35: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Real Power Balance Equations

* *i

1 1

1

i1

i1

S ( )

(cos sin )( )

Resolving into the real and imaginary parts

P ( cos sin )

Q ( sin cos

ikn n

ji i i ik k i k ik ik

k k

n

i k ik ik ik ikk

n

i k ik ik ik ik Gi Dik

n

i k ik ik ik ik

P jQ V Y V V V e G jB

V V j G jB

V V G B P P

V V G B

)k Gi DiQ Q

35

Page 36: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Slack Bus

• We can not arbitrarily specify S at all buses because total generation must equal total load + total losses

• We also need an angle reference bus.• To solve these problems we define one bus as

the "slack" bus. This bus has a fixed voltage magnitude and angle, and a varying real/reactive power injection.

• In an actual power system the slack bus does not really exist; frequency changes locally when the power supplied does not match the power consumed

36

Page 37: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Three Types of Power Flow Buses

• There are three main types of power flow buses–Load (PQ) at which P/Q are fixed; iteration solves

for voltage magnitude and angle. –Slack at which the voltage magnitude and angle are

fixed; iteration solves for P/Q injections–Generator (PV) at which P and |V| are fixed; iteration

solves for voltage angle and Q injection

37

Page 38: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Newton-Raphson Algorithm

• Most common technique for solving the power flow problem is to use the Newton-Raphson algorithm

• Key idea behind Newton-Raphson is to use sequential linearization

• More tractable for linear systems

General form of problem: Find an x such that

( ) 0ˆf x

38

Page 39: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Newton-Raphson Power Flow

i1

In the Newton-Raphson power flow we use Newton's

method to determine the voltage magnitude and angle

at each bus in the power system.

We need to solve the power balance equations

P ( cosn

i k ik ikk

V V G

i1

sin )

Q ( sin cos )

ik ik Gi Di

n

i k ik ik ik ik Gi Dik

B P P

V V G B Q Q

39

Page 40: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power Flow Variables

2 2 2

n

2

Assume the slack bus is the first bus (with a fixed

voltage angle/magnitude). We then need to determine

the voltage angle/magnitude at the other buses.

( )

( )

G

n

P P

V

V

x

x f x

2

2 2 2

( )

( )

( )

D

n Gn Dn

G D

n Gn Dn

P

P P P

Q Q Q

Q Q Q

x

x

x

40

Page 41: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

N-R Power Flow Solution

( )

( )

( 1) ( ) ( ) 1 ( )

The power flow is solved using the same procedure

discussed with the general Newton-Raphson:

Set 0; make an initial guess of ,

While ( ) Do

( ) ( )

1

End While

v

v

v v v v

v

v v

x x

f x

x x J x f x

41

Page 42: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power Flow Jacobian Matrix

1 1 1

1 2

2 2 2

1 2

1 2

The most difficult part of the algorithm is determining

and inverting the n by n Jacobian matrix, ( )

( ) ( ) ( )

( ) ( ) ( )

( )

( ) ( ) ( )

n

n

n n n

n

f f fx x x

f f fx x x

f f fx x x

J x

x x x

x x x

J x

x x x

42

Page 43: ECE  530  – Analysis Techniques for Large-Scale Electrical Systems

Power Flow Jacobian Matrix, cont’d

i

i

i1

Jacobian elements are calculated by differentiating

each function, f ( ), with respect to each variable.

For example, if f ( ) is the bus i real power equation

f ( ) ( cos sin )n

i k ik ik ik ik Gik

x V V G B P P

x

x

i

1

i

f ( )( sin cos )

f ( )( sin cos ) ( )

Di

n

i k ik ik ik iki k

k i

i j ik ik ik ikj

xV V G B

xV V G B j i

43