TemperatureSensor
IconTemperatureSensor
Absolute temperature sensor
Usage
TemperatureSensor()
Connectors
node
- (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
# Absolute temperature sensor
component TemperatureSensor
node = Node() [{
"JuliaSim": {
"placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
}
}]
# Absolute temperature as output signal
T = RealOutput() [{
"JuliaSim": {"placement": {"icon": {"x1": 900, "y1": 400, "x2": 1100, "y2": 600}}}
}]
relations
T = node.T
node.Q = 0
end
Flattened Source
# Absolute temperature sensor component TemperatureSensor node = Node() [{ "JuliaSim": { "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}} } }] # Absolute temperature as output signal T = RealOutput() [{ "JuliaSim": {"placement": {"icon": {"x1": 900, "y1": 400, "x2": 1100, "y2": 600}}} }] relations T = node.T node.Q = 0 metadata {} end
Test Cases
Related
- Examples
- Experiments
- Analyses