create_FEMM_materials (method)

create_FEMM_materials(femm, machine, surf_list, Is, Ir, BHs, BHr, is_mmfs, is_mmfr, type_BH_stator, type_BH_rotor, is_eddies, j_t0)[source]

Add materials in FEMM

Parameters
  • femm (FEMMHandler) – client to send command to a FEMM instance

  • machine (Machine) – the machine to simulate

  • surf_list (list) – List of surface of the machine

  • Is (ndarray) – Stator current matrix [A]

  • Ir (ndarray) – Rotor current matrix [A]

  • BHs (ndarray) – B(H) curve of the stator

  • BHr (ndarray) – B(H) curve of the rotor

  • 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_eddies (bool) – 1 to calculate eddy currents

  • jt_0 (int) – Current time step for winding calculation

Returns

Tuple – Dictionary of properties and list containing the name of the circuits created

Return type

dict, list