modelTwoPortRL
Model of a resistive-inductive element with two electrical ports
Extends from Buildings.Electrical.Transmission.BaseClasses.PartialTwoPortRLC (Partial model of an RLC element that links two electrical connectors).
Information
This model represents a resistance and an inductance connected in series with two AC one phase interfaces. This model can be used to represent a single phase cable in a AC grid.
The model represents the lumped RL cable as shown in the figure below.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useHeatPort (from ConditionalHeatPort) | false | = true, if heatPort is enabled |
| SI.Temperature | T (from ConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
| Modelica.Units.SI.Resistance | R (from PartialTwoPortRLC) | Resistance at temperature T_ref | |
| Modelica.Units.SI.Temperature | T_ref (from PartialTwoPortRLC) | 298.15 | Reference temperature |
| Modelica.Units.SI.Temperature | M (from PartialTwoPortRLC) | 507.65 | Temperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref)) |
| Modelica.Units.SI.Capacitance | C (from PartialTwoPortRLC) | Capacity | |
| Modelica.Units.SI.Inductance | L (from PartialTwoPortRLC) | Inductance | |
| Modelica.Units.SI.Current[PhaseSystem_p.n] | i_start | zeros(PhaseSystem_p.n) | Initial current phasor of the line (positive if entering from terminal p) |
| Nominal conditions | |||
| Modelica.Units.SI.Voltage | V_nominal (from PartialTwoPortRLC) | Nominal voltage (V_nominal >= 0) | |
| Modeling assumption | |||
| Buildings.Electrical.Types.Load | mode | Buildings.Electrical.Types.Load.FixedZ_steady_state | Type of model (e.g., steady state, dynamic, prescribed power consumption, etc.) |
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.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | LossPower (from ConditionalHeatPort) | Loss power leaving component via heatPort | |
| SI.Temperature | T_heatPort (from ConditionalHeatPort) | Temperature of heatPort | |
| Modelica.Units.SI.Resistance | R_actual (from PartialTwoPortRLC) | Actual resistance = R*(M + T_heatPort)/(M + T_ref) |
Revisions
-
January 29, 2019, by Michael Wetter:
Addedreplaceablefor terminal. -
May 26, 2016, by Michael Wetter:
Moved function call toPhaseSystem.thetaRefout of derivative operator as this is not yet supported by JModelica. -
March 9, 2015, by Marco Bonvini:
Added parameter for start value of the current. -
January 14, 2015, by Marco Bonvini:
Added equation that represents Joule losses -
August 5, 2014, by Marco Bonvini:
Revised model and documentation.