Experiment-5 Bus Admittance Matrix Formulation

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Batch A 28-08-2019

Experiment-5
Bus Admittance Matrix Formulation
Consider a test system of your choice. Write down the base voltages
and base MVA. Compute the base impedance. Determine the per
unit values of the parameters of the elements of the transmission
system.

Assume that you are provided with the bus impedance matrix of a
power system with ‘N’ number of buses and ‘B’ number of branches.
If a new branch ‘B+1’ is to be added between two existing buses.
What is the modification to be done in the existing bus between two
existing bus impedance matrix and what is the order of the new bus
Impedance matrix. Write a generalized MATLAB code for building the
new bus impedance matrix for the above mentioned case.

Test your program with your test system and show the results.
MATLAB PROGRAM:-

1.Code for finding the base impedance value and the PU


value for the transmission system :
%To calculate base value of the system baseV=11kv;baseMva=30Mva
g1=[1.6;10;11];%[old pu;old MVA;KV with respect to new base KV]
g2=[1.2;15;6.2];
g3=[0.56;25;6.2];
g4=[11;10];%[base KV,base MVA]
t1=[15;15;33];%[Reactance;old MVA;KV with respect to new base KV]
t2=[16;15;33];
tr.line=[20.5;33];%[Reactance;old KV]
% New base values
g1=base(g1(1,1),g1(3,1));
g2=base(g2(1,1),g2(3,1));
g3=base(g3(1,1),g3(3,1));
g4=base((g4(1,1)^2)/g4(2,1),g4(1,1));
t1=base(t1(1,1),t1(3,1));
t2=base(t2(1,1),t2(3,1));
tr=base(tr.line(1,1),tr.line(2,1));
display(t1);
display(t2);
display(g1);
display(g2);
display(g3);
display(g4);
display(tr);

Function :
function z=base(x,v)
z=x*(30)/(v^2);
end

2.Code for finding new impedance value if we connect new


branch between two existing bus :
%To calculate bus impedence matrix
N1='Enter the number of buses = ';
p='';a=0;
N=input(N1);
Znew=zeros(N,N);
Z=zeros(N+1,N+1);
Q=zeros(2,1);
for i=1:N
for j=i:N
fprintf('Enter impedence value between row %d and column %d = ',i,j);
a=input(p);
Z(i,j)=a;
Z(j,i)=a;
end
end
display('Enter the bus number between which the new impedance is to be
connceted');
for i=1:2
fprintf('Enter bus number %d =',i);
Q(i,1)=input(p);
end
display('Enter the impedence between the buses =');
Z1=input(p);
for i=1:N
Z(N+1,i)=Z(i,Q(2,1))-Z(i,Q(1,1));
Z(i,N+1)=Z(N+1,i);
end
Z(N+1,N+1)= Z1+Z(Q(1,1),Q(1,1))+Z(Q(2,1),Q(2,1))-2*Z(Q(1,1),Q(2,1));
for i=1:N
for j=1:N
Znew(i,j)=Z(i,j)-((Z(i,N+1)*Z(N+1,j))/Z(N+1,N+1));
end
end
display(Z);
display(Znew);

RESULT :
INPUTS:
For 1:
g1=[1.6;10;11];%[old pu;old MVA;KV with respect to new base KV]
g2=[1.2;15;6.2];
g3=[0.56;25;6.2];
g4=[11;10];%[base KV,base MVA]
t1=[15;15;33];%[Reactance;old MVA;KV with respect to new base KV]
t2=[16;15;33];
tr.line=[20.5;33];%[Reactance;old KV]

For 2:
Enter the number of buses = 4
Enter impedence value between row 1 and column 1 = 0.754
Enter impedence value between row 1 and column 2 = 0.655
Enter impedence value between row 1 and column 3 = 0.496
Enter impedence value between row 1 and column 4 = 0.496
Enter impedence value between row 2 and column 2 = 0.786
Enter impedence value between row 2 and column 3 = 0.595
Enter impedence value between row 2 and column 4 = 0.595
Enter impedence value between row 3 and column 3 = 0.754
Enter impedence value between row 3 and column 4 = 0.754
Enter impedence value between row 4 and column 4 = 0.954
Enter the bus number between which the new impedance is to be connceted
Enter bus number 1 =4
Enter bus number 2 =2
Enter the impedence between the buses = 0.125

OUTPUTS:
For 1.
t1 =

0.4132

t2 =

0.4408

g1 =

0.3967

g2 =

0.9365
g3 =

0.4370

g4 =

tr =

0.5647

For 2.
Znew =

0.7165 0.6100 0.5335 0.5806

0.6100 0.7320 0.6400 0.6966

0.5335 0.6400 0.7165 0.6694

0.5806 0.6966 0.6694 0.7631

Inference:-
1.Base MVA value will be same for all the buses, base kv value will be changed based on the
transformer rating and there is no unit for the per-unit system.
2.After adding the new branch between the 2 nodes of the given transmission system, the
size of the impedance matrix will be same as the old given matrix.

You might also like