Skip to content
OnlyProjects
M.Tech / M.E. · Electrical EngineeringFor educational purposes only

Comparative Study of Load-Flow Algorithms on IEEE Bus Systems with an Indian Grid Context

Gauss-Seidel, Newton-Raphson and fast decoupled, implemented from scratch and judged on numbers

Mapped to your syllabusVTU M.Tech 2022 Scheme · 22SXX41 Project Work Phase-2 · Semester 4

Overview

1 min read

Load flow is the single most executed calculation in power system planning and operation, and three classical algorithms still underpin it: Gauss-Seidel, Newton-Raphson (NR) and the fast decoupled (FD) method. This dissertation implements all three from first principles in Python with NumPy, runs them on the standard IEEE 14, 30, 57 and 118-bus test systems obtained from the University of Washington Power Systems Test Case Archive, and compares them under declared metrics: iterations to a stated tolerance, wall-clock time per solution, final power mismatch, memory pattern of the Jacobian, and robustness under stress.

Two experiments take the study beyond a textbook exercise. First, a loading scale-up raises every system's load in steps until each algorithm stops converging, mapping each method's practical stability region. Second, a high R/X stress test perturbs line parameters to emulate the high resistance-to-reactance ratios typical of Indian 11 kV and 33 kV rural distribution feeders — exactly the networks where the decoupling assumptions behind the FD method are known to strain, and where Indian state utilities still run daily power-flow studies.

Every implementation is cross-validated against pandapower and MATPOWER published solution results (bus voltages within 0.0001 per-unit, angles within 0.01 degrees) before any comparison is trusted. The discussion chapter ties the findings to Indian grid practice — CEA planning criteria, Grid-India's demand-met data volumes, and the daily study cycles of state load dispatch centres. The result is a lab-safe, zero-hardware, fully reproducible dissertation in the classic measurement-study mould expected of Project Work Phase-2.

Relevant for
Karnataka
Level
Advanced · 24 weeks · solo
Common at
Visvesvaraya Technological University, Anna University, Chennai, Jawaharlal Nehru Technological University Hyderabad
Updated
Nov 2026

Syllabus alignment

VTU · M.Tech 2022 Scheme

22SXX41 · Project Work Phase-2 · Semester 4 · 18 credits · CIE 100 + SEE 100 (viva)

Subjects this project applies
  • Research Methodology & IPR (22RMI16)
  • Python programming
  • Power System Analysis (core/elective)
  • Advanced Power System Studies (elective)
How it is evaluated

50 : 25 : 25 (report : presentation : Q&A)

Also fits: Anna University M.E. Regulation 2021, JNTUH M.Tech R22.

What's in the box

11 parts · 5 free · 3 previewed · 3 unlock for ₹2,000

Problem & synopsis

6 min read

Problem statement

Power engineers routinely choose a load-flow solver without being able to justify the choice numerically. Gauss-Seidel survives in teaching and in some distribution tools; Newton-Raphson is the default of modern packages; the fast decoupled method still runs in daily utility studies — yet typical academic exposure amounts to one hand-worked three-bus example and a table of iteration counts copied from a textbook, with no declared tolerance, no cross-validation and no sense of where each algorithm breaks down.

The gap is sharper in the Indian context: rural 11 kV and 33 kV feeders commonly exhibit high R/X ratios that violate the assumptions behind fast decoupled load flow, but the consequence is rarely demonstrated numerically on a standard benchmark. There is a need for a rigorous, reproducible comparison that (a) implements the three algorithms from first principles, (b) cross-validates them against established open-source solvers with declared tolerances, (c) measures convergence, speed, robustness and stress behaviour on the IEEE 14/30/57/118-bus systems, and (d) translates the measured results into guidance for transmission and distribution practice, including high R/X feeder studies of the kind common in Indian state utilities.

Synopsis

Abstract

