.Spot.Base.Precalculation.baseRL

Information

Calculates base-resistance and -inductance depending on the choice of units (fist component is R, second is L).

"pu":

  RL_base = (V_nom*V_nom/S_nom)*{1, 1/omega_nom}
"SI":
  RL_base = {1, 1/omega_nom} (converts reactance X to inductance L!)

Interface

function baseRL
  extends Icons.Function;
  input Base.Types.Units units "SI or pu";
  input SI.Voltage V_nom "nom voltage";
  input SI.ApparentPower S_nom "apparent power";
  input SI.AngularFrequency omega_nom "angular frequency";
  input Integer scale = 1 "scaling factor topology (Y:1, Delta:3)";
  output Real[2] RL_base "base {resistance, inductance}";
end baseRL;

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos