Bus 1 is the slack bus (1 ∠ 0 ∘ 1\angle 0^\circ 1∠ 0 ∘ ), bus 2 a PV bus (P 2 = 0.5 P_2 = 0.5 P 2 = 0.5 pu, ∣ V 2 ∣ = 1.02 |V_2| = 1.02 ∣ V 2 ∣ = 1.02 pu, 0 ≤ Q G 2 ≤ 1.5 0 \le Q_{G2} \le 1.5 0 ≤ Q G 2 ≤ 1.5 pu) and bus 3 a PQ bus (P 3 = − 1.5 P_3 = -1.5 P 3 = − 1.5 , Q 3 = − 0.6 Q_3 = -0.6 Q 3 = − 0.6 pu). Flat start: V 2 0 = 1.02 ∠ 0 ∘ V_2^{0} = 1.02\angle 0^\circ V 2 0 = 1.02∠ 0 ∘ , V 3 0 = 1 ∠ 0 ∘ V_3^{0} = 1\angle 0^\circ V 3 0 = 1∠ 0 ∘ .
Y-bus
Each line: y = 1 / ( j 0.08 ) = − j 12.5 y = 1/(j0.08) = -j12.5 y = 1/ ( j 0.08 ) = − j 12.5 pu. Each bus has two lines:
Y b u s = [ − j 25.0000 j 12.5000 j 12.5000 j 12.5000 − j 25.0000 j 12.5000 j 12.5000 j 12.5000 − j 25.0000 ] pu Y_{bus} = \begin{bmatrix} -j25.0000 & j12.5000 & j12.5000 \\ j12.5000 & -j25.0000 & j12.5000 \\ j12.5000 & j12.5000 & -j25.0000 \end{bmatrix}\ \text{pu} Y b u s = − j 25.0000 j 12.5000 j 12.5000 j 12.5000 − j 25.0000 j 12.5000 j 12.5000 j 12.5000 − j 25.0000 pu
i.e. ∣ Y i i ∣ = 25 |Y_{ii}| = 25 ∣ Y ii ∣ = 25 , θ i i = − 90 ∘ \theta_{ii} = -90^\circ θ ii = − 9 0 ∘ ; ∣ Y i j ∣ = 12.5 |Y_{ij}| = 12.5 ∣ Y ij ∣ = 12.5 , θ i j = 90 ∘ \theta_{ij} = 90^\circ θ ij = 9 0 ∘ .
Calculated powers and Q-limit check
With Y i j = ∣ Y i j ∣ ∠ θ i j Y_{ij} = |Y_{ij}|\angle\theta_{ij} Y ij = ∣ Y ij ∣∠ θ ij , V i = ∣ V i ∣ ∠ δ i V_i = |V_i|\angle\delta_i V i = ∣ V i ∣∠ δ i and ϕ i j = θ i j − δ i + δ j \phi_{ij} = \theta_{ij} - \delta_i + \delta_j ϕ ij = θ ij − δ i + δ j :
P i = ∑ j = 1 n ∣ V i ∣ ∣ V j ∣ ∣ Y i j ∣ cos ϕ i j Q i = − ∑ j = 1 n ∣ V i ∣ ∣ V j ∣ ∣ Y i j ∣ sin ϕ i j \begin{aligned}
P_i &= \sum_{j=1}^{n} |V_i||V_j||Y_{ij}|\cos\phi_{ij} \\
Q_i &= -\sum_{j=1}^{n} |V_i||V_j||Y_{ij}|\sin\phi_{ij}
\end{aligned} P i Q i = j = 1 ∑ n ∣ V i ∣∣ V j ∣∣ Y ij ∣ cos ϕ ij = − j = 1 ∑ n ∣ V i ∣∣ V j ∣∣ Y ij ∣ sin ϕ ij
Jacobian elements (polar form, j ≠ i j \ne i j = i ):
∂ P i ∂ δ i = ∑ j ≠ i ∣ V i ∣ ∣ V j ∣ ∣ Y i j ∣ sin ϕ i j ∂ P i ∂ δ j = − ∣ V i ∣ ∣ V j ∣ ∣ Y i j ∣ sin ϕ i j ∂ P i ∂ ∣ V i ∣ = 2 ∣ V i ∣ ∣ Y i i ∣ cos θ i i + ∑ j ≠ i ∣ V j ∣ ∣ Y i j ∣ cos ϕ i j ∂ P i ∂ ∣ V j ∣ = ∣ V i ∣ ∣ Y i j ∣ cos ϕ i j ∂ Q i ∂ δ i = ∑ j ≠ i ∣ V i ∣ ∣ V j ∣ ∣ Y i j ∣ cos ϕ i j ∂ Q i ∂ δ j = − ∣ V i ∣ ∣ V j ∣ ∣ Y i j ∣ cos ϕ i j ∂ Q i ∂ ∣ V i ∣ = − 2 ∣ V i ∣ ∣ Y i i ∣ sin θ i i − ∑ j ≠ i ∣ V j ∣ ∣ Y i j ∣ sin ϕ i j ∂ Q i ∂ ∣ V j ∣ = − ∣ V i ∣ ∣ Y i j ∣ sin ϕ i j \begin{aligned}
\frac{\partial P_i}{\partial \delta_i} &= \sum_{j\ne i} |V_i||V_j||Y_{ij}|\sin\phi_{ij} \\
\frac{\partial P_i}{\partial \delta_j} &= -|V_i||V_j||Y_{ij}|\sin\phi_{ij} \\
\frac{\partial P_i}{\partial |V_i|} &= 2|V_i||Y_{ii}|\cos\theta_{ii} + \sum_{j\ne i} |V_j||Y_{ij}|\cos\phi_{ij} \\
\frac{\partial P_i}{\partial |V_j|} &= |V_i||Y_{ij}|\cos\phi_{ij} \\
\frac{\partial Q_i}{\partial \delta_i} &= \sum_{j\ne i} |V_i||V_j||Y_{ij}|\cos\phi_{ij} \\
\frac{\partial Q_i}{\partial \delta_j} &= -|V_i||V_j||Y_{ij}|\cos\phi_{ij} \\
\frac{\partial Q_i}{\partial |V_i|} &= -2|V_i||Y_{ii}|\sin\theta_{ii} - \sum_{j\ne i} |V_j||Y_{ij}|\sin\phi_{ij} \\
\frac{\partial Q_i}{\partial |V_j|} &= -|V_i||Y_{ij}|\sin\phi_{ij}
\end{aligned} ∂ δ i ∂ P i ∂ δ j ∂ P i ∂ ∣ V i ∣ ∂ P i ∂ ∣ V j ∣ ∂ P i ∂ δ i ∂ Q i ∂ δ j ∂ Q i ∂ ∣ V i ∣ ∂ Q i ∂ ∣ V j ∣ ∂ Q i = j = i ∑ ∣ V i ∣∣ V j ∣∣ Y ij ∣ sin ϕ ij = − ∣ V i ∣∣ V j ∣∣ Y ij ∣ sin ϕ ij = 2∣ V i ∣∣ Y ii ∣ cos θ ii + j = i ∑ ∣ V j ∣∣ Y ij ∣ cos ϕ ij = ∣ V i ∣∣ Y ij ∣ cos ϕ ij = j = i ∑ ∣ V i ∣∣ V j ∣∣ Y ij ∣ cos ϕ ij = − ∣ V i ∣∣ V j ∣∣ Y ij ∣ cos ϕ ij = − 2∣ V i ∣∣ Y ii ∣ sin θ ii − j = i ∑ ∣ V j ∣∣ Y ij ∣ sin ϕ ij = − ∣ V i ∣∣ Y ij ∣ sin ϕ ij
At the flat start:
P 2 0 = 0.0000 , Q 2 0 = 0.5100 P 3 0 = 0.0000 , Q 3 0 = − 0.2500 \begin{aligned}
P_2^{0} &= 0.0000, \quad Q_2^{0} = 0.5100 \\
P_3^{0} &= 0.0000, \quad Q_3^{0} = -0.2500
\end{aligned} P 2 0 P 3 0 = 0.0000 , Q 2 0 = 0.5100 = 0.0000 , Q 3 0 = − 0.2500
Q G 2 = Q 2 0 = 0.5100 Q_{G2} = Q_2^{0} = 0.5100 Q G 2 = Q 2 0 = 0.5100 pu lies within 0 0 0 to 1.5 1.5 1.5 pu, so bus 2 stays a PV bus.
Mismatch vector
Δ P 2 = 0.5000 − ( 0.0000 ) = 0.5000 Δ P 3 = − 1.5000 − ( 0.0000 ) = − 1.5000 Δ Q 3 = − 0.6000 − ( − 0.2500 ) = − 0.3500 \begin{aligned}
\Delta P_2 &= 0.5000 - (0.0000) = 0.5000 \\
\Delta P_3 &= -1.5000 - (0.0000) = -1.5000 \\
\Delta Q_3 &= -0.6000 - (-0.2500) = -0.3500
\end{aligned} Δ P 2 Δ P 3 Δ Q 3 = 0.5000 − ( 0.0000 ) = 0.5000 = − 1.5000 − ( 0.0000 ) = − 1.5000 = − 0.6000 − ( − 0.2500 ) = − 0.3500
Jacobian
∂ P 2 ∂ δ 2 = ( 1.0200 ) ( 1.0000 ) ( 12.5000 ) sin ( 90.00 ∘ ) + ( 1.0200 ) ( 1.0000 ) ( 12.5000 ) sin ( 90.00 ∘ ) = 25.5000 ∂ P 2 ∂ δ 3 = − ( 1.0200 ) ( 1.0000 ) ( 12.5000 ) sin ( 90.00 ∘ ) = − 12.7500 ∂ P 2 ∂ ∣ V 3 ∣ = ( 1.0200 ) ( 12.5000 ) cos ( 90.00 ∘ ) = 0.0000 ∂ P 3 ∂ δ 2 = − ( 1.0000 ) ( 1.0200 ) ( 12.5000 ) sin ( 90.00 ∘ ) = − 12.7500 ∂ P 3 ∂ δ 3 = ( 1.0000 ) ( 1.0000 ) ( 12.5000 ) sin ( 90.00 ∘ ) + ( 1.0000 ) ( 1.0200 ) ( 12.5000 ) sin ( 90.00 ∘ ) = 25.2500 ∂ P 3 ∂ ∣ V 3 ∣ = 2 ( 1.0000 ) ( 25.0000 ) cos ( − 90.00 ∘ ) + ( 1.0000 ) ( 12.5000 ) cos ( 90.00 ∘ ) + ( 1.0200 ) ( 12.5000 ) cos ( 90.00 ∘ ) = 0.0000 ∂ Q 3 ∂ δ 2 = − ( 1.0000 ) ( 1.0200 ) ( 12.5000 ) cos ( 90.00 ∘ ) = 0.0000 ∂ Q 3 ∂ δ 3 = ( 1.0000 ) ( 1.0000 ) ( 12.5000 ) cos ( 90.00 ∘ ) + ( 1.0000 ) ( 1.0200 ) ( 12.5000 ) cos ( 90.00 ∘ ) = 0.0000 ∂ Q 3 ∂ ∣ V 3 ∣ = − 2 ( 1.0000 ) ( 25.0000 ) sin ( − 90.00 ∘ ) − ( 1.0000 ) ( 12.5000 ) sin ( 90.00 ∘ ) − ( 1.0200 ) ( 12.5000 ) sin ( 90.00 ∘ ) = 24.7500 \begin{aligned}
\frac{\partial P_2}{\partial \delta_2} &= (1.0200)(1.0000)(12.5000)\sin(90.00^\circ) + (1.0200)(1.0000)(12.5000)\sin(90.00^\circ) = 25.5000 \\
\frac{\partial P_2}{\partial \delta_3} &= -(1.0200)(1.0000)(12.5000)\sin(90.00^\circ) = -12.7500 \\
\frac{\partial P_2}{\partial |V_3|} &= (1.0200)(12.5000)\cos(90.00^\circ) = 0.0000 \\
\frac{\partial P_3}{\partial \delta_2} &= -(1.0000)(1.0200)(12.5000)\sin(90.00^\circ) = -12.7500 \\
\frac{\partial P_3}{\partial \delta_3} &= (1.0000)(1.0000)(12.5000)\sin(90.00^\circ) + (1.0000)(1.0200)(12.5000)\sin(90.00^\circ) = 25.2500 \\
\frac{\partial P_3}{\partial |V_3|} &= 2(1.0000)(25.0000)\cos(-90.00^\circ) + (1.0000)(12.5000)\cos(90.00^\circ) + (1.0200)(12.5000)\cos(90.00^\circ) = 0.0000 \\
\frac{\partial Q_3}{\partial \delta_2} &= -(1.0000)(1.0200)(12.5000)\cos(90.00^\circ) = 0.0000 \\
\frac{\partial Q_3}{\partial \delta_3} &= (1.0000)(1.0000)(12.5000)\cos(90.00^\circ) + (1.0000)(1.0200)(12.5000)\cos(90.00^\circ) = 0.0000 \\
\frac{\partial Q_3}{\partial |V_3|} &= -2(1.0000)(25.0000)\sin(-90.00^\circ) - (1.0000)(12.5000)\sin(90.00^\circ) - (1.0200)(12.5000)\sin(90.00^\circ) = 24.7500
\end{aligned} ∂ δ 2 ∂ P 2 ∂ δ 3 ∂ P 2 ∂ ∣ V 3 ∣ ∂ P 2 ∂ δ 2 ∂ P 3 ∂ δ 3 ∂ P 3 ∂ ∣ V 3 ∣ ∂ P 3 ∂ δ 2 ∂ Q 3 ∂ δ 3 ∂ Q 3 ∂ ∣ V 3 ∣ ∂ Q 3 = ( 1.0200 ) ( 1.0000 ) ( 12.5000 ) sin ( 90.0 0 ∘ ) + ( 1.0200 ) ( 1.0000 ) ( 12.5000 ) sin ( 90.0 0 ∘ ) = 25.5000 = − ( 1.0200 ) ( 1.0000 ) ( 12.5000 ) sin ( 90.0 0 ∘ ) = − 12.7500 = ( 1.0200 ) ( 12.5000 ) cos ( 90.0 0 ∘ ) = 0.0000 = − ( 1.0000 ) ( 1.0200 ) ( 12.5000 ) sin ( 90.0 0 ∘ ) = − 12.7500 = ( 1.0000 ) ( 1.0000 ) ( 12.5000 ) sin ( 90.0 0 ∘ ) + ( 1.0000 ) ( 1.0200 ) ( 12.5000 ) sin ( 90.0 0 ∘ ) = 25.2500 = 2 ( 1.0000 ) ( 25.0000 ) cos ( − 90.0 0 ∘ ) + ( 1.0000 ) ( 12.5000 ) cos ( 90.0 0 ∘ ) + ( 1.0200 ) ( 12.5000 ) cos ( 90.0 0 ∘ ) = 0.0000 = − ( 1.0000 ) ( 1.0200 ) ( 12.5000 ) cos ( 90.0 0 ∘ ) = 0.0000 = ( 1.0000 ) ( 1.0000 ) ( 12.5000 ) cos ( 90.0 0 ∘ ) + ( 1.0000 ) ( 1.0200 ) ( 12.5000 ) cos ( 90.0 0 ∘ ) = 0.0000 = − 2 ( 1.0000 ) ( 25.0000 ) sin ( − 90.0 0 ∘ ) − ( 1.0000 ) ( 12.5000 ) sin ( 90.0 0 ∘ ) − ( 1.0200 ) ( 12.5000 ) sin ( 90.0 0 ∘ ) = 24.7500
[ J 0 ] = [ 25.5000 − 12.7500 0.0000 − 12.7500 25.2500 0.0000 0.0000 0.0000 24.7500 ] [J^{0}] = \begin{bmatrix} 25.5000 & -12.7500 & 0.0000 \\ -12.7500 & 25.2500 & 0.0000 \\ 0.0000 & 0.0000 & 24.7500 \end{bmatrix} [ J 0 ] = 25.5000 − 12.7500 0.0000 − 12.7500 25.2500 0.0000 0.0000 0.0000 24.7500
Solution of the first iteration
[ 0.5000 − 1.5000 − 0.3500 ] = [ 25.5000 − 12.7500 0.0000 − 12.7500 25.2500 0.0000 0.0000 0.0000 24.7500 ] [ Δ δ 2 Δ δ 3 Δ ∣ V 3 ∣ ] \begin{bmatrix} 0.5000 \\ -1.5000 \\ -0.3500 \end{bmatrix} = \begin{bmatrix} 25.5000 & -12.7500 & 0.0000 \\ -12.7500 & 25.2500 & 0.0000 \\ 0.0000 & 0.0000 & 24.7500 \end{bmatrix}\begin{bmatrix} \Delta\delta_2 \\ \Delta\delta_3 \\ \Delta|V_3| \end{bmatrix} 0.5000 − 1.5000 − 0.3500 = 25.5000 − 12.7500 0.0000 − 12.7500 25.2500 0.0000 0.0000 0.0000 24.7500 Δ δ 2 Δ δ 3 Δ∣ V 3 ∣
[ Δ δ 2 Δ δ 3 Δ ∣ V 3 ∣ ] = [ J 0 ] − 1 [ 0.5000 − 1.5000 − 0.3500 ] = [ − 0.0135 − 0.0662 − 0.0141 ] \begin{bmatrix} \Delta\delta_2 \\ \Delta\delta_3 \\ \Delta|V_3| \end{bmatrix} = [J^{0}]^{-1}\begin{bmatrix} 0.5000 \\ -1.5000 \\ -0.3500 \end{bmatrix} = \begin{bmatrix} -0.0135 \\ -0.0662 \\ -0.0141 \end{bmatrix} Δ δ 2 Δ δ 3 Δ∣ V 3 ∣ = [ J 0 ] − 1 0.5000 − 1.5000 − 0.3500 = − 0.0135 − 0.0662 − 0.0141
δ 2 1 = 0 + ( − 0.0135 ) = − 0.0135 rad = − 0.774 ∘ δ 3 1 = 0 + ( − 0.0662 ) = − 0.0662 rad = − 3.794 ∘ ∣ V 3 ∣ 1 = 1.0000 + ( − 0.0141 ) = 0.9859 pu \begin{aligned}
\delta_2^{1} &= 0 + (-0.0135) = -0.0135\ \text{rad} = -0.774^\circ \\
\delta_3^{1} &= 0 + (-0.0662) = -0.0662\ \text{rad} = -3.794^\circ \\
|V_3|^{1} &= 1.0000 + (-0.0141) = 0.9859\ \text{pu}
\end{aligned} δ 2 1 δ 3 1 ∣ V 3 ∣ 1 = 0 + ( − 0.0135 ) = − 0.0135 rad = − 0.77 4 ∘ = 0 + ( − 0.0662 ) = − 0.0662 rad = − 3.79 4 ∘ = 1.0000 + ( − 0.0141 ) = 0.9859 pu
So V 2 1 = 1.0200 ∠ − 0.774 ∘ V_2^{1} = 1.0200\angle -0.774^\circ V 2 1 = 1.0200∠ − 0.77 4 ∘ pu and V 3 1 = 0.9859 ∠ − 3.794 ∘ V_3^{1} = 0.9859\angle -3.794^\circ V 3 1 = 0.9859∠ − 3.79 4 ∘ pu.
Q-limit check with the new voltages:
Q 2 1 = − Im { V 2 ∗ ∑ k Y 2 k V k } = 0.7089 pu Q G 2 = Q 2 + Q L 2 = 0.7089 pu \begin{aligned}
Q_2^{1} &= -\text{Im}\{V_2^{*}\textstyle\sum_k Y_{2k}V_k\} = 0.7089\ \text{pu} \\
Q_{G2} &= Q_2 + Q_{L2} = 0.7089\ \text{pu}
\end{aligned} Q 2 1 Q G 2 = − Im { V 2 ∗ ∑ k Y 2 k V k } = 0.7089 pu = Q 2 + Q L 2 = 0.7089 pu
This is still within 0 to 1.5 pu, so bus 2 remains a PV bus.
Slack bus power:
P 1 − j Q 1 = V 1 ∗ ∑ k Y 1 k V k = ( 1.0000 ) ( 0.9877 + j 0.0451 ) = 0.9877 + j 0.0451 ⇒ P 1 = 0.9877 pu , Q 1 = − 0.0451 pu P G 1 = P 1 + P L 1 = 0.9877 + 0.00 = 0.9877 pu Q G 1 = Q 1 + Q L 1 = − 0.0451 + 0.00 = − 0.0451 pu \begin{aligned}
P_1 - jQ_1 &= V_1^{*}\textstyle\sum_k Y_{1k}V_k = (1.0000)(0.9877 + j0.0451) \\
&= 0.9877 + j0.0451 \\
\Rightarrow P_1 &= 0.9877\ \text{pu},\quad Q_1 = -0.0451\ \text{pu} \\
P_{G1} &= P_1 + P_{L1} = 0.9877 + 0.00 = 0.9877\ \text{pu} \\
Q_{G1} &= Q_1 + Q_{L1} = -0.0451 + 0.00 = -0.0451\ \text{pu}
\end{aligned} P 1 − j Q 1 ⇒ P 1 P G 1 Q G 1 = V 1 ∗ ∑ k Y 1 k V k = ( 1.0000 ) ( 0.9877 + j 0.0451 ) = 0.9877 + j 0.0451 = 0.9877 pu , Q 1 = − 0.0451 pu = P 1 + P L 1 = 0.9877 + 0.00 = 0.9877 pu = Q 1 + Q L 1 = − 0.0451 + 0.00 = − 0.0451 pu
Answer (after one N-R iteration): δ 2 = − 0.774 ∘ \delta_2 = -0.774^\circ δ 2 = − 0.77 4 ∘ , ∣ V 3 ∣ = 0.9859 |V_3| = 0.9859 ∣ V 3 ∣ = 0.9859 pu, δ 3 = − 3.794 ∘ \delta_3 = -3.794^\circ δ 3 = − 3.79 4 ∘ , Q G 2 = 0.7089 Q_{G2} = 0.7089 Q G 2 = 0.7089 pu, P 1 = 0.9877 P_1 = 0.9877 P 1 = 0.9877 pu, Q 1 = − 0.0451 Q_1 = -0.0451 Q 1 = − 0.0451 pu.