Radial Harmonic Power Flow

.m files for solving power flow and harmonic load flow for power systems.

You are now following this Submission

.m file to solve harmonic load flow for power systems (Matlab 2009).
Line Matrix is line impedance matrix.
load_power Matrix is P+jQ matrix of the loads.
source matrix is the complex value of the harmonic sources and they considered as a harmonic current source for each harmonic frequency.
the code contains 3 example including IEEE 34 bus test system.
Please note that this algorithm first solves load flow for fundamental frequency and then solves harmonic load flow using the results of previous step, individually for each harmonic order.
**I'm not the main writer of this code and also I'm not professional programmer, I've just modified this code for my own purpose and just share it here for your help.
Reference:
Masoud Farhoodnea, Azah Mohamed, Hussain Shareef. Harmonic Source Localization in Power Systems: Single and Multiple Harmonic Sources. 2011, LAMBERT Academic Publishing (LAP). ISBN: 978-3-8443-2639-0

Cite As

m f (2026). Radial Harmonic Power Flow (https://www.mathworks.com/matlabcentral/fileexchange/34197-radial-harmonic-power-flow), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Modeling in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0