JFunctionModel¶
petrophys.interpretation.saturation.height.JFunctionModel
- class JFunctionModel(
- a,
- b,
- swir=0.0,
- form='power',
- ift=30.0,
- theta=30.0,
- sg_water=1.0,
- sg_hc=0.8,
- r2=None,
- points=None,
Sw = a * J^b (optionally above an irreducible floor Swir).
formis"power"(Sw = a * J^b) or"power_swir"(Sw = Swir + (1 - Swir) * a * J^b).ift(dyne/cm) andtheta(degrees) are the interfacial tension and contact angle J is computed with,sg_waterandsg_hcthe specific gravities that convert height to capillary pressure, andr2the fit’s R2 on Sw.Attributes
sw,perm(mD) andphi, withheight(ft above the FWL) fromfit_j_function_from_well()orjfromfit_j_function_from_core().Methods
Sw against height above the FWL: the fitted samples coloured by permeability and the model's curve for each of
perms(mD), each at the median porosity of the samples near that permeability.Water saturation (v/v) at a height above the free-water level.
Water saturation (v/v) at Leverett J values.
Water saturation (v/v) at a capillary pressure, for a rock's permeability and porosity.
- Parameters:
- points: Dict[str, ndarray] | None = None¶
sw,perm(mD) andphi, withheight(ft above the FWL) fromfit_j_function_from_well()orjfromfit_j_function_from_core().- Type:
The samples the fit used
- plot(perms=(1.0, 10.0, 100.0), ax=None)[source]¶
Sw against height above the FWL: the fitted samples coloured by permeability and the model’s curve for each of
perms(mD), each at the median porosity of the samples near that permeability. Each curve has the colour of its permeability on the colour bar of the samples.A model fitted from core plugs is drawn as Sw against J, with the fitted curve. Returns the figure. A model without its fitted samples (
points) raises ValueError.
- sw_from_pc(pc_psi, perm_md, phi)[source]¶
Water saturation (v/v) at a capillary pressure, for a rock’s permeability and porosity.
- Parameters:
- Returns:
Sw from
sw_from_j()at the J of each sample, computed with the model’siftandtheta; NaN where the permeability or porosity is not positive.- Return type:
float or array
- sw_from_height(height_ft, perm_md, phi)[source]¶
Water saturation (v/v) at a height above the free-water level.
- Parameters:
- Returns:
Sw from
sw_from_pc()at the capillary pressure0.433 * (sg_water - sg_hc) * height_ftpsi; 1 at and below the free-water level.- Return type:
float or array