.Modelica.Electrical.Machines.SpacePhasors.Functions.ToPolar

Information

Converts a space phasor from rectangular coordinates to polar coordinates, providing angle=0 for {0,0}.

Interface

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;

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f