The d and q components of a space phasor u[2] are rotated back to the stator fixed reference system, using the provided mechanical rotor angle phi. The output are the instantaneous multi phase values y[m].
u[2]
y[m]
ToDQ