RmfModule

petrophys.interpretation.electrical.rmf.RmfModule

Also available as petrophys.interpretation.electrical.RmfModule

class RmfModule(rmf_conversion_factor=0.75)[source]

Mud filtrate resistivity calculator.

Calculates Rmf at formation temperature from: - Given Rmf at measured temperature (corrected using Arps) - Rm × conversion factor

Parameters:

rmf_conversion_factor (float, optional) – Factor to convert Rm to Rmf (default: 0.75 for fresh water mud)

Notes

With oil-based mud the filtrate does not conduct and Rmf does not apply; this class has no oil-based-mud case.

Examples

>>> rmf_calc = RmfModule()
>>> result = rmf_calc.calculate(
...     rmf_surface=0.85,
...     temp_measured=75,
...     temp_formation=150
... )

Methods

calculate

Calculate Rmf at formation temperature.

calculate_from_well

Calculate Rmf from well header and temperature curve.

calculate(
rmf_surface=None,
rm_surface=None,
temp_measured=75.0,
temp_formation=150.0,
temp_unit='F',
)[source]

Calculate Rmf at formation temperature.

Parameters:
  • rmf_surface (float, optional) – Rmf at surface/measured temperature

  • rm_surface (float, optional) – Rm at surface (Rmf = Rm × factor)

  • temp_measured (float) – Temperature at which resistivity was measured

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

  • temp_unit (str, optional) – Temperature unit

Returns:

Rmf calculation results

Return type:

RmfResult

calculate_from_well(well, temperature_curve='TEMP')[source]

Calculate Rmf from well header and temperature curve.

The header Rmf/Rm is taken as measured at well.header.rm_temp (degF), else at the RMFT header parameter (mud filtrate measurement temperature), else at MFST (mud filtrate sample temperature), each converted from its unit label, else at 75 degF. Pass the measurement temperature to calculate() when it differs.

Parameters:
  • well (Well) – Well object with header info and temperature curve

  • temperature_curve (str) – Name of temperature curve; a degC or K unit label is converted to degF

Returns:

Rmf at formation temperature

Return type:

RmfResult