This function is added for completeness. It is not used in the machine models.
See also analog circuit on 'Diagram layer' of 'CoefSynchron' and 'CoefAsynchron'!
function equiCircuit extends Icons.Function; input Integer n "transient order"; input SI.Angle[n] Tc "time constant closed-loop"; input SI.Angle[n] To "time constant open-loop"; input SIpu.Reactance x(unit = "pu") "total or syn reactance"; input SIpu.Reactance xsig_s(unit = "pu") "leakage reactance stator"; input SIpu.Resistance r_s(unit = "pu") "resistance stator"; input SIpu.Current if0(unit = "pu") "field current"; input SI.Angle alpha_if0 "angle field current (sign: mathematical convention)"; input Real tol "tolerance, iterative solution"; input Boolean field "field winding yes/no"; output SIpu.Resistance[n] r_r(unit = "pu") "resistance rotor"; output SIpu.Reactance[n] xsig_r(unit = "pu") "leakage reactance rotor"; output SIpu.Reactance[n + 1] xm(unit = "pu") "coupling reactance"; end equiCircuit;