← All courses KANSAS STATE UNIVERSITY / ECE 685

L34 / Power-flow analysis

Power Flow III

Specify slack/PV/PQ data, reproduce the solved three-bus case, and interpret a separate lossless line.

Available28 slides
Operating specifications, bus types and power transfer

01 / UNDERSTAND & PREDICT

Understand the model, then predict the result

Finalized lecture slides

Open / download original PDF ↗

Follow the original explanations, diagrams, derivations, and examples in slide order, then use the companion experiment below.

L34 original slide 1 of 28
L34 · 1 / 28
Slide text
Loading slide text.

Figures and page order follow the student PDF for this lecture.

L32 wrote the physical equations and L33 evaluated trial voltages. Now choose the specified quantities: which three voltages must be solved, and why is a negative generator Q a valid result?
  • Derive full P/Q sums including each self term and distinguish them from branch formulas.
  • Identify specified and dependent quantities at PQ, PV and slack buses.
  • Reproduce the source solution and check load matching, generator outputs and losses.
  • Explain the assumptions behind a separate lossless line power-angle curve.
Operating specifications, bus types and power transfer: baseline circuit or quantitative model illustration
Model illustration at baseline inputs. Change the parameters in the next section to explore the live diagram.

Keep the self term and conjugate the full current

\begin{aligned}P_i&=|V_i|\sum_{k=1}^{n}|V_k|\\&\quad(G_{ik}\cos\theta_{ik}+B_{ik}\sin\theta_{ik})\\Q_i&=|V_i|\sum_{k=1}^{n}|V_k|\\&\quad(G_{ik}\sin\theta_{ik}-B_{ik}\cos\theta_{ik})\end{aligned}

Every Yik is an entry of the assembled Y-bus. The sums include k=i: the diagonal contributes |Vi|²Gii to P and −|Vi|²Bii to Q. The positive Bik sin term follows from (−j)(j)=+1. Net bus powers are generation minus local load on the common three-phase base.

Count all quantities, then the voltage unknowns

4n-2n=2n,\qquad n_{V,\rm unknown}=2n_{PQ}+n_{PV}

Each bus has four real quantities P, Q, |V| and angle. The 2n power relations plus 2n operating specifications determine 2n remaining quantities. After eliminating dependent powers, one connected network with one slack has 2nPQ+nPV voltage unknowns. In this example there are six remaining quantities in total, but only three voltage unknowns.

A bus type chooses specifications, not different physics

\begin{gathered}PQ:(P,Q)\to(|V|,\theta)\\PV:(P,|V|)\to(\theta,Q)\\Slack:(|V|,\theta)\to(P,Q)\end{gathered}

PQ fixes P and Q; solve magnitude and angle. PV fixes net P and magnitude; solve angle, then calculate Q. Slack fixes magnitude and reference angle; calculate P and Q. Every bus still obeys both power relations. A generator icon alone does not assign its operating role.

Reproduce the specified three-bus operating point

\begin{gathered}x=(\theta_2,\theta_3,|V_3|)\\f=(P_{2,\rm spec}-P_2,\ P_{3,\rm spec}-P_3,\ Q_{3,\rm spec}-Q_3)\end{gathered}

Use the unchanged L32/L33 series impedances on 100 MVA. Bus 1 now has |V1|=1.03 and angle 0. Bus 2 has net P2=0.55 and |V2|=1.01. Bus 3 has P3=−0.90, Q3=−0.30. Solve theta2, theta3 and |V3| using P2, P3 and Q3. The web numerical helper reproduces the state; iteration methods are developed in later lectures.

Recover generator powers and reconcile the network

P_{G1}+P_{G2}-P_L=\sum R_{ik}|I_{ik}|^2

At the source solution, Q2≈−16.1649 Mvar means generator 2 absorbs reactive power while supplying 55 MW. PV voltage control does not prescribe the sign of Q. With no local loads at buses 1 and 2, their injections equal generator outputs. Total generation supplies the 90 MW demand plus about 2.8855 MW of resistive losses. This experiment does not impose generator Q limits.

Separate line: ideal power-angle relation

\begin{gathered}P_{ik}=\frac{|V_i||V_k|}{X}\sin\delta=-P_{ki}\\P_{\max}=\frac{|V_i||V_k|}{X},\qquad\delta=\theta_i-\theta_k\end{gathered}

For a separate two-terminal line with z=jX, X>0, no charging or shunts, hold both voltage magnitudes fixed. Its branch susceptance is −1/X, whereas its Y-bus off-diagonal is +j/X. Real power reaches its algebraic maximum at 90°. This is not a thermal rating or proof of secure operation; actual operating margins depend on the network and contingencies.

Zero real loss does not mean zero reactive absorption

\begin{gathered}Q_{ik}=\frac{|V_i|^2-|V_i||V_k|\cos\delta}{X}\\Q_{ki}=\frac{|V_k|^2-|V_i||V_k|\cos\delta}{X}\\Q_{ik}+Q_{ki}=\frac{|V_i-V_k|^2}{X}\ge0\end{gathered}

Both terminal powers are positive into the line. At equal angles and Vi>Vk, the high-voltage end supplies Q and the other end receives part of it; the line absorbs the difference. At nonzero angle, both ends may supply Q. The separate line controls and curves do not change the full three-bus network or certify a secure operating region.

