flow_roles

petrophys.evaluation.flow_units.flow_roles

flow_roles(
perm,
thickness,
*,
sw=None,
vcl=None,
bad_hole=None,
seal=None,
at_limit=None,
good_perm=10.0,
poor_perm=1.0,
baffle_decades=2.0,
seal_fraction=0.5,
sw_max=None,
vcl_max=None,
max_bad_hole_fraction=0.5,
)[source]

Flow roles of zones.

Parameters:
  • perm (sequence of float or None) – Mean permeability per zone (mD); None where unknown.

  • thickness (sequence of float) – Zone thicknesses (for permeability-thickness).

  • sw (sequences of float or None, optional) – Per-zone mean water saturation, clay volume, bad-hole share and seal-flag share.

  • vcl (sequences of float or None, optional) – Per-zone mean water saturation, clay volume, bad-hole share and seal-flag share.

  • bad_hole (sequences of float or None, optional) – Per-zone mean water saturation, clay volume, bad-hole share and seal-flag share.

  • seal (sequences of float or None, optional) – Per-zone mean water saturation, clay volume, bad-hole share and seal-flag share.

  • at_limit (sequence of bool, optional) – Whether the zone’s permeability is held at the model’s limit.

  • good_perm (float) – Permeability (mD) above which modelled permeability counts as good, and at or below which a zone is poor (a possible baffle).

  • poor_perm (float) – Permeability (mD) above which modelled permeability counts as good, and at or below which a zone is poor (a possible baffle).

  • baffle_decades (float) – Decades below the strongest zone at which a zone is a possible baffle.

  • seal_fraction (float) – Seal-flag share at or above which a zone is shale-dominated.

  • sw_max (float, optional) – The saturation and shale-volume cutoffs (water-bearing above sw_max; shaly above vcl_max).

  • vcl_max (float, optional) – The saturation and shale-volume cutoffs (water-bearing above sw_max; shaly above vcl_max).

  • max_bad_hole_fraction (float) – Bad-hole share above which a role is low confidence.

Returns:

zones: per zone role ("strongest", "baffle" or "flow"; None without a permeability), kh and qualifiers, a list of (code, value) with codes bad_hole (the share), at_model_limit, shaly (the VCL) and water_bearing (the SW); strongest and capacity: the indices of the highest mean permeability and the largest permeability-thickness (None without one).

Return type:

dict

Examples

>>> r = flow_roles([150.0, 0.5, 40.0], [10.0, 5.0, 30.0], sw=[0.3, 0.9, 0.8], sw_max=0.7)
>>> [z["role"] for z in r["zones"]], r["strongest"], r["capacity"]
(['strongest', 'baffle', 'flow'], 0, 0)