modelTwoPortResistance
Model of a resistance with two electrical ports
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 (Partial model interface for a two port component without neutral cable).
Information
Resistive model that connects two AC three-phase unbalanced interfaces. This model can be used to represent a cable in a three-phase unbalanced AC system.
The model represents the lumped resistance as shown in the figure above. Assuming that the resistance R is the overall resistance of the cable, each line has a resistance equal to R/3.
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.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.Resistance | R | Resistance at temperature T_ref |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port | |
| Terminal_p | terminal_p (from TwoPort) | Electric terminal side p | |
| Terminal_n | terminal_n (from TwoPort) | 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.TwoPortResistance | phase1 | Resistance line 1 | |
| OnePhase.Lines.TwoPortResistance | phase2 | Resistance line 2 | |
| OnePhase.Lines.TwoPortResistance | phase3 | Resistance line 3 |
Revisions
-
January 14, 2015, by Marco Bonvini:
Added equation that represents Joule losses -
October 3, 2014, by Marco Bonvini:
Added model and documentation.