Calculates transformer base-voltage depending on the choice of units.
"pu":
V_base[k] = V_nom[k], k=1,2"SI":
V_base[k] = 1, k=1,2
function baseTrafoV extends Icons.Function; input Base.Types.Units units "SI or pu"; input SI.Voltage[:] V_nom "nom voltage {prim, sec} or {prim, sec1, sec2}"; output SI.Voltage[size(V_nom, 1)] V_base "base voltage {prim,sec} or {prim, sec1, sec2}"; end baseTrafoV;