PrescribedTemperature
IconPrescribedTemperature
This model represents a variable temperature boundary condition.
The temperature in kelvin is given as input signal to the RealInput
T
. The effect is that an instance of this model acts as an infinite reservoir, able to absorb or generate as much energy as required to keep the temperature at the specified value.
Usage
PrescribedTemperature()
Connectors
Behavior
\[ \begin{align} \mathtt{node.T}\left( t \right) &= T\left( t \right) \end{align} \]
Source
# This model represents a variable temperature boundary condition.
#
# The temperature in kelvin is given as input signal to the `RealInput` `T`. The
# effect is that an instance of this model acts as an infinite reservoir, able to
# absorb or generate as much energy as required to keep the temperature at the
# specified value.
component PrescribedTemperature
node = Node() [{
"JuliaSim": {
"placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
}
}]
T = RealInput() [{
"JuliaSim": {"placement": {"icon": {"x1": -100, "y1": 400, "x2": 100, "y2": 600}}}
}]
relations
node.T = T
end
Flattened Source
# This model represents a variable temperature boundary condition. # # The temperature in kelvin is given as input signal to the `RealInput` `T`. The # effect is that an instance of this model acts as an infinite reservoir, able to # absorb or generate as much energy as required to keep the temperature at the # specified value. component PrescribedTemperature node = Node() [{ "JuliaSim": { "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}} } }] T = RealInput() [{ "JuliaSim": {"placement": {"icon": {"x1": -100, "y1": 400, "x2": 100, "y2": 600}}} }] relations node.T = T metadata {} end
Test Cases
Related
- Examples
- Experiments
- Analyses