Drilling

Flag Detection

Rotation Detection

indsl.drilling.rotation_detection(rot_vel: Series, thresh: float = 0) Series

Rotation detection.

A simple on/off detection of rotation of a drill string based on a threshold

Parameters:
  • rot_vel – Rotational velocity [rpm]. Time series with the rotational velocity of the drill string

  • thresh – Rotation threshold [rpm]. Minimum rotation value for the drill string to be considered rotating

Returns:

Rotation periods. Binary time series indicating rotation on or rotation off: Rotation on = 1, Rotation off = 0.

Return type:

pandas.Series

On-Bottom Detection

indsl.drilling.onbottom_detection(bit_depth: Series, hole_depth: Series, thresh: float = 0) Series

On bottom detection.

A simple on/off bottom of the hole detection for a drilling assembly

Parameters:
  • bit_depth – Measured depth of the drill bit. Time series with the measured depth of the drilling string

  • hole_depth – Measured depth of the well. Time series with the measured depth of the well

  • thresh – Onbottom threshold. Minimum distance between hole depth and bit depth for the drill bit to be considered off bottom

Returns:

On bottom periods. Binary time series indicating if the drill bit is on bottom or off bottom: On bottom = 1, Off bottom = 0.

Return type:

pandas.Series

Raises:

UserValueError – Raises an error if either hole depth or bit depth is all nan values, or if bit depth > hole depth

In-Hole Detection

indsl.drilling.inhole_detection(bit_depth: Series, thresh: float = 50) Series

In hole detection.

A simple in/out of the hole detection for a drilling assembly

Parameters:
  • bit_depth – Measured depth of the drill bit. Time series with the measured depth of the drilling string

  • thresh – Inhole threshold. Minimum bit depth for the drilling assembly to be considered in the hole

Returns:

In hole periods. Binary time series indicating if the drill bit is in well or out of the well: In Hole = 1, Out of Hole = 0

Return type:

pandas.Series

Circulation Detection

indsl.drilling.circulation_detection(flow_rate: Series, thresh: float = 0) Series

Circulation detection.

A simple on/off circulation detection for the pumping fluids into the well.

Parameters:
  • flow_rate – Volumetric flow of drilling fluids going into the well. Time series with the flow rate of the down hole drilling rig pumps

  • thresh – Circulation thresholdthreshold. Minimum flow rate for circulation of fluids into the well to be considered on.

Returns:

On bottom periods. Binary time series indicating if fluid circulation is on or off: Circulation on = 1, Circulation off = 0.

Return type:

pandas.Series