Learn R Programming

IAPWS95 (version 1.2.4)

sTpcteTab: Table of Entropies, Function of Temperature for a Fixed Pressure

Description

The function sTpcteTab(T1, T2, dT, p) returns a table of entropies [kJ kg-1 K-1] for a fixed p [MPa] within a range of T [K]: T1:T2 [K]

Usage

sTpcteTab(T1, T2, dT, p)

Value

A table of Entropies for fixed p and a T Interval: T1:T2.

Arguments

T1

first Temperature value [ K ]

T2

final Temperature [ K ]

dT

Temperature increment [ K ]

p

Pressure [ 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
T1 <- 275.
T2 <- 450.
dT <- 5.
p <- 5.
Tabs <- sTpcteTab(T1, T2, dT, p)
Tabs

T1 <- 300.
T2 <- 500.
dT <- 10.
p <- 10.
Tabs <- sTpcteTab(T1, T2, dT, p)
Tabs

Run the code above in your browser using DataLab