fit_pressure_fwl¶
petrophys.interpretation.saturation.height.fit_pressure_fwl
- fit_pressure_fwl(
- depth,
- pressure,
- fluid,
- *,
- hydrocarbon='oil',
- depth_unit='m',
- pressure_unit='bar',
- depth_reference='TVDSS',
Fit water/hydrocarbon pressure lines and return their intersection.
Supply QC-selected, equilibrated measurements from one connected reservoir, with positive-down true vertical depths on one datum and a common pressure reference. MD is not accepted.
fluidmust contain onlywaterand the selectedhydrocarbon(oilorgas); filter other fluids, dry tests and suspect/supercharged points explicitly before calling.Units are m/ft and bar/psi/kPa/MPa. Outputs retain the supplied units;
gradientis pressure-unit/depth-unit. Fits are unweighted ordinary least squares, with at least two distinct depths per fluid. The result is an extrapolated equilibrium estimate, not a saturation-defined OWC or an uncertainty interval. Hydraulic connectivity and fluid labels are supplied interpretations; this function cannot establish them from numbers alone.