This simple electromagnetic force model is derived from EMF and transforms electrical power into rotational mechanical power. If the speed exceeds the base speed field weakening is automatically applied. The machine model has to be supplied by a current source (e.g. an ideal converter), not a voltage source source.
v = k*w tau = -k*i
Where k = kBase
in the base velocity range w ≤ wBase
.