Baseline example: check each step

  1. Use the P2, P3 and Q3 equations for the three voltage unknowns (theta2, theta3, |V3|); calculate P1, Q1 and Q2 afterward.
  2. The reproduced solution is V2=1.01000∠0.31081324° and V3=0.96441375∠−3.65230906°, consistent with the source rounded values.
  3. P1=37.88547754 MW, Q1=54.88714872 Mvar, and Q2=−16.16487306 Mvar. Negative Q2 is reactive absorption at the regulated generator.
  4. Total real loss is 37.88547754+55−90=2.88547754 MW. Check the same result by summing branch R|I|².
  5. The selected mismatches are specified minus calculated (P2, P3, Q3); all approach zero. Full polar P/Q and complex VI* calculations agree.
  6. For the separate lossless line at 20°, P=176.1404 MW, Qi=46.5083 Mvar and Qk=16.0583 Mvar. Both terminals supply reactive power into that line. Its ideal Pmax is 515 MW at 90°, not an operating rating.
  7. Set the separate line angle to zero: P=0, Qi=15.45 Mvar, Qk=−15.00 Mvar, so the line absorbs 0.45 Mvar.
Original slide headings for this lecture28
  1. 1Power Flow III
  2. 2Lecture outline
  3. 3PART 1: Power equations
  4. 4Current and power relations
  5. 5The general bus power equation
  6. 6Polar form and conjugation
  7. 7Expanding each term
  8. 8Separating real and reactive power
  9. 9Bus injection equations
  10. 10Specified operating data
  11. 11Determined by the network
  12. 12PART 2: Bus types
  13. 13Quantities and equations
  14. 14Specified and unknown quantities
  15. 15Bus types and equation selection
  16. 16The power flow problem
  17. 17PART 3: Power transfer on an inductive line
  18. 18The inductive line model
  19. 19Real and reactive line power
  20. 20Maximum real power transfer
  21. 21Secure operational region
  22. 22Reactive power and the magnitude difference
  23. 23PART 4: Worked example
  24. 24Example: Three-bus system
  25. 25Example: Known and unknown quantities
  26. 26Example: Power flow equations
  27. 27Example: Numerical solution
  28. 28Summary
Cross-check the original slides

02 / EXPLORE

Change one input and explain the response

Change the load, generator schedule or voltage targets and explain the solved bus 3 voltage, slack P and PV Q. Then expand the independent lossless-line controls: compare delta=0° and 20°, and test the power-angle maximum. These two-terminal controls do not change the three-bus solution.

Advanced parameters / test readings

Preparing the model.

Solved PQ bus |V3|—
Solved PV bus angle—
Solved PQ bus angle—
Slack real generation—
Slack reactive generation—
PV reactive generation (+ supply)—
Full network real loss—
Largest selected power mismatch—
Separate line: P into end i—
Separate line: Q into end i—
Separate line: Q into end k—
Separate line: ideal Pmax—

Separate lossless line: fixed-magnitude power-angle curve

Separate lossless line: reactive transfer at equal angles

Current intermediate values and numerical checks

Balanced positive-sequence steady state on 100 MVA; fixed three-bus topology, series impedances, unity taps, no charging or shunts. The numerical helper seeks the high-voltage solution from a flat start; it does not enumerate all roots or impose generator Q, thermal or contingency limits. A nonconverged case is not displayed as a solved point. The separate lossless line uses its own stated inputs; its algebraic maximum is not a secure transfer limit.

03 / EDIT & COMPUTE

Edit code to reproduce the model independently

Reproduce the baseline, then modify the parameter scan. The source contains reusable independent model functions; edit the current function and inspect numerical checks.

case is a snapshot of the controls when you press Run. Call solve(case) and assign the final solution to result to plot it.

Download teaching models

The first run needs internet access to download Python. Computation stays in your browser; the solver uses only the standard library.

Ready to run.

Output appears here.
Inspect and edit the model source (advanced)

Edit this module's function and run again. case.module selects the module; solve(case) returns values, plots, and checks. The parameter experiment keeps the original JavaScript reference for comparison.

04 / CHECK & EXPLAIN

Companion experiment practice and feedback

Fixed practice inputs

Full network: 100 MVA base; z12=0.018+j0.060, z13=0.070+j0.210, z23=0.045+j0.135 pu; unity taps, no charging or shunts. Slack V1=1.03∠0°, PV P2=55 MW and |V2|=1.01; PQ load=90 MW+j30 Mvar. Independently, the illustrative lossless line has |Vi|=1.03, |Vk|=1.00, X=0.20 pu and delta=20° on the same 100 MVA base.

Practice uses fixed baseline inputs independently of the controls. Each field displays its tolerance.

±2e-05 pu
±0.001 MW
±0.001 Mvar
±0.001 MW

At the PV bus, Q2≈−16.1649 Mvar. Which interpretation matches this model?

Finally, explain in your own words

  1. What are the inputs, references, and main assumptions?
  2. Change the load, generator schedule or voltage targets and explain the solved bus 3 voltage, slack P and PV Q. Then expand the independent lossless-line controls: compare delta=0° and 20°, and test the power-angle maximum. These two-terminal controls do not change the three-bus solution.
  3. Did your code edit change physical parameters, the method, or representation bases? Which check helps identify that?

Passing numerical and understanding checks records this lecture’s companion practice as “practice checks passed.”

ECE 685 · L34

Course learning assistant

Ask about course material, request an explanation, or follow up.

Choose a context, then ask “What does this mean?”