View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Admittance Bus (Y-Bus) Formation

3.0 | 2 ratings Rate this file 54 Downloads (last 30 days) File Size: 2.88 KB File ID: #19512 Version: 1.2

Admittance Bus (Y-Bus) Formation


Praviraj PG (view profile)


09 Apr 2008 (Updated )

This program can be used for admittance bus formation for load flow analysis.

| Watch this File

File Information

This program can be used for admittance bus formation for load flow analysis.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
04 Dec 2016 Muhammad Danish Ali

please mail me universal Y bus formation data or function

Comment only

it solved my problem, thanks

Comment only
28 Jul 2016 kannan selva

pleasae i need ybus matlab code explanation

20 Apr 2016 prasad sandy

pleasae i need ybus matlab code for large power system with parallel lines connected between buses

Comment only
16 Jan 2014 drakshayani ks

no comment

Comment only
16 Feb 2013 Valeriu

your algorithm needs to consider at diagonal elements also the shunt elements susceptances to be complete. Form the bus data!
am i right?

Comment only
12 Dec 2012 umakanth ramineedi

i need explonation for each step

Comment only
19 Sep 2009 bibha boro

thanx it helped me a lot

Comment only
02 Apr 2009 Duane Hanselman

Of use to the author only. Here is what the file ybusppg.m contains:
num = 14;
fb = linedata(:,1); % From bus number...
tb = linedata(:,2); % To bus number...
r = linedata(:,3); % Resistance, R...
x = linedata(:,4); % Reactance, X...
b = linedata(:,5); % Ground Admittance, B/2...
a = linedata(:,6); % Tap setting value..
z = r + i*x; % Z matrix...
y = 1./z; % To get inverse of each element...
b = i*b; % Make B imaginary...

nbus = max(max(fb),max(tb)); % no. of buses...
nbranch = length(fb); % no. of branches...
Y = zeros(nbus,nbus); % Initialise YBus...
% Formation of the Off Diagonal Elements...
for k=1:nbranch
Y(fb(k),tb(k)) = Y(fb(k),tb(k))-y(k)/a(k);
Y(tb(k),fb(k)) = Y(fb(k),tb(k));
% Formation of Diagonal Elements....
for m =1:nbus
for n =1:nbranch
if fb(n) == m
Y(m,m) = Y(m,m) + y(n)/(a(n)^2) + b(n);
elseif tb(n) == m
Y(m,m) = Y(m,m) + y(n) + b(n);
Y % Bus Admittance Matrix..

26 Jul 2008 jehan hussian

please send to me asolved example about ybas formation

Comment only
27 Apr 2008 norhan2000 king

iam interested in matlap program

Comment only
21 Nov 2008 1.1

Updated for double lines

02 Apr 2009 1.2

Added linedatas..

Contact us