Electrical Submersible Pump Monitoring Package

Monitor electrical submersible pump (ESP) parameters and create tag entries if unfavorable conditions are detected

Usage and Configuration

To perform the calculations run the workflows from this package starting with the workflow ESP Monitoring. The schedules may be adapted to use different contexts.

Follow the steps given in How do I configure packages pulled from Datagration's package repository to change the configuration of the package.

Use the workspace value DataLoadOffsetDays to configure the end of the scopes Start To Date Daily and Start To Date Monthly.

E.g. If the data in the data sources is lagging one day, set the workspace value to 1 to account for this offset.

Use the workspace value EspMonitoringForecastScenario to specify the scenario from which forecast data will be retrieved.

If there is no pump outlet pressure available set the workspace value PumpOutletPressureIsAvailable to FALSE. This will prompt the workflow to estimate the pump outlet pressure using the custom activity EstimateBottomholePressure.

Details

Estimate Bottomhole Pressure

This custom activity calculates the pump outlet pressure, in case the signal is not available for the user. This activity is only executed if the workspace value PumpOutletPressureIsAvailable is set to FALSE. In case the value is TRUE, the workflow will skip this step.

ESP Downhole Calculations

This script performs a number of calculations at the pump level and saves output signals to be used in the rest of the ESP Monitoring workflow.

ESP Efficiencies

This script calculates the system-, motor-, cable-, and surface equipment efficiencies and creates tag entries if they fall below user defined thresholds.

The following tag entries are created:

Low System Efficiency
Low Pump Efficiency
Low Motor Efficiency
Low Cable Efficiency
Low Surface Efficiency

ESP Head Derating Factor

This script generates tag entries of the tag Head Derating Violation if the head derating factor exceeds a user defined threshold for a user defined number of times in a predefined time window.

 

ESP Problem Detection

The logic tries to detect a number of events or problems related to ESP operation. This is based on how the different measurements or signals are changing with time: increasing, decreasing, or stable, within a user-defined time window. Each event is given a normalized score [0, 1] that reflects how strong its symptoms are, hence the likelihood that this event is taking place.
Detected events are:
Worn Pump ( worn pump score)
Plugged Intake ( plugged intake score)
Tubing Leak ( tubing leak score)
Gas Interference ( gas interference score)
Viscous Fluid ( viscous fluid score)

ESP Surveillance By Exception

This script creates tag entries for the following tags based on the thresholds presented in [1]:

Current Overload
Current Underload
Overvoltage
Undervoltage
High Tubing Head Pressure
High Flow Line Pressure
Low Pump Intake Pressure
Pump Motor Temperature Violation
Pump Operating Range Violation

ESP Well Ranking

This script calculates an esp performance score based on oil variance, system efficiency, and head derating factor. Moreover it calculates an esp failure score based on detected problems and predictions from ML models.

Data Requirements

The following data is required:

api gravity oil
downhole current
flowline pressure
gas oil ratio
gas specific gravity
generator power
motor frequency
motor temperature
motor voltage
number of pump stages
oil production rate
oil production rate forecast
pump intake pressure
pump intake temperature
pump model

pump outlet pressure
pump setting depth
tubing inner diameter
water production rate

water specific gravity
well head pressure

References

[1] Awaid, A., Al-Muqbali, H., Al-Bimani, A., Al-Yazeedi, Z., Al-Sukaity, H., Al-Harthy, K., &
      Baillie, A. (2014, January). ESP Well Surveillance using Pattern Recognition Analysis, Oil
      Wells, Petroleum Development Oman. In IPTC 2014: International Petroleum Technology
      Conference
(pp. cp-395). European Association of Geoscientists & Engineers.