Code covered by the BSD License  

Highlights from
DAK Equation of State

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 2.23 KB File ID: #37396

DAK Equation of State

by

 

05 Jul 2012 (Updated )

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

| Watch this File

File Information
Description

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)

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
06 Jul 2012

Update of Sutton's Correlation

09 Jul 2012

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

31 Jul 2012

Updated commentary on range of validity

28 Jan 2013

General in-code commentary

22 Apr 2013

Improved bisection algorithm to ensure high pressure values are properly handled

Contact us