DAK Equation of State
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)
Cite As
Chigozie Aniemena (2024). DAK Equation of State (https://www.mathworks.com/matlabcentral/fileexchange/37396-dak-equation-of-state), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.7.0.0 | Improved bisection algorithm to ensure high pressure values are properly handled |
||
1.6.0.0 | General in-code commentary |
||
1.5.0.0 | Updated commentary on range of validity |
||
1.3.0.0 | Restates that the input temperature is in degree Farenheit and not degree Rankine as previously stated. Code structure remains unchanged. |
||
1.2.0.0 | Update of Sutton's Correlation |
||
1.0.0.0 |