Modelica.Thermal.HeatTransfer.Sources

Thermal sources

Information



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

Package Content

NameDescription
Modelica.Thermal.HeatTransfer.Sources.FixedTemperature FixedTemperature Fixed temperature boundary condition in Kelvin
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature PrescribedTemperature Variable temperature boundary condition in Kelvin
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow FixedHeatFlow Fixed heat flow boundary condition
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow PrescribedHeatFlow Prescribed heat flow boundary condition


Modelica.Thermal.HeatTransfer.Sources.FixedTemperature Modelica.Thermal.HeatTransfer.Sources.FixedTemperature

Fixed temperature boundary condition in Kelvin

Modelica.Thermal.HeatTransfer.Sources.FixedTemperature

Information


This model defines a fixed temperature T at its port in Kelvin, i.e., it defines a fixed temperature as a boundary condition.

Parameters

TypeNameDefaultDescription
TemperatureT Fixed temperature at port [K]

Connectors

TypeNameDescription
HeatPort_bport 

Modelica definition

model FixedTemperature 
  "Fixed temperature boundary condition in Kelvin"

  parameter Modelica.SIunits.Temperature T "Fixed temperature at port";
  Interfaces.HeatPort_b port;
equation 
  port.T = T;
end FixedTemperature;

Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature

Variable temperature boundary condition in Kelvin

Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature

Information


This model represents a variable temperature boundary condition. The temperature in [K] is given as input signal T to the model. The effect is that an instance of this model acts as an infinite reservoir able to absorb or generate as much energy as required to keep the temperature at the specified value.

Connectors

TypeNameDescription
HeatPort_bport 
input RealInputT 

Modelica definition

model PrescribedTemperature 
  "Variable temperature boundary condition in Kelvin"

  Interfaces.HeatPort_b port;
  Modelica.Blocks.Interfaces.RealInput T;
equation 
  port.T = T;
end PrescribedTemperature;

Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow

Fixed heat flow boundary condition

Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow

Information


This model allows a specified amount of heat flow rate to be "injected" into a thermal system at a given port. The constant amount of heat flow rate Q_flow is given as a parameter. The heat flows into the component to which the component FixedHeatFlow is connected, if parameter Q_flow is positive.

If parameter alpha is > 0, the heat flow is mulitplied by (1 + alpha*(port.T - T_ref)) in order to simulate temperature dependent losses (which are given an reference temperature T_ref).

Parameters

TypeNameDefaultDescription
HeatFlowRateQ_flow Fixed heat flow rate at port [W]
TemperatureT_ref293.15Reference temperature [K]
LinearTemperatureCoefficientalpha0Temperature coefficient of heat flow rate [1/K]

Connectors

TypeNameDescription
HeatPort_bport 

Modelica definition

model FixedHeatFlow "Fixed heat flow boundary condition"
  parameter Modelica.SIunits.HeatFlowRate Q_flow "Fixed heat flow rate at port";
  parameter Modelica.SIunits.Temperature T_ref=293.15 "Reference temperature";
  parameter Modelica.SIunits.LinearTemperatureCoefficient alpha=0 
    "Temperature coefficient of heat flow rate";
  Interfaces.HeatPort_b port;
equation 
  port.Q_flow = -Q_flow*(1 + alpha*(port.T - T_ref));
end FixedHeatFlow;

Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow

Prescribed heat flow boundary condition

Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow

Information


This model allows a specified amount of heat flow rate to be "injected" into a thermal system at a given port. The amount of heat is given by the input signal Q_flow into the model. The heat flows into the component to which the component PrescribedHeatFlow is connected, if the input signal is positive.

If parameter alpha is > 0, the heat flow is mulitplied by (1 + alpha*(port.T - T_ref)) in order to simulate temperature dependent losses (which are given an reference temperature T_ref).

Parameters

TypeNameDefaultDescription
TemperatureT_ref293.15Reference temperature [K]
LinearTemperatureCoefficientalpha0Temperature coefficient of heat flow rate [1/K]

Connectors

TypeNameDescription
input RealInputQ_flow 
HeatPort_bport 

Modelica definition

model PrescribedHeatFlow "Prescribed heat flow boundary condition"
  parameter Modelica.SIunits.Temperature T_ref=293.15 "Reference temperature";
  parameter Modelica.SIunits.LinearTemperatureCoefficient alpha=0 
    "Temperature coefficient of heat flow rate";
  Modelica.Blocks.Interfaces.RealInput Q_flow;
  Interfaces.HeatPort_b port;
equation 
  port.Q_flow = -Q_flow*(1 + alpha*(port.T - T_ref));
end PrescribedHeatFlow;

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