This example shows how to control the torque in a synchronous reluctance machine (SynRM) based electrical drive. A high-voltage battery feeds the SynRM through a controlled three-phase converter. An ideal angular velocity source provides the load. The Control subsystem uses an open-loop approach to control the torque and a closed-loop approach to control the current. At each sample instant, the torque request is converted to relevant current references using the maximum torque per Ampere strategy. The current control is PI-based. The simulation uses torque steps in both the motor and generator modes. The Visualization subsystem contains scopes that allow you to see the simulation results.