HeatTransfer.PrescribedHeatFlow
Prescribed heat flow boundary condition This component is translated by DyadAI
Usage
TranslatedComponents.HeatTransfer.PrescribedHeatFlow(T_ref=293.15, alpha=0)
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
T_ref | Reference temperature | K | 293.15 |
alpha | Temperature coefficient of heat flow rate | 1/K | 0 |
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
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))
endFlattened 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 {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses