You are on page 1of 2

Brought to you by Petroleum Goodies

For more helpful tools and tips, please visit PetroGoodies.com


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 1.60000
14.7 #VALUE! #VALUE! 0.99920
434.8 #VALUE! #VALUE! 0.97802 Z
869.6 #VALUE! #VALUE! 0.96040 1.40000
Va
1304.3 #VALUE! #VALUE! 0.94788

Z Factor
1739.1 #VALUE! #VALUE! 0.94093 1.20000
2173.9 #VALUE! #VALUE! 0.93972
2608.7 #VALUE! #VALUE! 0.94405
3043.5 #VALUE! #VALUE! 0.95341 1.00000
3478.3 #VALUE! #VALUE! 0.96718
3913.0 #VALUE! #VALUE! 0.98467
#VALUE! #VALUE! 0.80000
4347.8 1.00522
4782.6 #VALUE! #VALUE! 1.02829
5217.4 #VALUE! #VALUE! 1.05340 0.60000
5652.2 #VALUE! #VALUE! 1.08016
6087.0 #VALUE! #VALUE! 1.10826
6521.7 #VALUE! #VALUE! 1.13745 0.40000
6956.5 #VALUE! #VALUE! 1.16753
7391.3 #VALUE! #VALUE! 1.19832 0.20000
7826.1 #VALUE! #VALUE! 1.22970
8260.9 #VALUE! #VALUE! 1.26156
8695.7 #VALUE! #VALUE! 1.29379 0.00000
9130.4 #VALUE! #VALUE! 1.32634 0.0 20
9565.2 #VALUE! #VALUE! 1.35913
10000.0 #VALUE! #VALUE! 1.39211
1.60000

Z Factor
1.40000
Validation:
Z Factor

1.20000

1.00000

0.80000

0.60000

0.40000

0.20000

0.00000
0.0 2000.0 4000.0 6000.0 8000.0 10000.0 12000.0
Pressure (psia)

You might also like