Vous êtes sur la page 1sur 2

YBUS

-----EXP 4,5---YBUS,ZBUS(INVERSE YBUS)------General Problem-------

clc
clear all
disp('');
b = input('Enter no. of buses:');
s = input('Enter no. of impedences:');
for i=1:s
sb(i)=input('Enter starting bus no.');
rb(i)=input('Enter receiving bus no.');
imp(i)=input('Enter impendance of bus:');
lc(i)=input('Enter line charging admittance:');
ybus=diag(0,b-1);
end
for i=1:s
k1=sb(i);
k2=rb(i);
adm(i)=1/imp(i);
ybus(k1,k1)=ybus(k1,k1)+adm(i)+lc(i);
ybus(k2,k2)=ybus(k2,k2)+adm(i)+lc(i);
ybus(k1,k2)=-adm(i);
ybus(k2,k1)=ybus(k1,k2);
end
disp('bus admittance matrix is:)
ybus
disp('bus impendance matrix is:)
z=inv(ybus)

PROBLEM-1: [Y BUS]

1. Form the Y bus matrix for the given data below


Starting
Line Number Ending Bus Series Line Impedance Line charging admittance
Bus
1 1 2 0.1+0.3j 0.02j
2 2 3 0.15+0.5j 0.0125j
3 3 4 0.2+0.6j 0.028j
1) (i) Determine the Y bus matrix for the power system network shown in fig.
(ii) Check the results obtained in using MATLAB.

MANUAL SOLUTION:

Y11=y11+y12+y13+y14 ; Y22=y22+y21+y23+y24 ; Y33=y33+y32+y31+y34


Y44=y41+y42+y43+y44

Vous aimerez peut-être aussi