Esp ML PDF
Esp ML PDF
This paper was prepared for presentation at the Offshore Technology Conference held in Houston, Texas, USA, 6 – 9 May 2019.
This paper was selected for presentation by an OTC program committee following review of information contained in an abstract submitted by the author(s). Contents of
the paper have not been reviewed by the Offshore Technology Conference and are subject to correction by the author(s). The material does not necessarily reflect any
position of the Offshore Technology Conference, its officers, or members. Electronic reproduction, distribution, or storage of any part of this paper without the written
consent of the Offshore Technology Conference is prohibited. Permission to reproduce in print is restricted to an abstract of not more than 300 words; illustrations may
not be copied. The abstract must contain conspicuous acknowledgment of OTC copyright.
Abstract
The Internet of Things (IoT) — combined with advances in sensor technology, data analytics, and artificial
intelligence (AI) — has paved the way for significant efficiency and productivity gains in the oil and
gas industry. One application, in particular, has been proven to benefit from these technologies: electrical
submersible pumps (ESPs). It's well understood across the E&P industry that nearly all wells must
eventually incorporate some form of artificial lift to continue production, and ESPs drive about half of that.
Although ESPs are designed to operate in harsh conditions, such as corrosive liquids, extreme temperatures,
and under intense pressures, they can fail. Costs for repair or replacement are high but are usually dwarfed
by the cost of lost production. In some cases, especially offshore, that cost can run into millions of dollars
per day, including idle operational resources and output losses. This paper explores a unique AI-based
application that enables operators to preempt costly ESP failures, while optimizing production at the same
time. To illustrate, a use case will be shared. As a proof-of-concept and later a pilot project in an onshore
oilfield, 30 ESPs driven by pumps ranging in power from as low as 200 kW to as high as 500 kW were
deployed and monitored using an AI-supported predictive maintenance model. The positive results are
applicable to offshore applications. In one case, the probability of an ESP failure was determined 12 days
before an actual failure of the ESP occurred.
mention sand and other particulates that can run through ESP pumping mechanism, possibly fouling its
bearings.
For all these reasons, ESPs are subject to failure and, in today's deployments, they can do so without
warning. When that happens, replacement is complicated. An exchange can extend downtime, and the
resulting costs of idle operational resources and output losses can be astronomical. That's why an early-
warning system for ESP operations in the form of an AI-driven probabilistic, predictive maintenance model
can be so desirable.
machines that also could reason, learn, and solve problems. But not until recent years has the convergence
of many different tech trends made AI, once the realm of science fiction, real and with practical applications
emerging today.
Among those trends are vast reductions in costs and space required for powerful, parallel-processing
computers. Once known as supercomputers — now called high-performance cloud computing — they are
accessible on a pay-as-you-go basis over the web from just about anywhere in the world. Another trend is
secure, ubiquitous, and ultra-fast broadband connectivity, increasingly wireless, that has "things talking to
things" in what's now called the Internet of Things (IoT).
Then there are advancements in data and software technologies. For example, increasingly "smart," self-
calibrating sensors can monitor offshore platform equipment operations and relay their data to higher-level
systems and control rooms, even onshore ones many hundreds of kilometers away. Cloud-based platforms
can provide offshore E&P operators with access to advanced analytics software featuring AI algorithms that
can analyze incoming data for anomalies that could signal trouble ahead in the monitored equipment.
This type of AI capability is often referred to as machine learning (ML). It uses statistical analysis to infer
the probability of a hypothesized event happening, given more and more data as evidence. It combines this
capability with neural network models to "learn" the relational behavior of a system and its components.
That's why AI-based, ML algorithms, once authored and deployed, first need to be trained with sample
baseline operating data, then "fueled" with actual operating data to become effectively smarter and better
at their tasks.
might behave in the future, much like meteorologists use percentage probabilities to predict tomorrow's
weather.
Several caveats are in order with this description of ML-based monitoring and diagnostics models. First,
operators must have ways to effectively manage vast amounts of process data. Second, to ensure data
integrity, proper data structuring is critical. Third, data availability and its time synchronization are important
to ensure the fidelity of the data as input to the ML-based model.
Notably, especially in offshore E&P applications, ML-based models are typically based in cloud
platforms where the advanced analytics software resides and does its work. Data in motion is encrypted
and transmitted via IoT connectivity, either via wired or wireless media. Public cloud platforms can be as
secure or more secure than on-premise facilities. They also offer pay-as-you-go subscriptions that conserve
capital and, importantly, time. Building an on-premise infrastructure can take months, while turning up a
cloud-based solution can be done in hours or days.
Figure 1—The ESP-monitoring system architecture. Shown ae each of the key components and the main data
flow required to establish secure connectivity between the physical ESP system and the cloud-based, artificial
intelligence/machine-learning system that supports the predictive, condition-based maintenance model.
■ SCADA system: A centralized SCADA system linked the ESPs, providing supervisory and control
of the fleet's pumps. The system fed the process data to a high-speed historian database.
■ Fiber-optic network: The SCADA system was permanently connected to the distributed ESP
systems via a high-availability, high-speed, fiber-optic network.
■ Monitoring application: The ML-based monitoring application was developed with the TensorFlow
ML open-source software library. By enabling data-flow programming across a range of tasks,
developers use it for building ML applications, such as what this project required. Programmed in
Python, the application was deployed in an off-site public cloud platform.
■ Predictive maintenance application: The web-based, predictive maintenance application was coded
in HTML and deployed in the same public cloud as the monitoring application. As a standalone
support system for the ESP experts, it has no features or functionally that are integrated with the
SCADA system.
Figure 2 above is both a visual key for the following two types of process variables from which sensor
data fueled the project's ML-based, predictive maintenance model:
Surface Variables
Sub-Surface Variables
A polling feature in the central SCADA system sampled the process variables at 5 to 10 second intervals,
continuously updating their values in an historian database with a store-on-change compression method.
Numerous experiments were done with the ML-model by using the same historical data as input and then
adjusting different tuning parameters of the monitoring application that employed the ML technology. One
of the key parameters tested this way was an anomaly threshold parameter.
The anomaly threshold parameter, shown as a percentage value, is a cumulative indication across all
process variables of the probability that the ML-based model will predict an anomaly. The test of this
parameter was to determine its relative effect on the timing and accuracy of the model's advance notification
for any specific anomaly.
Indeed, the anomaly threshold parameter did impact the accuracy and timing of the predictions. When set
to a high value, such as greater than 80 percent, the ML-based model would accurately predict anomalies
before an ESP's failure inside short notification periods, usually in the range of hours.
Conversely, if the anomaly threshold was set to a lower value, such as less than 40 percent, the ML-
based model would still accurately detect data anomalies but within a much earlier notification period, in
the range of several days.
Obviously, the longer notification period associated with setting the anomaly threshold parameter to a
lower value can provide an ESP operator more time to decide on mitigation measures. But the disadvantage
is that the ML-based model becomes more sensitive to smaller changes in the data, making it prone to false
anomaly predictions.
Fortunately, the model was able to be finely tuned to balance between providing early predictions with
longer notification periods without generating large numbers of false anomaly predictions. In one test,
the ML-based model discovered significant anomalies 12 days ahead of one ESP's failure. The predicted
anomalies were carefully analyzed and verified with data from the failed ESP's historical records.
Given the outcomes of the ML-based model's performance in numerous tests conducted in controlled
conditions, it proved the hypothesis that AI/ML technology can be usefully applied in the deployment of
a practical, predictive maintenance model for ESPs.
pilot project's architecture is that the anomaly detections can be validated easily and independently using
diagnostic tools that are available from the central SCADA system connected to the ESPs.
Following several months of testing the ML-based predictive maintenance solution in the pilot
deployment, the project team and the ESP fleet operator concluded that the system can detect multiple kinds
of anomalies, even previously unknown ones.
For example, while in the pilot testing period, the ML-based model predicted many anomalies with which
the ESP operators were familiar. However, it also detected new, more complex, and previously unknown
ones. That capability is a significant distinction between the ML-based model and both the physics-based
modeling and expert modeling employed by other ESP diagnostic tools.
Although these new, unknown types of complex ESP operational anomalies were difficult to interpret
as to their root causes, they could still have led to ESP performance degradation and possible failure
nonetheless, if not mitigated or remediated.
The newly discovered anomalies have given the ESP fleet operator fresh insights into the ongoing
operation of these complex machines and now a record of those particular types of ESP operating behaviors.
The operator also has a reason to investigate, find, and document their causes and develop appropriate
mitigations or remediations should they occur in the future.
Finally, the identification of previously unknown ESP operating anomalies itself further validates the
use of AI/ML technology as a valuable analytical tool and the basis for a practical, predictive maintenance
model for ESPs.
Acronyms
AI: Artificial Intelligence
E&P: Exploration & Production
ESP: Electrical Submersible Pump
IoT: Internet of Things
ML: Machine Learning
SCADA: Supervisory Control and Data Acquisition
VFD: Variable Frequency Drive
References
Jansen van Rensburg, Nico. Usage of Artificial Intelligence to Reduce Operational Disruptions of ESPs by Implementing
Predictive Maintenance. Presented at the Abu Dhabi International Petroleum Exhibition and Conference (ADIPEC)
2018, 11–14 November 2018. SPE-192610-MS
Gruss, Alec. Artificial Intelligence: Steps to Transforming Offshore E&P for Vastly Improved Business Outcomes.
Presented at the Offshore Technology Conference (OTC) 2018. 30 April–3 May 2018