.PowerSystems.Utilities.Precalculation.baseR

Information

Calculates base-resistance depending on the choice of units.

"pu":

  R_base = V_nom*V_nom/S_nom
"SI":
  R_base = 1

Interface

function baseR
  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 Integer scale = 1 "scaling factor topology (Y:1, Delta:3)";
  output SI.Resistance R_base "base resistance";
end baseR;

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos