Water saturation¶
Saturation models, saturation height and formation pressures, and sonic saturation.
Saturation models¶
petrophys.interpretation.saturation
Water saturation from Archie and shaly-sand models, and flushed-zone saturation.
Saturation of a well
Calculate water saturation. |
|
Water saturation calculator with automatic model selection. |
|
Result container for saturation calculation. |
|
Water saturation model selection. |
|
Classify water saturation. |
Archie and shaly-sand equations
Calculate water saturation using Archie equation. |
|
Calculate water saturation using the Simandoux equation. |
|
Calculate water saturation using the modified Simandoux equation. |
|
Calculate water saturation using Indonesia equation. |
|
Calculate water saturation using a North Sea shaly-sand equation. |
|
Calculate water saturation using the Nigeria/Schlumberger equation. |
|
Dual Water model water saturation. |
|
Waxman-Smits water saturation for shaly sands with CEC data. |
Flushed zone
Calculate flushed zone water saturation (Sxo). |
Saturation height¶
petrophys.interpretation.saturation.height
Capillary pressure, saturation-height models and formation-pressure free-water levels.
Capillary pressure and J-function
Capillary pressure (psi) at a height above the free-water level (ft). |
|
Height above the free-water level (ft) for a capillary pressure (psi). |
|
Convert a laboratory Pc to reservoir conditions via IFT and contact angle. |
|
Leverett J-function (dimensionless) from Pc, permeability and porosity. |
|
Inverse of |
Saturation-height models
Fit Sw = a*J^b (log-linear). |
|
Fit Brooks-Corey (Swir, Pd, lambda) to a drainage Pc curve. |
|
Predict Sw vs depth from a fitted J-function model and an FWL depth. |
|
Sw = a * J^b (optionally above an irreducible floor Swir). |
|
Sw = Swir + (1-Swir)*(Pd/Pc)^lambda for Pc >= Pd (drainage). |
Empirical functions from log Sw and a known FWL
Fit an empirical saturation-height function to Sw versus height above the FWL. |
|
Fit a saturation-height function to a well's log Sw above a known FWL. |
|
Vertical height above the free-water level, |
|
An empirical saturation-height function and its fit statistics. |
Formation pressure and free-water level
Read a CSV, LAS path, lasio.LASFile, or pandas DataFrame of stations. |
|
Fit water/hydrocarbon pressure lines and return their intersection. |
|
Stations with normalized columns and explicit TVD metadata. |
|
Linear pressure(depth), in the input pressure and depth units. |
|
Gradient intersection on the caller's positive-down TVD datum. |
Unlabeled pressure contacts
Infer candidate gradients, fluid types and contacts without fluid codes. |
|
Inferred depth segment; fluid candidates are hypotheses, not samples. |
|
Pressure-line intersection and conditional +/-2-sigma sensitivity. |
|
Unlabeled inference with explicit ambiguity and original-row alignment. |
Raw MDT pretest pressure picking
Read one raw MDT pretest from LAS/CSV/DLIS, lasio.LASFile or DataFrame. |
|
Pick a stabilized buildup from one raw overbalanced probe setting. |
|
Bridge picks to unlabeled station data; review candidates stay excluded. |
|
Analysis thresholds in the units in each name, not gauge specifications. |
|
One probe setting, potentially including repeated pretests. |
|
One detected recovery; pressures retain input units, times are seconds. |
|
Auditable automatic pick. |
More functions
Fit a Leverett J-function to a well's log Sw above a free-water level. |
|
The free-water level at which a saturation-height model best matches the logs. |
|
Fit one Leverett J-function to the plugs' capillary-pressure curves. |
|
Fit the Thomeer (1960) hyperbola to one mercury-injection curve. |
|
Read plug capillary-pressure curves from a CSV or Excel table (or a DataFrame). |
|
The depth of the water contact (where logs first read Sw = 1) above the FWL. |
More classes
Plug capillary-pressure curves: a row per measured point. |
|
The free-water level that best explains the log water saturation. |
Constants
- SATURATION_HEIGHT_MODELS: tuple = ('power', 'cuddy', 'skelt_harrison')¶
Empirical saturation-height forms
fit_saturation_height()fits.
Sonic saturation¶
petrophys.interpretation.saturation.sonic
Sonic (acoustic) water saturation via Gassmann fluid substitution.
Sonic saturation of a well
Estimate water saturation from sonic + density via Gassmann. |
|
Gassmann sonic-saturation calculator. |
|
Velocities, moduli and Gassmann
Convert sonic slowness (us/ft) to velocity (m/s). |
|
Estimate shear velocity (m/s) from Vp (m/s) via Greenberg-Castagna. |
|
Saturated bulk and shear moduli (GPa) from Vp, Vs (m/s) and density (g/cc). |
|
Dry-frame bulk and shear moduli (GPa) vs porosity. |
|
Gassmann saturated bulk modulus (GPa) from dry frame, mineral, fluid, porosity. |
|
Invert Gassmann for the in-situ fluid modulus K_fl (GPa) given K_sat & K_dry. |
|
Effective fluid bulk modulus (GPa) for a brine/HC mix (Wood/Reuss average). |
|
Water saturation from the in-situ fluid modulus (inverse of Wood mixing). |
|
Compressional slowness swing (us/ft) between full brine and full HC. |
Constants