Buildings.Media.Antifreeze.Validation

Validation cases for fluid property evaluations

Information

This package contains validation cases that test the media packages in Buildings.Media.Antifreeze.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater EthyleneGlycolWater Model that tests the implementation of ethylene glycol-water properties
Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater PropyleneGlycolWater Model that tests the implementation of propylene glycol-water properties
Buildings.Media.Antifreeze.Validation.BaseClasses BaseClasses Package with base classes for Buildings.Media.Antifreeze.Validation

Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater

Model that tests the implementation of ethylene glycol-water properties

Information

This example checks the implementation of functions that evaluate the temperature- and concentration-dependent thermophysical properties of the medium.

Thermophysical properties (density, specific heat capacity, thermal conductivity and dynamic viscosity) are shown as 0 if the temperature is below the fusion temperature.

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Media.Antifreeze.Validation.BaseClasses.FluidProperties (Partial model that tests the implementation of temperature- and concentration-dependent fluid properties).

Parameters

TypeNameDefaultDescription
replaceable package MediumPropyleneGlycolWaterMedium package
IntegernX_a7Number of mass fractions to evaluate fluid properties
MassFractionX_a[nX_a]{0.05,0.10,0.20,0.30,0.40,0....Mass fraction of additive [1]
TemperatureT_min223.15Minimum temperature of mixture [K]
TemperatureT_max373.15Maximum temperature of mixture [K]
Temperaturereference_T293.15Reference temperature [K]

Connectors

TypeNameDescription
replaceable package MediumMedium package

Modelica definition

model EthyleneGlycolWater "Model that tests the implementation of ethylene glycol-water properties" extends Modelica.Icons.Example; extends Buildings.Media.Antifreeze.Validation.BaseClasses.FluidProperties( redeclare package Medium = Buildings.Media.Antifreeze.Validation.BaseClasses.EthyleneGlycolWater ( property_T=300, X_a=0.05), nX_a=7, X_a={0.05,0.10,0.20,0.30,0.40,0.50,0.60}, T_min=223.15, T_max=373.15); end EthyleneGlycolWater;

Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater

Model that tests the implementation of propylene glycol-water properties

Information

This example checks the implementation of functions that evaluate the temperature- and concentration-dependent thermophysical properties of the medium.

Thermophysical properties (density, specific heat capacity, thermal conductivity and dynamic viscosity) are shown as 0 if the temperature is below the fusion temperature.

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Media.Antifreeze.Validation.BaseClasses.FluidProperties (Partial model that tests the implementation of temperature- and concentration-dependent fluid properties).

Parameters

TypeNameDefaultDescription
replaceable package MediumPropyleneGlycolWaterMedium package
IntegernX_a7Number of mass fractions to evaluate fluid properties
MassFractionX_a[nX_a]{0.05,0.10,0.20,0.30,0.40,0....Mass fraction of additive [1]
TemperatureT_min223.15Minimum temperature of mixture [K]
TemperatureT_max373.15Maximum temperature of mixture [K]
Temperaturereference_T293.15Reference temperature [K]

Connectors

TypeNameDescription
replaceable package MediumMedium package

Modelica definition

model PropyleneGlycolWater "Model that tests the implementation of propylene glycol-water properties" extends Modelica.Icons.Example; extends Buildings.Media.Antifreeze.Validation.BaseClasses.FluidProperties( redeclare package Medium = Buildings.Media.Antifreeze.Validation.BaseClasses.PropyleneGlycolWater ( property_T=300, X_a=0.05), nX_a=7, X_a={0.05,0.10,0.20,0.30,0.40,0.50,0.60}, T_min=223.15, T_max=373.15); end PropyleneGlycolWater;