This example investigates the maximum torque per amps (MTPA) of a quasi-static permanent magnet synchronous machine. The machines is operated at constant speed. The current magnitude is kept constant and the current angle is rotated from 0 to 360 degrees with the simulation period of one second.
In this simulation the angle is the following angles are calculated:
phi_v
= angle of voltage phasorphi_i
= angle of current phasorphiphi_v - phi_i
= angle between voltage and
current phasortheta
= rotor displacement angleepsilon = phi - theta
= current angleSimulate for 1 second and plot (versus angle epsilon):
smpmQS.tauElectrical
: machine torquesmpmQS.abs_vs[1]
: machine phase voltage
magnitudephi
: phase angle between voltage and current
phasorThe resistors connected to the terminals of the windings of the quasi-static machine model are necessary to numerically stabilize the simulation.