Zbus Building Algorithm
This file computes Zbus of a power system directly. It does not follow the approach of first computing Ybus and then taking its inverse, which can be cumbersome when number of buses are large.
The method of computing Zbus is taken from the book:
John J.Grainger, William D.Stevenson,Jr., Power System Analysis
Usage:
It reads the data about the network from a file 'data'.
Each line in file 'data' has the following record:
Bus1 Bus2 Resistance Reactance
Where Bus1 & Bus2 are the bus numbers of buses considered and the next two entries are resistance & reactance between them.
Caution:
Any bus which is assigned bus number=1, must be connected to reference (0)
Cite As
Arslan Shahid (2024). Zbus Building Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/25846-zbus-building-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.