Saturation pressure of water, computed from temperature, according to Wagner et al. (1993). The range of validity is between 190 and 373.16 Kelvin.
Wagner W., A. Saul, A. Pruss. International equations for the pressure along the melting and along the sublimation curve of ordinary water substance, equation 3.5. 1993. http://aip.scitation.org/doi/pdf/10.1063/1.555947?class=pdf.
function saturationPressure extends Modelica.Icons.Function; input Modelica.Units.SI.Temperature TSat(displayUnit = "degC", nominal = 300) "Saturation temperature"; output Modelica.Units.SI.AbsolutePressure pSat(displayUnit = "Pa", nominal = 1000) "Saturation pressure"; end saturationPressure;
spliceFunction
with regStep
.
This is for
issue 300.
smoothOrder
from 5 to 1 as
Buildings.Utilities.Math.Functions.spliceFunction is only once
continuously differentiable.
Inlined the function.
Buildings.Media
.