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

Exp 1

The document describes how to form a bus admittance matrix Y for power systems. It provides the steps to assemble the Y matrix using a two-rule method based on Kirchhoff's current law. Sample line data for a 4-bus system is given and the theoretical calculations to obtain the Y matrix are shown. MATLAB code is then presented to generate the Y matrix for the 4-bus and IEEE 14-bus test systems by applying the two rules to the line data. The results show that the Y bus matrix is successfully formed for both systems using the MATLAB program.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Exp 1

The document describes how to form a bus admittance matrix Y for power systems. It provides the steps to assemble the Y matrix using a two-rule method based on Kirchhoff's current law. Sample line data for a 4-bus system is given and the theoretical calculations to obtain the Y matrix are shown. MATLAB code is then presented to generate the Y matrix for the 4-bus and IEEE 14-bus test systems by applying the two rules to the line data. The results show that the Y bus matrix is successfully formed for both systems using the MATLAB program.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Formation of Bus admittance matrix

Date: 10/1/2024 Name: Azhagu Meera M


Experiment No: 1 Reg. No: 21BEE1224

Aim:
To write a MATLAB program to form bus admittance matrix Y
1) For the sample 4 bus system whose line data is given as :

Half line charging


From bus To bus R X
susceptance
1 2 0.2 0.8 0.02
2 3 0.3 0.9 0.03
3 4 0.2 0.8 0.02
2 4 0.25 1 0.04
1 3 0.1 0.4 0.01

2) IEEE 14 bus system


Theory: Formation of Bus Admittance matrix
Consider a three-bus power system shown in Fig.1 .The equivalent power network for
the system is shown in Fig .2 in which the generator is replaced by i t s Norton equivalent,
the loads by their equivalent admittances and transmission lines by the  equivalent circuits. In
Fig.2, the admittances of the generator, loads and transmission lines are given in per unit to
system MVA base. The ground is taken as reference node. Applying Kirchhoff’s current law
(KCL), to nodes 1, 2 and 3,

Fig.1 A Sample Power System Fig.2 Equivalent Power Network


Two-Rule Method for Assembling Y matrix:
1. The diagonal element Yii of the matrix is equal to the sum of the admittances of all elements
th
connected to the i node.

2. The off-diagonal element Yij of the matrix is equal to the negative of the sum of the
admittances of all elements connected between the nodes i and j.
Theoretical calculations for the 4 bus system:
MATLAB code:
clear all
clc
Linedata
from=linedata(:,1);
to=linedata(:,2);
R=linedata(:,3);
X=linedata(:,4);
B=linedata(:,5);
nline=length(linedata(:,1));
nbus=max(max(from),max(to));
Z=R + 1j*X;
y=ones(nline,1)./Z;
ybus=zeros(nbus,nbus);
for n=1:nbus
for k=1:nline
if from(k)==n || to(k)==n
ybus(n,n)=ybus(n,n)+y(k)+(1j*B(k));
end
end
end
for k=1:nline
ybus(from(k),to(k))=ybus(from(k),to(k))-y(k);
ybus(to(k),from(k))=ybus(from(k),to(k));
end
ybus

Output:
1)
2) IEEE 14 bus system

Results:

Therefore, the Y bus matrix is formed with the help of MATLAB and is successfully verified for 4 bus
and 14 bus system.

You might also like