Package Modelica.​Thermal.​HeatTransfer.​Interfaces
Connectors and partial models

Information

Extends from Modelica.​Icons.​InterfacesPackage (Icon for packages containing interfaces).

Package Contents

NameDescription
Element1DPartial heat transfer element with two HeatPort connectors that does not store energy
HeatPortThermal port for 1-dim. heat transfer
HeatPort_aThermal port for 1-dim. heat transfer (filled rectangular icon)
HeatPort_bThermal port for 1-dim. heat transfer (unfilled rectangular icon)
PartialConditionalHeatPortPartial model to include a conditional HeatPort in order to dissipate losses, used for graphical modeling, i.e., for building models by drag-and-drop
PartialElementaryConditionalHeatPortPartial model to include a conditional HeatPort in order to dissipate losses, used for textual modeling, i.e., for elementary models
PartialElementaryConditionalHeatPortWithoutTPartial model to include a conditional HeatPort in order to dissipate losses, used for textual modeling, i.e., for elementary models

Partial Connector Modelica.​Thermal.​HeatTransfer.​Interfaces.​HeatPort
Thermal port for 1-dim. heat transfer

Information

Fields

TypeNameDescription
TemperatureTPort temperature
flow HeatFlowRateQ_flowHeat flow rate (positive if flowing from outside into the component)

Connector Modelica.​Thermal.​HeatTransfer.​Interfaces.​HeatPort_a
Thermal port for 1-dim. heat transfer (filled rectangular icon)

Information

This connector is used for 1-dimensional heat flow between components. The variables in the connector are:

   T       Temperature in [Kelvin].
   Q_flow  Heat flow rate in [Watt].

According to the Modelica sign convention, a positive heat flow rate Q_flow is considered to flow into a component. This convention has to be used whenever this connector is used in a model class.

Note, that the two connector classes HeatPort_a and HeatPort_b are identical with the only exception of the different icon layout.

Extends from Modelica.​Thermal.​HeatTransfer.​Interfaces.​HeatPort (Thermal port for 1-dim. heat transfer).

Fields

TypeNameDescription
TemperatureTPort temperature
flow HeatFlowRateQ_flowHeat flow rate (positive if flowing from outside into the component)

Connector Modelica.​Thermal.​HeatTransfer.​Interfaces.​HeatPort_b
Thermal port for 1-dim. heat transfer (unfilled rectangular icon)

Information

This connector is used for 1-dimensional heat flow between components. The variables in the connector are:

   T       Temperature in [Kelvin].
   Q_flow  Heat flow rate in [Watt].

According to the Modelica sign convention, a positive heat flow rate Q_flow is considered to flow into a component. This convention has to be used whenever this connector is used in a model class.

Note, that the two connector classes HeatPort_a and HeatPort_b are identical with the only exception of the different icon layout.

Extends from Modelica.​Thermal.​HeatTransfer.​Interfaces.​HeatPort (Thermal port for 1-dim. heat transfer).

Fields

TypeNameDescription
TemperatureTPort temperature
flow HeatFlowRateQ_flowHeat flow rate (positive if flowing from outside into the component)

Partial Model Modelica.​Thermal.​HeatTransfer.​Interfaces.​Element1D
Partial heat transfer element with two HeatPort connectors that does not store energy

Information

This partial model contains the basic connectors and variables to allow heat transfer models to be created that do not store energy, This model defines and includes equations for the temperature drop across the element, dT, and the heat flow rate through the element from port_a to port_b, Q_flow.

By extending this model, it is possible to write simple constitutive equations for many types of heat transfer components.

Connectors

TypeNameDescription
HeatPort_aport_a 
HeatPort_bport_b 

Partial Model Modelica.​Thermal.​HeatTransfer.​Interfaces.​PartialElementaryConditionalHeatPort
Partial model to include a conditional HeatPort in order to dissipate losses, used for textual modeling, i.e., for elementary models

Information

This partial model provides a conditional heat port for dissipating losses.

If this model is used, the loss power has to be provided by an equation in the model which inherits from PartialElementaryConditionalHeatPort model (lossPower = ...). The device temperature TheatPort can be used to describe the influence of the device temperature on the model behaviour.

Parameters

TypeNameDefaultDescription
BooleanuseHeatPortfalse=true, if heatPort is enabled
TemperatureT293.15Fixed device temperature if useHeatPort = false

Connectors

TypeNameDescription
HeatPort_aheatPortOptional port to which dissipated losses are transported in form of heat

Partial Model Modelica.​Thermal.​HeatTransfer.​Interfaces.​PartialElementaryConditionalHeatPortWithoutT
Partial model to include a conditional HeatPort in order to dissipate losses, used for textual modeling, i.e., for elementary models

Information

This partial model provides a conditional heat port for dissipating losses.

If this model is used, the loss power has to be provided by an equation in the model which inherits from the PartialElementaryConditionalHeatPortWithoutT model (lossPower = ...).

Note, this partial model is used in cases, where heatPort.T (that is the device temperature) is not utilized in the model. If this is desired, inherit instead from partial model PartialElementaryConditionalHeatPort.

Parameters

TypeNameDefaultDescription
BooleanuseHeatPortfalse=true, if heatPort is enabled

Connectors

TypeNameDescription
HeatPort_aheatPortOptional port to which dissipated losses are transported in form of heat

Partial Model Modelica.​Thermal.​HeatTransfer.​Interfaces.​PartialConditionalHeatPort
Partial model to include a conditional HeatPort in order to dissipate losses, used for graphical modeling, i.e., for building models by drag-and-drop

Information

This partial model provides a conditional heat port for dissipating losses.

If this model is used, the internalHeatPort has to be connected in the model which inherits from PartialElementaryConditionalHeatPort model. The device temperature internalHeatPort.T can be used to describe the influence of the device temperature on the model behaviour.

Parameters

TypeNameDefaultDescription
BooleanuseHeatPortfalse=true, if HeatPort is enabled
TemperatureT293.15Fixed device temperature if useHeatPort = false

Connectors

TypeNameDescription
HeatPort_aheatPortOptional port to which dissipated losses are transported in form of heat