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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | phi | Volume fraction of the mixture | |
| Modelica.Units.SI.Temperature | T | Temperature of antifreeze-water mixture |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.SpecificVolume | y | Mass fraction of the mixture |
Revisions
-
April 16, 2026 by Michael Wetter:
First implementation.