FixedHeatFlow ​
Fixed heat flow boundary condition, potentially temperature-dependent.
This component represents a thermal boundary condition where a specific amount of heat flow rate is exchanged with a connected component through its single thermal port (node). The primary heat flow is determined by the parameter Q. If Q is positive, heat is supplied to the external system. An optional linear temperature dependency can be introduced using the parameter alpha (LinearTemperatureCoefficient) and T_ref (ReferenceTemperature). The heat flow Q_{port} at the port is defined by the equation:
where Q is the specified heat flow rate parameter, \alpha is the temperature coefficient, T_{port} is the temperature at the port (node.T), and T_{ref} is the reference temperature.
Usage ​
ThermalComponents.FixedHeatFlow(Q, T_ref=293.15, alpha=0.0)
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
Q | Base heat flow rate injected at the port (positive for heat flowing into the connected system) | W | |
T_ref | Reference temperature for temperature-dependent heat flow | K | 293.15 |
alpha | Linear temperature coefficient for heat flow rate dependency on port temperature | 1/K | 0 |
Connectors ​
node- This connector represents a thermal node with temperature and heat flow as the potential and flow variables, respectively. (Node)
Behavior ​
Source ​
"""
Fixed heat flow boundary condition, potentially temperature-dependent.
This component represents a thermal boundary condition where a specific amount of
heat flow rate is exchanged with a connected component through its single thermal port (`node`).
The primary heat flow is determined by the parameter `Q`. If `Q` is positive,
heat is supplied to the external system. An optional linear temperature dependency
can be introduced using the parameter `alpha` (LinearTemperatureCoefficient) and
`T_ref` (ReferenceTemperature).
The heat flow `Q_{port}` at the port is defined by the equation:math Q_{port} = -Q \cdot (1 + \alpha \cdot (T_{port} - T_{ref}))
where `Q` is the specified heat flow rate parameter, `\alpha` is the temperature
coefficient, `T_{port}` is the temperature at the port (`node.T`), and `T_{ref}`
is the reference temperature.
"""
component FixedHeatFlow
"Thermal port for connecting to other thermal components"
node = Node() {
"Dyad": {
"placement": {"icon": {"iconName": "node_b", "x1": 950, "y1": 450, "x2": 1050, "y2": 550}}
}
}
"Base heat flow rate injected at the port (positive for heat flowing into the connected system)"
parameter Q::HeatFlowRate
"Reference temperature for temperature-dependent heat flow"
parameter T_ref::Temperature = 293.15
"Linear temperature coefficient for heat flow rate dependency on port temperature"
parameter alpha::LinearTemperatureCoefficient = 0.0
relations
node.Q = -Q * (1 + alpha * (node.T - T_ref))
metadata {
"Dyad": {
"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
"icons": {"default": "dyad://ThermalComponents/FixedHeatFlow.svg"}
}
}
endFlattened Source
"""
Fixed heat flow boundary condition, potentially temperature-dependent.
This component represents a thermal boundary condition where a specific amount of
heat flow rate is exchanged with a connected component through its single thermal port (`node`).
The primary heat flow is determined by the parameter `Q`. If `Q` is positive,
heat is supplied to the external system. An optional linear temperature dependency
can be introduced using the parameter `alpha` (LinearTemperatureCoefficient) and
`T_ref` (ReferenceTemperature).
The heat flow `Q_{port}` at the port is defined by the equation:math Q_{port} = -Q \cdot (1 + \alpha \cdot (T_{port} - T_{ref}))
where `Q` is the specified heat flow rate parameter, `\alpha` is the temperature
coefficient, `T_{port}` is the temperature at the port (`node.T`), and `T_{ref}`
is the reference temperature.
"""
component FixedHeatFlow
"Thermal port for connecting to other thermal components"
node = Node() {
"Dyad": {
"placement": {"icon": {"iconName": "node_b", "x1": 950, "y1": 450, "x2": 1050, "y2": 550}}
}
}
"Base heat flow rate injected at the port (positive for heat flowing into the connected system)"
parameter Q::HeatFlowRate
"Reference temperature for temperature-dependent heat flow"
parameter T_ref::Temperature = 293.15
"Linear temperature coefficient for heat flow rate dependency on port temperature"
parameter alpha::LinearTemperatureCoefficient = 0.0
relations
node.Q = -Q * (1 + alpha * (node.T - T_ref))
metadata {
"Dyad": {
"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
"icons": {"default": "dyad://ThermalComponents/FixedHeatFlow.svg"}
}
}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses