Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 2

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 1.6
1739.1 #VALUE! #VALUE! 0.94093
2173.9 #VALUE! #VALUE! 0.93972 ZF
2608.7 #VALUE! #VALUE! 0.94405 1.4
Val
3043.5 #VALUE! #VALUE! 0.95341

Z Factor
3478.3 #VALUE! #VALUE! 0.96718 1.2
3913.0 #VALUE! #VALUE! 0.98467
4347.8 #VALUE! #VALUE! 1.00522
4782.6 #VALUE! #VALUE! 1.02829 1.0
5217.4 #VALUE! #VALUE! 1.05340
5652.2 #VALUE! #VALUE! 1.08016
#VALUE! #VALUE! 0.8
6087.0 1.10826
6521.7 #VALUE! #VALUE! 1.13745
6956.5 #VALUE! #VALUE! 1.16753 0.6
7391.3 #VALUE! #VALUE! 1.19832
7826.1 #VALUE! #VALUE! 1.22970
8260.9 #VALUE! #VALUE! 1.26156 0.4
8695.7 #VALUE! #VALUE! 1.29379
9130.4 #VALUE! #VALUE! 1.32634 0.2
9565.2 #VALUE! #VALUE! 1.35913
10000.0 #VALUE! #VALUE! 1.39211
0.0
0 2000
1.6

Z Factor
1.4
Validation:
Z Factor

1.2

1.0

0.8

0.6

0.4

0.2

0.0
0 2000 4000 6000 8000 10000 12000
Pressure (psia)

You might also like