Skip to content

About

IEEE 33-Bus Radial Distribution Network Power Flow & Loss Minimization in MATLAB.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

IEEE 33-Bus Radial Distribution Network Power Flow & Loss Minimization

MATLAB License: MIT Domain

A standalone MATLAB implementation of IEEE 33-Bus Radial Distribution Network Power Flow. Includes the governing dynamics, analytical formulations, and an executable script you can run directly without proprietary third-party dependencies.

Overview

This repository provides a Backward/Forward Sweep (BFS) power flow solver tailored for radial distribution networks using the standard IEEE 33-bus feeder topology. It calculates bus voltages, branch currents, and total real power losses.

Governing Equations & Mathematical Formulation

Backward Current Sweep

$$ I_{k} = \left(\frac{S_{k}}{V_{k}}\right)^* + \sum_{m \in \mathcal{C}_k} I_{km} $$

Forward Voltage Sweep

$$ V_{m} = V_{k} - Z_{km} I_{km} $$

where $S_k$ is the complex power demand at bus $k$, $Z_{km} = R_{km} + j X_{km}$ is the branch impedance, and $\mathcal{C}_k$ is the set of children connected to bus $k$.

Getting Started

Prerequisites

  • MATLAB (tested on R2022b through R2024b)
  • Standard base MATLAB installation (no paid external toolboxes required for this starter script)

Running the Code

  1. Clone the repository:
    git clone https://github.com/matlabsolutions-simulink/matpower-ieee-33-bus-optimal-power-flow.git
    cd matpower-ieee-33-bus-optimal-power-flow
  2. Open MATLAB, navigate to the cloned folder, and run:
    run_ieee33_bus_power_flow

Need the Complete Simulink or Simscape Model?

If you are working on a university capstone, thesis, or lab assignment and need the complete .slx model with Simscape physical networks, custom parameter lookup tables, or automated test harnesses, our team at MATLABSolutions.com provides custom academic simulation and consulting support.

Technical Inquiries & Contact

License

This project is open-source under the MIT License.

About

IEEE 33-Bus Radial Distribution Network Power Flow & Loss Minimization in MATLAB.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages