Create Iabc variables driven from Id, Iq variables in order to compute Torque versus Id and Iq from magnet motors.

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


  • Parameter corresponding to I_A
  • Parameter corresponding to I_B
  • Parameter corresponding to I_C
  • Mobile mechanical set
  • Number of poles
  • Angle for which rotor is aligned with phase a
  • Maximum value for Id
  • Number of values for Id
  • Maximum value for Iq
  • Number of values for Iq
  • Number of positions for rotor position


  • Create ID and IQ parameters
  • Create ID_DRIVEN and IQ_DRIVEN I/O parameters driven by solving scenario
  • A solving scenario is created (ready to be solved with distribution of computation)