Learn R Programming

IAPWS95 (version 1.2.4)

spTcteTab: Table of Entropies, Function of Pressure for Fixed Temperature

Description

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

Usage

spTcteTab(p1, p2, dp, Temp)

Value

A table of Entropies for fixed Temp and a p Interval: p1:p2.

Arguments

p1

"initial"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.
Tabs <- spTcteTab(p1, p2, dp, Temp)
Tabs

p1 <- 10.
p2 <- 100.
dp <- 10.
Temp <- 450.
Tabs <- spTcteTab(p1, p2, dp, Temp)
Tabs

Run the code above in your browser using DataLab