0% found this document useful (0 votes)
230 views

Bus Admittance Matrix

The document describes the algorithm for forming the bus admittance matrix (YBUS) which is used to model power flow between buses in a power system. The algorithm has 6 steps: 1) read branch and bus data, 2) initialize an empty YBUS matrix, 3) calculate the admittance for each branch and update the YBUS matrix, 4) repeat step 3 for all branches, 5) add shunt admittances to the diagonal of YBUS, 6) stop. It also provides a manual formula for calculating the elements of YBUS based on the network configuration.

Uploaded by

MAYANK JAIMAN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
230 views

Bus Admittance Matrix

The document describes the algorithm for forming the bus admittance matrix (YBUS) which is used to model power flow between buses in a power system. The algorithm has 6 steps: 1) read branch and bus data, 2) initialize an empty YBUS matrix, 3) calculate the admittance for each branch and update the YBUS matrix, 4) repeat step 3 for all branches, 5) add shunt admittances to the diagonal of YBUS, 6) stop. It also provides a manual formula for calculating the elements of YBUS based on the network configuration.

Uploaded by

MAYANK JAIMAN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Sanjeev Kumar Mallik

Department of Electrical Engineering


NIT PATNA
Bus Admittance Matrix, YBUS
Algorithm for formation of Bus admittance matrix:
STEP 1: Read branch data and bus data
n=Number of bus
m=Number of lines

STEP 2: Initialization
YBUS=zeros(n,n)
i=1 line index

2
Bus Admittance Matrix, YBUS
Algorithm for formation of Bus admittance matrix:
STEP 3: For the given bus i
frombus=linedata(i,2)
tobus=linedata(i,3)
r=linedata(i,4)
x=linedata(i,5)
b=linedata(i,6)
t=linedata(i,7)

y=1/(r+jx)

3
Bus Admittance Matrix, YBUS
Algorithm for formation of Bus admittance matrix:
STEP 4: if t==1
YBUS(frombus , tobus)=YBUS(frombus , tobus) - y
YBUS(tobus , frombus)=YBUS(tobus , frombus) - y
YBUS(frombus , frombus)=YBUS(frombus , frombus) + y + jb/2
YBUS(tobus , tobus)=YBUS(tobus , tobus) + y + jb/2
else
YBUS(frombus , tobus)=YBUS(frombus , tobus) – y/t
YBUS(tobus , frombus)=YBUS(tobus , frombus) – y/t
YBUS(frombus , frombus)=YBUS(frombus , frombus) + y /t2
YBUS(tobus , tobus)=YBUS(tobus , tobus) + y
end
4
Bus Admittance Matrix, YBUS
Algorithm for formation of Bus admittance matrix:
STEP 5:
i=i+1
check whether i > m ?
If YES, go to step 6
else go to step 3
STEP 6: for i=1:n
Read Bsh(i)
YBUS(i,i)=YBUS(i,i)+jBsh(i)
end
STEP 7: STOP
5
Bus Admittance Matrix, YBUS
For manual calculation:

YBUS  i, i     series admittance connected between bus i and bus j 


j i

+  line shunt susceptance connected between bus i and bus j 


j i

+Bus shunt susceptance connected to bus i

YBUS  i, j     series admittance connected between bus i and bus j 


j i

YBUS(i,j) is zero if bus i and bus j is not connected.

You might also like