Every planning decision on a power network — where to add generation, whether a feeder can carry a new load, what happens when a line trips — begins with a load-flow solution. Three classical iterative algorithms dominate: Gauss-Seidel (simple, slow), Newton-Raphson (quadratic convergence, per-iteration cost) and the fast decoupled method (approximate Jacobians, the workhorse of daily utility studies). This dissertation implements the three from scratch in Python, validates them against established open-source solvers, and measures their convergence, speed, robustness and stress behaviour on the IEEE 14, 30, 57 and 118-bus standard test systems, closing with an Indian-grid discussion of when each method is the right tool.

Introduction

Indian power system practice runs on load flow: state load dispatch centres and transmission utilities execute study after study for scheduling, expansion planning and outage assessment, distribution engineers run feeder studies on networks whose lines often have high R/X ratios very different from transmission practice, and CEA's planning criteria assume such studies underpin every proposal. An engineer who has implemented the algorithms, not merely invoked them, understands why a study converges or fails — knowledge this dissertation builds deliberately.

Existing work and the gap

  • The founding papers (Tinney and Hart 1967 on Newton's method; Stott and Alsac 1974 on fast decoupled load flow) established the algorithms and their convergence claims decades ago.
  • Standard packages (MATPOWER, pandapower) ship industrial implementations, but a student who only calls runpp() never sees why the choice of algorithm matters.
  • Published classroom comparisons typically report iteration counts on one small system with no validation, no stress testing and no link to practical grid contexts. The gap: a declared-metric, cross-validated, stress-tested comparison on standard systems, reproducible by any college lab at zero cost, with an explicit Indian-distribution-context discussion.

Proposed study

  • Implement Gauss-Seidel, Newton-Raphson and the XB fast decoupled method from first principles, with sparse iteration structures where they matter.
  • Validate all three against pandapower and MATPOWER reference solutions with declared tolerances before any experiment.
  • Measure iterations, wall-clock time, mismatch history and memory structure on all four IEEE systems; map convergence failure under uniform loading scale-up; run the high R/X stress sweep modelling Indian rural feeder parameters.
  • Publish every table, curve and tolerance in a version-controlled notebook pack.

Feasibility

  • Technical: the four test systems are public in the IEEE Common Data Format; all three algorithms are well documented in the literature; a laptop runs everything in seconds.
  • Economic: zero cost — open-source toolchain, no licensed software, no hardware.
  • Risk: silent implementation errors are the main threat, which is why cross-validation against two independent solvers with declared tolerances is a gating step, not an afterthought.

Objectives

  1. 01Implement the Gauss-Seidel, Newton-Raphson and fast decoupled (XB variant) load-flow algorithms from first principles in Python with NumPy, including Y-bus construction, PQ/PV/slack bus handling and reactive-power-limit enforcement for PV buses.
  2. 02Parse the IEEE 14, 30, 57 and 118-bus test systems in the IEEE Common Data Format from the University of Washington archive and reproduce their published base-case solutions.
  3. 03Cross-validate all three implementations against pandapower and MATPOWER reference results, with declared tolerances of 0.0001 per-unit on voltage magnitudes and 0.01 degrees on angles, before running any comparison.
  4. 04Compare the algorithms under declared metrics: iterations to convergence at 0.0001 per-unit mismatch, wall-clock time per solution, final mismatch, Jacobian memory structure and per-iteration cost.
  5. 05Map the practical stability of each algorithm by uniform loading scale-up from 1.0 to the point of convergence failure on each system.
  6. 06Quantify the effect of high R/X ratios — emulating Indian 11/33 kV rural feeder parameters — on the convergence and accuracy of each algorithm, especially the fast decoupled method.
  7. 07Derive practitioner guidance: which algorithm to choose for transmission-scale studies, distribution feeder studies and day-ahead bulk study cycles in an Indian utility setting.

Scope

In scope

  • Three classical algorithms implemented from scratch: Gauss-Seidel, Newton-Raphson with full Jacobian, and the XB fast decoupled variant.
  • The IEEE 14, 30, 57 and 118-bus standard test systems in the IEEE Common Data Format, used unmodified for base cases.
  • Declared metrics: iterations, wall-clock time, mismatch history, Jacobian memory structure, convergence-failure loading level, high R/X stress response.
  • Cross-validation against pandapower and MATPOWER reference results with stated tolerances; all code and results version-controlled.
  • A discussion chapter mapping results to Indian transmission and distribution practice (CEA planning criteria context, SLDC study cycles, high R/X rural feeders).

Out of scope

  • Optimal power flow, security-constrained dispatch, contingency screening and state estimation — this study stays on deterministic base-case load flow.
  • DC (linearised) power flow as a competitor algorithm; it appears only in background discussion.
  • Regulator and phase-shifter modelling, HVDC links and FACTS devices; the standard test systems' native modelling is used as published.
  • Any interaction with live grid data, utility systems or real-time operations — the study is entirely offline on public benchmark data.

Methodology

The study follows a quantitative, simulation-experimental research design in four gated stages: implement → validate → experiment → analyse. Each stage ends in a written gate: no experiment runs until validation passes, no analysis until experiments are complete and logged. Version-controlled Jupyter notebooks hold the entire chain, and every dissertation table regenerates from a tagged run.

Protocol skeleton: one Python 3.10+ environment with pinned NumPy/SciPy versions; test-case data fixed at download with file hashes recorded; wall-clock timing by a common timer harness with each algorithm executed 20 times per case and the median reported (to remove startup noise); convergence declared at maximum bus mismatch below 0.0001 per-unit, with the mismatch history stored for every run.

PhaseWeeksActivitiesDeliverable
Literature & theory1–3Study Tinney & Hart (1967), Stott & Alsac (1974), Grainger & Stevenson chapters; fix protocol and tolerancesTheory + protocol document
Implementation4–8Y-bus builder, three algorithm modules, CDF parser, mismatch and timing harnessValidated code base
Cross-validation9–11Reproduce base-case solutions; compare against pandapower and MATPOWER within declared tolerances; fix deviationsValidation report
Experiments12–17Full metric runs on four systems; loading scale-up to failure; high R/X stress sweepResults dataset
Analysis & writing18–21Tables, convergence curves, discussion incl. Indian grid context, dissertation draftingDraft dissertation
Review & viva prep22–24Guide reviews, plagiarism check, presentation, rehearsalFinal submission

Experiment design: the loading scale-up multiplies every PQ-bus load by a factor raised in 0.02 steps until an algorithm fails to converge within 100 iterations; the high R/X sweep multiplies line resistances by factors from 1.0 to 3.0 in steps, holding reactances fixed, and records iterations, mismatch trajectory and final solution error against the NR reference. Validation: the cross-check against two independent solvers is itself a test of the Y-bus and parser, not just the iteration loops; a hand-worked 3-bus case additionally anchors the parser. Reproducibility: median-of-20 timing, pinned environment, fixed data hashes, and a scripted regeneration of every figure.

Study design

1 diagram · 5 tools · 1 min read

  • Python
  • NumPy
  • SciPy
  • pandapower (cross-check, industry-standard open-source)
  • MATPOWER (reference results, open-source)

The study is a small computation stack with a strict one-way data flow: a data layer parses and hashes the IEEE CDF files into a common network model; a solver layer holds the three algorithms behind one common interface; an experiment layer times, stress-tests and logs every run; and an analysis layer renders every table and curve from logged arrays. Cross-validation against pandapower and MATPOWER sits beside the solver layer as an independent referee.

flowchart TD
  A["IEEE CDF test cases
14 / 30 / 57 / 118 bus"] --> B["Data layer
Y-bus, bus and branch model"]
  B --> C["Solver layer
Gauss-Seidel, Newton-Raphson, fast decoupled"]
  C --> D["Cross-validation gate
pandapower and MATPOWER references"]
  D --> E["Experiment layer
metrics, loading scale-up, high R/X sweep"]
  E --> F["Run logs
mismatch history, timings, failure points"]
  F --> G["Analysis layer
tables, convergence curves, trade-off discussion"]
  G --> H["Dissertation results
and Indian-grid discussion chapter"]

The common solver interface is the design decision that makes the comparison fair: all three algorithms receive the same network model, the same initial guess (flat start, with a documented Gauss-Seidel warm-start exception), the same tolerance and the same timer. The cross-validation gate is placed before the experiment layer deliberately — a solver that has not reproduced pandapower and MATPOWER base cases within 0.0001 per-unit produces no experimental numbers. This is the classic measurement-study shape: frozen inputs, refereed instruments, logged experiments, reproducible outputs.

Work packages

6 packages

  1. Package 01

    Network Data Layer

    Parses the IEEE Common Data Format files for the 14, 30, 57 and 118-bus systems, builds the Y-bus matrix and per-unit bus/branch model, records file hashes for reproducibility, and includes a hand-worked 3-bus anchor case that tests the parser and Y-bus construction independently of the iteration algorithms.

  2. Package 02

    Gauss-Seidel Solver

    Implements the classical bus-by-bus iteration with acceleration factor, flat-start initialisation, PQ/PV/slack handling and a documented convergence-factor study, serving as the pedagogical baseline whose slow linear convergence the other two methods are measured against.

  3. Package 03

    Newton-Raphson Solver

    Implements the full Jacobian formulation in polar coordinates with correct ordering, sparse LU solution via SciPy, mismatch vector computation and reactive-limit enforcement for PV buses, representing the modern industrial default whose speed and robustness anchor the comparison.

  4. Package 04

    Fast Decoupled Solver

    Implements the XB variant with constant B-prime and B-double-prime matrices formed once per case, P-theta and Q-V alternate iterations and the same tolerance and limit logic as the other solvers, so that its speed advantage and its high R/X sensitivity are both measured on identical terms.

  5. Package 05

    Cross-Validation Gate

    Compares all three solvers' base-case solutions against pandapower and MATPOWER reference results on every system, enforcing the declared 0.0001 per-unit and 0.01 degree tolerances, and blocks the experiment layer until every solver passes on every case.

  6. Package 06

    Experiment and Analysis Layer

    Runs the metric campaign (median-of-20 timings, iteration counts, mismatch histories), the loading scale-up to convergence failure, and the high R/X stress sweep, then renders all dissertation tables and curves from the logged arrays with a single regeneration script.

Slides

11 slides · titles free · bullets, notes and the .pptx unlock

  1. Slide 1

    Comparative Study of Load-Flow Algorithms on IEEE Bus Systems

  2. Slide 2

    Why Compare Solvers at All

  3. Slide 3

    Problem Statement

  4. Slide 4

    The Three Algorithms

  5. Slide 5

    Benchmark Systems and Metrics

  6. Slide 6

    Cross-Validation Gate

  7. Slide 7

    Results — Base-Case Comparison

  8. Slide 8

    Results — Stress Behaviour

  9. Slide 9

    Indian Grid Context

  10. Slide 10

    Reproducibility and Limitations

  11. Slide 11

    Conclusion and Future Scope

Bullets, speaker notes and the .pptx · ₹2,000

The titles above are the real outline. The rest is what you present from.

Unlock for ₹2,000

Viva questions & answers

3 of 14 answered free · 11 unlock

Read each answer, close it, and say it in your own words. Your viva will ask. Now you'll know.

  1. 01Concept

    Why does Newton-Raphson converge quadratically while Gauss-Seidel converges linearly?

    Newton-Raphson solves the full linearised system each iteration, so once close to the solution its error squares per step, giving quadratic convergence. Gauss-Seidel merely updates buses one at a time using the latest available voltages with no Jacobian information, so error shrinks by a roughly constant factor per iteration — geometric, not quadratic — which my mismatch-history curves show directly.

  2. 02Concept

    What are the assumptions behind fast decoupled load flow, and why do they usually hold?

    It assumes active power depends mainly on bus angle differences and reactive power mainly on voltage magnitudes, and that branch reactances dominate resistances, allowing two constant approximate matrices B-prime and B-double-prime instead of a per-iteration Jacobian. The assumptions hold on transmission networks because line X substantially exceeds R and angle effects dominate, which is precisely why my high R/X sweep is the experiment that stresses the method.

  3. 03Concept

    What is the role of the slack bus, and why must exactly one exist?

    The slack bus supplies the reference angle and absorbs the generation-minus-load imbalance that is unknown until the solution exists, because losses are only computed during iteration. Exactly one slack is required for a well-posed problem: angles need a reference, and the power balance equation needs one free degree of freedom to be satisfiable.

+11 more questions, with answers

Try the free ones out loud first. Your examiner will not accept “it's in the PPT”.

How to reproduce the study

6 steps · unlocks with the project

Unlocks with the project · ₹2,000

6 steps

Every step to carry the project out with the tools in the tech stack, in order.

Unlock for ₹2,000

READMEFIRST

214 words · unlocks with the project

What to change before it goes anywhere near a submission. Skipping it is how the demo fails live.

Unlocks with the project · ₹2,000

214 words · ~1 min read

The checklist of things to rename, re-seed and re-think so the project reads as yours.

Unlock for ₹2,000

Instructions

331 words · unlocks with the project

How to study it, adapt it and walk your examiner through it, step by step.

Unlocks with the project · ₹2,000

331 words · ~2 min read

Report structure, formatting rules and the submission checklist your department will grade.

Unlock for ₹2,000

References

8 sources

  1. W. F. Tinney and C. E. Hart, "Power Flow Solution by Newton's Method", IEEE Transactions on Power Apparatus and Systems, vol. PAS-86, no. 11, pp. 1449–1460, 1967
  2. B. Stott and O. Alsac, "Fast Decoupled Load Flow", IEEE Transactions on Power Apparatus and Systems, vol. PAS-93, no. 3, pp. 859–869, 1974
  3. Power Systems Test Case Archive, University of Washington Electrical Engineering (IEEE 14/30/57/118-bus data)
  4. MATPOWER: free open-source MATLAB/Octave power system simulation package — documentation
  5. pandapower — open-source Python power system analysis library — documentation
  6. J. D. Glover, M. S. Sarma and T. J. Overbye, Power System Analysis & Design, 6th ed., Cengage Learning
  7. Central Electricity Authority (CEA), Ministry of Power, Government of India — regulations, reports and planning data
  8. Grid Controller of India Limited (Grid-India / NLDC) — grid operation reports and demand-met data

Cite this bundle

OnlyProjects. (2026). Comparative Study of Load-Flow Algorithms on IEEE Bus Systems with an Indian Grid Context: M.Tech / M.E. Electrical Engineering project bundle [Educational resource]. https://onlyprojects.online/projects/mtech-ee-load-flow-algorithm-comparison-ieee-bus-systems

Future scope

1 min read

  • Extend to the IEEE 300-bus system and a large synthetic Indian-style network to study how sparse Jacobian handling changes the speed rankings at scale.
  • Add the BX decoupled variant and a DC linearised flow, completing the classical algorithm family in one framework.
  • Model Indian rural feeder data explicitly: build a documented 15-bus 11 kV feeder case with realistic high R/X conductor parameters and rerun the full campaign.
  • Wrap the validated solvers into an open teaching toolkit with exercised notebooks for power-systems courses.

Keep browsing

Same degree, same syllabus slot, different idea. Pick the one your guide will actually approve.

M.Tech / M.E.

Aerospace / Aeronautical

NACA 0012 Airfoil CFD Validation Study Against XFOIL with Mesh Convergence

A mesh-converged OpenFOAM study of the NACA 0012 aerofoil validated against XFOIL and NASA's turbulence-modelling reference data

  • OpenFOAM v12 (finite-volume CFD, SA and k-ω SST models)
  • XFOIL 6.99 (panel method with integral boundary layer)
  • Gmsh and blockMesh for structured C-grid generation
  • +3

advanced24 wkSolo