pyleecan.Functions.FEMM.draw_FEMM_lamination module¶
- draw_FEMM_lamination(machine, lam, sym, femm, FEMM_dict, transform_list, lam_dxf, BC_dict, Is, Ir, is_mmfs=True, is_mmfr=True, type_BH_stator=0, type_BH_rotor=0, is_fast_draw=False)[source]¶
Draw a Lamination in FEMM
- Parameters:
machine (Machine) – Machine object to draw
lam (Lamination) – Lamination object to draw
sym (int) – the symmetry applied on the stator and the rotor (take into account antiperiodicity)
femm (FEMMHandler) – client to send command to a FEMM instance
FEMM_dict (dict) – dictionary containing the main parameters of FEMM
transform_list (list) – List of transfromation to apply on the surfaces
lam_dxf (DXFImport) – To use a dxf version of the Lamination instead of build_geometry
BC_dict (dict) – Boundary condition dict ([line label] = BC name)
Is (ndarray) – Stator current matrix [A]
Ir (ndarray) – Rotor current matrix [A]
is_mmfs (bool) – 1 to compute the stator magnetomotive force/stator magnetic field
is_mmfr (bool) – 1 to compute the rotor magnetomotive force / rotor magnetic field
type_BH_stator (int) – 2 Infinite permeability, 1 to use linear B(H) curve according to mur_lin, 0 to use the B(H) curve
type_BH_rotor (int) – 2 Infinite permeability, 1 to use linear B(H) curve according to mur_lin, 0 to use the B(H) curve
is_fast_draw (bool) – True to draw the lamination using the highest periodicity
- Returns:
FEMM_dict – dictionary containing the main parameters of FEMM
- Return type:
dict