def gasfvf(z, temp, pressure):
  """
  Gas FVF calculated in oilfield unit, result in RB/scf
  inputs temp in Rankine (Fahrenheit + 460), pressure in psia or psig
  """
  Bg = 0.0282793 * z * temp / pressure 
  return(Bg)