Skip to main content

Q at PV bus and initial Jacobian

Short answer

With flat guesses V2=1.05∠0°, V3=1∠0°, Q2=QG2=3.15 pu. The first-iteration Jacobian for unknowns δ2, δ3, |V3| is J0 = [[63, −21, 0], [−21, 41, 0], [0, 0, 39]].

Figure below shows the one line diagram of a power system with generators at buses 1 and 2. The line admittances are marked in pu in the diagram. Bus number, active power generation (PG), reactive power generation (QG), active power load (PL), reactive power load (QL), Bus voltage and bus type are tabulated below. All values are in pu. i) Determine reactive power at bus-2 (use initial guess for unknown voltages) ii) Determine Jacobian matrix (J⁰) for the first iteration of N-R load flow method. [Figure: y12 = −j40, y13 = −j20, y23 = −j20; bus 2 with P2 = 4.0 p.u and |V2| = 1.05; load 5 + j4 p.u at bus 3]

Bus No.PGQGPLQLBus voltageBus Type
1??001.0∠0°Slack
24.0?001.05PV
3005.04.0?PQ

Bus 1 is the slack bus (1∠0∘1\angle 0^\circ), bus 2 a PV bus (P2=4.0P_2 = 4.0 pu, ∣V2∣=1.05|V_2| = 1.05 pu) and bus 3 a PQ bus (P3=−5P_3 = -5, Q3=−4Q_3 = -4 pu). Initial guesses: V20=1.05∠0∘V_2^{0} = 1.05\angle 0^\circ, V30=1∠0∘V_3^{0} = 1\angle 0^\circ.

Y-bus

With y12=−j40y_{12} = -j40, y13=−j20y_{13} = -j20, y23=−j20y_{23} = -j20:

Ybus=[−j60.0000j40.0000j20.0000j40.0000−j60.0000j20.0000j20.0000j20.0000−j40.0000]⇒∣Y11∣=∣Y22∣=60, ∣Y33∣=40 (θ=−90∘), ∣Y12∣=40, ∣Y13∣=∣Y23∣=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)

i) Reactive power at bus 2

Q2=−∑j=13∣V2∣∣Vj∣∣Y2j∣sin⁡(θ2j−δ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}

Since QL2=0Q_{L2} = 0, QG2=3.1500Q_{G2} = 3.1500 pu.

ii) Jacobian for the first iteration

Unknowns δ2\delta_2, δ3\delta_3, ∣V3∣|V_3|; equations ΔP2\Delta P_2, ΔP3\Delta P_3, ΔQ3\Delta Q_3.

With Yij=∣Yij∣∠θijY_{ij} = |Y_{ij}|\angle\theta_{ij}, Vi=∣Vi∣∠δiV_i = |V_i|\angle\delta_i and ϕij=θij−δi+δj\phi_{ij} = \theta_{ij} - \delta_i + \delta_j:

Pi=∑j=1n∣Vi∣∣Vj∣∣Yij∣cos⁡ϕijQi=−∑j=1n∣Vi∣∣Vj∣∣Yij∣sin⁡ϕij\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}

Jacobian elements (polar form, j≠ij \ne i):

∂Pi∂δi=∑j≠i∣Vi∣∣Vj∣∣Yij∣sin⁡ϕij∂Pi∂δj=−∣Vi∣∣Vj∣∣Yij∣sin⁡ϕij∂Pi∂∣Vi∣=2∣Vi∣∣Yii∣cos⁡θii+∑j≠i∣Vj∣∣Yij∣cos⁡ϕij∂Pi∂∣Vj∣=∣Vi∣∣Yij∣cos⁡ϕij∂Qi∂δi=∑j≠i∣Vi∣∣Vj∣∣Yij∣cos⁡ϕij∂Qi∂δj=−∣Vi∣∣Vj∣∣Yij∣cos⁡ϕij∂Qi∂∣Vi∣=−2∣Vi∣∣Yii∣sin⁡θii−∑j≠i∣Vj∣∣Yij∣sin⁡ϕij∂Qi∂∣Vj∣=−∣Vi∣∣Yij∣sin⁡ϕij\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} ∂P2∂δ2=(1.0500)(1.0000)(40.0000)sin⁡(90.00∘)+(1.0500)(1.0000)(20.0000)sin⁡(90.00∘)=63.0000∂P2∂δ3=−(1.0500)(1.0000)(20.0000)sin⁡(90.00∘)=−21.0000∂P2∂∣V3∣=(1.0500)(20.0000)cos⁡(90.00∘)=0.0000∂P3∂δ2=−(1.0000)(1.0500)(20.0000)sin⁡(90.00∘)=−21.0000∂P3∂δ3=(1.0000)(1.0000)(20.0000)sin⁡(90.00∘)+(1.0000)(1.0500)(20.0000)sin⁡(90.00∘)=41.0000∂P3∂∣V3∣=2(1.0000)(40.0000)cos⁡(−90.00∘)+(1.0000)(20.0000)cos⁡(90.00∘)+(1.0500)(20.0000)cos⁡(90.00∘)=0.0000∂Q3∂δ2=−(1.0000)(1.0500)(20.0000)cos⁡(90.00∘)=0.0000∂Q3∂δ3=(1.0000)(1.0000)(20.0000)cos⁡(90.00∘)+(1.0000)(1.0500)(20.0000)cos⁡(90.00∘)=0.0000∂Q3∂∣V3∣=−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} [J0]=[∂P2∂δ2∂P2∂δ3∂P2∂∣V3∣∂P3∂δ2∂P3∂δ3∂P3∂∣V3∣∂Q3∂δ2∂Q3∂δ3∂Q3∂∣V3∣]=[63−210−214100039][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}

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 [ΔP2, ΔP3, ΔQ3]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 (since P20=P30=0P_2^0 = P_3^0 = 0 and Q30=−1.0000Q_3^0 = -1.0000).

Answer: Q2=3.1500Q_2 = 3.1500 pu; J0=[63−210−214100039]J^{0} = \begin{bmatrix} 63 & -21 & 0 \\ -21 & 41 & 0 \\ 0 & 0 & 39 \end{bmatrix}.

✓ Answer checked by Claude Sonnet 5.5

All Power System Analysis II chapter 2 questions →