I want to control the speed of the synchronous motor .Firstly i used the three phase rectifier and output is fed to the spwm inverter ,and that output is fed to the synchronous motor, in simscape for a synchronous motor how i want to give the Tm what is the formula for getting the Tm.Could u please help me in this problem as early as possible.