update_FEMM_simulation (method)

update_FEMM_simulation(femm, circuits, is_internal_rotor, is_sliding_band, angle_rotor, Is, Ir, ii)[source]

Update the simulation by changing the rotor position and updating the currents

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

  • circuits – Output object

  • is_internal_rotor (bool) – True if it is an internal rotor topology

  • is_sliding_band (bool) – True if it is an internal rotor topology

  • angle_rotor (ndarray) – Vector of rotor angular position over time [Nt,]

  • Is (ndarray) – Stator currents function of phase and time [qs,Nt]

  • Ir (ndarray) – Rotor currents function of phase and time [qr,Nt]

  • ii (int) – Time step index