blockInletToAir
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Block that takes an inlet connector of type Buildings.Fluid.FMI.Interfaces.Inlet and converts it to real outputs for properties of an air-based HVAC system.
The output signal m_flow is equal to
inlet.m_flow, whereas the output signals
T, X_w and C
are set the the properties
inlet.forward.
Similarly, the properties of
inlet.backward are set the the values
of the input signals
TAirZon, X_wZon and CZon.
If allowFlowReversal = true,
input signal connectors are enabled that are used
to set the fluid properties for backflow in the connector
inlet.backward.
This can be used if this block is used to connect an HVAC
system to a thermal zone, in which case the supply air
properties are in the connector
inlet.forward,
and the return air properties are in the connector
inlet.backward.
See Buildings.Fluid.FMI.Adaptors.ThermalZone for its usage.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | allowFlowReversal | true | = true to allow flow reversal, false restricts to design direction (inlet -> outlet) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.FMI.Interfaces.Inlet | inlet | Fluid outlet | |
| Modelica.Blocks.Interfaces.RealInput | TAirZon | Zone air temperature | |
| Modelica.Blocks.Interfaces.RealInput | X_wZon | Zone air water mass fraction per total air mass | |
| Modelica.Blocks.Interfaces.RealInput[Medium.nC] | CZon | Zone air trace substances | |
| Modelica.Blocks.Interfaces.RealOutput | m_flow | Mass flow rate of the inlet | |
| Modelica.Blocks.Interfaces.RealOutput | T | Temperature of the inlet | |
| Modelica.Blocks.Interfaces.RealOutput | X_w | Water mass fraction per total air mass of the inlet | |
| Modelica.Blocks.Interfaces.RealOutput[Medium.nC] | C | Trace substances of the inlet |
Contents
| Name | Description |
|---|---|
| Medium in the component |
Revisions
-
February 1, 2024, by Michael Wetter:
Added causality.
See #1829. -
January 18, 2019, by Jianjun Hu:
Limited the media choice to moist air only. See #1050. -
June 28, 2016, by Michael Wetter:
Revised implementation to allow flow out of the thermal zone, for example to model the return air flow. -
April 27, 2016, by Thierry S. Nouidui:
First implementation.