function x_transient extends Icons.Function; input Real x(unit = "pu") "total or syn reactance"; input SI.Angle[:] Tc "time constant closed-loop"; input SI.Angle[size(Tc, 1)] To "time constant open-loop"; output SIpu.Reactance[size(Tc, 1)] xtr(unit = "pu") "transient reactance"; end x_transient;