Modelica.Thermal.HeatTransfer.Interfaces

Connectors and partial models

Information



Extends from Modelica.Icons.Library2 (Icon for library where additional icon elements shall be added).

Package Content

NameDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort HeatPort Thermal port for 1-dim. heat transfer
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a HeatPort_a Thermal port for 1-dim. heat transfer (filled rectangular icon)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b HeatPort_b Thermal port for 1-dim. heat transfer (unfilled rectangular icon)
Modelica.Thermal.HeatTransfer.Interfaces.Element1D Element1D Partial heat transfer element with two HeatPort connectors that does not store energy


Modelica.Thermal.HeatTransfer.Interfaces.HeatPort

Thermal port for 1-dim. heat transfer

Information



Contents

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

Modelica definition

partial connector HeatPort "Thermal port for 1-dim. heat transfer"
  Modelica.SIunits.Temperature T "Port temperature";
  flow Modelica.SIunits.HeatFlowRate Q_flow 
    "Heat flow rate (positive if flowing from outside into the component)";
end HeatPort;

Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a

Thermal port for 1-dim. heat transfer (filled rectangular icon)

Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a

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 HeatPort (Thermal port for 1-dim. heat transfer).

Contents

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

Modelica definition

connector HeatPort_a 
  "Thermal port for 1-dim. heat transfer (filled rectangular icon)"

  extends HeatPort;

end HeatPort_a;

Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b

Thermal port for 1-dim. heat transfer (unfilled rectangular icon)

Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b

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 HeatPort (Thermal port for 1-dim. heat transfer).

Contents

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

Modelica definition

connector HeatPort_b 
  "Thermal port for 1-dim. heat transfer (unfilled rectangular icon)"

  extends HeatPort;

end HeatPort_b;

Modelica.Thermal.HeatTransfer.Interfaces.Element1D Modelica.Thermal.HeatTransfer.Interfaces.Element1D

Partial heat transfer element with two HeatPort connectors that does not store energy

Modelica.Thermal.HeatTransfer.Interfaces.Element1D

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 

Modelica definition

partial model Element1D 
  "Partial heat transfer element with two HeatPort connectors that does not store energy"

  Modelica.SIunits.HeatFlowRate Q_flow "Heat flow rate from port_a -> port_b";
  Modelica.SIunits.TemperatureDifference dT "port_a.T - port_b.T";
public 
  HeatPort_a port_a;
  HeatPort_b port_b;
equation 
  dT = port_a.T - port_b.T;
  port_a.Q_flow = Q_flow;
  port_b.Q_flow = -Q_flow;
end Element1D;

HTML-documentation generated by Dymola Sun Jan 17 21:12:45 2010.