summaryrefslogtreecommitdiff
path: root/3760/CH4/EX4.70/Ex4_70.sce
blob: 6af9d35e4e55c416828e09f0e511c52c421f53e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clc;
v=240; // rated voltage of motor and supply voltage
i=5.2; // line current
p=10000; // rated power of motor
no=1200; // no load speed
ra=0.25; // armature resistance
rf=160; // field resistance
ifl=v/rf; // constant field current
iao=i-ifl; // no load armature current
wo=v*iao-iao^2*ra; // no load rotational losses
//  by using equation of electromagnetic power solving quadratic equation in armature current whose terms are
t1=ra; 
t2=-v; 
t3=p+wo;
P=[ t1 t2 t3 ];
ia=roots(P);
pi=(v-ia(2)*ra)*ia(2)+ia(2)^2*ra+ifl*v; // motor input
nm=(p/pi)*100;
printf('Motor efficiency at rated load is %f percent',nm);