modelHeaterFan_noReverseFlow
Heater and fan in series, model configured to not allow flow reversal
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates how to configure a model with a heater
and a fan that causes a pressure rise in the air stream.
The model is identical with
Buildings.Fluid.FMI.Validation.HeaterFan
except that reverse flow is not allowed due to the parameter
allowFlowReversal=false.
Consequently, the connectors for the fluid properties for the reverse flow
are removed, and the blocks on the right hand side of the model
Buildings.Fluid.FMI.Validation.HeaterFan
have been deleted.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | allowFlowReversal | false | = true to allow flow reversal, false restricts to design direction (inlet -> outlet) |
| Boolean | use_p_in | false | = true to use a pressure from connector, false to output Medium.p_default |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | Q_flow_nominal/1000/10 | Nominal mass flow rate |
| Modelica.Units.SI.PressureDifference | dp_nominal | 2000 | Pressure |
| Modelica.Units.SI.HeatFlowRate | Q_flow_nominal | 1000 | Heat flow rate at u=1, positive for heating |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ExportContainers.Examples.FMUs.Fan | floMac | Flow machine with pressure raise as an input | |
| ExportContainers.Examples.FMUs.HeaterCooler_u | hea | Heater | |
| Modelica.Blocks.Sources.Constant | dp | Pressure raise of fan | |
| Modelica.Blocks.Sources.Constant | uHea | Control signal for heater | |
| Source_T | sou | Source for mass flow rate and pressure | |
| Modelica.Blocks.Sources.Constant | m_flow | Mass flow rate | |
| Modelica.Blocks.Sources.Constant | pIn | Inlet pressure | |
| Modelica.Blocks.Sources.Constant | TIn | Inlet temperature | |
| Modelica.Blocks.Sources.Constant | X_w_in | Inlet mass fraction | |
| Modelica.Blocks.Sources.Constant[Medium.nC] | C | Trace substances for forward flow |
Contents
| Name | Description |
|---|---|
| Medium model |
Revisions
-
January 22, 2016, by Michael Wetter:
Corrected type declaration of pressure difference. This is for #404. -
November 8, 2014, by Michael Wetter:
First implementation.