modelPartialTwoPortResistance

Partial model of a resistive element that links two electrical connectors

Extends from Interfaces.PartialTwoPort (Model of a generic two port component with phase systems), Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).

Information

Partial model of a resistance that links two generalized electrical connectors.

The model computes a resistance R(T) that varies depending on the temperature T as

R(T) = Rref (M + T)/(M + Tref),

where the resistance Rref is the reference value of the resistance, M is the temperature coefficient of the cable material, and Tref is the reference temperature. The temperature T is the temperature of the heat port if useHeatPort = true.

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.ResistanceRResistance at temperature T_ref
Modelica.Units.SI.TemperatureT_ref298.15Reference temperature
Modelica.Units.SI.TemperatureM507.65Temperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref))

Connectors

TypeNameDefaultDescription
Buildings.Electrical.Interfaces.BaseTerminalterminal_n (from PartialBaseTwoPort)Electric terminal side p
Buildings.Electrical.Interfaces.BaseTerminalterminal_p (from PartialBaseTwoPort)Electric terminal side n
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from ConditionalHeatPort)Conditional heat port

Components

TypeNameDefaultDescription
SI.PowerLossPower (from ConditionalHeatPort)Loss power leaving component via heatPort
SI.TemperatureT_heatPort (from ConditionalHeatPort)Temperature of heatPort
Modelica.Units.SI.ResistanceR_actualActual resistance = R*(M + T_heatPort)/(M + T_ref)

Revisions

  • June 3, 2014, by Marco Bonvini:
    Added User's guide.