modelPartialAirSource

Partial component air source with one fluid connector

Information

Partial model for a moist air source that either prescribes pressure or mass flow rate. Models that extend this partial model need to prescribe the outflowing specific enthalpy, composition and trace substances. This partial model only declares the ports and ensures that the pressures at all ports are equal.

Implementation

If the parameter verifyInputs is set to true, then a protected instance of medium base properties is enabled. This instance verifies that the medium temperature is within the bounds T_min and T_max, where T_min and T_max are constants of the Medium. If the temperature is outside these bounds, the simulation will stop with an error.

Usage

This partial model provides medium selection for moist air. For a model that only provides for water, moist air and glycol as a selection, use Buildings.Fluid.Sources.BaseClasses.PartialSource.

Parameters

TypeNameDefaultDescription
IntegernPorts0Number of ports
Advanced
BooleanverifyInputsfalseSet to true to stop the simulation with an error if the medium temperature is outside its allowable range

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts]portsFluid ports

Contents

NameDescription
MediumMedium in the component

Revisions

  • May 21, 2026, by Michael Wetter:
    Removed deprecated cardinality function.
    Removed protected parameter flowDirection as it was set to Birectional and had no effect on the model.
    This is for Buildings, #4607.
  • June 18, 2024, by Michael Wetter:
    Added start and nominal attributes to avoid warnings in OpenModelica due to conflicting values.
    This is for IBPSA, #1890.
  • January 09, 2023, by Jianjun Hu:
    First implementation, specifically for the moist air source.
    This is for IBPSA, #1681.