Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater
Package with model for ethylene glycol - water with constant properties
Information
This medium package models ethylene glycol - water mixtures.
These functions are identical with the ones in Buildings.Media.Antifreeze.EthyleneGlycolWater. See therefore the documentation of that package.
Extends from Modelica.Icons.Package (Icon for standard packages).
Package Content
| Name | Description |
|---|---|
| X_a_min=0. | Minimum allowed mass fraction of ethylene glycol in water |
| X_a_max=0.6 | Maximum allowed mass fraction of ethylene glycol in water |
| Evaluate density of antifreeze-water mixture | |
| Evaluate dynamic viscosity of antifreeze-water mixture | |
| Evaluate temperature of fusion of antifreeze-water mixture | |
| Evaluates thermophysical property from 2-variable polynomial | |
| Evaluate Prandtl number of antifreeze-water mixture | |
| Evaluate specific heat capacity of antifreeze-water mixture | |
| Evaluate thermal conductivity of antifreeze-water mixture | |
| Returns the mass fraction of the mixture for a given volume fraction | |
| Coefficients for evaluation of thermo-physical properties |
Types and constants
constant Modelica.Units.SI.MassFraction X_a_min=0. "Minimum allowed mass fraction of ethylene glycol in water";
constant Modelica.Units.SI.MassFraction X_a_max=0.6 "Maximum allowed mass fraction of ethylene glycol in water";
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.density_TX_a
Evaluate density of antifreeze-water mixture
Information
Density of ethylene antifreeze-water mixture at specified mass fraction and temperature, based on Melinder (2010).
References
Melinder, Åke. 2010. Properties of Secondary Working Fluids (Secondary Refrigerants or Coolants, Heat Transfer Fluids) for Indirect Systems. Paris: IIR/IIF.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature of antifreeze-water mixture [K] | |
| MassFraction | X_a | Mass fraction of antifreeze [1] |
Outputs
| Type | Name | Description |
|---|---|---|
| Density | d | Density of antifreeze-water mixture [kg/m3] |
Modelica definition
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.dynamicViscosity_TX_a
Evaluate dynamic viscosity of antifreeze-water mixture
Information
Dynamic viscosity of antifreeze-water mixture at specified mass fraction and temperature, based on Melinder (2010).
References
Melinder, Åke. 2010. Properties of Secondary Working Fluids (Secondary Refrigerants or Coolants, Heat Transfer Fluids) for Indirect Systems. Paris: IIR/IIF.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature of antifreeze-water mixture [K] | |
| MassFraction | X_a | Mass fraction of antifreeze [1] |
Outputs
| Type | Name | Description |
|---|---|---|
| DynamicViscosity | eta | Dynamic Viscosity of antifreeze-water mixture [Pa.s] |
Modelica definition
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.fusionTemperature_TX_a
Evaluate temperature of fusion of antifreeze-water mixture
Information
Fusion temperature of antifreeze-water mixture at specified mass fraction and temperature, based on Melinder (2010).
References
Melinder, Åke. 2010. Properties of Secondary Working Fluids (Secondary Refrigerants or Coolants, Heat Transfer Fluids) for Indirect Systems. Paris: IIR/IIF.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature of antifreeze-water mixture [K] | |
| MassFraction | X_a | Mass fraction of antifreeze [1] |
Outputs
| Type | Name | Description |
|---|---|---|
| Temperature | Tf | Temperature of fusion of antifreeze-water mixture [K] |
Modelica definition
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.polynomialProperty
Evaluates thermophysical property from 2-variable polynomial
Information
Evaluates a thermophysical property of a mixture, based on correlations proposed by Melinder (2010).
The polynomial has the form
f = a1 (x-xm)0(y-ym)0 + a2 (x-xm)0(y-ym)1 + ... + any[1] (x-xm)0(y-ym)ny[1]-1 + ... + any[1])+1 (x-xm)1(y-ym)0 + ... + any[1]+ny[2] (x-xm)1(y-ym)ny[2]-1 + ...
References
Melinder, Åke. 2010. Properties of Secondary Working Fluids (Secondary Refrigerants or Coolants, Heat Transfer Fluids) for Indirect Systems. Paris: IIR/IIF.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | First independent variable | |
| Real | y | Second independent variable | |
| Real | a[sum(proCoe.nT)] | Polynomial coefficients |
Outputs
| Type | Name | Description |
|---|---|---|
| Real | f | Value of thermophysical property |
Modelica definition
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.prandtlNumber_TX_a
Evaluate Prandtl number of antifreeze-water mixture
Information
Prandtl number of antifreeze-water mixture at specified mass fraction and temperature, based on Melinder (2010).
References
Melinder, Åke. 2010. Properties of Secondary Working Fluids (Secondary Refrigerants or Coolants, Heat Transfer Fluids) for Indirect Systems. Paris: IIR/IIF.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature of antifreeze-water mixture [K] | |
| MassFraction | X_a | Mass fraction of antifreeze [1] |
Outputs
| Type | Name | Description |
|---|---|---|
| ThermalConductivity | Pr | Prandtl number of antifreeze-water mixture [W/(m.K)] |
Modelica definition
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.specificHeatCapacityCp_TX_a
Evaluate specific heat capacity of antifreeze-water mixture
Information
Specific heat capacity of antifreeze-water mixture at specified mass fraction and temperature, based on Melinder (2010).
References
Melinder, Åke. 2010. Properties of Secondary Working Fluids (Secondary Refrigerants or Coolants, Heat Transfer Fluids) for Indirect Systems. Paris: IIR/IIF.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature of antifreeze-water mixture [K] | |
| MassFraction | X_a | Mass fraction of antifreeze [1] |
Outputs
| Type | Name | Description |
|---|---|---|
| SpecificHeatCapacity | cp | Specific heat capacity of antifreeze-water mixture [J/(kg.K)] |
Modelica definition
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.thermalConductivity_TX_a
Evaluate thermal conductivity of antifreeze-water mixture
Information
Thermal conductivity of antifreeze-water mixture at specified mass fraction and temperature, based on Melinder (2010).
References
Melinder, Åke. 2010. Properties of Secondary Working Fluids (Secondary Refrigerants or Coolants, Heat Transfer Fluids) for Indirect Systems. Paris: IIR/IIF.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature of antifreeze-water mixture [K] | |
| MassFraction | X_a | Mass fraction of antifreeze [1] |
Outputs
| Type | Name | Description |
|---|---|---|
| ThermalConductivity | lambda | Thermal conductivity of antifreeze-water mixture [W/(m.K)] |
Modelica definition
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.volumeToMassFraction
Returns the mass fraction of the mixture for a given volume fraction
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.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | phi | Volume fraction of the mixture [1] | |
| Temperature | T | Temperature of antifreeze-water mixture [K] |
Outputs
| Type | Name | Description |
|---|---|---|
| SpecificVolume | y | Mass fraction of the mixture [m3/kg] |
Modelica definition
Buildings.Media.Antifreeze.Functions.EthyleneGlycolWater.proCoe
Coefficients for evaluation of thermo-physical properties
Information
Record that is used by media packages in Buildings.Media.Antifreeze to implement the thermophysical properties based on Melinder (2010).
References
Melinder, Åke. 2010. Properties of Secondary Working Fluids (Secondary Refrigerants or Coolants, Heat Transfer Fluids) for Indirect Systems. Paris: IIR/IIF.
Extends from Modelica.Icons.Record (Icon for records).