functionvolumeToMassFraction

Returns the mass fraction of the mixture for a given volume fraction

Extends from Modelica.Icons.Function (Icon for functions).

Information

Conversion from volume fraction to mass fraction of antifreeze-water mixture at specified temperature.

Implementation

The density function is only valid for mass fractions up to X_a_max. Therefore, linear extrapolation, using the slope of the density function at X_a_max, is used to get the density of glycol at X_a=1.

Inputs

TypeNameDefaultDescription
RealphiVolume fraction of the mixture
Modelica.Units.SI.TemperatureTTemperature of antifreeze-water mixture

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.SpecificVolumeyMass fraction of the mixture

Revisions

  • April 16, 2026 by Michael Wetter:
    First implementation.