blockInletToAir

Conversion from real signals for a fluid to a Buildings.Fluid.FMI.Interfaces.Inlet connector

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

TypeNameDefaultDescription
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (inlet -> outlet)

Connectors

TypeNameDefaultDescription
Buildings.Fluid.FMI.Interfaces.InletinletFluid outlet
Modelica.Blocks.Interfaces.RealInputTAirZonZone air temperature
Modelica.Blocks.Interfaces.RealInputX_wZonZone air water mass fraction per total air mass
Modelica.Blocks.Interfaces.RealInput[Medium.nC]CZonZone air trace substances
Modelica.Blocks.Interfaces.RealOutputm_flowMass flow rate of the inlet
Modelica.Blocks.Interfaces.RealOutputTTemperature of the inlet
Modelica.Blocks.Interfaces.RealOutputX_wWater mass fraction per total air mass of the inlet
Modelica.Blocks.Interfaces.RealOutput[Medium.nC]CTrace substances of the inlet

Contents

NameDescription
MediumMedium 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.