Zbus using bus building algorithm
Version 1.0.0 (150 KB) by
Muthiah Viswanathan
Zbus for a particular n bus power system is found
There are four types of modifications possible:
- Type 1 modification: between a new bus and the reference bus
- Type 2 modification: between a new bus and an old bus
- Type 3 modification: between an old bus and the reference bus
- Type 4 modification: between two old buses
For each type of modification, the code performs the necessary calculations to update the Z-bus matrix.
After each modification, the code displays the updated Z-bus matrix using the disp function.
Finally, the code prints a message indicating that the Z-bus matrix has been calculated using the bus building algorithm and displays the calculated Z-bus matrix using the disp function.
Overall, this code implements the bus building algorithm for calculating the Z-bus matrix for a power system network. The code uses MATLAB functions such as xlsread, zeros, disp, and input to read data from an Excel sheet, initialize the Z-bus matrix, display the output, and prompt the user for input.
Cite As
Muthiah Viswanathan (2026). Zbus using bus building algorithm (https://uk.mathworks.com/matlabcentral/fileexchange/126275-zbus-using-bus-building-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
