modelInletToAirMoistAir

Validation model for inlet to Buildings.Media.Air conversion without trace substances

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example validates the conversion model Buildings.Fluid.FMI.Conversion.InletToAir . The medium used is Buildings.Media.Air without trace substances. The top model has no reverse flow, whereas the bottom model has reverse flow.

Parameters

TypeNameDefaultDescription
Booleanuse_p_infalse= true to use a pressure from connector, false to output Medium.p_default

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.Constantm_flowMass flow rate
Modelica.Blocks.Sources.ConstantTRoom temperature
Buildings.Fluid.FMI.Conversion.InletToAirconAirConverter for air
Source_TsouSource for mass flow rate and pressure
Modelica.Blocks.Sources.ConstantpInInlet pressure
Modelica.Blocks.Sources.ConstantX_w_inInlet mass fraction
Modelica.Blocks.Sources.Constant[Medium.nC]CTrace substances for forward flow
Buildings.Fluid.FMI.Conversion.InletToAirconAirRevFloConverter for air with reverse flow
Source_TsouRevSource for mass flow rate and pressure with reverse flow
Modelica.Blocks.Sources.ConstantTRevTemperature for reverse flow
Modelica.Blocks.Sources.ConstantX_wMass flow fraction for reverse flow

Contents

NameDescription
Medium

Revisions

  • June 29, 2016, by Michael Wetter:
    Added validation test for reverse flow.
  • April 28, 2016 by Thierry S. Nouidui:
    First implementation.