$(instance)FixedTemperature Icon

FixedTemperature

Defines a fixed temperature boundary condition at its port.

This component models an ideal thermal source that maintains a constant temperature at its connection port. The temperature value is specified by the parameter T. It acts as a boundary condition in thermal systems, ensuring that the connected point in the system is held at the prescribed temperature, regardless of the heat flow. The core behavior is defined by the equation:

\[\text{node.T} = T\]

where node.T is the temperature at the port and T is the specified fixed temperature parameter.

Usage

FixedTemperature(T)

Parameters:

NameDescriptionUnitsDefault value
TThe fixed temperature value (in Kelvin) for this boundary condition.K

Connectors

  • node - This connector represents a thermal node with temperature and heat flow as the potential and flow variables, respectively. (Node)

Behavior

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

Source

# Defines a fixed temperature boundary condition at its port.
#
# This component models an ideal thermal source that maintains a constant temperature at its connection port.
# The temperature value is specified by the parameter `T`. It acts as a boundary condition in thermal systems,
# ensuring that the connected point in the system is held at the prescribed temperature, regardless of the heat flow.
# The core behavior is defined by the equation:
# ```math
# \text{node.T} = T
# ```
# where `node.T` is the temperature at the port and `T` is the specified fixed temperature parameter.
component FixedTemperature
  # Thermal connection port where the temperature is defined.
  node = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  # The fixed temperature value (in Kelvin) for this boundary condition.
  parameter T::Temperature
relations
  node.T = T
end
Flattened Source
# Defines a fixed temperature boundary condition at its port.
#
# This component models an ideal thermal source that maintains a constant temperature at its connection port.
# The temperature value is specified by the parameter `T`. It acts as a boundary condition in thermal systems,
# ensuring that the connected point in the system is held at the prescribed temperature, regardless of the heat flow.
# The core behavior is defined by the equation:
# ```math
# \text{node.T} = T
# ```
# where `node.T` is the temperature at the port and `T` is the specified fixed temperature parameter.
component FixedTemperature
  # Thermal connection port where the temperature is defined.
  node = Node() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  # The fixed temperature value (in Kelvin) for this boundary condition.
  parameter T::Temperature
relations
  node.T = T
metadata {}
end


Test Cases

No test cases defined.

  • Examples
  • Experiments
  • Analyses