modelTwoPortRL_N
Extends from Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network), Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.TwoPort_N (Partial model interface for a two port component with neutral cable).
Information
Resistive-inductive model that connects two AC three-phase unbalanced interfaces with neutral line. This model can be used to represent a cable in a three-phase unbalanced AC system.
The model represents the lumped impedances as shown in the figure above. Assuming that the overall cable has a resistance R and an inductance L, each line has an inductance equal to L/3 and a resistance equal to R/3.
The resistance and the inductance of the neutral cable are defined separately using the parameters
Rn and Ln.
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 | Resistance at temperature T_ref | |
| Modelica.Units.SI.Resistance | Rn | Resistance of neutral cable at temperature T_ref | |
| Modelica.Units.SI.Temperature | T_ref | 298.15 | Reference temperature |
| Modelica.Units.SI.Temperature | M | 507.65 | Temperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref)) |
| Modelica.Units.SI.Inductance | L | Inductance | |
| Modelica.Units.SI.Inductance | Ln | Inductance of neutral cable | |
| Modelica.Units.SI.Current[2] | i1_start | {0, 0} | Initial current phasor of phase 1 (positive if entering from terminal p) |
| Modelica.Units.SI.Current[2] | i2_start | {0, 0} | Initial current phasor of phase 2 (positive if entering from terminal p) |
| Modelica.Units.SI.Current[2] | i3_start | {0, 0} | Initial current phasor of phase 3 (positive if entering from terminal p) |
| 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 |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port | |
| Terminal4_p | terminal_p (from TwoPort_N) | Electric terminal side p | |
| Terminal4_n | terminal_n (from TwoPort_N) | Electric terminal side n |
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 | |
| OnePhase.Lines.TwoPortRL | phase1 | Impedance line 1 | |
| OnePhase.Lines.TwoPortRL | phase2 | Impedance line 2 | |
| OnePhase.Lines.TwoPortRL | phase3 | Impedance line 3 | |
| OnePhase.Lines.TwoPortRL | neutral | neutral cable RL model |
Revisions
-
March 9, 2015, by Marco Bonvini:
Added parameter for start value of the current. -
January 14, 2015, by Marco Bonvini:
Added model and user guide