This example shows how to control an asynchronous machine (ASM) using the direct-torque control method. A PI-based speed controller supplies the torque reference. The direct-torque controller generates the inverter pulses.
You have a modified version of this example. Do you want to open this example with your edits?