.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 2025-01-08T19:40:16Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos