Calculates base-power depending on the choice of units.
"pu":
S_base = S_nom"SI":
S_base = 1
function baseS extends Modelica.Icons.Function; input Boolean puUnits "= true if pu else SI units"; input SI.ApparentPower S_nom "apparent power"; output SI.ApparentPower S_base "base power"; end baseS;