# test_ICEM_2020 module¶

test_FEMM_sym()[source]

Figure 9: Check that the FEMM can handle symmetry From pyleecan/Tests/Validation/Simulation/test_EM_SCIM_NL_006.py

test_gmsh_mesh_dict()[source]

Figure 10: Generate a 3D mesh with Gmsh by setting the number of element on each lines

test_SlotMulti_sym()[source]

Figure 11: Genera te a 3D mesh with GMSH for a lamination with several slot types and notches

test_MachineUD()[source]

Figure 12: Check that you can plot a machine with 4 laminations

test_SlotMulti_rotor()[source]

Figure 13: Check that you can plot a LamSlotMulti rotor (two slots kind + notches)

test_SlotMulti_stator()[source]

Figure 13: Check that you can plot a LamSlotMulti stator (two slots kind + notches)

test_SlotUD()[source]

Figure 14: User Defined slot “snowflake”

test_WindingUD()[source]

Figure 16: User-defined Winding From pyleecan/Tests/Plot/LamWind/test_Slot_12_plot.py

test_BoreFlower()[source]

Figure 18: LamHole with uneven bore shape From pyleecan/Tests/Plot/LamHole/test_Hole_50_plot.py

test_ecc_FEMM()[source]

Figure 19: transfrom_list in FEMM for eccentricities

test_Optimization_problem()[source]

Figure19: Machine topology before optimization Figure20: Individuals in the fitness space Figure21: Pareto Front in the fitness space Figure22: Topology to maximize first torque harmonic Figure22: Topology to minimize second torque harmonic

WARNING: The computation takes 6 hours on a single 3GHz CPU core. The algorithm uses randomization at different steps so the results won’t be exactly the same as the one in the publication