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

Converts a space phasor to polar coordinates

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 2025-03-13T19:24:49Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos