ROFA
Laboratory & Process Analyzers
Mag. Matthias Fiedler
A-3420 Kritzendorf
Company Products Support Download Contact

ASTM D1250-04 Dynamic Link Library

(Temperature and pressure volume correction factors for generalized crude oils, refined products, and lubricating oils.)

A Microsoft Windows compatible 32-bit Dynamic Link Library (DLL) that provides a callable collection of routines that perform all calculations of the ASTM D 1250-04 standard and that can be included in own applications:

ASTM1250_base_to_alternate
This function calculates the Volume Correction Factor (VCF) for correcting from the density at the base conditions (60°F and 0 psig) to alternate temperature and pressure conditions.

ASTM1250_observed_to_base
This function calculates the density at the base conditions (60°F and 0 psig) that is consistent with an observed density at its temperature and pressure condition.

ASTM1250_cond1_to_cond2
This function calculates the density at given conditions (condition 2) that is consistent with an observed density at its temperature and pressure condition (condition 1). Typically applications are:

ASTM1250_regression
This function accepts measured density values and derives values of the density at 60°F and the thermal expansion factor at 60°F.

ASTM1250_round
This function rounds density, temperature, pressure, thermal expansion coefficient, and volume correction factor values. These rounding rules are needed to generate the final volume correction factor due to temperature and pressure and to generate the tables in printed tabular (historical) format. All input values must be rounded when generating the tables in historical format.

ASTM1250_ITS90_to_IPTS68
This function converts temperature from ITS-90 to IPTS-68 basis.

 

For more information go to the download page.