$(instance)FixedHeatFlow Icon

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+α(TportTref))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.

Usage

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) \begin{align} \mathtt{node.Q}\left( t \right) &= - Q \left( 1 + \left( - \mathtt{T\_ref} + \mathtt{node.T}\left( t \right) \right) \mathtt{alpha} \right) \end{align}

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": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  # 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))
end
Flattened 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": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
  # 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 {}
end


Test Cases

No test cases defined.

  • Examples
  • Experiments
  • Analyses