modelLine
Model of an electrical line
Extends from Buildings.Electrical.AC.OnePhase.Lines.Line (Model of an electrical line).
Information
This model represents a cable for three-phase balanced AC systems. The model is based on Buildings.Electrical.AC.ThreePhasesBalanced.Lines.TwoPortRLC and provides functionalities to parametrize the values of R, L and C either using commercial cables or using default values.
See model Buildings.Electrical.AC.OnePhase.Lines.Line for more information.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Length | l (from PartialBaseLine) | Length of the line | |
| Modelica.Units.SI.Power | P_nominal (from PartialBaseLine) | Nominal power of the line | |
| Modelica.Units.SI.Voltage | V_nominal (from PartialBaseLine) | Nominal voltage of the line | |
| Modelica.Units.SI.Frequency | f_n (from PartialBaseLine) | 50 | Frequency considered in the definition of cables properties |
| Buildings.Electrical.Transmission.LowVoltageCables.Generic | commercialCable (from PartialBaseLine) | ||
| Modelica.Units.SI.Temperature | T_ref (from PartialBaseLine) | commercialCable.T_ref | Reference temperature of the line |
| Modelica.Units.SI.Temperature | M (from PartialBaseLine) | commercialCable.M | Temperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref)) |
| Modelica.Units.SI.Resistance | R (from PartialBaseLine) | commercialCable.lineResistance(l, f_n, commercialCable) | Resistance of the cable |
| Modelica.Units.SI.Inductance | L (from PartialBaseLine) | commercialCable.lineInductance(l, f_n, commercialCable) | Inductance of the cable due to mutual and self inductance |
| Modelica.Units.SI.Capacitance | C (from PartialBaseLine) | commercialCable.lineCapacitance(l, f_n, commercialCable) | Capacitance of the cable |
| Model › Assumptions | |||
| Boolean | use_C (from PartialBaseLine) | false | Set to true to add a capacitance in the center of the line |
| Buildings.Electrical.Types.Load | modelMode (from PartialBaseLine) | Buildings.Electrical.Types.Load.FixedZ_steady_state | Select between steady state and dynamic model |
| Model › Thermal | |||
| Boolean | use_T (from PartialBaseLine) | false | If true, enables the input for the temperature of the cable |
| Modelica.Units.SI.Temperature | TCable (from PartialBaseLine) | T_ref | Fixed temperature of the cable |
| Tech. specification › Auto/Manual mode | |||
| Buildings.Electrical.Types.CableMode | mode (from PartialBaseLine) | Buildings.Electrical.Types.CableMode.automatic | Select if choosing the cable automatically or between a list of commercial options |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.Interfaces.BaseTerminal | terminal_n (from PartialBaseTwoPort) | Electric terminal side p | |
| Buildings.Electrical.Interfaces.BaseTerminal | terminal_p (from PartialBaseTwoPort) | Electric terminal side n | |
| Modelica.Blocks.Interfaces.RealInput | T (from PartialBaseLine) | Temperature of the cable |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.HeatTransfer.Sources.PrescribedTemperature | cableTemp (from PartialBaseLine) | Temperature of the cable | |
| Modelica.Blocks.Sources.RealExpression | cableTemperature (from PartialBaseLine) | Temperature of the cable | |
| Real | VoltageLosses (from PartialLine) | abs(PhaseSystem_p.systemVoltage(terminal_p.v) - PhaseSystem_n.systemVoltage(terminal_n.v))/Buildings.Utilities.Math.Functions.smoothMax(PhaseSystem_p.systemVoltage(terminal_p.v), PhaseSystem_n.systemVoltage(terminal_n.v), 1.0) | Percentage of voltage losses across the line |
Revisions
-
August 25, 2014, by Marco Bonvini:
Revised documentation.