Learn R Programming

IAPWS95 (version 1.2.4)

satTabvp: Table of Saturation Volumes, Enthalpies and Entropies, Function of Pressure

Description

The function satTabvp(p1, p2, dp) returns a table of threee saturation properties for two phases: Specific Volume [ m3 kg-1 ], Enthalpy [kJ kg-1] and Entropy [kJ kg K-1] for a Pressure interval, p1:p2 [MPa].

Usage

satTabvp(p1, p2, dp)

Value

A table of saturation v, h and s, function of p

Arguments

p1

First Pressure value [MPa]

p2

Final Pressure [MPa]

dp

Pressure increment [MPa]

Details

This function calls a Fortran DLL that solves the Helmholtz Energy Equation. in accordance with the Revised Release on the IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance for General and Scientific Use (June 2014) developed by the International Association for the Properties of Water and Steam, http://www.iapws.org/relguide/IAPWS-95.html. It is valid from the triple point to the pressure of 1000 MPa and temperature of 1273.

Examples

Run this code
p1 <- 1.0
p2 <- 10.
dp <- 0.5
Tabp <- satTabvp(p1, p2, dp)
Tabp

p1 <- 0.1
p2 <- 10.
dp <- 0.5
Tabp <- satTabvp(p1, p2, dp)
Tabp

Run the code above in your browser using DataLab