Modelica.Thermal.HeatTransfer.Celsius

Components with Celsius input and/or output

Information


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 SIunits.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 SIunits.Conversions.*;
    Modelica.Thermal.HeatTransfer.HeatCapacitor C(T0 = from_degC(20));

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

Package Content

NameDescription
Modelica.Thermal.HeatTransfer.Celsius.ToKelvin ToKelvin Conversion block from degCelsius to Kelvin
Modelica.Thermal.HeatTransfer.Celsius.FromKelvin FromKelvin Conversion from Kelvin to degCelsius
Modelica.Thermal.HeatTransfer.Celsius.FixedTemperature FixedTemperature Fixed temperature boundary condition in degree Celsius
Modelica.Thermal.HeatTransfer.Celsius.PrescribedTemperature PrescribedTemperature Variable temperature boundary condition in degCelsius
Modelica.Thermal.HeatTransfer.Celsius.TemperatureSensor TemperatureSensor Absolute temperature sensor in degCelsius


Modelica.Thermal.HeatTransfer.Celsius.ToKelvin Modelica.Thermal.HeatTransfer.Celsius.ToKelvin

Conversion block from degCelsius to Kelvin

Modelica.Thermal.HeatTransfer.Celsius.ToKelvin

Information


This component converts an input signal from Celsius to Kelvin and provide is as output signal.

Connectors

TypeNameDescription
input RealInputCelsius 
output RealOutputKelvin 

Modelica definition

model ToKelvin "Conversion block from degCelsius to Kelvin"

  Modelica.Blocks.Interfaces.RealInput Celsius;
  Modelica.Blocks.Interfaces.RealOutput Kelvin;
equation 
  Kelvin = from_degC(Celsius);
end ToKelvin;

Modelica.Thermal.HeatTransfer.Celsius.FromKelvin Modelica.Thermal.HeatTransfer.Celsius.FromKelvin

Conversion from Kelvin to degCelsius

Modelica.Thermal.HeatTransfer.Celsius.FromKelvin

Information


This component converts an input signal from Kelvin to Celsius and provides is as output signal.

Connectors

TypeNameDescription
input RealInputKelvin 
output RealOutputCelsius 

Modelica definition

model FromKelvin "Conversion from Kelvin to degCelsius"

  Modelica.Blocks.Interfaces.RealInput Kelvin;
  Modelica.Blocks.Interfaces.RealOutput Celsius;
equation 
  Celsius = to_degC(Kelvin);
end FromKelvin;

Modelica.Thermal.HeatTransfer.Celsius.FixedTemperature Modelica.Thermal.HeatTransfer.Celsius.FixedTemperature

Fixed temperature boundary condition in degree Celsius

Modelica.Thermal.HeatTransfer.Celsius.FixedTemperature

Information


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

Parameters

TypeNameDefaultDescription
Temperature_degCT Fixed Temperature at the port [degC]

Connectors

TypeNameDescription
HeatPort_bport 

Modelica definition

model FixedTemperature 
  "Fixed temperature boundary condition in degree Celsius"
  parameter Modelica.SIunits.Conversions.NonSIunits.Temperature_degC T 
    "Fixed Temperature at the port";
  Interfaces.HeatPort_b port;
equation 
  port.T = from_degC(T);
end FixedTemperature;

Modelica.Thermal.HeatTransfer.Celsius.PrescribedTemperature Modelica.Thermal.HeatTransfer.Celsius.PrescribedTemperature

Variable temperature boundary condition in degCelsius

Modelica.Thermal.HeatTransfer.Celsius.PrescribedTemperature

Information


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.

Connectors

TypeNameDescription
HeatPort_bport 
input RealInputT 

Modelica definition

model PrescribedTemperature 
  "Variable temperature boundary condition in degCelsius"

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

Modelica.Thermal.HeatTransfer.Celsius.TemperatureSensor Modelica.Thermal.HeatTransfer.Celsius.TemperatureSensor

Absolute temperature sensor in degCelsius

Modelica.Thermal.HeatTransfer.Celsius.TemperatureSensor

Information


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.

Connectors

TypeNameDescription
output RealOutputT 
HeatPort_aport 

Modelica definition

model TemperatureSensor "Absolute temperature sensor in degCelsius"

  Modelica.Blocks.Interfaces.RealOutput T;
  Interfaces.HeatPort_a port;
equation 
  T = to_degC(port.T);
  port.Q_flow = 0;
end TemperatureSensor;

Automatically generated Fri Nov 12 16:31:47 2010.