NetPayModule

petrophys.evaluation.net_pay.NetPayModule

Also available as petrophys.evaluation.NetPayModule

class NetPayModule(vcl_cutoff=None, phie_cutoff=None, sw_cutoff=None, lithology='clastic')[source]

Net pay calculator with lithology-aware cutoffs.

Unset cutoffs resolve to the generic lithology standards (STANDARD_CUTOFFS in petrophys.evaluation.net_pay.cutoffs):

Net Rock:      VCL < 0.40 (clastics) / < 0.30 (carbonates)
Net Reservoir: PHIE > 0.08 (clastics) / > 0.045 (carbonates)
Net Pay:       Sw < 0.60 (clastics) / < 0.70 (carbonates)

Lithology can be a single string or a per-depth numpy array. When an array is provided, the VCL and PHIE cutoffs vary by depth with the local lithology.

The carbonate cutoffs apply to the carbonate family of cutoff_family() (carbonate, limestone, chalk, dolomite, marl); every other label is clastic. The benchmark reproduction keeps the exact label "carbonate" alone.

The flags come from the cutoffs alone, with no samples left out unless a quality_mask is given. petrophys.interpret() also takes each sample’s lithology-family cutoffs and leaves evaporite, coal, halite recognised on the logs and bad-hole samples out of net reservoir and net pay, so on an interpreted well these flags differ from its NET_PAY; summarize those with result.summary(top, bottom).

Methods

add_to_well

Add net pay flags to well.

calculate

Calculate net pay.

Parameters:
calculate(
well,
vcl=None,
phie=None,
sw=None,
quality_mask=None,
rock_mask=None,
)[source]

Calculate net pay.

quality_mask (optional): boolean array, True where the log data are usable. Samples that are False (e.g. washed-out / bad-hole intervals, where RHOB and NPHI – and therefore PHIE and Sw – are unreliable) are excluded from net reservoir and net pay. This prevents borehole washout from being certified as hydrocarbon pay.

rock_mask (optional): boolean array, False where the rock cannot be reservoir at any clay volume (salt, anhydrite, gypsum). Those samples are left out of net rock, and so of net reservoir and net pay.

Parameters:
Return type:

NetPayResult

add_to_well(well, result=None)[source]

Add net pay flags to well.

Parameters:
Return type:

Well