### Machine Dimensions

For the next step you need to enter the machine dimension using the following parameters:

Description | Value | Script syntax |
---|---|---|

Stator outer diameter | 400 mm | Input.Geometry.Dsy=400e-3 |

Stator inner diameter | 265 mm | Input.Geometry.Dsbo=265e-3 |

Airgap width | 1.5 mm | Input.Geometry.gap=1.5e-3 |

Rotor back yoke diameter (shaft diameter) |
90 mm | Input.Geometry.Dry=90e-3 |

Note that the processes to define the machine dimensions in the GUI and in the scripts are different. In the matlab script, there are several ways to define the dimensions to be able to run sensitivity study or optimization on yoke height or diameters. The laminations can either be defined:

- using the external diameter and the yoke height (the inner diameter being deduced from the slot geometry)
- using the external diameter and the inner diameter, the equivalent yoke height being deduced from the geometry.

For the rotor, as the airgap width is an input, there is no "Input.Geometry.Drbo". In the GUI we have only one method available: the inner and outer diameters of the stator and rotor laminations are needed and the airgap width is computed.

### Stator Lamination

Description | Value | Script syntax |
---|---|---|

Stator length (without airducts) | 350 mm | Input.Geometry.Lst1=350e-3 |

Stacking factor | 95% | Input.Geometry.Kst1=0.95 |

Material | M400-50A | Input.Material.mat_lam1=’M400-50A’ |

Skew | No | Input.Geometry.skew_rates=0 |

Radial ventilation ducts | No | Input.Thermics.Nrvds=0 |

Axial ventilation ducts | No | Input.Thermics.Navds=[0] |

### Material

The lamination material is set by **Input.Material.mat_lam1 = ’M400-50A’**. All the material parameters will be loaded from the material library. The B(H) curve is defined a .txt file (M400-50AJ.txt) in the MaterialData folder. A specific article deals with how to define a new B(H) curve.

Some post-processings (e.g. plot_BH function) allow to check the B(H) curves after calculation.

### Stator Slot

The slot shape 10 is selected following MANATEE slot schematics.

Description | Value | Script syntax |
---|---|---|

Number of slot | 36 | Input.Geometry.Zs=36 |

Slot shape | 10 | Input.Geometry.type_slot_shapes = 10 |

Slot opening width | 12 mm | Input.Geometry.W0s = 12e-3 |

Wedge width | 14 mm | Input.Geometry.W1s = 14e-3 |

Slot bottom width | 12 mm | Input.Geometry.W2s = 12e-3 |

Slot isthmus height | 1 mm | Input.Geometry.H0s = 1e-3 |

Wedge height | 1.5 mm | Input.Geometry.H1s = [1.5e-3 0] |

Slot height | 30 mm | Input.Geometry.H2s = 30e-3 |

You can verify that your slot and lamination definitions are correct by checking the outputs (surface, tooth width...) or by clicking on "Preview". Note that the Output and the Preview are available only if the slot is correct. Otherwise, by clicking on "Next" an error message should explain what is wrong with your slot.

For the script, depending on the slot type, some slot geometrical parameters may be defined as a vector of 2 elements, where the second element indicates whether the unit is in meter (0) or in radian (1). This is the case of H1 in the current slot type, which can be defined as a height in m or an angle in rad.

### Stator Winding Setup

The winding pattern is defined as a three-phase double layer overlapping integral distributed winding (radial coil superposition) with a coil span of 5 slots:

`Input.Magnetics.type_winding1 = 3;`

Input.Magnetics.qs = 3;

Input.Magnetics.coil_pitch1 = 5;

MANATEE includes a winding algorithm that automatically generate distributed windings, or concentrated windings (alternate teeth wound or all teeth wound) but if necessary the user can directly input its own winding connection matrix or import a winding file generated by the winding design tool Koil freeware.

In the GUI you can preview your winding:

Description | Value | Script syntax |
---|---|---|

Number of parallel circuits | 2 | Input.Magnetics.Npcp1 = 2 |

Number of turns per coil | 7 | Input.Magnetics.Ntcoil1 =7 |

Number of turn in series | 42 | Input.Magnetics.Ntsp1 = 42 |

The winding that is modelled here is a preformed wire with:

Description | Value | Script syntax |
---|---|---|

Conductor type | Preformed wire | Input.Magnetics.type_conductor1 = 0 |

Number of parallel strands along horizontal direction |
1 | Input.Magnetics.Nwpc1_rad = 1 |

Number of parallel strands along horizontal direction |
1 | Input.Magnetics.Nwpc1_tan = 1 |

Elementary wire width | 10 mm | Input.Geometry.Wwire1 = 10e-3 |

Elementary wire height | 2 mm | Input.Geometry.Hwire1 = 2e-3 |

Insulation thickness | 0.001 mm | Input.Geometry.Wins_wire1 =1e-6 |

In the script, if one wants MANATEE to calculate the slot fill factor one must put

`Input.Geometry.is_forced_Ksfill1 = 0`

Alternatively, one can directly specify the slot fill factor Ksfill1 within the input structure. The slot fill factor evaluation is used in subdomain and FEM electromagnetic models. It can be interesting to let MANATEE calculate the slot fill factor to check if the winding has been properly defined and if the slot geometry is correctly defined.