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 Rmf at formation temperature.
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',
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 tocalculate()when it differs.