rw_from_sp

petrophys.interpretation.electrical.rw.rw_from_sp

rw_from_sp(sp, sp_shale, rmf, temperature, temp_unit='F')[source]

Calculate Rw from SP using the SSP equation.

SSP = -K * log10(Rmf/Rw) where K = 61 + 0.133*T (T in degF)

Solving for Rw: Rw = Rmf / 10^(-SSP/K)

Rmf and Rw stand directly for the equivalent resistivities Rmfe and Rwe of the textbook relation; no Rweq-to-Rw chart conversion is applied.

Parameters:
  • sp (float or np.ndarray) – SP log values (mV)

  • sp_shale (float) – Shale baseline SP (mV)

  • rmf (float) – Mud filtrate resistivity at formation temperature

  • temperature (float or np.ndarray) – Formation temperature

  • temp_unit (str, optional) – Temperature unit: “F”, “C”, “K” or a label such as “degC”

Returns:

Formation water resistivity (ohm.m)

Return type:

float or np.ndarray

Notes

This method should not be used when: - Formation contains significant clay - KCl is in the drilling mud - Formation water salinity is very low