.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 Modelica.SIunits.Angle angle "Angle of space phasor";
end ToPolar;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39