modelTwoPortResistance

Model of a two port DC resistance

Extends from Buildings.Electrical.Transmission.BaseClasses.PartialTwoPortResistance (Partial model of a resistive element that links two electrical connectors).

Information

This model represents a resistance that connect two DC interfaces. This model can be used to represent a cable in a DC grid.

The model represents the lumped resistance as shown in the figure below.

image

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.ResistanceR (from PartialTwoPortResistance)Resistance at temperature T_ref
Modelica.Units.SI.TemperatureT_ref (from PartialTwoPortResistance)298.15Reference temperature
Modelica.Units.SI.TemperatureM (from PartialTwoPortResistance)507.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_actual (from PartialTwoPortResistance)Actual resistance = R*(M + T_heatPort)/(M + T_ref)

Revisions

  • March 19, 2015, by Michael Wetter:
    Removed redeclaration of phase system in Terminal_n and Terminal_p as it is already declared to the be the same phase system, and it is not declared to be replaceable. This avoids a translation error in OpenModelica.
  • January 14, 2015, by Marco Bonvini:
    Added equation that represents Joule losses
  • June 2, 2014, by Marco Bonvini:
    Revised documentation.
  • October 31, 2013, by Marco Bonvini:
    First implementation.