functionselectVoltageLevel
This function computes the voltage level (low, medium or high) given the nominal voltage
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 |
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Voltage | V | Nominal voltage |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.Types.VoltageLevel | level | Type of voltage level |
Revisions
-
Sept 19, 2014, by Marco Bonvini:
Added warning instead of print. -
June 3, 2014, by Marco Bonvini:
Added User's guide.