Subsurface Allocation (kh) Package

Calculate the oil, gas and water production on perforation level from the production on well level using the kh-method.

Usage and Configuration

To perform the calculations run the workflows from this package starting with the workflow Subsurface Allocation (kh). The schedules may be adapted to use different contexts.

Follow the steps given in How do I configure packages pulled from Datagration's package repository to change the configuration of the package.

Use the workspace value DataLoadOffsetDays to configure the end of the scopes Start To Date Daily and Start To Date Monthly.

E.g. If the data in the data sources is lagging one day, set the workspace value to 1 to account for this offset.

To perform the calculations correctly, this package uses a hierarchy containing Well <-> Perforation relationships.

Use the workspace value HierarchyWellPerforationRelationships to configure which hierarchy to use.

Details

First the product of the perforation's permeability and net thickness is calculated (kh). Afterwards, all kh-products of perforations belonging to the same well are summed (i.e. the sum of all siblings of the perforation, including the perforation itself; Σkh). Using those values, the perforation's contribution factor is calculated as:

f = kh / Σkh

Using this factor the perforation's produced oil per time increment, produced gas per time increment, produced water per time increment, oil production rate, gas production rate and water production rate are calculated from the well's respective values.

Only perforations marked with the tag Active are considered in the calculations.

Data Requirements

The following data is required:
 production rates or volumes (oil, gas, water)
 permeability
 net thickness