$(instance)FixedTemperature Icon

FixedTemperature

Fixed temperature boundary condition in kelvin.

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

Usage

FixedTemperature(T)

Parameters:

NameDescriptionUnitsDefault value
TFixed temperature boundary conditionK

Connectors

Behavior

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

Source

# Fixed temperature boundary condition in kelvin.
#
# This model defines a fixed temperature `T` at its port in kelvin, i.e., it
# defines a fixed temperature as a boundary condition.
component FixedTemperature
  node = Node() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  # Fixed temperature boundary condition
  parameter T::Temperature
relations
  node.T = T
end
Flattened Source
# Fixed temperature boundary condition in kelvin.
#
# This model defines a fixed temperature `T` at its port in kelvin, i.e., it
# defines a fixed temperature as a boundary condition.
component FixedTemperature
  node = Node() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  # Fixed temperature boundary condition
  parameter T::Temperature
relations
  node.T = T
metadata {}
end

Test Cases

  • Examples
  • Experiments
  • Analyses