alpha
and T_ref
have
been deleted in the models
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow and
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow
as these can cause division by zero in some fluid flow models.
Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).
Name | Description |
---|---|
FixedTemperature | Fixed temperature boundary condition in Kelvin |
PrescribedTemperature | Variable temperature boundary condition in Kelvin |
FixedHeatFlow | Fixed heat flow boundary condition |
PrescribedHeatFlow | Prescribed heat flow boundary condition |
This model defines a fixed temperature T at its port in Kelvin, i.e., it defines a fixed temperature as a boundary condition.
Type | Name | Default | Description |
---|---|---|---|
Temperature | T | Fixed temperature at port [K] |
Type | Name | Description |
---|---|---|
HeatPort_b | port |
model FixedTemperature "Fixed temperature boundary condition in Kelvin" parameter Modelica.SIunits.Temperature T "Fixed temperature at port";Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b port; equation port.T = T;end FixedTemperature;
This model represents a variable temperature boundary condition. The temperature in [K] is given as input signal T to the model. The effect is that an instance of this model acts as an infinite reservoir able to absorb or generate as much energy as required to keep the temperature at the specified value.
Type | Name | Description |
---|---|---|
HeatPort_b | port | |
input RealInput | T |
model PrescribedTemperature "Variable temperature boundary condition in Kelvin"Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b port; Modelica.Blocks.Interfaces.RealInput T; equation port.T = T;end PrescribedTemperature;
This model allows a specified amount of heat flow rate to be "injected" into a thermal system at a given port. The constant amount of heat flow rate Q_flow is given as a parameter. The heat flows into the component to which the component FixedHeatFlow is connected, if parameter Q_flow is positive.
This model is identical to
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow, except that
the parameters alpha
and T_ref
have
been deleted as these can cause division by zero in some fluid flow models.
Type | Name | Default | Description |
---|---|---|---|
HeatFlowRate | Q_flow | Fixed heat flow rate at port [W] |
Type | Name | Description |
---|---|---|
HeatPort_b | port |
model FixedHeatFlow "Fixed heat flow boundary condition" parameter Modelica.SIunits.HeatFlowRate Q_flow "Fixed heat flow rate at port";Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b port; equation port.Q_flow = -Q_flow;end FixedHeatFlow;
This model allows a specified amount of heat flow rate to be "injected" into a thermal system at a given port. The amount of heat is given by the input signal Q_flow into the model. The heat flows into the component to which the component PrescribedHeatFlow is connected, if the input signal is positive.
This model is identical to
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow, except that
the parameters alpha
and T_ref
have
been deleted as these can cause division by zero in some fluid flow models.
Type | Name | Description |
---|---|---|
input RealInput | Q_flow | |
HeatPort_b | port |
model PrescribedHeatFlow "Prescribed heat flow boundary condition"Modelica.Blocks.Interfaces.RealInput Q_flow; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b port; equation port.Q_flow = -Q_flow;end PrescribedHeatFlow;