You are on page 1of 3

Hall-Yarborogh-z.

xls
Instruction: This spreadsheet computes gas compressibility factor with Hall-Yarborough method.

Instruction: 1) Select a unit system; 2) Update data in the Input Data section; 3) Click Solution button; 4) View result.

Input Data: 1

Temperature: 200 oF 100


Pressure: 2000 psia 1
Gas specific gravity: 0.7 air = 1 0.7
Nitrogen mole fracytion: 0.05 0.05
Carbon dioxide fraction: 0.05 0.05
Hydrogen sulfite fraction: 0.02 0.02

T pc =326+315 . 7( g 0 . 5)240 y N 83. 3 y CO +133 .3 y H S = 375.641 R


o
383.9994
2 2 s

p pc =67850( g 0 . 5)206 .7 y N +440 y CO +606 . 7 y H S = 691.799 psia 4.706116


2 2 s

T
T pr = = 1.618967
T pc
1
t r= = 0.617678
T pr
p
p pr = = 2.891013
p pc
1 .2( 1t r )2 = 0.031746
A =0 . 06125t r e
B=t r ( 14 . 769 . 76 t r + 4 . 58 t 2 ) = 6.472554
r

C=t r ( 90 . 7242. 2 t r + 42. 4 t 2 ) = -26.39018


r

D=2 . 18+2 . 82t r = 3.921851

Y = ASSUMED = 0.109466

Y +Y 2 +Y 3 Y 4
f ( Y )= 3
Ap pr BY 2 +CY D=0 = -0.000223
( 1Y )
Ap pr
z= = 0.838419
Y
2.7g p
g= = 6.831035 lbm/ft3 109.1959
zT
utton; 4) View result.

C 660 oF
MPa 2000 psia
air = 1 0.7 air=1
0.05
0.05
0.02

o
K

MPa

kg/m3