functiondensity_TX_a
Return density
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function to return the mass density for specified glycol mass fraction and temperature.
This function returns the mass density by calling the functions in
Buildings.Media.Antifreeze.Functions.
For water, the input argument X_a is not used.
For glycol, set it to the mass fraction of glycol.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.DataCenterEquipment.CDUs.Types.Media | medium | Medium type | |
| Modelica.Units.SI.MassFraction | X_a | Glycol mass fraction | |
| Modelica.Units.SI.Temperature | T | Temperature at which properties are evaluated |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Density | d | Prandtl number |
Revisions
-
July 8, 2026, by Michael Wetter:
First implementation.