Y Bus (Admittance Matrix) Formation

By using Code, you can form the Y Bus matrix, Here you can use for 1. N Bus System 2. Tap ratio 3. Line Charge Impedance
637 Downloads
Updated 19 Sep 2022

View License

% follows:
% 1 -- Start Bus
% 2 -- End Bus
% 3 -- Line Impedance (R + jX)
% 4 -- Line charging admittance(b_l)/2. The data should be b_l/2.
% 5 -- tap ratio
% 1 2 3 4 5
%% Sample Input 1 (3 Buses)
linedata=[
1 2 0.0200+0.0800j 0.000j 1.00
1 3 0.0300+0.0900j 0.000j 1+0j
2 3 0.0100+0.0600j 0.005j 1+0j];
Ybus(linedata);

Cite As

Ankit Meena (2025). Y Bus (Admittance Matrix) Formation (https://in.mathworks.com/matlabcentral/fileexchange/117775-y-bus-admittance-matrix-formation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0