PO.ESP.Gas.Qg.Free


Description

Calculates free gas rate at pump intake conditions, [rcf/d].

Syntax

=PO.ESP.Gas.Qg.Free(Qo, GOR, Rs, Bg)

Parameters

Parameter Description
Qo Oil rate at standard conditions, [STB/d].
GOR Producing gas-oil ratio, [scf/STB].
Rs Solution GOR at intake P,T, [scf/STB].
Bg Gas FVF at intake P,T, [rcf/scf].

SI Unit Version

Lambda Name PO.ESP.Gas.Qg.Free.SI
Formula
=LAMBDA(Qo, GOR, Rs, Bg, LET( Qo_STBd, PO.UnitConverter(Qo, "m3/d", "STB/d"), GOR_scfSTB, PO.UnitConverter(GOR, "sm3/sm3", "scf/STB"), Rs_scfSTB, PO.UnitConverter(Rs, "sm3/sm3", "scf/STB"), result_ft3d, PO.ESP.Gas.Qg.Free(Qo_STBd, GOR_scfSTB, Rs_scfSTB, Bg), PO.UnitConverter(result_ft3d, "ft3/d", "m3/d")))
SI Parameters
Parameter Unit Description
Qo m3/d Oil rate at standard conditions, [m3/d]
GOR sm3/sm3 Producing gas-oil ratio, [sm3/sm3]
Rs sm3/sm3 Solution GOR at intake P,T, [sm3/sm3]
Bg - Gas FVF at intake P,T, [rm3/sm3]
How to save as a reusable Excel function

LAMBDA is a built-in Excel feature (Microsoft 365) that lets you create custom functions without VBA. The formula above works as-is when pasted into a cell.

To save a LAMBDA as a reusable named function:

  1. Go to Formulas → Name Manager → New
  2. Enter a name, e.g. PO.ESP.Gas.Qg.Free.SI
  3. In Refers to, paste the LAMBDA formula without the trailing invocation (...)
  4. Click OK

Now use =PO.ESP.Gas.Qg.Free.SI(...) anywhere in your workbook.

Missing a formula? Suggest a New Formula

An unhandled error has occurred. Reload X