Section 5 Power Flow PDF
Section 5 Power Flow PDF
Section 5 Power Flow PDF
Nodal analysis
Systematic application of KCL at each unknown node
Apply Ohm’s law to express branch currents in terms of node
voltages
Sum currents at each unknown node
Rearranging
−𝑌𝑌1 𝑉𝑉1 + 𝑌𝑌1 + 𝑌𝑌2 + 𝑌𝑌𝑠𝑠𝑠 + 𝑌𝑌3 𝑉𝑉2 − 𝑌𝑌3 𝑉𝑉3 = 𝑌𝑌𝑠𝑠𝑠 𝑉𝑉𝑠𝑠𝑠
Finally, applying KCL at node 𝑉𝑉3 , gives
𝑉𝑉3 − 𝑉𝑉2 𝑌𝑌3 + 𝑉𝑉3 − 𝑉𝑉𝑠𝑠𝑠 𝑌𝑌𝑠𝑠𝑠 = 0
−𝑌𝑌3 𝑉𝑉2 + 𝑌𝑌3 + 𝑌𝑌𝑠𝑠𝑠 𝑉𝑉3 = 𝑌𝑌𝑠𝑠𝑠 𝑉𝑉𝑠𝑠𝑠
Note that the source terms are the Norton equivalent
current sources (short-circuit currents) associated with each
voltage source
K. Webb ESE 470
Nodal Analysis
7
or
𝒀𝒀𝒀𝒀 = 𝑰𝑰
where
𝒀𝒀 is the 𝑁𝑁 × 𝑁𝑁 admittance matrix
𝑰𝑰 is an 𝑁𝑁 × 1 vector of known source currents
𝑽𝑽 is an 𝑁𝑁 × 1 vector of unknown node voltages
System includes:
Generators
Buses
Transformers
Treated as equivalent circuit impedances in per-unit
Transmission lines
Equivalent circuit impedances
Loads
K. Webb ESE 470
Bus Variables
13
Even though we’ve introduced power flow into the analysis, we can
still write nodal equations for the system
Voltage and current related by the bus admittance matrix, 𝒀𝒀𝑏𝑏𝑏𝑏𝑏𝑏
𝐈𝐈 = 𝐘𝐘𝑏𝑏𝑏𝑏𝑏𝑏 𝐕𝐕
𝐘𝐘𝑏𝑏𝑏𝑏𝑏𝑏 contains the bus mutual and self admittances associated with
transmission lines and transformers
For an 𝑁𝑁 bus system, 𝐕𝐕 is an 𝑁𝑁 × 1 vector of bus voltages
𝐈𝐈 is an 𝑁𝑁 × 1 vector of source currents flowing into each bus
From generators and loads
𝑁𝑁
𝑃𝑃𝑘𝑘 = 𝑉𝑉𝑘𝑘 ∑𝑛𝑛=1 𝑌𝑌𝑘𝑘𝑘𝑘 𝑉𝑉𝑛𝑛 cos 𝛿𝛿𝑘𝑘 − 𝛿𝛿𝑛𝑛 − 𝜃𝜃𝑘𝑘𝑘𝑘 (9)
𝑁𝑁
𝑄𝑄𝑘𝑘 = 𝑉𝑉𝑘𝑘 ∑𝑛𝑛=1 𝑌𝑌𝑘𝑘𝑘𝑘 𝑉𝑉𝑛𝑛 sin 𝛿𝛿𝑘𝑘 − 𝛿𝛿𝑛𝑛 − 𝜃𝜃𝑘𝑘𝑘𝑘 (10)
Gaussian elimination
Direct
(i.e. non-iterative) solution
Two parts to the algorithm:
Forward elimination
Back substitution
𝑘𝑘−1 𝑁𝑁
1
𝑥𝑥𝑘𝑘,𝑖𝑖+1 = 𝑦𝑦𝑘𝑘 − � 𝐴𝐴𝑘𝑘,𝑛𝑛 𝑥𝑥𝑛𝑛,𝑖𝑖 − � 𝐴𝐴𝑘𝑘,𝑛𝑛 𝑥𝑥𝑛𝑛,𝑖𝑖 , 𝑘𝑘 = 1 … 𝑁𝑁 (14)
𝐴𝐴𝑘𝑘,𝑘𝑘
𝑛𝑛=1 𝑛𝑛=𝑘𝑘+1
The Jacobi method iterative formula, (14), can be rewritten in matrix form:
𝐱𝐱 𝑖𝑖+1 = 𝐌𝐌𝐱𝐱 𝑖𝑖 + 𝐃𝐃−1 𝐲𝐲 (15)
where 𝐃𝐃 is the diagonal elements of A
𝐴𝐴1,1 0 ⋯ 0
0 𝐴𝐴2,2 0 ⋮
𝐃𝐃 =
⋮ 0 ⋱ 0
0 ⋯ 0 𝐴𝐴𝑁𝑁,𝑁𝑁
and
𝐌𝐌 = 𝐃𝐃−1 𝐃𝐃 − 𝐀𝐀 (16)
Recall that the inverse of a diagonal matrix is given by inverting each diagonal
element
1/𝐴𝐴1,1 0 ⋯ 0
0 1/𝐴𝐴2,2 0 ⋮
𝐃𝐃−𝟏𝟏 =
⋮ 0 ⋱ 0
0 ⋯ 0 1/𝐴𝐴𝑁𝑁,𝑁𝑁
In matrix form:
−4 0 7 𝑥𝑥1 −5
2 −3 5 𝑥𝑥2 = −12
0 1 −3 𝑥𝑥3 3
Solve using the Jacobi method
For 𝑖𝑖 = 2:
𝑥𝑥1,2 0 0 1.75 18.75 1.25
𝐱𝐱 2 = 𝑥𝑥2,2 = 0.667 0 1.667 27.33 + 4
𝑥𝑥3,2 0 0.333 0 7.33 −1
𝑇𝑇
𝐱𝐱 2 = 14.08 28.72 8.11
On each iteration
Use previous 𝐱𝐱 values to update 𝐱𝐱
Calculate relative error
Increment the number of iterations
Note that only old values of 𝑥𝑥𝑛𝑛 (i.e. 𝑥𝑥𝑛𝑛,𝑖𝑖 ) are used to
update the value of 𝑥𝑥𝑘𝑘
Assume the 𝑥𝑥𝑘𝑘,𝑖𝑖+1 values are determined in order of
increasing 𝑘𝑘
When updating 𝑥𝑥𝑘𝑘,𝑖𝑖+1 , all 𝑥𝑥𝑛𝑛,𝑖𝑖+1 values are already known
for 𝑛𝑛 < 𝑘𝑘
We can use those updated values to calculate 𝑥𝑥𝑘𝑘,𝑖𝑖+1
The Gauss-Seidel method
In matrix form the iterative formula is the same as for the Jacobi
method
𝐱𝐱 𝑖𝑖+1 = 𝐌𝐌𝐱𝐱 𝑖𝑖 + 𝐃𝐃−1 𝐲𝐲 (15)
where, again
𝐌𝐌 = 𝐃𝐃−1 𝐃𝐃 − 𝐀𝐀 (16)
Want to solve
𝑦𝑦 = 𝑓𝑓(𝑥𝑥)
where 𝑓𝑓 𝑥𝑥 is a nonlinear function
That is, we want to find 𝑥𝑥, given a known nonlinear
function, 𝑓𝑓, and a known output, 𝑦𝑦
Newton-Raphson method
Based on a first-order Taylor series approximation to
𝑓𝑓 𝑥𝑥
The nonlinear 𝑓𝑓 𝑥𝑥 is approximated as linear to update
our approximation to the solution, 𝑥𝑥, on each iteration
K. Webb ESE 470
Taylor Series Approximation
51
𝑑𝑑𝑑𝑑
𝑦𝑦 = 𝑓𝑓 𝑥𝑥 ≈ 𝑓𝑓 𝑥𝑥0 + � 𝑥𝑥 − 𝑥𝑥0 = 𝑦𝑦�
𝑑𝑑𝑑𝑑 𝑥𝑥=𝑥𝑥0
K. Webb ESE 470
First-Order Taylor Series Approximation
52
1
𝑥𝑥𝑖𝑖+1 = 𝑥𝑥𝑖𝑖 + ′ 𝑦𝑦 − 𝑓𝑓 𝑥𝑥𝑖𝑖
𝑓𝑓 𝑥𝑥𝑖𝑖
𝑖𝑖 = 1:
𝑥𝑥1 = 𝑥𝑥0 + 𝑓𝑓 ′ 𝑥𝑥0 −1
𝑦𝑦 − 𝑓𝑓 𝑥𝑥0
𝑥𝑥1 = 1 + 3 ⋅ 12 −1
20 − 13 + 10
𝑥𝑥1 = 4
𝑥𝑥1 − 𝑥𝑥0
𝜀𝜀1 =
𝑥𝑥0
4−1
𝜀𝜀1 = =3
1
𝑥𝑥1 = 4, 𝜀𝜀1 = 3
𝑖𝑖 = 2:
𝑥𝑥2 = 𝑥𝑥1 + 𝑓𝑓 ′ 𝑥𝑥1 −1
𝑦𝑦 − 𝑓𝑓 𝑥𝑥1
𝑥𝑥2 = 4 + 3 ⋅ 42 −1
20 − 43 + 10
𝑥𝑥2 = 2.875
𝑥𝑥2 − 𝑥𝑥1
𝜀𝜀2 =
𝑥𝑥1
2.875 − 4
𝜀𝜀2 =
4
𝜀𝜀2 = 0.281
𝑥𝑥2 = 2.875, 𝜀𝜀2 = 0.281
𝑖𝑖 = 3:
𝑥𝑥3 = 𝑥𝑥2 + 𝑓𝑓 ′ 𝑥𝑥2 −1
𝑦𝑦 − 𝑓𝑓 𝑥𝑥2
𝑥𝑥3 = 2.32
𝑥𝑥3 − 𝑥𝑥2
𝜀𝜀3 =
𝑥𝑥2
2.32 − 2.875
𝜀𝜀3 =
2.875
𝜀𝜀3 = 0.193
𝑖𝑖 = 4:
𝑥𝑥4 = 2.166, 𝜀𝜀4 = 0.066
𝑖𝑖 = 5:
𝑥𝑥5 = 2.155, 𝜀𝜀5 = 0.005
𝑖𝑖 = 6:
𝑥𝑥6 = 2.154, 𝜀𝜀6 = 28.4 × 10−6
𝑖𝑖 = 7:
𝑥𝑥7 = 2.154, 𝜀𝜀7 = 0.808 × 10−9
Jacobian matrix
𝑁𝑁 × 𝑁𝑁 matrix of partial derivatives for 𝐟𝐟 𝐱𝐱
Evaluated at the current value of 𝐱𝐱, 𝐱𝐱 𝑖𝑖
On each iteration:
Compute Δ𝐲𝐲𝑖𝑖 and 𝐉𝐉𝑖𝑖
Solve for Δ𝐱𝐱 𝑖𝑖 using Gaussian elimination
Matrix
inversion not required
Computationally robust
Update 𝐱𝐱
(23)
𝐱𝐱 𝑖𝑖+1 = 𝐱𝐱 𝑖𝑖 + Δ𝐱𝐱 𝑖𝑖
𝑖𝑖 = 1:
21 7 14
Δ𝑦𝑦0 = 𝐲𝐲 − 𝐟𝐟 𝐱𝐱 0 = − =
12 2 10
2𝑥𝑥1,0 3 2 3
𝐉𝐉0 = 𝑥𝑥 𝑥𝑥1,0 =
2,0 2 1
4
Δ𝐱𝐱 0 =
2
1 4 5
𝐱𝐱1 = 𝐱𝐱 0 + Δ𝐱𝐱 0 = + =
2 2 4
𝑥𝑥𝑘𝑘,1 − 𝑥𝑥𝑘𝑘,0
𝜀𝜀1 = max , 𝑘𝑘 = 1 … 𝑁𝑁
𝑥𝑥𝑘𝑘,0
5
𝑥𝑥1 = , 𝜀𝜀1 = 4
4
𝑖𝑖 = 2:
21 37 −16
Δ𝑦𝑦1 = 𝐲𝐲 − 𝐟𝐟 𝐱𝐱1 = − =
12 20 −8
2𝑥𝑥1,1 3 10 3
𝐉𝐉1 = 𝑥𝑥 𝑥𝑥1,1 =
2,1 4 5
−1.474
Δ𝐱𝐱1 =
−0.421
5 −1.474 3.526
𝐱𝐱 2 = 𝐱𝐱1 + Δ𝐱𝐱1 = + =
4 −0.421 3.579
𝑥𝑥𝑘𝑘,2 − 𝑥𝑥𝑘𝑘,1
𝜀𝜀2 = max , 𝑘𝑘 = 1 … 𝑁𝑁
𝑥𝑥𝑘𝑘,1
3.526
𝑥𝑥2 = , 𝜀𝜀2 = 0.295
3.579
𝑖𝑖 = 3:
21 23.172 −2.172
Δ𝑦𝑦2 = 𝐲𝐲 − 𝐟𝐟 𝐱𝐱 2 = − =
12 12.621 −0.621
2𝑥𝑥1,2 3 7.053 3
𝐉𝐉2 = 𝑥𝑥 𝑥𝑥1,2 =
2,2 3.579 3.526
−0.410
Δ𝐱𝐱 2 =
0.240
3.526 −0.410 3.116
𝐱𝐱 3 = 𝐱𝐱 2 + Δ𝐱𝐱 2 = + =
3.579 0.240 3.819
𝑥𝑥𝑘𝑘,3 − 𝑥𝑥𝑘𝑘,2
𝜀𝜀3 = max , 𝑘𝑘 = 1 … 𝑁𝑁
𝑥𝑥𝑘𝑘,2
3.116
𝑥𝑥3 = , 𝜀𝜀3 = 0.116
3.819
𝑖𝑖 = 7:
21 21.000 −7
Δ𝑦𝑦6 = 𝐲𝐲 − 𝐟𝐟 𝐱𝐱 6 = − = −0.527 × 10
12 12.000 0.926 × 10−7
2𝑥𝑥 3 6.000 3
𝐉𝐉6 = 𝑥𝑥 1,6 𝑥𝑥1,6 =
2,6 4.000 3.000
−6
Δ𝐱𝐱 6 = −0.073 × 10
0.128 × 10−6
3.000 −6 3.000
𝐱𝐱 7 = 𝐱𝐱 6 + Δ𝐱𝐱 6 = + −0.073 × 10 =
4.000 0.128 × 10−6 4.000
𝑥𝑥𝑘𝑘,7 − 𝑥𝑥𝑘𝑘,6
𝜀𝜀7 = max , 𝑘𝑘 = 1 … 𝑁𝑁
𝑥𝑥𝑘𝑘,6
3.000
𝑥𝑥7 = , 𝜀𝜀7 = 31.9 × 10−9
4.000
K. Webb ESE 470
Newton-Raphson – MATLAB Code
83
Initialize 𝐱𝐱
Iterate:
Compute Δ𝐲𝐲𝑖𝑖−1 and 𝐉𝐉𝑖𝑖−1
Solve for Δ𝐱𝐱 𝑖𝑖−1
Update 𝐱𝐱
𝛿𝛿2
⋮ 𝑛𝑛𝑃𝑃𝑃𝑃 + 𝑛𝑛𝑃𝑃𝑃𝑃
𝛿𝛿𝑛𝑛𝑃𝑃𝑃𝑃 +𝑛𝑛𝑃𝑃𝑃𝑃+1
𝛅𝛅
𝐱𝐱 = = (24)
𝐕𝐕 𝑉𝑉𝑛𝑛𝑃𝑃𝑃𝑃 +2
𝑛𝑛𝑃𝑃𝑃𝑃
⋮
𝑉𝑉𝑛𝑛𝑃𝑃𝑃𝑃 +𝑛𝑛𝑃𝑃𝑃𝑃+1
K. Webb ESE 470
Solving the Power-Flow Problem - Overview
93
𝐲𝐲 = 𝐟𝐟(𝐱𝐱)
The knowns , 𝐲𝐲, are bus powers
Known real power from PV and PQ buses
Known reactive power from PQ bus
𝑃𝑃2
⋮ 𝑛𝑛𝑃𝑃𝑃𝑃 + 𝑛𝑛𝑃𝑃𝑃𝑃
𝑃𝑃𝑛𝑛𝑃𝑃𝑃𝑃 +𝑛𝑛𝑃𝑃𝑃𝑃 +1
𝐏𝐏
𝐲𝐲 = = (25)
𝐐𝐐 𝑄𝑄𝑛𝑛𝑃𝑃𝑃𝑃 +2
𝑛𝑛𝑃𝑃𝑃𝑃
⋮
𝑄𝑄𝑛𝑛𝑃𝑃𝑃𝑃 +𝑛𝑛𝑃𝑃𝑃𝑃 +1
K. Webb ESE 470
Solving the Power-Flow Problem - Overview
94
𝐲𝐲 = 𝐟𝐟(𝐱𝐱)
The system of equations , 𝐟𝐟, consists of the
nonlinear functions for 𝐏𝐏 and 𝐐𝐐
Nonlinear functions of 𝐕𝐕 and 𝛅𝛅
𝑃𝑃2 𝐱𝐱
⋮ 𝑛𝑛𝑃𝑃𝑃𝑃 + 𝑛𝑛𝑃𝑃𝑃𝑃
𝐏𝐏(𝐱𝐱) ⋮
𝐟𝐟(𝐱𝐱) = = (26)
𝐐𝐐(𝐱𝐱)
𝑄𝑄𝑛𝑛𝑃𝑃𝑃𝑃 +2 𝐱𝐱
𝑛𝑛𝑃𝑃𝑃𝑃
⋮
⋮
K. Webb ESE 470
Solving the Power-Flow Problem - Overview
95
𝑁𝑁
Δ𝐲𝐲𝑖𝑖 = 𝐲𝐲 − 𝐟𝐟 𝐱𝐱 𝑖𝑖
𝐲𝐲 is the vector of known powers, as given in (25)
𝐟𝐟 𝐱𝐱 𝑖𝑖 are the 𝑃𝑃 and 𝑄𝑄 equations given by (9) and (10)
K. Webb ESE 470
97 Power-Flow Solution – Procedure
𝐏𝐏
𝐲𝐲 =
𝐐𝐐
4. Initialize unknown quantities
0
⋮ 𝑛𝑛𝑃𝑃𝑃𝑃 + 𝑛𝑛𝑃𝑃𝑃𝑃
𝛅𝛅𝟎𝟎 0
𝐱𝐱 𝒐𝒐 = = (24)
𝐕𝐕𝟎𝟎
1.0
𝑛𝑛𝑃𝑃𝑃𝑃
⋮
1.0
𝜕𝜕𝐏𝐏 𝜕𝜕𝐏𝐏
𝜕𝜕𝛅𝛅 𝜕𝜕𝐕𝐕 𝑛𝑛𝑃𝑃𝑃𝑃 + 𝑛𝑛𝑃𝑃𝑃𝑃
𝐉𝐉1 𝐉𝐉2
𝐉𝐉 =
𝜕𝜕𝐐𝐐 𝜕𝜕𝐐𝐐
𝑛𝑛𝑃𝑃𝑃𝑃
𝜕𝜕𝛅𝛅 𝜕𝜕𝐕𝐕
𝐉𝐉3 𝐉𝐉4
K. Webb ESE 470
The Jacobian Matrix
104
𝜕𝜕𝑃𝑃𝑘𝑘
𝐉𝐉2𝑘𝑘𝑘𝑘 = = 𝑉𝑉𝑘𝑘 𝑌𝑌𝑘𝑘𝑘𝑘 cos 𝛿𝛿𝑘𝑘 − 𝛿𝛿𝑛𝑛 − 𝜃𝜃𝑘𝑘𝑘𝑘 (28)
𝜕𝜕𝑉𝑉𝑛𝑛
𝜕𝜕𝑄𝑄𝑘𝑘
𝐉𝐉3𝑘𝑘𝑘𝑘 = = −𝑉𝑉𝑘𝑘 𝑌𝑌𝑘𝑘𝑘𝑘 𝑉𝑉𝑛𝑛 cos 𝛿𝛿𝑘𝑘 − 𝛿𝛿𝑛𝑛 − 𝜃𝜃𝑘𝑘𝑘𝑘 (29)
𝜕𝜕𝛿𝛿𝑛𝑛
𝜕𝜕𝑄𝑄𝑘𝑘
𝐉𝐉4𝑘𝑘𝑘𝑘 = = 𝑉𝑉𝑘𝑘 𝑌𝑌𝑘𝑘𝑘𝑘 sin 𝛿𝛿𝑘𝑘 − 𝛿𝛿𝑛𝑛 − 𝜃𝜃𝑘𝑘𝑘𝑘 (30)
𝜕𝜕𝑉𝑉𝑛𝑛
K. Webb ESE 470
The Jacobian Matrix
105
𝑁𝑁
𝜕𝜕𝑃𝑃𝑘𝑘
𝐉𝐉2𝑘𝑘𝑘𝑘 = = 𝑉𝑉𝑘𝑘 𝑌𝑌𝑘𝑘𝑘𝑘 cos 𝜃𝜃𝑘𝑘𝑘𝑘 + � 𝑌𝑌𝑘𝑘𝑛𝑛 𝑉𝑉𝑛𝑛 cos 𝛿𝛿𝑘𝑘 − 𝛿𝛿𝑛𝑛 − 𝜃𝜃𝑘𝑘𝑘𝑘 (32)
𝜕𝜕𝑉𝑉𝑘𝑘
𝑛𝑛=1
𝑁𝑁
𝜕𝜕𝑄𝑄𝑘𝑘
𝐉𝐉3𝑘𝑘𝑘𝑘 = = 𝑉𝑉𝑘𝑘 � 𝑌𝑌𝑘𝑘𝑛𝑛 𝑉𝑉𝑛𝑛 cos 𝛿𝛿𝑘𝑘 − 𝛿𝛿𝑛𝑛 − 𝜃𝜃𝑘𝑘𝑘𝑘 (33)
𝜕𝜕𝛿𝛿𝑘𝑘
𝑛𝑛=1
𝑛𝑛≠𝑘𝑘
𝑁𝑁
𝜕𝜕𝑄𝑄𝑘𝑘
𝐉𝐉4𝑘𝑘𝑘𝑘 = = −𝑉𝑉𝑘𝑘 𝑌𝑌𝑘𝑘𝑘𝑘 sin 𝜃𝜃𝑘𝑘𝑘𝑘 + � 𝑌𝑌𝑘𝑘𝑘𝑘 𝑉𝑉𝑛𝑛 sin 𝛿𝛿𝑘𝑘 − 𝛿𝛿𝑛𝑛 − 𝜃𝜃𝑘𝑘𝑘𝑘 (34)
𝜕𝜕𝑉𝑉𝑘𝑘
𝑛𝑛=1
Determine all bus voltages and power flows for the following three-
bus power system
Bus 2: PV bus
𝑃𝑃2 and 𝑉𝑉2 are known, find 𝛿𝛿2 and 𝑄𝑄2
Bus 3: PQ bus
𝑃𝑃3 and 𝑄𝑄3 are known, find 𝑉𝑉3 and 𝛿𝛿3
K. Webb ESE 470
Power-Flow Solution – Admittance Matrix
108
Known quantities
Slack bus: 𝑉𝑉1 = 1.0 𝑝𝑝𝑝𝑝, 𝛿𝛿1 = 0°
PV bus: 𝑉𝑉2 = 1.05 𝑝𝑝𝑝𝑝, 𝑃𝑃2 = 2.0 𝑝𝑝𝑝𝑝
PQ bus: 𝑃𝑃3 = −5.0 𝑝𝑝𝑝𝑝, 𝑄𝑄3 = −1.0 𝑝𝑝𝑝𝑝
Output vector
𝑃𝑃2 2.0
𝐏𝐏
𝐲𝐲 = = 𝑃𝑃3 = −5.0
𝐐𝐐
𝑄𝑄3 −1.0
𝑖𝑖 = 0:
Vector of bus voltage phasors
1.05∠95.6°
𝐈𝐈0 = 2.10∠ − 84.4°
1.05∠95.6°
𝑖𝑖 = 0:
Complex power injected into each bus
𝑖𝑖 = 0:
Power mismatch
Δ𝐲𝐲0 = 𝐲𝐲 − 𝐟𝐟 𝐱𝐱 0
2.0 0.216 1.784
Δ𝐲𝐲0 = −5.0 − −0.103 = −4.897
−1.0 −1.045 0.045
Next, compute the Jacobian matrix
𝜕𝜕𝑃𝑃2 𝜕𝜕𝑃𝑃2 𝜕𝜕𝑃𝑃2
𝜕𝜕𝛿𝛿2 𝜕𝜕𝛿𝛿3 𝜕𝜕𝑉𝑉3
𝜕𝜕𝑃𝑃3 𝜕𝜕𝑃𝑃3 𝜕𝜕𝑃𝑃3
𝐉𝐉0 =
𝜕𝜕𝛿𝛿2 𝜕𝜕𝛿𝛿3 𝜕𝜕𝑉𝑉3
𝜕𝜕𝑄𝑄3 𝜕𝜕𝑄𝑄3 𝜕𝜕𝑄𝑄3
𝜕𝜕𝛿𝛿2 𝜕𝜕𝛿𝛿3 𝜕𝜕𝑉𝑉3 𝐱𝐱=𝐱𝐱 0
𝑖𝑖 = 0:
Elements of the Jacobian matrix are computed using 𝑉𝑉
and 𝛿𝛿 values from 𝐕𝐕0 and 𝑌𝑌 and 𝜃𝜃 values from 𝐘𝐘:
1.0
𝑉𝑉0 = 1.05
1.0
0°
𝛿𝛿0 = 0°
0°
36.8 21.0 15.8
𝑌𝑌 = 21.0 42.0 21.0
15.8 21.0 36.8
−84.4° 95.6° 95.6°
𝜃𝜃 = 95.6° −84.4° 95.6°
95.6° 95.6° −84.4°
K. Webb ESE 470
Power-Flow Solution – Iterate
118
𝑖𝑖 = 0:
Jacobian, 𝐉𝐉1
𝜕𝜕𝑃𝑃2
= −𝑉𝑉2 𝑌𝑌21 𝑉𝑉1 sin 𝛿𝛿2 − 𝛿𝛿1 − 𝜃𝜃21 + 𝑌𝑌23 𝑉𝑉3 sin 𝛿𝛿2 − 𝛿𝛿3 − 𝜃𝜃23
𝜕𝜕𝛿𝛿2
𝜕𝜕𝑃𝑃3
= −𝑉𝑉3 𝑌𝑌31 𝑉𝑉1 sin 𝛿𝛿3 − 𝛿𝛿1 − 𝜃𝜃31 + 𝑌𝑌32 𝑉𝑉2 sin 𝛿𝛿3 − 𝛿𝛿2 − 𝜃𝜃32
𝜕𝜕𝛿𝛿3
𝜕𝜕𝑃𝑃2
= 𝑉𝑉2 𝑌𝑌23 𝑉𝑉3 sin 𝛿𝛿2 − 𝛿𝛿3 − 𝜃𝜃23
𝜕𝜕𝛿𝛿3
𝜕𝜕𝑃𝑃3
= 𝑉𝑉3 𝑌𝑌32 𝑉𝑉2 sin 𝛿𝛿3 − 𝛿𝛿2 − 𝜃𝜃32
𝜕𝜕𝛿𝛿2
𝑖𝑖 = 0:
Jacobian, 𝐉𝐉2
𝜕𝜕𝑃𝑃2
= 𝑉𝑉2 𝑌𝑌23 cos 𝛿𝛿2 − 𝛿𝛿3 − 𝜃𝜃23
𝜕𝜕𝑉𝑉3
𝜕𝜕𝑃𝑃3
= 2 ⋅ 𝑉𝑉3 𝑌𝑌33 cos 𝜃𝜃33 +
𝜕𝜕𝑉𝑉3
𝑌𝑌31 𝑉𝑉1 cos 𝛿𝛿3 − 𝛿𝛿1 − 𝜃𝜃31 + 𝑌𝑌32 𝑉𝑉2 cos 𝛿𝛿3 − 𝛿𝛿2 − 𝜃𝜃32
Jacobian, 𝐉𝐉3
𝜕𝜕𝑄𝑄3
= −𝑉𝑉3 𝑌𝑌32 𝑉𝑉2 cos 𝛿𝛿3 − 𝛿𝛿2 − 𝜃𝜃32
𝜕𝜕𝛿𝛿2
𝜕𝜕𝑄𝑄3
= 𝑉𝑉3 𝑌𝑌31 𝑉𝑉1 cos 𝛿𝛿3 − 𝛿𝛿1 − 𝜃𝜃31 + 𝑌𝑌32 𝑉𝑉2 cos 𝛿𝛿3 − 𝛿𝛿2 − 𝜃𝜃32
𝜕𝜕𝛿𝛿3
𝑖𝑖 = 0:
Jacobian, 𝐉𝐉4
𝜕𝜕𝑄𝑄3
= 𝑉𝑉3 𝑌𝑌33 cos 𝜃𝜃33 +
𝜕𝜕𝑉𝑉3
𝑌𝑌31 𝑉𝑉1 cos 𝛿𝛿3 − 𝛿𝛿1 − 𝜃𝜃31 + 𝑌𝑌32 𝑉𝑉2 cos 𝛿𝛿3 − 𝛿𝛿2 − 𝜃𝜃32
𝑖𝑖 = 0:
Use Gaussian elimination to solve for Δ𝐱𝐱 0
𝑖𝑖 = 0:
Use power mismatch to check for convergence
𝑦𝑦𝑘𝑘 − 𝑓𝑓𝑘𝑘 𝑥𝑥
𝜀𝜀0 = max = 0.9794
𝑦𝑦𝑘𝑘