To set up a slot type 22 you need to replace the slot geometry bloc in your machine file by this code and edit it with your values :
For the stator
Input.Geometry.type_slot_shapes = 22;
Input.Geometry.H0s = 1e-3; %[m]
Input.Geometry.H2s = 30e-3; %[m]
Input.Geometry.W0s = 0.157; %[rad]
Input.Geometry.W2s = 0.314; %[rad]
For the rotor
Input.Geometry.type_slot_shaper = 22;
Input.Geometry.H0r = 1e-3; %[m]
Input.Geometry.H2r = 30e-3; %[m]
Input.Geometry.W0r = 0.157; %[rad]
Input.Geometry.W2r = 0.314; %[rad]
Geometrical constraints
Your slot must follow this constraint :
- W0 <= W2
- W2 < 2*pi / Zs