archie¶
petrophys.interpretation.saturation.archie
- archie(rt, rw, phi, a=1.0, m=2.0, n=2.0)[source]¶
Calculate water saturation using Archie equation.
Sw^n = a × Rw / (φ^m × Rt)
- Parameters:
rt (float or np.ndarray) – True formation resistivity (ohm.m)
rw (float) – Formation water resistivity (ohm.m)
phi (float or np.ndarray) – Porosity (v/v)
a (float, optional) – Tortuosity factor (default: 1.0)
m (float, optional) – Cementation exponent (default: 2.0)
n (float, optional) – Saturation exponent (default: 2.0)
- Returns:
Water saturation (0-1): a float for scalar inputs, else an array. NaN where Rt or an Rw array is at or below zero.
- Return type:
float or np.ndarray
- Raises:
ValueError – If a scalar
rwis at or below zero.
Examples
>>> sw = archie(rt=10, rw=0.05, phi=0.20) >>> print(f"Sw = {sw:.2f}") Sw = 0.35