modelTemperature

Ideal one port temperature sensor

Extends from Buildings.Fluid.Sensors.BaseClasses.PartialAbsoluteSensor (Partial component to model a sensor that measures a potential variable).

Information

This model outputs the temperature of the fluid connected to its port. The sensor is ideal, i.e., it does not influence the fluid.

To measure temperature in a duct or pipe, use Buildings.Fluid.Sensors.TemperatureTwoPort rather than this sensor. Read the Buildings.Fluid.Sensors.UsersGuide prior to using this model to see about potential numerical problems if this sensor is used incorrectly in a system model.

Parameters

TypeNameDefaultDescription
BooleanwarnAboutOnePortConnection (from PartialAbsoluteSensor)trueSet to false to suppress warning about potential numerical issues, see Buildings.Fluid.Sensors.UsersGuide for more information

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport (from PartialAbsoluteSensor)
Modelica.Blocks.Interfaces.RealOutputTTemperature in port medium

Revisions

  • September 21, 2020, by Michael Wetter:
    Introduced parameter warnAboutOnePortConnection and updated documentation.
    This is for #1399.
  • February 21, 2020, by Michael Wetter:
    Changed icon to display its operating state.
    This is for #1294.
  • September 29, 2009, by Michael Wetter:
    First implementation. Implementation is based on Modelica.Fluid.