modelPPM

Ideal one port trace substances sensor outputting in parts per million

Extends from IBPSA.Fluid.Sensors.BaseClasses.PartialAbsoluteSensor, Modelica.Icons.RotationalSensor.

Information

This model outputs the trace substance concentration in ppm contained in the fluid connected to its port. The sensor is ideal, i.e., it does not influence the fluid.

The parameter MM is the molar mass of the trace substance. For a list of molar masses, see Modelica.Media.IdealGases.Common.SingleGasesData and Modelica.Media.IdealGases.Common.FluidData.

Read the IBPSA.Fluid.Sensors.UsersGuide prior to using this model with one fluid port.

Assumptions

This sensor assumes that the concentration C of the medium is in mass fraction. Otherwise, the conversion to ppm will be wrong.

Parameters

TypeNameDefaultDescription
StringsubstanceName"CO2"Name of trace substance
Modelica.SIunits.MolarMassMMModelica.Media.IdealGases.Common.SingleGasesData.CO2.MMMolar mass of the trace substance

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputppmTrace substance in port medium in ppm

Revisions

  • December 16, 2015, by Michael Wetter:
    Revised implementation, corrected error in the molar fraction which used the inverse ratio.
  • December 2, 2015, by Filip Jorissen:
    First implementation.