T$(instance)TemperatureSensor Icon

TemperatureSensor

Measures the absolute temperature at a thermal node.

This component represents an ideal sensor that measures the absolute temperature from a thermal Node. The temperature at the node is directly provided as a RealOutput signal. The sensor is considered ideal because it imposes no thermal load on the system it is connected to, which is enforced by the equation node.Q = 0. The output temperature T is thus defined as:

\[T = node.T\]

And the heat flow at the node is:

\[node.Q = 0\]

Usage

TemperatureSensor()

Connectors

  • node - This connector represents a thermal node with temperature and heat flow as the potential and flow variables, respectively. (Node)
  • T - This connector represents a real signal as an output from a component (RealOutput)

Behavior

\[ \begin{align} T\left( t \right) &= \mathtt{node.T}\left( t \right) \\ \mathtt{node.Q}\left( t \right) &= 0 \end{align} \]

Source

# Measures the absolute temperature at a thermal node.
#
# This component represents an ideal sensor that measures the absolute temperature
# from a thermal `Node`. The temperature at the `node` is directly provided as
# a `RealOutput` signal. The sensor is considered ideal because it imposes no
# thermal load on the system it is connected to, which is enforced by the
# equation `node.Q = 0`. The output temperature `T` is thus defined as:
# ```math
# T = node.T
# ```
# And the heat flow at the node is:
# ```math
# node.Q = 0
# ```
component TemperatureSensor
  # Thermal connection point from which temperature is measured
  node = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
    }
  }]
  # Output signal representing the measured absolute temperature
  T = RealOutput() [{"Dyad": {"placement": {"icon": {"x1": 900, "y1": 400, "x2": 1100, "y2": 600}}}}]
relations
  T = node.T
  node.Q = 0
end
Flattened Source
# Measures the absolute temperature at a thermal node.
#
# This component represents an ideal sensor that measures the absolute temperature
# from a thermal `Node`. The temperature at the `node` is directly provided as
# a `RealOutput` signal. The sensor is considered ideal because it imposes no
# thermal load on the system it is connected to, which is enforced by the
# equation `node.Q = 0`. The output temperature `T` is thus defined as:
# ```math
# T = node.T
# ```
# And the heat flow at the node is:
# ```math
# node.Q = 0
# ```
component TemperatureSensor
  # Thermal connection point from which temperature is measured
  node = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
    }
  }]
  # Output signal representing the measured absolute temperature
  T = RealOutput() [{"Dyad": {"placement": {"icon": {"x1": 900, "y1": 400, "x2": 1100, "y2": 600}}}}]
relations
  T = node.T
  node.Q = 0
metadata {}
end


Test Cases

No test cases defined.