← All courses KANSAS STATE UNIVERSITY / ECE 685

L32 / Power-flow analysis

Power Flow I

Connect devices, terminal directions, complex power and KCL before assigning generator controls.

Available25 slides
Physical network equations and bus balance

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.

L32 original slide 1 of 25
L32 · 1 / 25
Slide text
Loading slide text.

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

A 90 MW + j30 Mvar load means a negative net injection. If we choose a plausible voltage vector, will the network automatically supply that load? Write the physical equations first, then inspect the mismatch.
  • Identify bus voltage, device power, and the two terminal currents and powers of a branch.
  • Derive bus power balance from branch equations and KCL with consistent reference directions.
  • Distinguish evaluating trial voltages from solving the operating point.
Physical network equations and bus balance: baseline circuit or quantitative model illustration
Model illustration at baseline inputs. Change the parameters in the next section to explore the live diagram.

Devices share a bus voltage

V_i=|V_i|e^{j\theta_i}

A one-line retains the physical bus and branch connections of a balanced three-phase network. A bus has one complex RMS voltage. Generator power supplied to a bus and load power withdrawn from it are separately defined; neither is a branch parameter.

Generation minus load is net injection

S_i=(P_{G,i}-P_{L,i})+j(Q_{G,i}-Q_{L,i})

Positive net injection supplies the passive network. At bus 3 there is no generation, so a 90 MW, 30 Mvar load on 100 MVA gives S3=−0.90−j0.30 pu. Powers are total three-phase quantities on the common base; the per-unit S=VI* equation needs no extra factor of three.

Two terminal currents, both directed into the branch

\begin{gathered}I_{ik}=y_{ik}(V_i-V_k)+j\frac{b_c}{2}V_i\\I_{ki}=y_{ik}(V_k-V_i)+j\frac{b_c}{2}V_k\end{gathered}

For a unity-tap nominal pi line, add each end charging current to its series current. Without charging, the currents at the two ends are negatives. With charging, they generally are not. The L32 three-bus exercise uses the series-only form.

Terminal power and branch absorption

\begin{gathered}S_{ik}=V_iI_{ik}^{*},\quad S_{ki}=V_kI_{ki}^{*}\\P_{\rm loss}=\Re(S_{ik}+S_{ki})\end{gathered}

Use the voltage at the same terminal and conjugate its current. For transfer i to k, sent power is Sik and delivered power is −Ski. Their real parts sum to the resistive loss. Net reactive absorption can be negative when line charging supplies more than the series reactance absorbs.

KCL connects the branch and device powers

\begin{gathered}I_i(V)=\sum_{k\in\mathcal N_i}I_{ik}+y_{{\rm sh},i}V_i\\S_{G,i}-S_{L,i}=V_i[I_i(V)]^{*}\end{gathered}

Sum only the terminal currents connected to the bus. Include a separate bus shunt once; line charging is already inside the line terminal currents. Conjugate KCL and multiply by the common bus voltage to obtain the complex power balance.

Physical equations precede operating specifications

\begin{gathered}\Delta P_3=P_{3,\rm spec}-P_3(V)\\\Delta Q_3=Q_{3,\rm spec}-Q_3(V)\end{gathered}

The source exercise asks for symbolic relations, not solved voltages. Generator powers and bus voltages remain symbolic until later operating controls are supplied. The web experiment evaluates the later L33 trial vector only to make the physical equations visible. A mismatch is an unmet specification, not a KCL failure.

Baseline example: check each step

  1. Convert the load to a net injection: S3,spec=−90/100−j30/100=−0.90−j0.30 pu.
  2. Write I3=y13(V3−V1)+y23(V3−V2); use exactly the two connected terminal currents.
  3. At the stated trial vector, I3=−0.320634921+j0.231746032 pu. Use S3=V3 I3*, not V3 I3.
  4. S3(V)=−0.318857143−j0.220698413 pu, so ΔP3=−0.581142857 and ΔQ3=−0.079301587 pu. The 90 MW load is not served at these trial voltages.
  5. The total branch real loss is 0.646978302 MW. Sum all bus P injections and compare with that loss, without requiring each bus to match its specified device power.
Original slide headings for this lecture25
  1. 1Power Flow I
  2. 2Lecture outline
  3. 3PART 1: System components and quantities
  4. 4Three-machine, nine-bus single-line diagram
  5. 5Generator and load powers
  6. 6Voltage at a bus
  7. 7Transmission line quantities
  8. 8Transformer quantities
  9. 9Quantities in the network model
  10. 10PART 2: Physical equations
  11. 11Net bus injection
  12. 12Branch current from endpoint voltages
  13. 13Branch powers and losses
  14. 14From current balance to power balance
  15. 15The equations connect devices to the network
  16. 16PART 3: Write the physical equations
  17. 17Exercise: given network
  18. 18Exercise: branch data
  19. 19Exercise: device powers
  20. 20Exercise: write the equations
  21. 21Reference: branch and bus currents
  22. 22Reference: power balance at every bus
  23. 23Reference: branch powers
  24. 24From a network to physical equations
  25. 25Summary
Cross-check the original slides

02 / EXPLORE

Change one input and explain the response

Change Im(V3) and predict P3 before moving the control. Then change the specified load: which network quantities stay fixed at the same voltages? Finally rotate every voltage angle together and explain why powers do not change. The curves change one trial voltage coordinate at a time; they do not find a simultaneous P/Q solution.

Advanced parameters / test readings

Preparing the model.

Calculated bus 3 P—
Calculated bus 3 Q—
Specified minus calculated P3—
Specified minus calculated Q3—
Total branch real loss—
Network reactive absorption—

Trial voltage angle: calculated and specified P3

Trial voltage magnitude: calculated and specified Q3

Current intermediate values and numerical checks

Balanced positive-sequence steady-state model on the fixed common 100 MVA base. Voltages are trial inputs, not a nonlinear power-flow solution. Generator operating controls, PV/PQ/slack assignments, limits and voltage iteration belong to later lectures. The series exercise has no charging or bus shunts; L33 adds these explicitly. The optional tap is on the bus 1 side of branch 1–2, neglecting excitation. Every terminal current points into its passive branch.

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

Common 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; all three branches in service. Trial V=(1.02, 1.00, 0.98−j0.02) pu is borrowed from L33 for numerical evaluation. The L32 bus 3 load target is 90 MW + j30 Mvar; it is not satisfied by these trial voltages.

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

±1e-05 pu
±1e-05 pu
±1e-05 pu

The branch/KCL residual is near zero, but ΔP3 is −0.581143 pu. What does this mean?

Finally, explain in your own words

  1. What are the inputs, references, and main assumptions?
  2. Change Im(V3) and predict P3 before moving the control. Then change the specified load: which network quantities stay fixed at the same voltages? Finally rotate every voltage angle together and explain why powers do not change. The curves change one trial voltage coordinate at a time; they do not find a simultaneous P/Q 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 · L32

Course learning assistant

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

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