NR-Power Flow

Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

Newton-Raphson

Power Flow
Power System Analysis (I)
Newton-Raphson Power Flow
 Advantages
– fast convergence as long as initial guess is close to
solution
– large region of convergence
 Disadvantages
– each iteration takes much longer than a Gauss-Seidel
iteration
– more complicated to code
 Newton-Raphson algorithm is very common in
power flow analysis.
NR Application to Power Flow
Real Power Balance Equations
n n
jik
Si  Pi  jQi  Vi  Yik*Vk*   i k
V V e (Gik  jBik )
k 1 k 1
n
  Vi Vk (cos ik  j sin ik )(Gik  jBik )
k 1
Resolving into the real and imaginary parts:
n
Pi  PGi  PDi   Vi Vk (Gik cosik  Bik sin ik )
k 1
n
Qi  QGi  QDi   Vi Vk (Gik sin ik  Bik cosik )
k 1
Newton-Raphson Power Flow
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 that satisfies power balance.
We need to solve the power balance equations:
n
 Vi Vk (Gik cosik  Bik sin ik )  PGi  PDi  0
k 1
n
 Vi Vk (Gik sin ik  Bik cosik )  QGi  QDi  0
k 1
Power Balance Equations
For convenience, write:
n
Pi ( x )   Vi Vk (Gik cosik  Bik sin ik )
k 1
n
Qi ( x )   Vi Vk (Gik sin ik  Bik cosik )
k 1
The power balance equations are then:
Pi ( x )  PGi  PDi  0
Qi ( x )  QGi  QDi  0
Power Balance Equations
• Note that Pi( ) and Qi( ) mean the functions that
expresses flow from bus i into the system in terms of
voltage magnitudes and angles,
• While PGi, PDi, QGi, QDi mean the generations and
demand at the bus.
• For a system with a slack bus and the rest PQ buses,
power flow problem is to use the power balance
equations to solve for the unknown voltage
magnitudes and angles in terms of the given bus
generations and demands, and then use solution to
calculate the real and reactive injection at the slack
bus.
Power Flow Variables
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.
We must solve f ( x )  0, where:
 2   P2 ( x )  PG 2  PD 2 
   
   
 n   Pn ( x )  PGn  PDn 
x   f (x)  
V2 Q2 ( x )  QG 2  QD 2 
   
   
V  Q (x)  Q  Q 
 n   n Gn Dn 
N-R Power Flow Solution
The power flow is solved using the same procedure
discussed previously for general equations:
For v  0; make an initial guess of x, x (0)
While f (x ( v ) )   Do
( v 1) 1
x  x  [J(x
(v) (v)
)] f ( x (v)
)
v  v 1
End
Power Flow Jacobian Matrix
The most difficult part of the algorithm is determining
and factorizing the Jacobian matrix, J (x )
 f1 ( x ) f1
(x)
f1
(x) 
 x1 x2 x2 n 2 
 
 f 2 ( x ) f 2
(x)
f 2
(x) 
J (x )   x1 x2 x2 n 2 
 
 
 f 2 n  2 f 2 n 2 f 2 n 2 
 (x) (x) (x)
 x1 x2 x2 n 2 
Power Flow Jacobian Matrix
Jacobian elements are calculated by differentiating
each function, fi ( x), with respect to each variable.
For example, if fi ( x) is the bus i real power equation
n
fi ( x)   Vi Vk (Gik cosik  Bik sinik )  PGi  PDi
k 1

fi n

 i
( x)   Vi Vk (Gik sinik  Bik cosik )
k 1
k i

fi
( x)  Vi V j (Gij sin  ij  Bij cosij ) ( j  i )
 j
Two Bus Newton-Raphson Example
For the two bus power system shown below, use the
Newton-Raphson power flow to determine the
voltage magnitude and angle at bus two. Assume
that bus one is the slack and SBase = 100 MVA.
Line Z = 0.1j

One 1.000 pu Two 1.000 pu

0 MW 200 MW
0 MVR 100 MVR

 2    j10 j10 
Unkown: x    , Also, Ybus   
 V2   j10  j10 
General power balance equations:
n
 Vi Vk (Gik cosik  Bik sin ik )  PGi  PDi  0
k 1
n
 Vi Vk (Gik sin ik  Bik cosik )  QGi  QDi  0
k 1
For bus two, the power balance equations are
(load real power is 2.0 per unit,
while reactive power is 1.0 per unit):
V2 V1 (10sin  2 )  2.0  0
V2 V1 ( 10cos  2 )  V2 (10)  1.0  0
2
P2 ( x )  2.0  V2 (10sin  2 )  2.0
V2 ( 10cos  2 )  V2 (10)  1.0
2
Q2 ( x ) 1.0 
Now calculate the power flow Jacobian
 P2 ( x ) P2 ( x ) 
  2  V2 
J(x)   
 Q2 ( x ) Q2 ( x ) 
  2  V2 
10 V2 cos  2 10sin  2 
  
 10 V 2 sin  2 10cos  2  20 V2
Two Bus Example, First Iteration
  2(0)  0
For v  0, guess x (0)
  (0)   1 . Calculate:
 V2   
 V2(0) (10sin  2(0) )  2.0 
 2.0
f (x (0) )     
 V (0) ( 10cos  (0) )  V (0) 2 (10)  1.0 1.0 
 2 2 2 
10 V2(0) cos  2(0) 10sin  2(0)  10 0
J (x (0) )    
10 V2(0) sin  2(0) (0)   0 10 
 10cos  2  20 V2  
(0)

1
0 10 0   2.0  0.2 
Solve x (1)
        
1  0 10 1.0   0.9 
Two Bus Example, Next Iterations
 0.9(10sin( 0.2))  2.0  0.212 
f (x )  
(1)
  0.279 
0.9( 10cos( 0.2))  0.9  10  1.0  
2

 8.82 1.986
J (x )  
(1)

 1.788 8.199 
1
 0.2   8.82 1.986  0.212  0.233
x 
(2)
       
 0.9   1.788 8.199   0.279   0.8586 
 0.0145  0.236
f (x )  
(2)
 x (3)
  
 0.0190   0.8554 
0.0000906
f (x (3)
)  Close enough! V2  0.8554  13.52
 0.0001175
PV Buses
Since the voltage magnitude at PV buses is fixed
there is no need to explicitly include these voltages
in x nor explicitly include the reactive power
balance equations at the PV buses:
– the reactive power output of the generator varies to
maintain the fixed terminal voltage (within limits), so
we can just use the solved voltages and angles to
calculate the reactive power production to be whatever
is needed to satisfy reactive power balance.
– An alternative is to keep the reactive power balance
equation explicit but also write an explicit voltage
constraint for the generator bus:
|Vi | – Vi setpoint = 0
Three Bus PV Case Example
For this three bus case we have
 2   P2 ( x )  PD 2 
x   3  f ( x )   P3 ( x )  PG 3   0
   
 V2  Q2 ( x )  QD 2 
Line Z = 0.1j

0.941 pu
One 1.000 pu Two -7.469 Deg

170.0 MW 200 MW
68.2 MVR 100 MVR
Line Z = 0.1j Line Z = 0.1j

Three 1.000 pu

30 MW
63 MVR
PV Buses
• With Newton-Raphson, PV buses means that there
are less unknown variables we need to calculate
explicitly and less equations we need to satisfy
explicitly.
• Reactive power balance is satisfied implicitly by
choosing reactive power production to be whatever
is needed, once we have a solved case (like real and
reactive power at the slack bus).
• Contrast to Gauss iterations where PV buses
complicated the algorithm.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy