Learn R Programming

IAPWS95 (version 1.2.4)

hpTcteTab: Table of Enthalpies, Function of Pressure for Fixed Temperature

Description

The function hpTcteTab(p1, p2, dp, Temp) returns a table of Enthalpies [kJ kg-1] for a fixed Temp [K] within a range of p [MPa]: p1:p2 [MPa]

Usage

hpTcteTab(p1, p2, dp, Temp)

Value

A table of Enthalpies for fixed T and a p Interval: p1:p2.

Arguments

p1

first pressure value [ MPa ]

p2

final pressure [ MPa ]

dp

Pressure increment [ MPa ]

Temp

Temperature [ K ]

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 <- 1.
Temp <- 500.
Tabh <- hpTcteTab(p1, p2, dp, Temp)
Tabh

p1 <- 10.
p2 <- 100.
dp <- 10.
Temp <- 450.
Tabh <- hpTcteTab(p1, p2, dp, Temp)
Tabh

Run the code above in your browser using DataLab