-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRotor.m
30 lines (28 loc) · 825 Bytes
/
Rotor.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
classdef Rotor
properties
R %Radius of Rotor
N %Number of Poles
N_c %Number of Turns per slot
th_root %Thickness of root
th_gap %Thickness of tooth
F %Fill Factor
mu_r %permability of material
L %Length of rotor
end
methods
function obj = Rotor(R,N,N_c,th_root,th_gap,F,mu_r,L)
obj.R=R;
obj.N=N;
obj.N_c=N_c;
obj.th_root=th_root;
obj.th_gap=th_gap;
obj.F=F;
obj.mu_r=mu_r;
obj.L=L;
end
function Area_tooth = toothArea(obj)
C=2*3.14*obj.R;
Area_tooth = (C/obj.N)-obj.th_gap;
end
end
end