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

Intermediate Calculation:
Bottomhole Temperature, Rankine
Pseudocritical Temperature, Tpc
Pseudocritical Pressure, Ppc
Reduced Temperature, Tr
Reduced Pressure, Pr

Results:
P (psia)
14.7
434.8
869.6
1304.3
1739.1
2173.9
2608.7
3043.5
3478.3
3913.0
4347.8
4782.6
5217.4
5652.2
6087.0
6521.7
6956.5
7391.3
7826.1
8260.9
8695.7
9130.4
9565.2
10000.0

Pr
Z Factor
0.022 0.99919
0.655 0.97802
1.311 0.96040
1.966 0.94788
2.622 0.94093
3.277 0.93972
3.933 0.94404
4.588 0.95341
5.244 0.96718
5.899 0.98466
6.554 1.00522
7.210 1.02829
7.865 1.05340
8.521 1.08016
9.176 1.10826
9.832 1.13745
10.487 1.16753
11.143 1.19832
11.798 1.22970
12.454 1.26156
13.109 1.29380
13.764 1.32634
14.420 1.35913
15.075 1.39211

0.7
0
0
300

759
377.59
663.336
2.012
see table below

Validation:
Z Factor
0.99920
0.97802
0.96040
0.94788
0.94093
0.93972
0.94405
0.95341
0.96718
0.98467
1.00522
1.02829
1.05340
1.08016
1.10826
1.13745
1.16753
1.19832
1.22970
1.26156
1.29379
1.32634
1.35913
1.39211

1.6
1.4
1.2
1.0
Z Factor

Input Gas Parameter:


Gas Gravity (Air=1.0)
Mole Percent CO2
Mole Percent H2S
Bottomhole Temperature, Deg F

0.8
0.6
0.4
0.2
0.0

1.6
Z Factor

1.4

Validation:

1.2
1.0
0.8
0.6
0.4
0.2
0.0
0

2000

4000

6000

Pressure (psia)

8000

10000

12000

You might also like