PSA Open Ended Problems
PSA Open Ended Problems
VTU NO 10572
- Find the sub transient current in generator, motor & at the fault location using
hand calculations.
Problem 2: Draw Reactance Diagram for the system shown below,
Choose the system base MVA as100 MVA and base voltage for G1 to be 2400V.
With the help of any programming technique like MATLAB /C++ verify the per
unit reactance values of the power system.
for j in range(1,t+1):
print('Transformer:',j)
d=int(input('If you want to find transformer Base KV of LT side enter 1 if HT side enter
2 '))
s=int(input('If the LT side of the transformer is connected with bus press 1 if not press 0
'))
Kt=(LT/q)*(LT/q)
XT=Tx*Kt*(M/Tm)
BH=q*(HT/LT)
BL=Q*(LT/HT)
print('Base KV of HT side =',BL)
Kt=(LT/BL)*(LT/BL)
XT=Tx*Kt*(M/Tm)
BL=Q*(LT/HT)
Kt=(HT/BL)*(HT/BL)
XT=Tx*Kt*(M/Tm)
Kt=(HT/q)*(HT/q)
XT=Tx*Kt*(M/Tm)
BH=q*(LT/HT)
for i in range(1,g+1):
print('Generator:',i)
w=int(input('If any transformer is present on this bus press 1 if not press 0 '))
if w==1:
s=int(input('If the LT side of the transformer is connected with bus press 1 if not press 0 '))
if s==1:
Kg=(Gk/q)*(Gk/q)
XG=Gx*Kg*(M/Gm)
BH=q*(HT/LT)
elif s==0:
Kg=(Gk/Q)*(Gk/Q)
XG=Gx*Kg*(M/Gm)
BL=Q*(LT/HT)
if w==0:
Kg=(Gk/K)*(Gk/K)
XG=Gx*Kg*(M/Gm)
for k in range(1,tr+1):
print('Transmission line:',k)
w=int(input('If any transformer is present on this bus press 1 If not press 0 '))
if w==1:
s=int(input('If the LT side of the transformer is connected with bus press 1 If not press 0 '))
if s==1:
XTrl1=trlxr/Ktr
XTrl2=trlxl/Ktr
BH=q*(LT/HT)
elif s==0:
BL=Q*(HT/LT)
Ktr=(BL*BL)/M
XTrl1=trlxr/Ktr
XTrl2=trlxl/Ktr
if w==0:
Ktr=(r*r)/m
XTrl1=trlxr/Ktr
XTrl2=trlxl/Ktr
for l in range(1,m+1):
print('Loads/Motors:',l)
w=int(input('If any transformer is present on this bus press 1 If not press 0 '))
if w==1:
if s==1:
Kt=(Mk/q)*(Mk/q)
XM=Mx*Kt*(M/Mm)
BH=q*(HT/LT)
elif s==0:
Kt=(Mk/Q)*(Mk/Q)
XM=Mx*Kt*(M/Mm)
BL=Q*(LT/HT)
if w==0:
Kt=(R/K)*(R/K)
XM=Mx*Kt*(M/Mm)
Solution :
Matlab code :
clear all;
clc
zbus=zeros(n,n);
t=1;
while t==1;
zbus
switch s
case{1}
zbus=zb;
case{2}
for i=1:n
if i==n
zbus(n,n)=zbus(k,k)+zb;
else
zbus(i,n)=zbus(i,k);
zbus(n,i)=zbus(k,i);
end
end
case{3}
m1=zb+zbus(a,a)+zbus(b,b)-(2*zbus(a,b));
ztemp=(1/m1)*((zbus(:,a))-(zbus(:,b)))*((zbus(a,:))-(zbus(b,:)));
zbus=zbus-ztemp;
case{4}
m2=zbus(k,k)+zb;
ztemp=(1/m2)*zbus(:,k)*zbus(k,:);
zbus=zbus-ztemp;
case{5}
zbus
case{6}
'end program'
t=0;
end
end