Skip to content
HeatTransfer.PrescribedHeatFlow.md

HeatTransfer.PrescribedHeatFlow

Prescribed heat flow boundary condition This component is translated by DyadAI

Usage

TranslatedComponents.HeatTransfer.PrescribedHeatFlow(T_ref=293.15, alpha=0)

Parameters:

NameDescriptionUnitsDefault value
T_refReference temperatureK293.15
alphaTemperature coefficient of heat flow rate1/K0

Connectors

  • Q_flow - This connector represents a real signal as an input to a component (RealInput)

  • port - Thermal port for 1-dim. heat transfer

This component is translated by DyadAI (HeatPort)

Behavior

port.Q_flow(t)=(1+(T_ref+port.T(t))alpha)Q_flow(t)

Source

dyad
# Prescribed heat flow boundary condition
# This component is translated by DyadAI
component PrescribedHeatFlow
  Q_flow = RealInput()
  port = HeatPort()
  # Reference temperature
  parameter T_ref::Dyad.Temperature = 293.15
  # Temperature coefficient of heat flow rate
  parameter alpha::Dyad.LinearTemperatureCoefficient = 0
relations
  port.Q_flow = -Q_flow * (1 + alpha * (port.T - T_ref))
end
Flattened Source
dyad
# Prescribed heat flow boundary condition
# This component is translated by DyadAI
component PrescribedHeatFlow
  Q_flow = RealInput()
  port = HeatPort()
  # Reference temperature
  parameter T_ref::Dyad.Temperature = 293.15
  # Temperature coefficient of heat flow rate
  parameter alpha::Dyad.LinearTemperatureCoefficient = 0
relations
  port.Q_flow = -Q_flow * (1 + alpha * (port.T - T_ref))
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses