u
by the angle
in negative mathematical direction. This block represents the transformation of one space phasor u
from one rotating reference (coordinate) frame into another where the space phasor is y
. The output reference frame leads the input reference frame by angle angle
.
function Rotator extends Modelica.Icons.Function; input Real x[2] "Input space phasor"; input SI.Angle angle "Input angle of rotation"; output Real y[2] "Output space phasor"; end Rotator;