NR Application To Power Flow
NR Application To Power Flow
k 1 k 1
These can be derived by defining
Yik Gik jBik
Vi Vi e ji Vi i
ik i k
Recall e j cos j sin
0
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 Vi Vk (Gik cos ik Bik sinik ) PGi PDi
k 1
n
Qi Vi Vk (Gik sin ik Bik cos ik ) QGi QDi
k 1
1
Newton-Raphson Power Flow
2
Power Flow Variables
4
Power Flow Jacobian Matrix
fi ( x) n
i
Vi Vk (Gik sin ik Bik cos ik )
k 1
k i
fi ( x)
Vi V j (Gik sin ik Bik cos ik ) ( j i )
j
6
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
8
Two Bus Example, cont’d
0
Set v 0, guess x (0)
1
Calculate
V2 (10sin 2 ) 2.0 2.0
f(x )
(0)
1.0
V2 (10cos 2 ) V2 (10) 1.0
2
10 V2 cos 2 10sin 2 10 0
J (x )
(0)
0 10
10 V2 sin 2 10cos 2 20 V2
1
0 10 0 2.0 0.2
Solve x (1)
1.0
1 0 10 0.9
10
Two Bus Example, Next Iterations
0.9(10sin(0.2)) 2.0 0.212
f(x )
(1)
0.9(10 cos(0.2)) 0.9 10 1.0
2 0.279
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)
Done! V2 0.8554 13.52
0.0001175
11
Two Bus Solved Values
200.0 MW 200 MW
168.3 MVR 100 MVR
12
Two Bus Case Low Voltage Solution
This case actually has two solutions! The second
"low voltage" is found by using a low initial guess.
0
Set v 0, guess x (0)
0.25
Calculate
V2 (10sin 2 ) 2.0 2
f(x )
(0)
0.875
V2 (10 cos 2 ) V2 (10) 1.0
2
10 V2 cos 2 10sin 2 2.5 0
J (x )
(0)
0 5
10 V2 sin 2 10 cos 2 20 V2
13
Low Voltage Solution, cont'd
1
0 2.5 0 2 0.8
Solve x
(1)
0.25 0 5 0.875 0.075
1.462 (2) 1.42 0.921
f (x )
(2)
x x
(3)
0.534 0.2336 0.220
Low voltage solution
200.0 MW -200.0 MW
831.7 MVR Line Z = 0.1j -100.0 MVR
200.0 MW 200 MW
831.7 MVR 100 MVR
14
PV Buses
|Vi | – Vi setpoint = 0
15
Three Bus PV Case Example
For this three bus case we have
2 P2 (x) PG 2 PD 2
x 3 f (x) P3 (x) PG 3 PD3 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
16
Modeling Voltage Dependent Load
18
Voltage Dependent Load, cont'd
0
Again set v 0, guess x (0)
1
Calculate
V 2 (10sin 2 ) 2.0 V2
2 2.0
f(x )
(0)
V2 (10 cos 2 ) V2 (10) 1.0 V2
2 2
1.0
10 4
J (x )
(0)
0 12
1
0 10 4 2.0 0.1667
Solve x (1)
1.0
1 0 12 0.9167
19
Voltage Dependent Load, cont'd
0.894 pu
One 1.000 pu Two -10.304 Deg
160.0 MW 160 MW
120.0 MVR 80 MVR
20
Solving Large Power Systems
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
22