Package Modelica.Thermal.HeatTransfer.Celsius
The components of this package are provided for the convenience of people working mostly with Celsius units, since all models in package HeatTransfer are based on Kelvin units.
Note, that in package Modelica.Units.Conversions, functions are provided
to convert between the units Kelvin, degree Celsius, degree Fahrenheit,
and degree Rankine. These functions allow, e.g., a direct conversion
of units at all places where Kelvin is required as parameter.
Example:
import Modelica.Units.Conversions.from_degC; Modelica.Thermal.HeatTransfer.HeatCapacitor C(T0 = from_degC(20));
Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).
| Name | Description |
|---|---|
FixedTemperature | Fixed temperature boundary condition in degree Celsius |
FromKelvin | Conversion from Kelvin to degree Celsius |
PrescribedTemperature | Variable temperature boundary condition in degCelsius |
TemperatureSensor | Absolute temperature sensor in degCelsius |
ToKelvin | Conversion from degree Celsius to Kelvin |
Model Modelica.Thermal.HeatTransfer.Celsius.ToKelvin
This component converts an input signal from Celsius to Kelvin and provide is as output signal.
Extends from Modelica.Thermal.HeatTransfer.Icons.Conversion (Conversion of temperatures).
| Type | Name | Description |
|---|---|---|
input RealInput | Celsius |   |
output RealOutput | Kelvin |   |
Model Modelica.Thermal.HeatTransfer.Celsius.FromKelvin
This component converts an input signal from Kelvin to Celsius and provides is as output signal.
Extends from Modelica.Thermal.HeatTransfer.Icons.Conversion (Conversion of temperatures).
| Type | Name | Description |
|---|---|---|
input RealInput | Kelvin |   |
output RealOutput | Celsius |   |
Model Modelica.Thermal.HeatTransfer.Celsius.FixedTemperature
This model defines a fixed temperature T at its port in [degC], i.e., it defines a fixed temperature as a boundary condition.
Extends from Modelica.Thermal.HeatTransfer.Icons.FixedTemperature (Icon of fixed temperature source).
| Type | Name | Default | Description |
|---|---|---|---|
Temperature_degC | T | Fixed temperature at the port |
| Type | Name | Description |
|---|---|---|
HeatPort_b | port |   |
Model Modelica.Thermal.HeatTransfer.Celsius.PrescribedTemperature
This model represents a variable temperature boundary condition The temperature value in [degC] is given by the input signal 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.
Extends from Modelica.Thermal.HeatTransfer.Icons.PrescribedTemperature (Icon of prescribed temperature source).
| Type | Name | Description |
|---|---|---|
HeatPort_b | port |   |
input RealInput | T |   |
Model Modelica.Thermal.HeatTransfer.Celsius.TemperatureSensor
This is an ideal absolute temperature sensor which returns the temperature of the connected port in Celsius as an output signal. The sensor itself has no thermal interaction with whatever it is connected to. Furthermore, no thermocouple-like lags are associated with this sensor model.
| Type | Name | Description |
|---|---|---|
output RealOutput | T | Absolute temperature in degree Celsius as output signal |
HeatPort_a | port |   |