SlideShare a Scribd company logo
1 of 30
ECE 476
Power System Analysis
Lecture 12: Power Flow
Prof. Tom Overbye
Dept. of Electrical and Computer Engineering
University of Illinois at Urbana-Champaign
overbye@illinois.edu
Special Guest Lecturer: TA Iyke Idehen
Announcements
• Please read Chapter 2.4, Chapter 6 up to 6.6
• HW 5 is 5.31, 5.43, 3.4, 3.10, 3.14, 3.19, 3.23, 3.60,
6.30 should be done before exam 1
• Exam 1 is Thursday Oct 6 in class
• Closed book, closed notes, but you may bring one 8.5 by 11
inch note sheet and standard calculators
• Last name A-M here, N to Z in ECEB 1013
1
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
2
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 ik
k
n
i Gi Di ik k
k
I
I I I I
I I I Y V


  
  


I Y V
*
i
The network power injection is then S i i
V I

3
Power Balance Equations, cont’d
*
* * *
i
1 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 k
k k
ik ik ik
i
V I V Y V V Y V
Y G jB
V
 
 
  
 
 

 
j
Recall e cos sin
i
j
i i i
ik i k
V e V
j



  
 
 

 
4
Real Power Balance Equations
* *
i
1 1
1
i
1
i
1
S ( )
(cos sin )( )
Resolving into the real and imaginary parts
P ( cos sin )
Q ( sin cos
ik
n n
j
i i i ik k i k ik ik
k k
n
i k ik ik ik ik
k
n
i k ik ik ik ik Gi Di
k
n
i k ik ik ik i
k
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 Di
Q Q
 
5
Power Flow Requires Iterative Solution
i
bus
*
* * *
i
1 1
In the power flow we assume we know S and the
. We would like to solve for the V's. The problem
is the below equation has no closed form solution:
S
Rath
n n
i i i ik k i ik k
k k
V I V Y V V Y V
 
 
  
 
 
 
Y
er, we must pursue an iterative approach.
6
Gauss Iteration
There are a number of different iterative methods
we can use. We'll consider two: Gauss and Newton.
With the Gauss method we need to rewrite our
equation in an implicit form: x = h(x)
To iterate we fir (0)
( +1) ( )
st make an initial guess of x, x ,
and then iteratively solve x ( ) until we
find a "fixed point", x, such that x (x).
ˆ ˆ ˆ
v v
h x
h


7
Gauss Iteration Example
( 1) ( )
(0)
( ) ( )
Example: Solve - 1 0
1
Let = 0 and arbitrarily guess x 1 and solve
0 1 5 2.61185
1 2 6 2.61612
2 2.41421 7 2.61744
3 2.55538 8 2.61785
4 2.59805 9 2.61798
v v
v v
x x
x x
v
v x v x

 
 

8
Stopping Criteria
( ) ( ) ( 1) ( )
A key problem to address is when to stop the
iteration. With the Guass iteration we stop when
with
If x is a scalar this is clear, but if x is a vector we
need to generalize t
v v v v
x x x x
 
   
( )
2
i
2
1
he absolute value by using a norm
Two common norms are the Euclidean & infinity
max x
v
j
n
i i
i
x
x



 
     

x x
9
Gauss Power Flow
*
* * *
i
1 1
* * * *
1 1
*
*
1 1,
*
*
1,
We first need to put the equation in the correct form
S
S
S
S
1
i i
i
i
n n
i i i ik k i ik k
k k
n n
i i i ik k ik k
k k
n n
i
ik k ii i ik k
k k k i
n
i
i ik k
ii k k i
V I V Y V V Y V
V I V Y V V Y V
Y V Y V Y V
V
V Y V
Y V
 
 
  
 
 
  
 
 
  
  

 
 
 
 


 
 
 
10
Gauss Two Bus Power Flow Example
•A 100 MW, 50 Mvar load is connected to a generator
•through a line with z = 0.02 + j0.06 p.u. and line
charging of 5 Mvar on each end (100 MVA base).
Also, there is a 25 Mvar capacitor at bus 2. If the
generator voltage is 1.0 p.u., what is V2?
SLoad = 1.0 + j0.5 p.u.
11
Gauss Two Bus Example, cont’d
2
2 bus
bus
22
The unknown is the complex load voltage, V .
To determine V we need to know the .
1
5 15
0.02 0.06
5 14.95 5 15
Hence
5 15 5 14.70
( Note - 15 0.05 0.25)
j
j
j j
j j
B j j j
 

  
 
  
  
 
  
Y
Y
12
Gauss Two Bus Example, cont’d
*
2
2 *
22 1,
2
2 *
2
(0)
2
( ) ( )
2 2
1 S
1 -1 0.5
( 5 15)(1.0 0)
5 14.70
Guess 1.0 0 (this is known as a flat start)
0 1.000 0.000 3 0.9622 0.0556
1 0.9671 0.0568 4 0.9622 0.0556
2 0
n
ik k
k k i
v v
V Y V
Y V
j
V j
j V
V
v V v V
j j
j j
 
 
 
 
 
 

    
 
  
 
 
 

.9624 0.0553
j

13
Gauss Two Bus Example, cont’d
2
* *
1 1 11 1 12 2
1
0.9622 0.0556 0.9638 3.3
Once the voltages are known all other values can
be determined, such as the generator powers and the
line flows
S ( ) 1.023 0.239
In actual units P 102.3 MW
V j
V Y V Y V j
     
   
 1
2
2
, Q 23.9 Mvar
The capacitor is supplying V 25 23.2 Mvar


14
Slack Bus
• In previous example we specified S2 and V1 and
then solved for S1 and V2.
• 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.
15
Stated Another Way
• From exam problem 4.c we had
• This Ybus is actually singular!
• So we cannot solve
• This means (as you might expect), we cannot
independently specify all the current injections I
Bus 2 Bus 1
Bus 3
j0.2
j0.1 j0.1
15 5 10
5 15 10
10 10 20
j

 
 
 
 
 

 
bus
Y
 
1

 bus
V Y I
16
Gauss with Many Bus Systems
*
( )
( 1)
( )*
1,
( ) ( ) ( )
1 2
( 1)
With multiple bus systems we could calculate
new V ' as follows:
S
1
( , ,..., )
But after we've determined we have a better
estimate of
i
i
n
v
v i
i ik k
v
ii k k i
v v v
i n
v
i
s
V Y V
Y V
h V V V
V

 

 
 
 
 
 


its voltage , so it makes sense to use this
new value. This approach is known as the
Gauss-Seidel iteration.
17
Gauss-Seidel Iteration
( 1) ( ) ( ) ( )
2 1
2 2 3
( 1) ( 1) ( ) ( )
2 1
3 2 3
( 1) ( 1) ( 1) ( ) ( )
2 1
4 2 3 4
( 1) ( 1) ( 1) ( 1) ( )
2 1 2 3 4
Immediately use the new voltage estimates:
( , , , , )
( , , , , )
( , , , , )
( , , , ,
v v v v
n
v v v v
n
v v v v v
n
v v v v v
n n
V h V V V V
V h V V V V
V h V V V V V
V h V V V V V

 
  
   
 
 
 
  )
The Gauss-Seidel works better than the Gauss, and
is actually easier to implement. It is used instead
of Gauss.
18
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
• special coding is needed to include PV buses in the
Gauss-Seidel iteration (covered in book, but not in
slides since Gauss-Seidel is no longer commonly
used)
19
Accelerated G-S Convergence
( 1) ( )
( 1) ( ) ( ) ( )
(
Previously in the Gauss-Seidel method we were
calculating each value x as
( )
To accelerate convergence we can rewrite this as
( )
Now introduce acceleration parameter
v v
v v v v
v
x h x
x x h x x
x





  
1) ( ) ( ) ( )
( ( ) )
With = 1 this is identical to standard gauss-seidel.
Larger values of may result in faster convergence.
v v v
x h x x



  
20
Accelerated Convergence, cont’d
( 1) ( ) ( ) ( )
Consider the previous example: - 1 0
(1 )
Comparison of results with different values of
1 1.2 1.5 2
0 1 1 1 1
1 2 2.20 2.5 3
2 2.4142 2.5399 2.6217 2.464
3 2.5554 2.6045 2.6179 2.675
4 2.59
v v v v
x x
x x x x
k


   

 
   
   
81 2.6157 2.6180 2.596
5 2.6118 2.6176 2.6180 2.626 21
Gauss-Seidel
Advantages/Disadvantages
• Advantages
– Each iteration is relatively fast (computational order is
proportional to number of branches + number of buses in the
system
– Relatively easy to program
• Disadvantages
– Tends to converge relatively slowly, although this can be
improved with acceleration
– Has tendency to miss solutions, particularly on large systems
– Tends to diverge on cases with negative branch reactances
(common with compensated lines)
– Need to program using complex numbers
22
Newton-Raphson Algorithm
• The second major power flow solution method is
the Newton-Raphson algorithm
• Key idea behind Newton-Raphson is to use
sequential linearization
General form of problem: Find an x such that
( ) 0
ˆ
f x 
23
Newton-Raphson Method (scalar)
 
( )
( ) ( )
( )
( ) ( )
2 ( ) 2
( )
2
1. For each guess of , , define
ˆ
-
ˆ
2. Represent ( ) by a Taylor series about ( )
ˆ
( )
( ) ( )
ˆ
1 ( )
higher order terms
2
v
v v
v
v v
v
v
x x
x x x
f x f x
df x
f x f x x
dx
d f x
x
dx
 
   
  
24
Newton-Raphson Method, cont’d
( )
( ) ( )
( )
1
( )
( ) ( )
3. Approximate ( ) by neglecting all terms
ˆ
except the first two
( )
( ) 0 ( )
ˆ
4. Use this linear approximation to solve for
( )
( )
5. Solve for a new estim
v
v v
v
v
v v
f x
df x
f x f x x
dx
x
df x
x f x
dx

   

 
   
 
( 1) ( ) ( )
ate of x̂
v v v
x x x

  
25
Newton-Raphson Example
2
1
( )
( ) ( )
( ) ( ) 2
( )
( 1) ( ) ( )
( 1) ( ) ( ) 2
( )
Use Newton-Raphson to solve ( ) - 2 0
The equation we must iteratively solve is
( )
( )
1
(( ) - 2)
2
1
(( ) - 2)
2
v
v v
v v
v
v v v
v v v
v
f x x
df x
x f x
dx
x x
x
x x x
x x x
x



 
 
   
 
 
   
 
  
 
   
 
26
Newton-Raphson Example, cont’d
( 1) ( ) ( ) 2
( )
(0)
( ) ( ) ( )
3 3
6
1
(( ) - 2)
2
Guess x 1. Iteratively solving we get
v ( )
0 1 1 0.5
1 1.5 0.25 0.08333
2 1.41667 6.953 10 2.454 10
3 1.41422 6.024 10
v v v
v
v v v
x x x
x
x f x x

 

 
   
 




  

27
Sequential Linear Approximations
Function is f(x) = x2 - 2 = 0.
Solutions are points where
f(x) intersects f(x) = 0 axis
At each
iteration the
N-R method
uses a linear
approximation
to determine
the next value
for x
28
Newton-Raphson Comments
• When close to the solution the error decreases quite
quickly -- method has quadratic convergence
• f(x(v)) is known as the mismatch, which we would
like to drive to zero
• Stopping criteria is when f(x(v))  < 
• Results are dependent upon the initial guess. What
if we had guessed x(0) = 0, or x (0) = -1?
• A solution’s region of attraction (ROA) is the set of
initial guesses that converge to the particular
solution. The ROA is often hard to determine
29

More Related Content

Similar to ECE476_2016_Lect 12.pptx

Similar to ECE476_2016_Lect 12.pptx (20)

Lecture 12
Lecture 12Lecture 12
Lecture 12
 
Lecture 13
Lecture 13Lecture 13
Lecture 13
 
Load flow study Part-II
Load flow study Part-IILoad flow study Part-II
Load flow study Part-II
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
ECE4762011_Lect14.ppt
ECE4762011_Lect14.pptECE4762011_Lect14.ppt
ECE4762011_Lect14.ppt
 
powerflowproblem.ppt
powerflowproblem.pptpowerflowproblem.ppt
powerflowproblem.ppt
 
Electronics and communication engineering_Lect14.ppt
Electronics and communication engineering_Lect14.pptElectronics and communication engineering_Lect14.ppt
Electronics and communication engineering_Lect14.ppt
 
ECE4762011_Lect14.ppt
ECE4762011_Lect14.pptECE4762011_Lect14.ppt
ECE4762011_Lect14.ppt
 
APSA LEC 9
APSA LEC 9APSA LEC 9
APSA LEC 9
 
ECEN615_Fall2020_Lect4.pptx
ECEN615_Fall2020_Lect4.pptxECEN615_Fall2020_Lect4.pptx
ECEN615_Fall2020_Lect4.pptx
 
Ece4762011 lect11[1]
Ece4762011 lect11[1]Ece4762011 lect11[1]
Ece4762011 lect11[1]
 
Stability with analysis and psa and load flow.ppt
Stability with analysis and psa and load flow.pptStability with analysis and psa and load flow.ppt
Stability with analysis and psa and load flow.ppt
 
Load_Flow.pptx
Load_Flow.pptxLoad_Flow.pptx
Load_Flow.pptx
 
5. Power Flow Analaysis-updated SIMULINK
5. Power Flow Analaysis-updated SIMULINK5. Power Flow Analaysis-updated SIMULINK
5. Power Flow Analaysis-updated SIMULINK
 
Frequency analyis i
Frequency analyis iFrequency analyis i
Frequency analyis i
 
Computer-Methods-in-Power-Systems.pptx
Computer-Methods-in-Power-Systems.pptxComputer-Methods-in-Power-Systems.pptx
Computer-Methods-in-Power-Systems.pptx
 
Frequency analyis i - sqrd1062016
Frequency analyis i - sqrd1062016Frequency analyis i - sqrd1062016
Frequency analyis i - sqrd1062016
 
Load_Flow.pdf
Load_Flow.pdfLoad_Flow.pdf
Load_Flow.pdf
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Power_System_Load_Flow.pptx
Power_System_Load_Flow.pptxPower_System_Load_Flow.pptx
Power_System_Load_Flow.pptx
 

Recently uploaded

INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 

Recently uploaded (20)

INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 

ECE476_2016_Lect 12.pptx

  • 1. ECE 476 Power System Analysis Lecture 12: Power Flow Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign overbye@illinois.edu Special Guest Lecturer: TA Iyke Idehen
  • 2. Announcements • Please read Chapter 2.4, Chapter 6 up to 6.6 • HW 5 is 5.31, 5.43, 3.4, 3.10, 3.14, 3.19, 3.23, 3.60, 6.30 should be done before exam 1 • Exam 1 is Thursday Oct 6 in class • Closed book, closed notes, but you may bring one 8.5 by 11 inch note sheet and standard calculators • Last name A-M here, N to Z in ECEB 1013 1
  • 3. 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 2
  • 4. 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 ik k n i Gi Di ik k k I I I I I I I I Y V           I Y V * i The network power injection is then S i i V I  3
  • 5. Power Balance Equations, cont’d * * * * i 1 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 k k k ik ik ik i V I V Y V V Y V Y G jB V               j Recall e cos sin i j i i i ik i k V e V j              4
  • 6. Real Power Balance Equations * * i 1 1 1 i 1 i 1 S ( ) (cos sin )( ) Resolving into the real and imaginary parts P ( cos sin ) Q ( sin cos ik n n j i i i ik k i k ik ik k k n i k ik ik ik ik k n i k ik ik ik ik Gi Di k n i k ik ik ik i k 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 Di Q Q   5
  • 7. Power Flow Requires Iterative Solution i bus * * * * i 1 1 In the power flow we assume we know S and the . We would like to solve for the V's. The problem is the below equation has no closed form solution: S Rath n n i i i ik k i ik k k k V I V Y V V Y V              Y er, we must pursue an iterative approach. 6
  • 8. Gauss Iteration There are a number of different iterative methods we can use. We'll consider two: Gauss and Newton. With the Gauss method we need to rewrite our equation in an implicit form: x = h(x) To iterate we fir (0) ( +1) ( ) st make an initial guess of x, x , and then iteratively solve x ( ) until we find a "fixed point", x, such that x (x). ˆ ˆ ˆ v v h x h   7
  • 9. Gauss Iteration Example ( 1) ( ) (0) ( ) ( ) Example: Solve - 1 0 1 Let = 0 and arbitrarily guess x 1 and solve 0 1 5 2.61185 1 2 6 2.61612 2 2.41421 7 2.61744 3 2.55538 8 2.61785 4 2.59805 9 2.61798 v v v v x x x x v v x v x       8
  • 10. Stopping Criteria ( ) ( ) ( 1) ( ) A key problem to address is when to stop the iteration. With the Guass iteration we stop when with If x is a scalar this is clear, but if x is a vector we need to generalize t v v v v x x x x       ( ) 2 i 2 1 he absolute value by using a norm Two common norms are the Euclidean & infinity max x v j n i i i x x             x x 9
  • 11. Gauss Power Flow * * * * i 1 1 * * * * 1 1 * * 1 1, * * 1, We first need to put the equation in the correct form S S S S 1 i i i i n n i i i ik k i ik k k k n n i i i ik k ik k k k n n i ik k ii i ik k k k k i n i i ik k ii k k i V I V Y V V Y V V I V Y V V Y V Y V Y V Y V V V Y V Y V                                          10
  • 12. Gauss Two Bus Power Flow Example •A 100 MW, 50 Mvar load is connected to a generator •through a line with z = 0.02 + j0.06 p.u. and line charging of 5 Mvar on each end (100 MVA base). Also, there is a 25 Mvar capacitor at bus 2. If the generator voltage is 1.0 p.u., what is V2? SLoad = 1.0 + j0.5 p.u. 11
  • 13. Gauss Two Bus Example, cont’d 2 2 bus bus 22 The unknown is the complex load voltage, V . To determine V we need to know the . 1 5 15 0.02 0.06 5 14.95 5 15 Hence 5 15 5 14.70 ( Note - 15 0.05 0.25) j j j j j j B j j j                    Y Y 12
  • 14. Gauss Two Bus Example, cont’d * 2 2 * 22 1, 2 2 * 2 (0) 2 ( ) ( ) 2 2 1 S 1 -1 0.5 ( 5 15)(1.0 0) 5 14.70 Guess 1.0 0 (this is known as a flat start) 0 1.000 0.000 3 0.9622 0.0556 1 0.9671 0.0568 4 0.9622 0.0556 2 0 n ik k k k i v v V Y V Y V j V j j V V v V v V j j j j                               .9624 0.0553 j  13
  • 15. Gauss Two Bus Example, cont’d 2 * * 1 1 11 1 12 2 1 0.9622 0.0556 0.9638 3.3 Once the voltages are known all other values can be determined, such as the generator powers and the line flows S ( ) 1.023 0.239 In actual units P 102.3 MW V j V Y V Y V j            1 2 2 , Q 23.9 Mvar The capacitor is supplying V 25 23.2 Mvar   14
  • 16. Slack Bus • In previous example we specified S2 and V1 and then solved for S1 and V2. • 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. 15
  • 17. Stated Another Way • From exam problem 4.c we had • This Ybus is actually singular! • So we cannot solve • This means (as you might expect), we cannot independently specify all the current injections I Bus 2 Bus 1 Bus 3 j0.2 j0.1 j0.1 15 5 10 5 15 10 10 10 20 j               bus Y   1   bus V Y I 16
  • 18. Gauss with Many Bus Systems * ( ) ( 1) ( )* 1, ( ) ( ) ( ) 1 2 ( 1) With multiple bus systems we could calculate new V ' as follows: S 1 ( , ,..., ) But after we've determined we have a better estimate of i i n v v i i ik k v ii k k i v v v i n v i s V Y V Y V h V V V V                 its voltage , so it makes sense to use this new value. This approach is known as the Gauss-Seidel iteration. 17
  • 19. Gauss-Seidel Iteration ( 1) ( ) ( ) ( ) 2 1 2 2 3 ( 1) ( 1) ( ) ( ) 2 1 3 2 3 ( 1) ( 1) ( 1) ( ) ( ) 2 1 4 2 3 4 ( 1) ( 1) ( 1) ( 1) ( ) 2 1 2 3 4 Immediately use the new voltage estimates: ( , , , , ) ( , , , , ) ( , , , , ) ( , , , , v v v v n v v v v n v v v v v n v v v v v n n V h V V V V V h V V V V V h V V V V V V h V V V V V                   ) The Gauss-Seidel works better than the Gauss, and is actually easier to implement. It is used instead of Gauss. 18
  • 20. 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 • special coding is needed to include PV buses in the Gauss-Seidel iteration (covered in book, but not in slides since Gauss-Seidel is no longer commonly used) 19
  • 21. Accelerated G-S Convergence ( 1) ( ) ( 1) ( ) ( ) ( ) ( Previously in the Gauss-Seidel method we were calculating each value x as ( ) To accelerate convergence we can rewrite this as ( ) Now introduce acceleration parameter v v v v v v v x h x x x h x x x         1) ( ) ( ) ( ) ( ( ) ) With = 1 this is identical to standard gauss-seidel. Larger values of may result in faster convergence. v v v x h x x       20
  • 22. Accelerated Convergence, cont’d ( 1) ( ) ( ) ( ) Consider the previous example: - 1 0 (1 ) Comparison of results with different values of 1 1.2 1.5 2 0 1 1 1 1 1 2 2.20 2.5 3 2 2.4142 2.5399 2.6217 2.464 3 2.5554 2.6045 2.6179 2.675 4 2.59 v v v v x x x x x x k                  81 2.6157 2.6180 2.596 5 2.6118 2.6176 2.6180 2.626 21
  • 23. Gauss-Seidel Advantages/Disadvantages • Advantages – Each iteration is relatively fast (computational order is proportional to number of branches + number of buses in the system – Relatively easy to program • Disadvantages – Tends to converge relatively slowly, although this can be improved with acceleration – Has tendency to miss solutions, particularly on large systems – Tends to diverge on cases with negative branch reactances (common with compensated lines) – Need to program using complex numbers 22
  • 24. Newton-Raphson Algorithm • The second major power flow solution method is the Newton-Raphson algorithm • Key idea behind Newton-Raphson is to use sequential linearization General form of problem: Find an x such that ( ) 0 ˆ f x  23
  • 25. Newton-Raphson Method (scalar)   ( ) ( ) ( ) ( ) ( ) ( ) 2 ( ) 2 ( ) 2 1. For each guess of , , define ˆ - ˆ 2. Represent ( ) by a Taylor series about ( ) ˆ ( ) ( ) ( ) ˆ 1 ( ) higher order terms 2 v v v v v v v v x x x x x f x f x df x f x f x x dx d f x x dx          24
  • 26. Newton-Raphson Method, cont’d ( ) ( ) ( ) ( ) 1 ( ) ( ) ( ) 3. Approximate ( ) by neglecting all terms ˆ except the first two ( ) ( ) 0 ( ) ˆ 4. Use this linear approximation to solve for ( ) ( ) 5. Solve for a new estim v v v v v v v f x df x f x f x x dx x df x x f x dx               ( 1) ( ) ( ) ate of x̂ v v v x x x     25
  • 27. Newton-Raphson Example 2 1 ( ) ( ) ( ) ( ) ( ) 2 ( ) ( 1) ( ) ( ) ( 1) ( ) ( ) 2 ( ) Use Newton-Raphson to solve ( ) - 2 0 The equation we must iteratively solve is ( ) ( ) 1 (( ) - 2) 2 1 (( ) - 2) 2 v v v v v v v v v v v v v f x x df x x f x dx x x x x x x x x x x                                 26
  • 28. Newton-Raphson Example, cont’d ( 1) ( ) ( ) 2 ( ) (0) ( ) ( ) ( ) 3 3 6 1 (( ) - 2) 2 Guess x 1. Iteratively solving we get v ( ) 0 1 1 0.5 1 1.5 0.25 0.08333 2 1.41667 6.953 10 2.454 10 3 1.41422 6.024 10 v v v v v v v x x x x x f x x                     27
  • 29. Sequential Linear Approximations Function is f(x) = x2 - 2 = 0. Solutions are points where f(x) intersects f(x) = 0 axis At each iteration the N-R method uses a linear approximation to determine the next value for x 28
  • 30. Newton-Raphson Comments • When close to the solution the error decreases quite quickly -- method has quadratic convergence • f(x(v)) is known as the mismatch, which we would like to drive to zero • Stopping criteria is when f(x(v))  <  • Results are dependent upon the initial guess. What if we had guessed x(0) = 0, or x (0) = -1? • A solution’s region of attraction (ROA) is the set of initial guesses that converge to the particular solution. The ROA is often hard to determine 29