summaryrefslogtreecommitdiff
path: root/3760/CH3/EX3.33/Ex3_33.sce
blob: 3b8035b691eb0ce68b29192b6fa486e5c68ae127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
clc;
d=0.8; // diameter of rotor machine
l=0.5; // length of rotor machine
g=0.005; // air gap length
as=10000; // peak current density for stator
ar=6000; // peak current density for rotor
t=60; // torque angle
disp('case a'); 
p=2; // number of pole
uo=4*%pi*10^-7; // free space permeability
Fs=(as*d)/p; // peak stator mmf per pole
Fr=(ar*d)/p; // peak rotor mmf per pole
Te=(p*uo*%pi*d*l*Fs*Fr*sind(t))/(4*g);
printf('Torque for given number of poles is %f Nm\n',Te);
disp('case b'); 
p=6; // number of pole
uo=4*%pi*10^-7; // free space permeability
Fs=(as*d)/p; // peak stator mmf per pole
Fr=(ar*d)/p; // peak rotor mmf per pole
Te=(p*uo*%pi*d*l*Fs*Fr*sind(t))/(4*g);
printf('Torque for given number of poles is %f Nm\n',Te);