Learn R Programming

IAPWS95 (version 1.2.4)

DTpcteTab: Table of Densities, Function of Temperature for Fixed Pressure

Description

The function DTpcteTab(T1, T2, dT, p) returns a table of densities [kg m-3] for a fixed p [MPa] within a range of Temp [K]: T1:T2 [K].

Usage

DTpcteTab(T1, T2, dT, p)

Value

A table of Densities 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.
TabD <- DTpcteTab(T1, T2, dT, p)
TabD

T1 <- 300.
T2 <- 500.
dT <- 10.
p <- 10.
TabD <- DTpcteTab(T1, T2, dT, p)
TabD

Run the code above in your browser using DataLab