Professional Documents
Culture Documents
t(i)=(actual_impedance*bMVA)/((bnewvoltage)*(bnewvoltage)
);
display(t(i));
end
end
bnewvoltage1=(secvoltage*bvoltage)/privoltage;
prompt='transmission line actual impedance';
Ztl=input(prompt);
Ztl_in_pu=(Ztl*bMVA)/((bnewvoltage1)*(bnewvoltage1));
display(Ztl_in_pu);
%
prompt='enter the no of generator on the second bus bar';
k= input(prompt);
for i=1:k;
prompt='enter the actual impedance of the generator';
g2(i)= input(prompt);
G2(i)= (g2(i)*bMVA)/((bnewvoltage1)*(bnewvoltage1));
display(G2(i));
end
for i=1:N
for j=1:N
Znew1(i,j)=Z(i,j)-
((Z(i,N+1)*Z(N+1,j))/Z(N+1,N+1))
end
end
Result:-
1.If I take base kv=11;
And base MVA=100;
So calculated base imp will be=1.21
And generator impedance value in first bus bars side 15 ohms
then result would be
2.For the given impedance matrix if I add one branch
then results are-
And and