This function calculates the complex number of turns of a polyphas winding based on the input record.
function complexTurns extends Modelica.Icons.Function; import Modelica.Constants.pi; input HanserModelica.Machines.Records.Winding winding "Input winding record"; output Complex N[winding.m] "Complex numbers of turn"; end complexTurns;