Load Flow Analysis
lookup function reads the data from a file
ybuild builds the Ybus matrix
TOF and SOLVE solves the Ax=b problem using simple substitution
HW51 actually builds the Jacobian and solves the load flow problem!
in 1995 Prof Gerald T Heydt did not believe that load flow analysis could be done in MATLAB. He recommended Fortran, passing the class depended a lot on the load flow project. I was younger then and I was familiar with MATLAB, so I took on the challenge. After a couple weeks of wrestling with it, I was able to solve it. By now this is probably legacy code! Enjoy!
Cite As
Mohamed Belkhayat (2026). Load Flow Analysis (https://ch.mathworks.com/matlabcentral/fileexchange/50668-load-flow-analysis), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Newton Raphson Load Flow
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
