Professional Documents
Culture Documents
INPUT CODE:
clc;
clear all;
vt=input('enter the value of supply voltage vt= ');
p=input('the value of no of poles p= ');
f=input('enter the value of frequency f=');
inl=input('the value of no load current inl= ');
pnl=input('enter the value of input power at no load pnl= ');
vbr=input('enter the value of blocked rotor voltage vbr= ');
ibr=input('enter the value of blocked rotor current ibr= ');
pinbr=input('enter the value of blocked rotor power input pinbr= ');
r1=input('enter the value of stator resistance rl= ');
s=input('enter the value of slip s= ');
k=1/0.5
zbr=vbr/(sqrt(3)*ibr)
rbr=pinbr/(3*(ibr)^2)
xbr=sqrt(zbr^2-rbr^2)
x1=xbr/(1+0.5)
x2=xbr-x1
zo=vt/(sqrt(3)*inl)
ro=pnl/(3*inl^2)
xo=sqrt(zo^2-ro^2)
xm=xo-x1
r2=(rbr-r1)*((xm+x2)/xm)^2
zf=1/((1/(j*xm))+(1/((r2/s)+j*x2)))
rf=real(zf)
xf=imag(zf)
zin=r1+j*x1+zf
i1=vt/(sqrt(3)*zin)
pin=sqrt(3)*vt*abs(i1)*cos(angle(i1))
pg=3* abs(i1 )*abs(i1)*rf
pm=(1-s)*pg
prot=pnl-3*inl*inl*r1
pout=pm-prot
ws=1000*2*pi/60
tnet=pout/((1-s)*ws)
eff=pout*100/pin
k =
2
zbr =
2.4744
rbr =
1.0884
xbr =
2.2221
x1 =
1.4814
x2 =
0.7407
zo =
30.7920
ro =
4.1481
xo =
30.5113
xm =
29.0299
r2 =
0.5663
zf =
10.9784 + 5.9428i
rf =
10.9784
xf =
5.9428
zin =
11.5284 + 7.4242i
i1 =
14.1599 - 9.1188i
pin =
9.8102e+03
pg =
9.3422e+03
pm =
8.9685e+03
prot =
607.1875
pout =
8.3613e+03
ws =
104.7198
tnet =
83.1717
eff =
85.2307