3
Press Alt+F11 to see macro function Excel Function To Calculate Gas Compressibility Input Gas Parameter: Gas Gravity (Air=1.0) 0.7 Mole Percent CO2 0 Mole Percent H2S 0 Bottomhole Temperature, Deg F 300 Intermediate Calculation: Bottomhole Temperature, Rankine 759 Pseudocritical Temperature, Tpc #VALUE! Pseudocritical Pressure, Ppc #VALUE! Reduced Temperature, Tr #VALUE! Reduced Pressure, Pr see table below Results: Validation: P (psia) Pr Z Factor Z Factor 14.7 #VALUE! #VALUE! 0.99920 434.8 #VALUE! #VALUE! 0.97802 869.6 #VALUE! #VALUE! 0.96040 1304.3 #VALUE! #VALUE! 0.94788 1739.1 #VALUE! #VALUE! 0.94093 2173.9 #VALUE! #VALUE! 0.93972 2608.7 #VALUE! #VALUE! 0.94405 3043.5 #VALUE! #VALUE! 0.95341 3478.3 #VALUE! #VALUE! 0.96718 3913.0 #VALUE! #VALUE! 0.98467 4347.8 #VALUE! #VALUE! 1.00522 4782.6 #VALUE! #VALUE! 1.02829 5217.4 #VALUE! #VALUE! 1.05340 5652.2 #VALUE! #VALUE! 1.08016 6087.0 #VALUE! #VALUE! 1.10826 6521.7 #VALUE! #VALUE! 1.13745 6956.5 #VALUE! #VALUE! 1.16753 7391.3 #VALUE! #VALUE! 1.19832 7826.1 #VALUE! #VALUE! 1.22970 8260.9 #VALUE! #VALUE! 1.26156 8695.7 #VALUE! #VALUE! 1.29379 9130.4 #VALUE! #VALUE! 1.32634 9565.2 #VALUE! #VALUE! 1.35913 10000.0 #VALUE! #VALUE! 1.39211 Brought to you by Petroleum Goodies For more helpful tools and tips, please visit PetroGoodies.com

Calculate Gas Compressibility

Embed Size (px)

DESCRIPTION

Calculate Gas Compressibility

Citation preview

Page 1: Calculate Gas Compressibility

Press Alt+F11 to see macro function

Excel Function To Calculate Gas Compressibility

Input Gas Parameter:Gas Gravity (Air=1.0) 0.7Mole Percent CO2 0Mole Percent H2S 0Bottomhole Temperature, Deg F 300

Intermediate Calculation:Bottomhole Temperature, Rankine 759Pseudocritical Temperature, Tpc #VALUE!Pseudocritical Pressure, Ppc #VALUE!Reduced Temperature, Tr #VALUE!Reduced Pressure, Pr see table below

Results: Validation:P (psia) Pr Z Factor Z Factor

14.7 #VALUE! #VALUE! 0.99920434.8 #VALUE! #VALUE! 0.97802869.6 #VALUE! #VALUE! 0.96040

1304.3 #VALUE! #VALUE! 0.947881739.1 #VALUE! #VALUE! 0.940932173.9 #VALUE! #VALUE! 0.939722608.7 #VALUE! #VALUE! 0.944053043.5 #VALUE! #VALUE! 0.953413478.3 #VALUE! #VALUE! 0.967183913.0 #VALUE! #VALUE! 0.984674347.8 #VALUE! #VALUE! 1.005224782.6 #VALUE! #VALUE! 1.028295217.4 #VALUE! #VALUE! 1.053405652.2 #VALUE! #VALUE! 1.080166087.0 #VALUE! #VALUE! 1.108266521.7 #VALUE! #VALUE! 1.137456956.5 #VALUE! #VALUE! 1.167537391.3 #VALUE! #VALUE! 1.198327826.1 #VALUE! #VALUE! 1.229708260.9 #VALUE! #VALUE! 1.261568695.7 #VALUE! #VALUE! 1.293799130.4 #VALUE! #VALUE! 1.326349565.2 #VALUE! #VALUE! 1.35913

10000.0 #VALUE! #VALUE! 1.39211

Brought to you by Petroleum GoodiesFor more helpful tools and tips, please visit PetroGoodies.com

0 2000 4000 6000 8000 10000 120000.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

1.6

Z FactorValidation:

Pressure (psia)

Z F

ac

tor

Page 2: Calculate Gas Compressibility

0 2000 4000 6000 8000 10000 120000.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

1.6

Z FactorValidation:

Pressure (psia)

Z F

ac

tor