Calculates base-inductance depending on the choice of units.
"pu":
L_base = V_nom*V_nom/(S_nom*omega_nom)"SI":
L_base = 1Note: in contrast to 'baseRL' and 'baseGC' there is NO conversion of reactance X to inductance L.
function baseL extends Modelica.Icons.Function; input Boolean puUnits "= true if pu else SI units"; input SI.Voltage V_nom "nom voltage"; input SI.ApparentPower S_nom "apparent power"; input SI.AngularFrequency omega_nom "angular frequency"; output SI.Inductance L_base "base inductance"; end baseL;