summaryrefslogtreecommitdiff
path: root/3784/CH7/EX7.3/Ex7_3.sce
blob: a95881064f14ae434f9a0255c94f04c493e4ef7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
clc
//variable initialization
V=440 //voltage in volts
P=6 //number of poles
f=50 //frequency in Hz
R1=2 //resistance in ohm
R2=2 //resistance in ohm
X1=3 //reactance in ohm
X2=4 //reactance in ohm
N1=945 //speed in rpm
N2=800 //speed in rpm

//solution
Ns=(120*f)/P
s=(Ns-N1)/Ns
w=2*%pi*Ns/60
T=(3/w)*((V^(2)*(R2/s))/(((R1+(R2/s))^(2))+(X1+X2)^(2)))
k=T/(1-s)^2//The answer provided in the textbook is wrong
s1=(Ns-N2)/Ns
Tl=k*((1-s1)^(2))//The answer provided in the textbook is wrong
V2=sqrt((Tl*w*(((R1+(R2/s1))^2)+((X1+X2)^2))/((R2/s1)*3)))//The answer provided in the textbook is wrong
I=V2/((R1+(R2/s1))+(%i*(X1+X2)))//The answer provided in the textbook is wrong
Il=sqrt(3)*I//The answer provided in the textbook is wrong
printf('\n\n The Line Current=%0.1f Amp\n\n',Il)