fit_j_function_from_well¶
petrophys.interpretation.saturation.height.fit_j_function_from_well
- fit_j_function_from_well(
- well,
- fwl_depth,
- sw_curve=('SW_INPUT', 'SW'),
- perm_curve=('PERM_CC', 'PERM', 'PERM_CORE', 'PERM_TIMUR'),
- phi_curve=('PHIE_CC', 'PHIE', 'PHIT'),
- fluids='oil_brine',
- sg_water=1.0,
- sg_hc=0.8,
- form='power',
- swir=0.0,
- top=None,
- bottom=None,
- tvd_curve=None,
Fit a Leverett J-function to a well’s log Sw above a free-water level.
Each sample’s capillary pressure comes from its height above
fwl_depth(in the well’s depth unit and datum) and the fluid densities, and its J from that pressure, permeability and porosity; the J-Sw power law is then fitted (fit_j_function()).fluidsnames the interfacial tension and contact angle ("oil_brine","gas_brine", …).topandbottombound the samples. The model keeps them, somodel.plot()draws the fit; apply it withsaturation_height_from_logs(). Takes a well or an interpretation result.sw_curve,perm_curveandphi_curveeach name a curve or several in order of preference; at each depth the first of them with a value is used.sg_waterandsg_hcare the specific gravities of the water and the hydrocarbon, andformandswirare those offit_j_function(). Height is measured alongtvd_curvewhen one is named, withfwl_depthin that curve’s unit and on its datum; otherwise the depth index is taken as true vertical depth, which holds for a vertical well only, and a warning says so. Unknownfluids, a well with none of the named curves, or fewer than 3 usable samples above the free-water level raise ValueError.>>> model = fit_j_function_from_well(hw3, fwl_depth=7991) >>> model.plot()
- Parameters:
- Return type: