Electrical Power System

Chapter 3
Power-Flow Analysis

Post Graduate Program in Electrical Engineering
Electrical Power System   •   Post Graduate

3. Power-Flow Analysis

Introduction and Context

Power-flow analysis, also called load-flow analysis, is the steady-state calculation of bus voltages, voltage angles, branch currents, real-power flows, reactive-power flows, and system losses in an interconnected power network. It is one of the principal analytical tools of power-system planning and operation. Unlike transient or short-circuit studies, a load-flow study assumes balanced three-phase operation and examines the network under a specified operating condition.

The results answer practical questions: Are bus voltages within acceptable limits? Which transmission lines are heavily loaded? How much reactive power is required? What are the real and reactive losses? Can a generator, transformer, or line be removed without violating operating limits? These questions connect mathematical computation with decisions concerning network expansion, dispatch, voltage control, reliability, and security.

A power-flow problem is nonlinear because real and reactive power depend on products of voltage magnitudes and trigonometric functions of voltage-angle differences. Consequently, numerical methods are required. This chapter develops the bus-admittance formulation and examines Gauss–Seidel, Newton–Raphson, fast-decoupled, and DC load-flow methods. It also considers limits, losses, voltage profiles, contingency assessment, computational implementation, and professional interpretation of results.

Learning Objectives

After studying this chapter, the reader should be able to:

1. Formulate an AC power-flow problem using the bus-admittance matrix.

2. Classify buses as slack, PV, or PQ buses and identify their specified and unknown variables.

3. Derive the real- and reactive-power mismatch equations.

4. Explain and implement Gauss–Seidel and Newton–Raphson methods.

5. Describe the assumptions and operating procedure of the fast-decoupled method.

6. Formulate the DC load-flow approximation and interpret its results.

7. Calculate branch flows and system losses and assess voltage and equipment limits.

8. Apply contingency analysis and evaluate the engineering significance of convergence and sensitivity.

The Network Model and Bus Variables

For an n-bus system, the nodal equation is

I = Ybus V,

where I and V are the vectors of injected bus currents and bus voltages, and Ybus is the bus-admittance matrix. Its diagonal element contains the sum of admittances connected to the bus, while an off-diagonal element is the negative of the mutual admittance between two buses. Transformer off-nominal tap ratios, shunts, and line charging can be incorporated into Ybus.

At bus i,

I_i = Σ Yij V_j.

The complex power injected into the network is

S_i = P_i + jQ_i = V_i I_i*.

Writing V_i = |V_i|∠δ_i and Yij = Gij + jBij gives

P_i = Σ |V_i||V_j|[Gij cos(δ_i−δ_j)+Bij sin(δ_i−δ_j)],

Q_i = Σ |V_i||V_j|[Gij sin(δ_i−δ_j)−Bij cos(δ_i−δ_j)].

These equations constitute the AC power-flow model. Sign conventions must be established at the outset. In this chapter, positive P and Q denote net injection into the network; generator output is positive and load is represented by negative injection.

Bus Classification

The slack bus, or reference bus, has specified voltage magnitude and angle, normally δ = 0. Its real and reactive powers are calculated after the solution is obtained. It balances the mismatch caused by network losses and by any inconsistency between specified generation and demand.

At a PV bus, real power P and voltage magnitude |V| are specified. The angle δ is unknown, while Q is calculated. If the calculated Q exceeds generator capability, the bus must be converted to a PQ bus by fixing Q at the limiting value and allowing voltage magnitude to vary.

At a PQ bus, real and reactive powers are specified, usually representing a load bus. Both voltage magnitude and angle are unknown. A well-posed system normally requires one slack bus and an appropriate combination of PV and PQ buses.

The distinction between specified and calculated variables is fundamental. A common implementation error is to update voltage magnitude at a PV bus without enforcing its specified value, or to assign both P and Q independently at the slack bus.

Formulation of the Nonlinear Solution

For each non-slack bus, the specified and calculated powers are compared. The mismatches are

ΔP_i = P_i^spec − P_i^calc,

and, for PQ buses,

ΔQ_i = Q_i^spec − Q_i^calc.

The solution is accepted when all mismatches satisfy prescribed tolerances and all operating constraints are checked. A small mismatch does not by itself guarantee an acceptable operating point: voltage, generator reactive-power, and branch thermal limits must also be examined.

The nonlinear equations may have multiple mathematical solutions, poor conditioning, or no feasible solution under severe stress. Thus, convergence is a numerical property, whereas feasibility is an engineering property. Both must be assessed.

Gauss–Seidel Iteration

The Gauss–Seidel method solves one bus voltage at a time using the latest available values. For a PQ bus, the voltage update can be written as

V_i^(k+1) = (1/Yii)[(P_i−jQ_i)/(V_i^(k))* − Σ(j<i)YijV_j^(k+1) − Σ(j>i)YijV_j^(k)].

At a PV bus, Q is first calculated from the current voltages. The voltage obtained from the update is then adjusted to the specified magnitude:

V_i^(k+1) ← |V_i|^spec V_i^(k+1)/|V_i^(k+1)|.

The slack voltage remains fixed. An acceleration factor may be used to improve convergence, but excessive acceleration can cause oscillation or divergence.

Gauss–Seidel is attractive because it is simple, requires modest memory, and is useful for teaching and small systems. Its disadvantages are slow convergence, sensitivity to the initial guess and acceleration factor, and weak performance in large or heavily loaded networks. It may fail where Newton–Raphson still converges.

Newton–Raphson Method

Newton–Raphson linearizes the mismatch equations around the present estimate. In polar coordinates,

[ΔP; ΔQ] = J [Δδ; Δ|V|],

where J is the Jacobian matrix:

J = [∂P/∂δ ∂P/∂|V|; ∂Q/∂δ ∂Q/∂|V|].

The angle corrections are associated with all non-slack buses. Voltage-magnitude corrections are associated only with PQ buses, because PV magnitudes are specified. The process is repeated:

1. Initialize bus voltages.

2. Calculate P and Q.

3. Form mismatches.

4. Construct and factor the Jacobian.

5. Solve for corrections.

6. Update angles and PQ voltage magnitudes.

7. Recalculate until convergence.

The Jacobian submatrices are often denoted H, N, M, and L. Newton–Raphson has rapid, usually quadratic, local convergence and is comparatively robust for large systems. Its costs are the construction and factorization of a matrix at each iteration, careful treatment of bus-type changes, and greater implementation complexity. Poor scaling, incorrect derivatives, or inconsistent units can lead to apparent nonconvergence.

A flat start uses |V| = 1.0 per unit and δ = 0 for non-slack buses. A better initial condition may be obtained from a previous operating point or a DC solution. Continuation methods, which gradually increase load or transfer, are useful when the desired operating point is close to a voltage-collapse boundary.

Fast-Decoupled Power Flow

In high-voltage transmission networks, resistance is often small relative to reactance, voltage-angle differences are small, and changes in real power are strongly associated with angle changes, whereas changes in reactive power are strongly associated with voltage-magnitude changes. This leads to the approximate decoupling

ΔP ≈ B' Δδ,

ΔQ ≈ B'' Δ|V|.

The matrices B' and B'' are formed from simplified network susceptances and are usually factorized once. The same factors are reused at every iteration, which greatly reduces computation for large sparse systems.

The fast-decoupled method is particularly effective for transmission systems with moderate loading and predominantly inductive branches. Its accuracy decreases in distribution networks with high R/X ratios, in systems containing extensive phase-shifting or unusual transformers, and under severe voltage stress. It is therefore an approximation, not a universal replacement for full Newton–Raphson.

The method also clarifies an important physical relationship: active-power transfers are primarily controlled by angle differences, while reactive-power balance is closely linked to voltage magnitudes. This relationship supports voltage-control and congestion-management decisions, although the two controls are not completely independent in a real network.

DC Load Flow

The DC load flow is a linear approximation of active-power flow. It assumes:

  • voltage magnitudes are approximately 1.0 per unit;
  • angle differences are small;
  • line resistance and reactive effects are neglected;
  • shunt charging and losses are neglected;
  • power flows are represented by network reactances.

For a branch between i and j,

Pij ≈ (δ_i−δ_j)/Xij.

After selecting a reference bus, the reduced susceptance matrix B satisfies

P = Bδ.

The solution directly provides bus angles and approximate active-power flows. DC analysis is fast, transparent, and useful for screening, market studies, transfer capability estimation, and contingency ranking. It does not provide voltage magnitudes, reactive-power flows, voltage stability information, or accurate losses. A DC result should therefore not be interpreted as evidence that AC voltage and reactive limits are satisfied.

Branch Flows, Losses, and Operating Limits

Once bus voltages are known, the current and complex power on a branch are calculated from its π-equivalent model. For a simple series branch,

Iij = yij(V_i−V_j) + y^sh_ij V_i,

Sij = V_i Iij*.

The reverse-direction flow Sji is calculated separately. The branch loss is

Sloss,ij = Sij + Sji.

Summing all branch losses provides the network loss, subject to consistent treatment of shunts and transformer models. The slack-bus real-power injection approximately equals total generation minus total demand and losses.

Important constraints include generator active- and reactive-power limits, bus-voltage limits, transformer tap ranges, line and transformer thermal ratings, and phase-angle or stability-related limits. A practical study reports both the numerical result and the binding constraint. For example, reducing a line flow by redispatch may worsen a low-voltage condition elsewhere because active and reactive effects are coupled.

Voltage profiles deserve special attention. A gradual decline in voltage along a heavily loaded corridor can indicate inadequate reactive support or proximity to voltage instability. Remedies may include capacitor banks, static VAR devices, synchronous condensers, transformer tap changes, generator voltage control, network reinforcement, or controlled load reduction. The selected remedy should be evaluated with a new AC power-flow solution rather than assumed from a single sensitivity.

Contingency Analysis and Sensitivity

Contingency analysis evaluates the system after credible disturbances, such as the outage of a transmission line, transformer, or generator. An N−1 study removes one element at a time, modifies Ybus, and solves the resulting power flow. Results are screened for nonconvergence, voltage violations, overloads, excessive angle separation, and generator-limit violations.

Fast screening can use DC line-outage distribution factors or sensitivity factors to estimate changes in active-power flow without solving every full AC case. However, shortlisted critical contingencies should be confirmed using AC analysis because voltage and reactive-power effects may dominate.

A contingency ranking index can combine normalized overloads and voltage deviations, for example:

PI = Σ w_l(|S_l|/S_l^max)^{2m} + Σ w_v(|V_i−V_i^lim|/V_i^base)^{2m},

where weights and exponent m emphasize severe violations. Such indices assist operators but do not replace engineering judgment. A mathematically ranked contingency may be less operationally important than another event involving protection, cascading, or restoration complexity.

Illustrative Case Study: Weak-Corridor Planning Study

Background

Consider an illustrative three-bus transmission system. Bus 1 is a slack generator at 1.04 per unit. Bus 2 is a generator PV bus with specified real injection and voltage magnitude of 1.02 per unit. Bus 3 is a PQ load bus supplying a growing industrial area.

Situation

Under the base case, an AC Newton–Raphson solution converges, but Bus 3 operates near its lower voltage limit and the corridor connecting Bus 2 to Bus 3 carries a high percentage of its thermal rating. A proposed industrial expansion increases both real and reactive demand at Bus 3.

Analysis

A DC study predicts the increase in corridor active-power flow and provides a rapid first estimate of the required transfer. It does not reveal the associated voltage decline. The full AC study shows that reactive demand causes the Bus 3 voltage to fall more rapidly than the active-power result suggests. The PV generator also approaches its reactive-power upper limit. When that limit is enforced, Bus 2 changes from PV to PQ, and the voltage profile deteriorates further.

An N−1 outage of the parallel support line produces an overload and a low-voltage violation. A fast-decoupled solution provides useful screening, but Newton–Raphson is used for the final assessment because the system has relatively high loading and significant voltage sensitivity.

Approach and Solution

Three alternatives are tested: a switched capacitor bank near Bus 3, a higher generator voltage set point subject to reactive limits, and reinforcement of the corridor. The capacitor improves the local voltage and releases generator reactive capability, but the line outage still causes an overload. Reinforcement removes both the thermal and post-contingency voltage problem.

Outcome

The study demonstrates that a converged base-case power flow is not sufficient for planning approval. The expansion is acceptable only after the selected reinforcement is verified under the base case and credible outage cases, with generator limits and voltage criteria enforced.

Learning Points

The case illustrates the complementary roles of DC screening and AC validation, the importance of PV-to-PQ conversion, the interaction between reactive support and voltage profile, and the need to assess contingencies rather than only normal operation.

Implementation, Digital Tools, and Professional Practice

