Close-loop DTC-SVM has been tested on the ntm. Also the attenuation of the pwm has been set to 0 when off and 1 when on. The real attenuation for the voltage is decided by the SVM code when it calculates the magnitude of V_s.