pvt_water: Create a matrix of PVT properties for reservoir water samples

Description Usage Arguments References Examples

View source: R/Rpvt-package.R

Description

The pvt_water() generates a table of water PVT properties at reservoir temperature and pressures from the atmospheric condition up to the initial reservoir pressure. The estimated water properties are solution gas-water ratio, formation volume factor, density, compressibility, and viscosity.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pvt_water(
  input_unit = "Field",
  output_unit = "Filed",
  fluid = "water",
  pvt_model = "Spivey",
  visc_model = "Spivey",
  t = 220,
  p = 6000,
  salinity = 10,
  gas_saturated = "yes",
  warning = "yes"
)

Arguments

input_unit

input unit system for parameters, a character string either 'SI' or 'Field'.

output_unit

output unit system for properties, a character string

fluid

fluid type, the character string 'water'

pvt_model

PVT model, a character string. 'Spivey', 'Meehan', and 'McCain' models are currently available

visc_model

viscosity model, a character string. 'Spivey', 'Meehan', and 'McCain' models are currently available

t

temperature, a numeric value either in 'C' or 'F' depending on the 'input_unit'

p

pressure, a numeric value either in 'kPag' or 'Psig' depending on the 'input_unit'

salinity

water salinity in weight percent TDS

gas_saturated

a charater string either 'yes' or 'no'

warning

a charater string either 'yes' or 'no'

References

\insertRef

Meehan1980aRpvt

\insertRef

Meehan1980bRpvt

\insertRef

McCainJr.1991Rpvt

\insertRef

Spivey2004Rpvt

\insertRef

McCainJr.2011Rpvt

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
pvt_water_results_1 <- pvt_water(input_unit = "Field", output_unit = "Field",
fluid = "water", pvt_model = "McCain", visc_model = "McCain",
t = 300, p = 5000, salinity = 10, gas_saturated = "yes", warning = "no")

head(pvt_water_results_1)

pvt_water_results_2 <- pvt_water(input_unit = "SI", output_unit = "SI",
fluid = "water", pvt_model = "Spivey", visc_model = "Spivey",
t = 100, p = 15000, salinity = 0.0, gas_saturated = "no", warning = "no")

head(pvt_water_results_2)

Rpvt documentation built on July 8, 2020, 7:34 p.m.