Create look up table from TM project of Flux dq, Ld, Lq and torque versus Id, Iq and rotor position.

Note: For more details about this macro, consult this additional document


  • Select all current sources
  • Select mobile mechanical set
  • Select fixed mechanical set
  • Max value for Id
  • Number of values for Id (odd)
  • Number of poles
  • Number of stator periodicities
  • Number of steps in one third of the electric period
  • Period for rotation (in degrees)


  • Create a result OML file with name created from the initial file (*_res.oml)
  • It will also include more data such as phase resistance, end winding inductance, electric period and initial rotor position plus possibility to display values in Compose