function ToPolar extends Modelica.Icons.Function; input Real x[2] "Real and imaginary part of space phasor"; output Real absolute "Magnitude of space phasor"; output SI.Angle angle "Angle of space phasor"; end ToPolar;