L32 / Power-flow analysis
Power Flow I
Connect devices, terminal directions, complex power and KCL before assigning generator controls.
01 / UNDERSTAND & PREDICT
Understand the model, then predict the result
- 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.
Devices share a bus voltage
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
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
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
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
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
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
- Convert the load to a net injection: S3,spec=−90/100−j30/100=−0.90−j0.30 pu.
- Write I3=y13(V3−V1)+y23(V3−V2); use exactly the two connected terminal currents.
- At the stated trial vector, I3=−0.320634921+j0.231746032 pu. Use S3=V3 I3*, not V3 I3.
- 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.
- 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.
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.
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.
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.
Last Python run and current control reference
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
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.
See the worked solution
- Convert the load to a net injection: S3,spec=−90/100−j30/100=−0.90−j0.30 pu.
- Write I3=y13(V3−V1)+y23(V3−V2); use exactly the two connected terminal currents.
- At the stated trial vector, I3=−0.320634921+j0.231746032 pu. Use S3=V3 I3*, not V3 I3.
- 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.
- 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.
Finally, explain in your own words
- What are the inputs, references, and main assumptions?
- 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.
- 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.”
