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.

image

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

TypeNameDefaultDescription
BooleanuseHeatPort (from ConditionalHeatPort)false= true, if heatPort is enabled
SI.TemperatureT (from ConditionalHeatPort)293.15Fixed device temperature if useHeatPort = false
Modelica.Units.SI.TemperatureT_ref298.15Reference temperature
Modelica.Units.SI.TemperatureM507.65Temperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref))
Modelica.Units.SI.ResistanceRResistance at temperature T_ref

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from ConditionalHeatPort)Conditional heat port
Terminal_pterminal_p (from TwoPort)Electric terminal side p
Terminal_nterminal_n (from TwoPort)Electric terminal side n

Components

TypeNameDefaultDescription
SI.PowerLossPower (from ConditionalHeatPort)Loss power leaving component via heatPort
SI.TemperatureT_heatPort (from ConditionalHeatPort)Temperature of heatPort
OnePhase.Lines.TwoPortResistancephase1Resistance line 1
OnePhase.Lines.TwoPortResistancephase2Resistance line 2
OnePhase.Lines.TwoPortResistancephase3Resistance 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.