Temperature sensor

Absolute temperature of its port (K).

  • signal
  • thermal
  • Modelica Standard Library
  • 2 ports
BlockTemperature sensorKindtemperatureSensorLibraryThermal

Description

Measures the absolute temperature of a heat port. It draws no heat.

Example

Cooling a hot part A 10 W part cools through a thermal resistance into a heatsink that convects and radiates to 20 °C.

10 WPart 100 J/KHeat flowR 2 K/WHeatsink 500 J/Kh·A 5 W/KConvectionAir 20 °CRadiationRoom 20 °CPart temperatureAcross R350 KHeld at 350 KG 1 W/KBody 100 J/K20 W at 1500 sHeaterBody temperature
In Gradara, select a Temperature sensor block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:ConstantStepHeat capacitorThermal conductorThermal resistorConvectionRadiationFixed temperatureTemperature sourceFixed heat flowHeat flow sourceHeat flow sensorTemperature difference sensor

Ports

Outputs 1

  • T

    Temperature, in kelvin.

Conserving terminals 1

  • Tport

    Heat port to measure. No heat flows through it.

Equations

Modelica
T = port.T
port.Q_flow = 0

Implementation

Modelica Standard Library 4.1.0Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor
MSL documentation

Tips

  • Subtract 273.15 for degrees Celsius.

Used in

These larger examples use it too. Open them from Examples in the app.

  • Data center cooling control

See also

Select a block in Gradara and press F1 to open its page offline.