.Buildings.Electrical.Transmission.Functions.selectVoltageLevel

Information

This function computes the voltage level for a given voltage. The computation is as follows:

Condition Voltage Level
0 ≤ V < 1 kV Low voltage
1 kV ≤ V < 50 kV Medium voltage
V ≥ 50 kV HIgh voltage

Interface

function selectVoltageLevel
  input Modelica.Units.SI.Voltage V "Nominal voltage";
  output Buildings.Electrical.Types.VoltageLevel level "Type of voltage level";
end selectVoltageLevel;

Revisions


Generated at 2024-11-24T19:25:44Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos