saturation_height_from_logs¶
petrophys.interpretation.saturation.height.saturation_height_from_logs
- saturation_height_from_logs(
- well,
- model,
- fwl_depth,
- perm_curve=('PERM_CC', 'PERM', 'PERM_CORE', 'PERM_TIMUR'),
- phi_curve=('PHIE_CC', 'PHIE', 'PHIT'),
- depth_increases_down=True,
- tvd_curve=None,
Predict Sw vs depth from a fitted J-function model and an FWL depth.
Height above the FWL is
fwl_depth - depth(so shallower = higher = drier), converted from the depth unit (m or ft) to ft for the field-unit capillary relation Pc = 0.433 (SGw - SGhc) h. Below the FWL height is clipped to 0 -> Sw = 1.Capillary height is vertical.
depthis thetvd_curvewhen one is named, in that curve’s unit (the well’s depth unit when the curve has none). Otherwise it is the well’s depth index, taken as true vertical depth, which holds for a vertical well only; a warning says so.fwl_depthmust be in the same unit and on the same datum as that depth.Takes a well or an interpretation result.
perm_curve(mD) andphi_curve(v/v) each name a curve or several in order of preference; at each depth the first of them with a value is used. A well with none of the named curves raises ValueError. Returns Sw (v/v) at every depth of the well.