Bus 1 is the slack bus (1 ∠ 0 ∘ 1\angle 0^\circ 1∠ 0 ∘ ), bus 2 a PV bus (P 2 = 4.0 P_2 = 4.0 P 2 = 4.0 pu, ∣ V 2 ∣ = 1.05 |V_2| = 1.05 ∣ V 2 ∣ = 1.05 pu) and bus 3 a PQ bus (P 3 = − 5 P_3 = -5 P 3 = − 5 , Q 3 = − 4 Q_3 = -4 Q 3 = − 4 pu). Initial guesses: V 2 0 = 1.05 ∠ 0 ∘ V_2^{0} = 1.05\angle 0^\circ V 2 0 = 1.05∠ 0 ∘ , V 3 0 = 1 ∠ 0 ∘ V_3^{0} = 1\angle 0^\circ V 3 0 = 1∠ 0 ∘ .
Y-bus
With y 12 = − j 40 y_{12} = -j40 y 12 = − j 40 , y 13 = − j 20 y_{13} = -j20 y 13 = − j 20 , y 23 = − j 20 y_{23} = -j20 y 23 = − j 20 :
Y b u s = [ − j 60.0000 j 40.0000 j 20.0000 j 40.0000 − j 60.0000 j 20.0000 j 20.0000 j 20.0000 − j 40.0000 ] ⇒ ∣ Y 11 ∣ = ∣ Y 22 ∣ = 60 , ∣ Y 33 ∣ = 40 ( θ = − 90 ∘ ) , ∣ Y 12 ∣ = 40 , ∣ Y 13 ∣ = ∣ Y 23 ∣ = 20 ( θ = 90 ∘ ) Y_{bus} = \begin{bmatrix} -j60.0000 & j40.0000 & j20.0000 \\ j40.0000 & -j60.0000 & j20.0000 \\ j20.0000 & j20.0000 & -j40.0000 \end{bmatrix} \Rightarrow |Y_{11}| = |Y_{22}| = 60,\ |Y_{33}| = 40\ (\theta = -90^\circ),\ |Y_{12}| = 40,\ |Y_{13}| = |Y_{23}| = 20\ (\theta = 90^\circ) Y b u s = − j 60.0000 j 40.0000 j 20.0000 j 40.0000 − j 60.0000 j 20.0000 j 20.0000 j 20.0000 − j 40.0000 ⇒ ∣ Y 11 ∣ = ∣ Y 22 ∣ = 60 , ∣ Y 33 ∣ = 40 ( θ = − 9 0 ∘ ) , ∣ Y 12 ∣ = 40 , ∣ Y 13 ∣ = ∣ Y 23 ∣ = 20 ( θ = 9 0 ∘ )
i) Reactive power at bus 2
Q 2 = − ∑ j = 1 3 ∣ V 2 ∣ ∣ V j ∣ ∣ Y 2 j ∣ sin ( θ 2 j − δ 2 + δ j ) = − [ ( 1.05 ) ( 1 ) ( 40 ) sin 90 ∘ + ( 1.05 ) 2 ( 60 ) sin ( − 90 ∘ ) + ( 1.05 ) ( 1 ) ( 20 ) sin 90 ∘ ] = − [ 42 − 66.15 + 21 ] = 3.1500 pu \begin{aligned}
Q_2 &= -\sum_{j=1}^{3}|V_2||V_j||Y_{2j}|\sin(\theta_{2j} - \delta_2 + \delta_j) \\
&= -\left[(1.05)(1)(40)\sin 90^\circ + (1.05)^2(60)\sin(-90^\circ) + (1.05)(1)(20)\sin 90^\circ\right] \\
&= -\left[42 - 66.15 + 21\right] = 3.1500\ \text{pu}
\end{aligned} Q 2 = − j = 1 ∑ 3 ∣ V 2 ∣∣ V j ∣∣ Y 2 j ∣ sin ( θ 2 j − δ 2 + δ j ) = − [ ( 1.05 ) ( 1 ) ( 40 ) sin 9 0 ∘ + ( 1.05 ) 2 ( 60 ) sin ( − 9 0 ∘ ) + ( 1.05 ) ( 1 ) ( 20 ) sin 9 0 ∘ ] = − [ 42 − 66.15 + 21 ] = 3.1500 pu
Since Q L 2 = 0 Q_{L2} = 0 Q L 2 = 0 , Q G 2 = 3.1500 Q_{G2} = 3.1500 Q G 2 = 3.1500 pu.
ii) Jacobian for the first iteration
Unknowns δ 2 \delta_2 δ 2 , δ 3 \delta_3 δ 3 , ∣ V 3 ∣ |V_3| ∣ V 3 ∣ ; equations Δ P 2 \Delta P_2 Δ P 2 , Δ P 3 \Delta P_3 Δ P 3 , Δ Q 3 \Delta Q_3 Δ Q 3 .
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
∂ P 2 ∂ δ 2 = ( 1.0500 ) ( 1.0000 ) ( 40.0000 ) sin ( 90.00 ∘ ) + ( 1.0500 ) ( 1.0000 ) ( 20.0000 ) sin ( 90.00 ∘ ) = 63.0000 ∂ P 2 ∂ δ 3 = − ( 1.0500 ) ( 1.0000 ) ( 20.0000 ) sin ( 90.00 ∘ ) = − 21.0000 ∂ P 2 ∂ ∣ V 3 ∣ = ( 1.0500 ) ( 20.0000 ) cos ( 90.00 ∘ ) = 0.0000 ∂ P 3 ∂ δ 2 = − ( 1.0000 ) ( 1.0500 ) ( 20.0000 ) sin ( 90.00 ∘ ) = − 21.0000 ∂ P 3 ∂ δ 3 = ( 1.0000 ) ( 1.0000 ) ( 20.0000 ) sin ( 90.00 ∘ ) + ( 1.0000 ) ( 1.0500 ) ( 20.0000 ) sin ( 90.00 ∘ ) = 41.0000 ∂ P 3 ∂ ∣ V 3 ∣ = 2 ( 1.0000 ) ( 40.0000 ) cos ( − 90.00 ∘ ) + ( 1.0000 ) ( 20.0000 ) cos ( 90.00 ∘ ) + ( 1.0500 ) ( 20.0000 ) cos ( 90.00 ∘ ) = 0.0000 ∂ Q 3 ∂ δ 2 = − ( 1.0000 ) ( 1.0500 ) ( 20.0000 ) cos ( 90.00 ∘ ) = 0.0000 ∂ Q 3 ∂ δ 3 = ( 1.0000 ) ( 1.0000 ) ( 20.0000 ) cos ( 90.00 ∘ ) + ( 1.0000 ) ( 1.0500 ) ( 20.0000 ) cos ( 90.00 ∘ ) = 0.0000 ∂ Q 3 ∂ ∣ V 3 ∣ = − 2 ( 1.0000 ) ( 40.0000 ) sin ( − 90.00 ∘ ) − ( 1.0000 ) ( 20.0000 ) sin ( 90.00 ∘ ) − ( 1.0500 ) ( 20.0000 ) sin ( 90.00 ∘ ) = 39.0000 \begin{aligned}
\frac{\partial P_2}{\partial \delta_2} &= (1.0500)(1.0000)(40.0000)\sin(90.00^\circ) + (1.0500)(1.0000)(20.0000)\sin(90.00^\circ) = 63.0000 \\
\frac{\partial P_2}{\partial \delta_3} &= -(1.0500)(1.0000)(20.0000)\sin(90.00^\circ) = -21.0000 \\
\frac{\partial P_2}{\partial |V_3|} &= (1.0500)(20.0000)\cos(90.00^\circ) = 0.0000 \\
\frac{\partial P_3}{\partial \delta_2} &= -(1.0000)(1.0500)(20.0000)\sin(90.00^\circ) = -21.0000 \\
\frac{\partial P_3}{\partial \delta_3} &= (1.0000)(1.0000)(20.0000)\sin(90.00^\circ) + (1.0000)(1.0500)(20.0000)\sin(90.00^\circ) = 41.0000 \\
\frac{\partial P_3}{\partial |V_3|} &= 2(1.0000)(40.0000)\cos(-90.00^\circ) + (1.0000)(20.0000)\cos(90.00^\circ) + (1.0500)(20.0000)\cos(90.00^\circ) = 0.0000 \\
\frac{\partial Q_3}{\partial \delta_2} &= -(1.0000)(1.0500)(20.0000)\cos(90.00^\circ) = 0.0000 \\
\frac{\partial Q_3}{\partial \delta_3} &= (1.0000)(1.0000)(20.0000)\cos(90.00^\circ) + (1.0000)(1.0500)(20.0000)\cos(90.00^\circ) = 0.0000 \\
\frac{\partial Q_3}{\partial |V_3|} &= -2(1.0000)(40.0000)\sin(-90.00^\circ) - (1.0000)(20.0000)\sin(90.00^\circ) - (1.0500)(20.0000)\sin(90.00^\circ) = 39.0000
\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.0500 ) ( 1.0000 ) ( 40.0000 ) sin ( 90.0 0 ∘ ) + ( 1.0500 ) ( 1.0000 ) ( 20.0000 ) sin ( 90.0 0 ∘ ) = 63.0000 = − ( 1.0500 ) ( 1.0000 ) ( 20.0000 ) sin ( 90.0 0 ∘ ) = − 21.0000 = ( 1.0500 ) ( 20.0000 ) cos ( 90.0 0 ∘ ) = 0.0000 = − ( 1.0000 ) ( 1.0500 ) ( 20.0000 ) sin ( 90.0 0 ∘ ) = − 21.0000 = ( 1.0000 ) ( 1.0000 ) ( 20.0000 ) sin ( 90.0 0 ∘ ) + ( 1.0000 ) ( 1.0500 ) ( 20.0000 ) sin ( 90.0 0 ∘ ) = 41.0000 = 2 ( 1.0000 ) ( 40.0000 ) cos ( − 90.0 0 ∘ ) + ( 1.0000 ) ( 20.0000 ) cos ( 90.0 0 ∘ ) + ( 1.0500 ) ( 20.0000 ) cos ( 90.0 0 ∘ ) = 0.0000 = − ( 1.0000 ) ( 1.0500 ) ( 20.0000 ) cos ( 90.0 0 ∘ ) = 0.0000 = ( 1.0000 ) ( 1.0000 ) ( 20.0000 ) cos ( 90.0 0 ∘ ) + ( 1.0000 ) ( 1.0500 ) ( 20.0000 ) cos ( 90.0 0 ∘ ) = 0.0000 = − 2 ( 1.0000 ) ( 40.0000 ) sin ( − 90.0 0 ∘ ) − ( 1.0000 ) ( 20.0000 ) sin ( 90.0 0 ∘ ) − ( 1.0500 ) ( 20.0000 ) sin ( 90.0 0 ∘ ) = 39.0000
[ J 0 ] = [ ∂ P 2 ∂ δ 2 ∂ P 2 ∂ δ 3 ∂ P 2 ∂ ∣ V 3 ∣ ∂ P 3 ∂ δ 2 ∂ P 3 ∂ δ 3 ∂ P 3 ∂ ∣ V 3 ∣ ∂ Q 3 ∂ δ 2 ∂ Q 3 ∂ δ 3 ∂ Q 3 ∂ ∣ V 3 ∣ ] = [ 63 − 21 0 − 21 41 0 0 0 39 ] [J^{0}] = \begin{bmatrix} \frac{\partial P_2}{\partial \delta_2} & \frac{\partial P_2}{\partial \delta_3} & \frac{\partial P_2}{\partial |V_3|} \\ \frac{\partial P_3}{\partial \delta_2} & \frac{\partial P_3}{\partial \delta_3} & \frac{\partial P_3}{\partial |V_3|} \\ \frac{\partial Q_3}{\partial \delta_2} & \frac{\partial Q_3}{\partial \delta_3} & \frac{\partial Q_3}{\partial |V_3|} \end{bmatrix} = \begin{bmatrix} 63 & -21 & 0 \\ -21 & 41 & 0 \\ 0 & 0 & 39 \end{bmatrix} [ J 0 ] = ∂ δ 2 ∂ P 2 ∂ δ 2 ∂ P 3 ∂ δ 2 ∂ Q 3 ∂ δ 3 ∂ P 2 ∂ δ 3 ∂ P 3 ∂ δ 3 ∂ Q 3 ∂ ∣ V 3 ∣ ∂ P 2 ∂ ∣ V 3 ∣ ∂ P 3 ∂ ∣ V 3 ∣ ∂ Q 3 = 63 − 21 0 − 21 41 0 0 0 39
The off-diagonal blocks are zero at the flat start because the network has no resistance and all angles are zero.
For use in the first iteration the mismatch vector is [ Δ P 2 , Δ P 3 , Δ Q 3 ] T = [ 4.00 , − 5.00 , − 3.00 ] T [\Delta P_2,\ \Delta P_3,\ \Delta Q_3]^T = [4.00,\ -5.00,\ -3.00]^T [ Δ P 2 , Δ P 3 , Δ Q 3 ] T = [ 4.00 , − 5.00 , − 3.00 ] T (since P 2 0 = P 3 0 = 0 P_2^0 = P_3^0 = 0 P 2 0 = P 3 0 = 0 and Q 3 0 = − 1.0000 Q_3^0 = -1.0000 Q 3 0 = − 1.0000 ).
Answer: Q 2 = 3.1500 Q_2 = 3.1500 Q 2 = 3.1500 pu; J 0 = [ 63 − 21 0 − 21 41 0 0 0 39 ] J^{0} = \begin{bmatrix} 63 & -21 & 0 \\ -21 & 41 & 0 \\ 0 & 0 & 39 \end{bmatrix} J 0 = 63 − 21 0 − 21 41 0 0 0 39 .