Calculates base-voltage depending on the choice of units.
"pu":
V_base = V_nom"SI":
V_base = 1
function baseV extends Modelica.Icons.Function; input Boolean puUnits "= true if pu else SI units"; input SI.Voltage V_nom "nom voltage"; output SI.Voltage V_base "base voltage"; end baseV;