ThermalResistor
IconThermalResistor
Lumped thermal element, with resistance, transporting heat without storing it.
This component extends from Element1D
Usage
ThermalResistor(R)
Parameters:
Name | Description | Units | Default value |
---|---|---|---|
R | Constant thermal resistance of the material | K/W |
Connectors
Variables
Name | Description | Units |
---|---|---|
ΔT | K | |
Q | W |
Behavior
\[ \begin{align} \mathtt{{\Delta}T}\left( t \right) &= - \mathtt{node\_b.T}\left( t \right) + \mathtt{node\_a.T}\left( t \right) \\ \mathtt{node\_a.Q}\left( t \right) &= Q\left( t \right) \\ \mathtt{node\_a.Q}\left( t \right) + \mathtt{node\_b.Q}\left( t \right) &= 0 \\ \mathtt{{\Delta}T}\left( t \right) &= R Q\left( t \right) \end{align} \]
Source
# Lumped thermal element, with resistance, transporting heat without storing it.
component ThermalResistor
extends Element1D
# Constant thermal resistance of the material
parameter R::ThermalResistance
relations
ΔT = R*Q
end
Flattened Source
# Lumped thermal element, with resistance, transporting heat without storing it. component ThermalResistor node_a = Node() [{ "JuliaSim": { "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}} } }] node_b = Node() [{ "JuliaSim": { "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}} } }] variable ΔT::Temperature variable Q::HeatFlowRate # Constant thermal resistance of the material parameter R::ThermalResistance relations ΔT = node_a.T-node_b.T node_a.Q = Q node_a.Q+node_b.Q = 0 ΔT = R*Q metadata {} end
Test Cases
Related
- Examples
- Experiments
- Analyses