Zbus Building Algorithm

It does direct computation of Zbus of a Power System

You are now following this Submission

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 (2026). Zbus Building Algorithm (https://se.mathworks.com/matlabcentral/fileexchange/25846-zbus-building-algorithm), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Using MATLAB Projects in Simulink 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.2.0.0

It caters out of order entries in file 'data'

1.0.0.0