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.
To measure PPM in a duct or pipe, use AixLib.Fluid.Sensors.PPMTwoPort rather than this sensor. Read the AixLib.Fluid.Sensors.UsersGuide prior to using this model to see about potential numerical problems if this sensor is used incorrectly in a system model.
This sensor assumes that the concentration C of the medium is in mass fraction. Otherwise, the conversion to ppm will be wrong.
warnAboutOnePortConnection and
updated documentation.