Modern power-flow programs use sparse matrix storage and sparse LU factorization because transmission networks have far fewer connections than possible bus pairs. Robust software also provides automatic bus-type switching, limit enforcement, transformer tap control, continuation methods, contingency queues, and detailed audit reports. Interfacing with supervisory control and data acquisition systems allows state-estimation results to become the starting point for operational studies.

Automation does not remove the need for engineering review. Bad topology, incorrect breaker status, stale measurements, inconsistent base quantities, or incorrect transformer taps can produce plausible but misleading results. Model governance should include version control, validation against field data, documented assumptions, independent checking of critical cases, and controlled access to operational models. Results used for dispatch or reliability decisions should be traceable and reproducible.

Emerging applications include probabilistic power flow, which represents uncertainty in renewable generation, demand, and outages; adaptive security analysis; and machine-learning models that screen large numbers of operating states. Such tools can accelerate assessment, but physics-based AC solutions remain essential for validation and for cases outside the training or screening domain.

Common Errors and Best Practices

Frequent errors include using inconsistent per-unit bases, reversing the sign of load injections, omitting line charging, mishandling transformer taps, assigning an incorrect slack-bus balance, and accepting convergence without checking limits. Another error is interpreting a DC solution as a complete security assessment.

Good practice is to establish conventions before coding, validate Ybus by checking symmetry where appropriate and row contributions, begin with a transparent small test system, monitor the maximum mismatch rather than only iteration count, and compare independent formulations for selected cases. A professional report should state the base quantities, bus types, tolerances, convergence status, limiting elements, losses, and contingency assumptions.

Chapter Summary

Power-flow analysis determines the steady-state electrical condition of an interconnected system. The AC formulation is based on Ybus and nonlinear relationships between bus powers, voltage magnitudes, and voltage angles. Slack, PV, and PQ buses differ in their specified and unknown quantities. Gauss–Seidel is simple but relatively slow; Newton–Raphson is robust and rapidly convergent; fast-decoupled methods exploit the approximate separation of active-power-angle and reactive-power-voltage relationships. DC load flow provides a valuable linear approximation for active-power screening but cannot assess voltage or reactive limits.

A complete engineering study calculates branch flows and losses, enforces generator and equipment limits, examines voltage profiles, and evaluates credible contingencies. Numerical convergence must be distinguished from physical feasibility. Modern sparse computation, automation, probabilistic methods, and digital operational platforms extend power-flow analysis, but accurate models, documented assumptions, and engineering judgment remain essential.

Key Terms

Bus-admittance matrix: Matrix relating bus currents to bus voltages in nodal form.

Slack bus: Reference bus whose voltage is specified and whose power injection balances system mismatch and losses.

PV bus: Bus with specified real power and voltage magnitude.

PQ bus: Bus with specified real and reactive power.

Power mismatch: Difference between specified and calculated bus power.

Jacobian: Matrix of partial derivatives used to linearize the nonlinear power-flow equations.

Gauss–Seidel method: Sequential voltage-iteration technique using newly updated values immediately.

Newton–Raphson method: Iterative method based on Jacobian linearization of power mismatches.

Fast-decoupled load flow: Approximate method separating active-power-angle and reactive-power-voltage calculations.

DC load flow: Linear active-power model based primarily on branch reactances.

Per-unit system: Normalized representation using selected voltage and power bases.

Voltage profile: Variation of voltage magnitude across system buses.

Reactive-power limit: Maximum or minimum reactive output permitted for a generator or device.

PV-to-PQ switching: Conversion of a voltage-controlled bus when its reactive limit is reached.

Contingency analysis: Evaluation of system behavior after specified outages or disturbances.

N−1 criterion: Requirement that the system remain within defined limits after one credible outage.

Network loss: Real or reactive power dissipated in network elements.

Sparse factorization: Efficient matrix factorization exploiting the limited connectivity of power networks.

Continuation power flow: Method that traces operating points as load or transfer is gradually changed.

Review Questions

Short Answer Questions

1. Why is one bus designated as the slack bus in an AC power-flow study?

2. Distinguish between PV and PQ buses.

3. What information is neglected in a DC load-flow model?

4. Define a power mismatch and state its role in iterative solution methods.

5. Why may a PV bus be converted to a PQ bus?

Long Answer Questions

