Vous êtes sur la page 1sur 14

%1005-16-743119%

% VOLTAGE REGULATION OF TRANSFORMER%

clc;

clear all;

KVA=input('Enter the rating of transformer');%rating of transformer%

Vp=input('Enter the primary winding voltage of transformer');%primary voltage%

Vs=input('Enter the secondary winding voltage of transformer');%secondary voltage%

Rp=input('Enter the primary winding resistance of transformer');%primary resistance%

Rs=input('Enter the secondary winding resistance of transformer');%secondary resistance%

Lp=input('Enter the primary winding inductance of transformer');%primary inductance%

Ls=input('Enter the secondary winding inductance of transformer');%secondary inductance%

f=input('Enter the frequency');%frequency%

k=Vs/Vp;%turns ratio%

Xp=2*pi*f*Lp;%primary reactance%

Xs=2*pi*f*Ls;%secondary reactance%

Re=Rp+(Rs/k^2);%equivalent resistance referred to primary%

Xe=Xp+(Xs/k^2);%equivalent reactance referred to primary%

i=KVA/Vp;%primary current%

pf=input('Enter the powerfactor');%powerfactor of transformer%

opt=input('Enter the option 1.Lagging 2.Unity 3.Leading');

if opt==1

theta=acos(pf);

num=i*(Re*cos(theta)+Xe*sin(theta));

elseif opt==2

num=i*Re;

elseif opt==3

theta=cos(pf);

num=i*(Re*cos(theta)-Xe*sin(theta));
end

reg=(num/Vp)*100;

disp('%REGULATION OF TRANSFORMER IS:');

reg

Enter the rating of transformer20

Enter the primary winding voltage of transformer2500

Enter the secondary winding voltage of transformer500

Enter the primary winding resistance of transformer8

Enter the secondary winding resistance of transformer0.3

Enter the primary winding inductance of transformer17

Enter the secondary winding inductance of transformer0.7

Enter the frequency50

Enter the powerfactor0.8

Enter the option 1.Lagging 2.Unity 3.Leading1

%REGULATION OF TRANSFORMER IS:

reg =

10.59
enter the rating of motor7

enter the input voltage450

enter the stator resistance0.45

enter the rotor resistance0.25

enter the number of poles6

enter the frequency60

enter the rotor speed1120

Ns =

1200

enter the stator inductance0.0013

enter the rotor inductance0.008

Xs =

0.4901
Xr =

3.0159

s=

0.0667

r=

0.7000

x=

3.5060

enter the magnetisation inductance30


z=

3.5067 + 3.5777i

Is =

36.3019 -37.0365i

pf =

0.7000

Pin =

2.8295e+004
Pscl =

3.6309e+003

Pag =

2.4664e+004

Pgmd =

2.3019e+004

enter the rotor mechanical losses2350

Psh =

2.0669e+004
Tag =

183.1829

Tsh =

164.4822

n=

73.0509
%1005-16-743119%
%PROGRAM FOR PLOTTING TORQUE-SPEED CURVES OF INDUCTION MOTOR
clc;
clear all;
vi=input('Enter the input line voltage');
rl=input('Enter the stator resistance');
xl=input('Enter the stator reactance');
xm=input('Enter the magnetisation reactance');
r2=input('Enter the rotor resistance');
x2=input('Enter the rotor reactance');
vph=vi/sqrt(3)
p=input('Enter no.of poles');
f=50;
ns=120*f/p
ws=2*pi*ns./60
vth=vph*xm/sqrt((rl*rl)+(xm+rl)*(xm+rl))
zth=complex(rl,xl)*complex(0,xm)./complex(rl,(xl+xm))
rth=real(zth)
xth=imag(zth)
s =(0:1:50)/50
s(1)= 0.001
nr =(1-s)*ns
for i=1:51
t_ind(i)=(3*vth^2*r2/s(i))/(ws*((rth+r2/s(i))^2+(xth+x2)^2));
end
plot(nr,t_ind,'Color','k','LineWidth',2.0);
xlabel('\itn_{m}','Fontweight','Bold');
ylabel('\tau_{ind}','Fontweight','Bold');
title('INDUCTION MOTOR TORQUE-SLIP CHARACTERISTIC','Fontweight','Bold');
text(1200,285,'\tau_{max}');
Enter the input line voltage440
Enter the stator resistance0.15

Enter the stator reactance0.12

Enter the magnetisation reactance28

Enter the rotor resistance0.12

Enter the rotor reactance0.15

vph =

254.0341

Enter no.of poles4

ns =

1500

ws =

157.0796
vth =

252.6769

zth =

0.1487 + 0.1203i

rth =

0.1487

xth =

0.1203
s=

Columns 1 through 16

0 0.0200 0.0400 0.0600 0.0800 0.1000 0.1200 0.1400 0.1600 0.1800 0.2000 0.2200

0.2400 0.2600 0.2800 0.3000

Columns 17 through 32

0.3200 0.3400 0.3600 0.3800 0.4000 0.4200 0.4400 0.4600 0.4800 0.5000 0.5200 0.5400

0.5600 0.5800 0.6000 0.6200

Columns 33 through 48

0.6400 0.6600 0.6800 0.7000 0.7200 0.7400 0.7600 0.7800 0.8000 0.8200 0.8400 0.8600

0.8800 0.9000 0.9200 0.9400

Columns 49 through 51
0.9600 0.9800 1.0000

s=

Columns 1 through 16

0.0010 0.0200 0.0400 0.0600 0.0800 0.1000 0.1200 0.1400 0.1600 0.1800 0.2000 0.2200

0.2400 0.2600 0.2800 0.3000

Columns 17 through 32

0.3200 0.3400 0.3600 0.3800 0.4000 0.4200 0.4400 0.4600 0.4800 0.5000 0.5200 0.5400

0.5600 0.5800 0.6000 0.6200

Columns 33 through 48

0.6400 0.6600 0.6800 0.7000 0.7200 0.7400 0.7600 0.7800 0.8000 0.8200 0.8400 0.8600

0.8800 0.9000 0.9200 0.9400

Columns 49 through 51
0.9600 0.9800 1.0000

nr =

1.0e+003 *

Columns 1 through 16

1.4985 1.4700 1.4400 1.4100 1.3800 1.3500 1.3200 1.2900 1.2600 1.2300 1.2000 1.1700

1.1400 1.1100 1.0800 1.0500

Columns 17 through 32

1.0200 0.9900 0.9600 0.9300 0.9000 0.8700 0.8400 0.8100 0.7800 0.7500 0.7200 0.6900

0.6600 0.6300 0.6000 0.5700

Columns 33 through 48
0.5400 0.5100 0.4800 0.4500 0.4200 0.3900 0.3600 0.3300 0.3000 0.2700 0.2400 0.2100

0.1800 0.1500 0.1200 0.0900

Columns 49 through 51

0.0600 0.0300 0

>>

>>

>>

Vous aimerez peut-être aussi