Z: Calculate Z factors. Generic function

Description Usage Arguments See Also

View source: R/gas_correlations.R

Description

Calculate Z factors. Generic function

Usage

1
2
Z(correlation, pres.a, temp.f, gas.sg, n2.frac = 0, co2.frac = 0,
  h2s.frac = 0, ...)

Arguments

correlation

a string or number that identifies the correlation. It could the values of "HY" for "Hall-Yarborough or "BB" for Brill-Beggs. TIt can also take numeric values such as 1 or 2.

pres.a

absolute pressure, psia

temp.f

temperature, deg F

gas.sg

gas specific gravity

n2.frac

N2

co2.frac

CO2

h2s.frac

H2S

...

any additional parameter

See Also

Other Z factor correlations: z.brillbeggs, z.hallyarborough


f0nzie/rNodal documentation built on Oct. 30, 2017, 4:03 a.m.