1. Derive the polar-coordinate expressions for real and reactive bus power from S_i = V_iI_i*.

2. Explain the complete Newton–Raphson power-flow algorithm, including the structure of its Jacobian.

3. Compare Gauss–Seidel, Newton–Raphson, fast-decoupled, and DC load-flow methods in terms of assumptions, computation, and applications.

4. Explain how branch flows, network losses, voltage limits, and generator reactive limits are evaluated after convergence.

5. Describe a systematic N−1 contingency-analysis procedure and explain why AC confirmation is required after DC screening.

Analytical / Application Questions

1. A generator at a PV bus reaches its maximum reactive-power output during an iteration. Explain the required bus-type change and predict its likely effect on voltage regulation.

2. A DC study shows no line overload after a proposed transfer increase, but an AC study shows a low-voltage violation. Explain the discrepancy and recommend two possible corrective actions.

3. A fast-decoupled solution fails to converge in a high-R/X distribution network. Identify the modeling reason and select a more appropriate solution strategy.

22. Multiple Choice Questions with Answers

Question 1

Which bus absorbs the real-power mismatch associated with network losses in a conventional load-flow formulation?

A. Every PQ bus equally

B. The slack bus

C. Each PV bus according to its voltage magnitude

D. The bus with the largest load

Correct Answer: B. The slack bus

Question 2

At a PV bus, which pair is normally specified before solving the power flow?

A. Reactive power and voltage angle

B. Voltage magnitude and reactive power

C. Real power and voltage magnitude

D. Real power and voltage angle

Correct Answer: C. Real power and voltage magnitude

Question 3

What is the principal reason for converting a PV bus to a PQ bus?

A. The slack angle is undefined

B. The generator reaches a reactive-power limit

C. The branch resistance becomes zero

D. The bus has no connected load

Correct Answer: B. The generator reaches a reactive-power limit

Question 4

In the Newton–Raphson method, the Jacobian relates:

A. Branch currents to transformer taps

B. Power mismatches to voltage-state corrections

C. Network losses to generator costs

D. Bus admittances to line ratings

Correct Answer: B. Power mismatches to voltage-state corrections

Question 5

Which approximation is central to the DC load-flow model?

A. Reactive power is calculated accurately from voltage magnitudes

B. Voltage magnitudes are approximately 1.0 per unit and angle differences are small

C. Line resistance is dominant over reactance

D. Generator reactive limits are enforced directly

Correct Answer: B. Voltage magnitudes are approximately 1.0 per unit and angle differences are small

Question 6

Why is the fast-decoupled method computationally efficient?

A. It avoids forming the bus-admittance matrix

B. It uses no iterative process

C. Its approximate matrices can often be factorized once and reused

D. It calculates only reactive-power flow

Correct Answer: C. Its approximate matrices can often be factorized once and reused

Question 7

A converged load-flow solution has a bus voltage below its prescribed minimum. What is the correct engineering conclusion?

A. The case is acceptable because numerical convergence was achieved

B. The case is infeasible or violates an operating constraint and requires corrective action

C. The slack bus should automatically be removed

D. The DC model should replace the AC model

Correct Answer: B. The case is infeasible or violates an operating constraint and requires corrective action

Question 8

For a simple lossless branch in a DC load flow, active power is approximately proportional to:

A. The difference in voltage magnitudes divided by resistance

B. The sum of voltage magnitudes multiplied by reactance

C. The difference in voltage angles divided by reactance

D. Reactive-power demand divided by voltage magnitude

Correct Answer: C. The difference in voltage angles divided by reactance

Question 9

Why should a shortlisted contingency identified by DC screening generally be checked with AC power flow?

A. DC power flow cannot estimate active-power transfer

B. AC analysis is needed to assess voltage magnitudes, reactive effects, and losses

C. DC analysis always predicts larger losses

D. AC analysis does not require a network model

Correct Answer: B. AC analysis is needed to assess voltage magnitudes, reactive effects, and losses

Question 10

In a heavily loaded corridor, adding local reactive support most directly tends to:

A. Improve local voltage and reduce reactive transfer through the corridor

B. Eliminate all real-power losses

C. Fix the slack-bus angle at every bus

D. Increase the branch resistance

Correct Answer: A. Improve local voltage and reduce reactive transfer through the corridor

Electrical Power System
Chapter 3 of 15