Skip to content
FixedHeatFlow.md

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:

Qport=−Q⋅(1+α⋅(Tport−Tref))

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: ​

NameDescriptionUnitsDefault value
QBase heat flow rate injected at the port (positive for heat flowing into the connected system)W
T_refReference temperature for temperature-dependent heat flowK293.15
alphaLinear temperature coefficient for heat flow rate dependency on port temperature1/K0

Connectors ​

  • node - This connector represents a thermal node with temperature and heat flow as the potential and flow variables, respectively. (Node)

Behavior ​

node.Q(t)=−Q(1+(−T_ref+node.T(t))alpha)

Source ​

dyad
"""
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"}
  }
}
end
Flattened Source
dyad
"""
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"}
  }
}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses