Hall Yarborough Z

1
Hall-Yarborogh-z.xls This spreadsheet computes gas compressibility factor with Hall-Yarborough method. Instruction: 1) Input data in blue; 2) Run Macro Solution; 3) View result. INPUT DATA: T 80 p 814.5 psia SGFG 0.7 air=1 CALCULATE CRITICAL AND REDUCED TEMPERATURE AND PRESSURE: Tpc=169.0+314.0*SGFG 388.8 Ppc=708.75-57.5*SGFG 668.36 psia Tpr=(T+460.0)/Tpc 1.388888889 t=1/Tpr 0.72 Ppr=p/Ppc 1.218654617 CALCULATE TEMPERATURE DEPENDENT TERMS: A=0.06125*t*EXP(-1.2*(1.-t**2) 0.040140258 B=t*(14.76-9.76*t+4.58*t*t) 7.27709184 C=t*(90.7-242.2*t+42.4*t*t) -44.4267648 D=2.18+2.82*t 4.2104 CALCULATE REDUCED DENSITY Y (USE MACRO SOLUTION): Y = ASSUMED 0.058047241 F=-A*Ppr+(Y+Y*Y+Y**3-Y**4)/(1.-Y)**3-B*Y*Y+C*Y**D -8.7289E-06 CALCULATE Z-FACTOR: Z=A*Ppr/Y 0.842712078 CALCULATE GAS DENSITY: 3.382827983 o F o R lb/ft 3 ρ= 2.7 γ g p zT

Transcript of Hall Yarborough Z

Page 1: Hall Yarborough Z

Hall-Yarborogh-z.xlsThis spreadsheet computes gas compressibility factor with Hall-Yarborough method.Instruction: 1) Input data in blue; 2) Run Macro Solution; 3) View result.

INPUT DATA:

T 80p 814.5 psiaSGFG 0.7 air=1

CALCULATE CRITICAL AND REDUCED TEMPERATURE AND PRESSURE:

Tpc=169.0+314.0*SGFG 388.8 Ppc=708.75-57.5*SGFG 668.36 psia Tpr=(T+460.0)/Tpc 1.3888888889 t=1/Tpr 0.72 Ppr=p/Ppc 1.2186546173

CALCULATE TEMPERATURE DEPENDENT TERMS:

A=0.06125*t*EXP(-1.2*(1.-t**2) 0.0401402585 B=t*(14.76-9.76*t+4.58*t*t) 7.27709184 C=t*(90.7-242.2*t+42.4*t*t) -44.4267648 D=2.18+2.82*t 4.2104

CALCULATE REDUCED DENSITY Y (USE MACRO SOLUTION):

Y = ASSUMED 0.0580472413 F=-A*Ppr+(Y+Y*Y+Y**3-Y**4)/(1.-Y)**3-B*Y*Y+C*Y**D -8.72886E-06

CALCULATE Z-FACTOR:

Z=A*Ppr/Y 0.8427120782

CALCULATE GAS DENSITY:

3.3828279833

oF

oR

lb/ft3

ρ=2 .7 γ g p

zT