modelTo_VolumeFraction

Conversion from mass fraction to volume fraction

Information

This component converts mass fraction to volume fraction for an ideal gas. The default value for the parameter MMBul assumes that the bulk medium is air. The model assumes that the concentration of the measured substance is small enough to be neglected in the molar mass of the mixture.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MolarMassMMMeaMolar mass of measured substance
Modelica.Units.SI.MolarMassMMBulModelica.Media.IdealGases.Common.SingleGasesData.Air.MMMolar mass of bulk medium

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputmMass fraction
Modelica.Blocks.Interfaces.RealOutputVVolume fraction

Revisions

  • February 25, 2020, by Michael Wetter:
    Changed icon to display its operating state.
    This is for #1294.
  • February 13, 2011 by Michael Wetter:
    Changed connectors from the obsolete RealSignal to RealInput and RealOutput.
  • September 22, 2008 by Michael Wetter:
    First implementation.