Newton-Raphson Load Flow Analysis

This MATLAB program implements NR load flow analysis on a 26-bus power system, computing bus voltages and power flows along with losses.
21 Downloads
Updated 14 May 2025

View License

The program performs Newton-Raphson-based power flow analysis on a test system with 26 buses. It constructs the admittance matrix (Y-bus), initializes bus and line data, and iteratively solves nonlinear power equations using Jacobian-based updates. It enforces generator reactive power limits and computes mismatches until convergence.
Post-convergence, it calculates branch power flows and losses in both directions and aggregates system-wide losses. The script outputs numerical results and generates visual plots of bus voltages, bus voltage deviation indices (BVDI), voltage angles, and active/reactive power losses, aiding in assessing system stability and efficiency.

Cite As

Ashenafi Tesfaye (2025). Newton-Raphson Load Flow Analysis (https://uk.mathworks.com/matlabcentral/fileexchange/181145-newton-raphson-load-flow-analysis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0