File Exchange

image thumbnail

DAK Equation of State

version 1.7 (2.23 KB) by

Tabular and graphical implementation of the Dranchuk-Abbou Kassem equation of state

0 Downloads

Updated

View License

Calculates the compressibility factor of natural gases for range of pressures 'minP' to 'maxP' in steps 'Pstep'(for a given temperature T and specific gravity sg) using the Dranchuk-Abbou Kassem equation of state. The input pressures and temperature are in Psia and degree Farenheit respectively. Average absolute error of 0.486% for 0.2<Ppr<30 and 1.0<Tpr<3.0 and for Ppr<1.0 with 0.7<Tpr<1.0. Poor results for Tpr = 1.0 and Ppr>1.0(Craft&Hawkins,1991)

Comments and Ratings (0)

Updates

1.7

Improved bisection algorithm to ensure high pressure values are properly handled

1.6

General in-code commentary

1.5

Updated commentary on range of validity

1.3

Restates that the input temperature is in degree Farenheit and not degree Rankine as previously stated. Code structure remains unchanged.

1.2

Update of Sutton's Correlation

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video