NR Application To Power Flow
NR Application To Power Flow
2
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 cosik Bik sinik ) PGi PDi 0
k 1
n
Vi Vk (Gik sinik Bik cosik ) QGi QDi 0
k 1
3
Power Flow Variables
For convenience, write:
n
Pi (x) Vi Vk (Gik cosik Bik sinik )
k 1
n
Qi (x) Vi Vk (Gik sinik Bik cosik )
k 1
The power balance equations are then:
Pi(x) PGi PDi 0
Qi (x) QGi QDi 0
4
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) PG2 PD2
n Pn(x) PGn PDn
x f (x)
V2 Q2 (x) QG 2 QD2
V Q (x) Q Q
n n Gn Dn
5
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
x(v1) x (v) [J(x (v) )]1f (x (v) )
v v 1
End
6
Power Flow Jacobian Matrix
The most difficult part of the algorithm is determining
and factorizing the Jacobian matrix, J(x)
f1 (x) f1 f1
(x) (x)
x1 x2 x2n2
f 2 (x) f 2
(x)
f 2
(x)
J(x) x1 x2 x2n2
f 2n2 f2n2 f 2n2
x (x) (x) (x)
1 x2 x2n2
7
Power Flow Jacobian Matrix, cont’d
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 cosik Bik sinik ) PGi PDi
k 1
fi n
i
(x) Vi Vk (Gik sinik Bik cosik )
k 1
k i
fi
(x) Vi V j (Gij sin ij Bij cosij ) ( j i)
j
8
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
0 MW 200 MW
0 MVR 100 MVR
f (x(2) )
0.0145 0.236
0.0190
x (3)
0.8554
0.0000906
f (x (3)
) Close enough! V2 0.8554 13.52
0.0001175
13
Two Bus Solved Values
Once the voltage angle and magnitude at bus 2 are
known we can calculate all the other system values,
such as the line flows and the generator reactive
power output
200.0 MW -200.0 MW
168.3 MVR Line Z = 0.1j -100.0 MVR
200.0 MW 200 MW
168.3 MVR 100 MVR
14
Two Bus Case Low Voltage Solution
This case actually has two solutions! The second
"low voltage" is found by using a low initial guess.
200.0 MW 200 MW
831.7 MVR 100 MVR
16
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, particularly when
implementing sparse matrix algorithms
Newton-Raphson algorithm is very common in
power flow analysis.
33