functionpolynomialProperty
Evaluates thermophysical property from 2-variable polynomial
Extends from Modelica.Icons.Function (Icon for functions).
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.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | First independent variable | |
| Real | y | Second independent variable | |
| Real[sum(proCoe.nT)] | a | Polynomial coefficients |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | f | Value of thermophysical property |
Revisions
-
March 16, 2018 by Massimo Cimmino:
First implementation. This function is used models in Buildings.Media.Antifreeze.