iapws95_sat {iapws}R Documentation

IAPWS-95 Formulation in the Saturation Region

Description

Compute thermodynamic and transport properties of water and steam along the saturated line according to the IAPWS formulation 1995.

Usage

iapws95_sat(what, p, t)

Arguments

what

a character vector listing the output properties. See Details for available properties.

t

a numeric vector giving the temperature values in K.

p

a numeric vector giving the pressure values in MPa.

Details

The available properties for what are:

Only one of t or p is needed. If both arguments are given, p is ignored.

Value

A numeric array of dimension c(n, length(what), 2L) with n the length of either p or t. The last dimension indicate the physical state ("liquid" or "gas").

Note

Computing several properties in a single call may be more efficient than separately because most of the computation time is shared.

Author(s)

Jonathan Debove

References

International Association for the Properties of Water and Steam, IAPWS R6-95(2018), Revised Release on the IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance for General and Scientific Use.

Examples

# IAPWS-95 Tab. 8
tab <- iapws95_sat(c("p", "rho", "h", "s"), t = c(275, 450, 625))
format(tab, scientific = TRUE, digits = 9)


[Package iapws version 1.1 Index]