SPE 124926 PA - Diagnostico de GL
SPE 124926 PA - Diagnostico de GL
SPE 124926 PA - Diagnostico de GL
Summary
This paper describes a new method to continuously monitor and
diagnose the condition of wells producing through continuous gas
lift. The paper describes the application of this system in a mature
onshore gas lift field in the western United States and the results
obtained. A central problem related to the operation of gas lift
wells is the ability to identify underperforming wells and to address
the underlying issues appropriately and in a timely manner. This
problem is compounded by the trend toward leaner operations and
relative scarcity of application-specific domain knowledge. The
purpose of this method is to address these issues by leveraging
real-time data, gas lift domain expertise, and proven steady-state
analysis techniques in a desktop software application.
This system performs four key functions: Monitoring the wells
condition by collecting data, assessing the meaning of these data,
recommending actions for correcting problems and responding to
threats, and explaining recommendations.
The performance of the system has met initial expectations and
has provided additional unforeseen benefits. This paper cites specific cases that compare agent predictions to expert diagnoses and
quantify the benefits of taking the recommended actions. What was
found was that while the correct diagnoses of well performance
issues was beneficial, the real benefit was in allowing production
engineers to analyze a greater number of wells in far less time. To
that end, the paper will discuss the role of this system as it relates
to the overall production management workflow.
The success of this project has demonstrated that intelligent
agents can effectively perform functions historically performed by
a handful of experts. The paper will discuss key system-design features that enable this level of functionality as well as other potential
areas in which the technology can be extended in the future.
Introduction
One of the current challenges facing the upstream E&P industry
is the growing scarcity of specialist domain expertise and trained
personnel needed to efficiently operate oil and gas assets. In cases
in which these resources are limited or unavailable, automation
technology has often been touted as a solution. While the introduction of such technology has delivered numerous improvements in
operational efficiency, it also has introduced new challenges. One
such challenge involves the introduction of vast quantities of data
that result in minimal actionable information (Brul et al. 2008;
Hite et al. 2007). Operators are faced not only with the information
technology task of managing these data, but also with the business
challenge of leveraging the data to improve their profitability. In
response to this new challenge, a growing number of projects are
being initiated to help close this gap between data and information.
This paper discusses one such effort.
In this project, new technology has been developed to assist
production engineers in the well-by-well optimization of gas lift
systems. Well-by-well optimization has long been recognized as
having value (Mochizuki et al. 2006), but has often proven impractical to carry out on a routine basis because of the labor-intensive
nature of the work and the limited number of individuals with the
Copyright 2010 Society of Petroleum Engineers
This paper (SPE 124926) was accepted for presentation at the SPE Annual Technical
Conference and Exhibition, New Orleans, 47 October 2009, and revised for publication.
Original manuscript received for review 29 July 2009. Revised manuscript received for
review 29 July 2009. Paper peer approved 08 October 2009.
Value, %
80
Well-by-well
60
40
20
Full-field
0
0
20
Full-field (RT-enabled)
60
80
40
100
Effort, %
Fig. 1Relative effort and value of optimization project classes.
This expert may even oversee the implementation of these corrective measures and evaluate the performance of the well after performing these services. In certain cases, a more proactive approach
might be used, in which an expert is placed in-house with the task
of systematically identifying underperforming wells and addressing
well performance issues in a prioritized, sequential manner.
Challenges With Historical Approach
The approach described presents a variety of challenges to operators. One of the most fundamental challenges is that this approach
tends to be both reactive and episodic in nature, resulting in missed
opportunites for production enhancement. In addition, much of this
work requires individuals with specialist artificial-lift-domain expertise, which is increasingly scarce as the demographics of the industry
change over time. Even in those cases in which a resident expert is
present in an asset, ones ability to detect and address the numerous
opportunities in a field is limited by the labor-intensive nature of the
work and the sheer volume of competing priorities. Finally, it is common for problems in gas lifted wells to go undetected for months or
even years because gas lift is such a forgiving artificial lift method.
Even those gas lifted wells that have a serious performance problem
and are not producing optimally will often continue to produce fluids.
With other forms of lift, failures tend to be catastrophic in nature and
are identified and addressed much more quickly.
Addressing the Need
Role of Intelligent Agents. In order to address these challenges,
an intelligent-agent system has been developed to provide realtime diagnostics of continuous gas lift wells. The role of the
intelligent-agent system is to enable every surveillance engineer,
regardless of experience or skill level, to make decisions that lead
to optimization of wells with the knowledge of a world-class gas
lift analyst.
Intelligent agents do this by providing engineers with the status
of all gas lifted wells under their control. Agents monitor the wells
situation by collecting and cleansing data, assessing the meaning
of these data, recommending actions for correcting problems and
responding to threats, and explaining their assessment results and
recommendations. Agents can detect the initial symptoms of a
problem and prompt for corrective action before the wells performance seriously degrades. The performance of these key functions
enables surveillance engineers to optimize a much larger number
of wells on a continuous basis.
Once armed with these tools, engineers no longer have to assess
the state of each well manually. The agents integrate continuous
data such as pressure readings with well-test data and predictions
from commercially available systems-analysis tools, using diagnostic principles stored in a knowledge base to determine each
wells condition and recommend corrective actions. The agent
reviews all gas lifted wells in the field and prioritizes recommended
actions in accordance with pre-established criteria that includes
increased production potential and possible cost efficiencies.
February 2010 SPE Production & Operations
Technology. The agents underlying technology is an adaptation of methods that are used in applications such as document
classification and search on the Internet (Strategic Computing
1983; Broadwell 1998; Edwards and Geddes 1991; Geddes et al.
1996; Geddes et al. 1998; Geddes et al. 1990). Software programs
known as entity extractors can electronically read documents and
pick out the people, places, events, organizations, and other things
mentioned in the document. Other programs can determine which
entities typically occur together in a document of a particular type.
Given a query string such as US Airways Hudson River, search
programs can find documents and materials related to the 2009
crash landing of a US Airways flight in the Hudson River. Document searching is an application of pattern matching.
Relating the notion of pattern matching to gas lift analysis, we
know that in cases of valve cycling, the attributes casing heading:
yes and tubing heading: yes typically occur together. In wells
behaving normally, the attributes casing heading: no and tubing
heading: no typically occur. Gas lift experts understand the complex patterns of data that characterize various gas lift fault states.
The gas lift intelligent agent follows essentially the same process as a knowledgeable engineer. The engineer typically examines
well-test data, reviews trend data such as casing and tubing pressures, and refers to analytical models using systems-analysis tools.
In many cases, at least some of the data will be either missing or
suspect. Making sense out of this sometimes conflicting data is the
art practiced by an expert gas lift engineer.
The agent treats the art of gas lift diagnosis as a pattern-matching problem that involves overlaying the data that describe a wells
current state with information in the knowledge base that describes
problem states for gas lift systems. The set of attributes compared
is fairly large, on the order of more than 25 attributes. Like an
Internet search program, the agent returns an ordered list of the
best matches it finds. A site such as Google might return thousands
of matches, but the gas lift agent is configured to return only three
top candidate cases.
The agent has features that make it uniquely suitable for gas
lift. First, the pattern matcher can be tuned to handle special
circumstances. An attribute can be weighted (its importance can
be decreased or increased) if the attributes value is suspect or if
the attribute should be given special consideration during pattern
matching. Second, the pattern matcher can explain its results
by providing information about the attributes that most strongly
influenced its selection of a case. This feature provides a way for
113
Production
temperature
Flowline
pressure
Produced
fluids
Wellhead
pressure
Injection-gas
Injection-gas
temperature
control valve
Casinghead
Differential
Supply
pressure
pressure Static
pressure
pressure
Supply
gas
Gas-injection rate/
Gas flow meter
Bottomhole
pressure
Bottomhole
temperature
users to see what the agent is thinking. Finally, over time, and
as needed, the agents knowledge base can be extended with additional cases that reflect conditions actually encountered in the field.
Thus, the agents performance can be refined over time.
Data Requirements. As depicted in Fig. 3, a variety of data
elements are required in order to fully define the flowing state of a
gas lift well. These data include real-time, well-test, and static data
elements. Real-time data include analog inputs such as flowline
pressure, supply pressure, casinghead pressure, flowline temperature, flowline pressure, and gas-injection rate. Well-test data include
information such as production rates (oil, water, and gas), gas-injection rates, tubing and casing pressures, and fluid gravities. Static
data include physical attributes such as perforation depths, well
deviation, completion geometry, inflow-performance data, and gas
lift valve specifications. Each of these data items is collected and
used to populate the intelligent-agent system and the well models
it uses in conjunction with systems-analysis operations.
System Architecture. Because oil production companies use a
wide variety of databases and analytical models, the agent has been
designed to be used in a variety of information technology (IT)
environments. Fig. 4 represents the systems architecture.
The system is implemented with a thin-client/server architecture. System components communicate with each other using a
Web services protocol.
Security Layer. The security layer controls user access to the
system using Windows login ID so that users do not have to log in
separately to the system. The security system is being enhanced to
provide basic role-based access control that distinguishes between
super users with administrative privileges and ordinary users.
Data Migration Layer. The data migration layer is responsible for fetching data from a production companys data stores,
including well-configuration data, well-test information, and trend
data. The agent currently is integrated with Weatherfords Life of
Well Information Software (LOWIS). However, data migration is
designed to enable integration with whatever data sources are used
by a producer, including real-time sources. The data mover pulls
data from their sources and pushes data to the middle tier, where
they are stored in the gas lift system database, which is a cache for
storing data used during analysis and the results from analysis.
Middle Tier. The middle tier includes the business logic for
analyzing a well. The application server module combines well-test
114
data and any available trend data. It invokes an analytical well model
to gather information about the wells configuration (e.g., types of
valves, their depths). The agent currently uses WellFlo as its analytical well model. However, consistent with the principle that it should
run in many IT environments, the agent will be integrated with
additional analytical models such as Prosper or WinGLUE. Using
data derived from the analytical model, the server performs calculations to determine whether valves are open, closed, or back-checked,
and it determines gas passage for each open valve. It combines this
information with all the other data gathered into a single record.
This record is an input context, which is a vector of attributes that
describes the current state of the well. The pattern matcher compares
the wells state with cases in the knowledge base and returns the top
three similar cases to the application server. The post-processor performs additional calculations primarily related to economic benefits
that might be realized by optimizing the well.
Client. The client is the agents primary user interface and is
discussed in the next section.
Client Graphical User Interface. The graphical user interface
(GUI) is a thin client that communicates to the middle tier using
Web services. It is not a Web application, but a browser-based
interface could certainly be implemented. The user interface is just
an interface, meaning that its function is simply to display data
rather than to perform any analysis functions. The GUIs purpose
is to present information to production engineers in a manner
consistent with the mental model for gas lift analysis. The mental
model describes how users typically think about gas lift analysis,
including the kinds of data that are useful when assessing a well.
A simple example of the mental model is that some users measure
depth in feet and others in meters. Accordingly, the GUI includes a
unit editor so that users can tailor unit values to their preferences.
The GUI is illustrated in Figs. 5 and 6. Fig. 5 is the system
dashboard.
The display provides a number of features for filtering and sorting data. The dashboard is essentially a tool for doing management
by exception. Users can select a well from the dashboard and drill
down to a detailed display.
Fig. 6 is the details display; it displays comprehensive information about the wells current diagnosis and supporting information
for this diagnosis as gathered from the latest well test, from trend
data, from the analysis model, and from the knowledge base.
February 2010 SPE Production & Operations
Security
Security
Service
Security
DB
Client
Security GUI
Middle Tier
Gas Lift
System DB
Anaylical
Well Apps
Application Server
Dashboard
Detailed Results
Well Mgmt
Analysis Controller
Valve Calculations
Gas Passage
Pattern
Matcher
Well
Models
Knowledge
Base
Post
Processor
Data Migration
Data Mover
Business
Logic
Configuation
DB
Configuration GUI
Data Sources
115
The analysis history section (left side of the display) lists all
the analysis results performed for the well. Users can select any
of the items in the history list for review.
The well header pane provides basic well-configuration data.
The analysis results section (Fig. 7) lists three possible diagnoses
for the well: a primary, secondary, and tertiary condition. The likelihood value provided for each diagnosis is a rough measure of similarity
between the wells input context and a diagnosis case, normalized to
one across the three cases. The likelihood is not a probability.
The analysis trend data region (Fig. 8) provides graphs of
well-trend data such as casing and tubing pressures, gas-injection
rate, and supply pressure.
117
Gas-Injection Rate
1,700
1,600
1,500
1,400
1,300
1,200
1,100
1,000
900
800
700
600
500
400
300
200
100
0
180
170
160
150
140
130
120
110
100
90
80
70
60
50
40
30
02/15/2009 2/28/2009 03/15/2009
03/31/2009
04/15/2009 04/30/2009
Time
Gas-injection rate
Flowline temperature
Casinghead pressure
04/13/2009
in the field. In general, the system provided diagnoses and recommendations that were consistent with the manual diagnoses
of the experts, often with a startling degree of accuracy. The
following case studies illustrate three such examples of system
performance.
Case Studies. Well 1. This well had been producing stably for the
previous 15 months with an average production rate of 1,323 BLPD,
a 98% water cut, 895 Mscf/D of produced gas, and 881 Mscf/D of
injected gas. As can be seen in Fig. 14, the flowing wellhead pressures, casinghead pressures, gas-injection rates, and temperatures
were stable over the previous several months, with only minor fluctuations in flowline temperatures because of day/night patterns.
After analyzing the conditions for this well, the agent made the
following primary diagnosis:
Scenario: Steady single-point injection at deepest valve in well.
Condition: No apparent problems at this time.
Likelihood: 42.68%.
Action recommended: Gas lift design is appropriate for
conditions.
This diagnosis was influenced by a variety of attributes, but
the key contributors to this particular diagnosis were that (1) only
one active gas lift valve (the deepest) was determined to be open,
(2) the gas-injection rate was not fluctuating, and (3) the deepest
active gas lift valve was not closed. This diagnosis along with
the secondary and tertiary diagnoses can be seen in Fig. 15. As
Fig. 15 illustrates, other (less likely) diagnoses included Steady
single point of injection not at deepest point in well and surging single point of injection through deepest valve in well, low
casing pressure.
Independent of this diagnosis, two gas lift engineers evaluated
the same information as well as a recent flowing pressure and
temperature gradient survey for the well (Fig. 16).
After modeling the well and evaluating the flowing gradient
survey, both engineers independently concluded that the well was
indeed operating through single-point injection at the deepest station in the well and that performance was close to optimal. This
was consistent with the diagnosis provided by the agent.
Well 2. This well had been producing at an average production rate of 272 BLPD, a 95% water cut, produced-gas rate of 18
Mscf/D, and a gas-injection rate of 542 Mscf/D. As illustrated in
Fig. 17, the well was unstable and experienced both tubing and
casing pressure heading with an extremely low casinghead pressure
(approximately 200 psi). After analyzing the conditions for this
well, the agent made the following primary diagnosis:
119
Post-workover
Preworkover
150
140
130
120
110
100
90
80
70
60
50
40
30
05/24/2009 05/31/2009 06/07/2009 06/14/2009
Time
Flowing wellhead pressure
Casinghead pressure
05/31/2009
05/10/2009 05/17/2009
Gas-injection rate
Flowline temperature
experts determined that the well was indeed injecting through the
top two gas lift valves. This well is currently being evaluated for
possible corrective action.
Benefits Realized. Based on its initial deployment and use in the
field, it is evident that the sytem provides a number of clear benefits
to the operator. Among these benefits are the following.
1. Well performance issues and optimization opportunities can
be identified much faster than is possible through conventional
means.
2. Operations personnel are able to analyze more wells in less
time.
3. The system provides a means to prioritize work opportunities
and direct operations and well servicing resources toward those
efforts that provide the greatest value.
In addition to the benefits described, the system plays a key
role in the production management workflow.
Role in Production Management Workflow. A variety of
production-management activities are performed in any oil- and
gas-producing asset in order to optimize well performance and
173
172
171
170
169
168
167
166
03/31/2009
04/15/2009
Gas-injection rate
Casing head pressure
04/30/2009
Time
05/15/2009
05/31/2009
165
06/15/2009
06/14/2009
121
Step 1:
Get Data
Step 2:
ID Opportunity
Step 3:
Analyze
Step 4:
Execute
Step 5:
Look Back
Mayhill, T.D. 1974. Simplified Method for Gas-Lift Well Problem Identification and Diagnosis. Paper SPE 5151 presented at the Fall Meeting
of the Society of Petroleum Engineers of AIME, Houston, 69 October.
doi: 10.2118/5151-MS.
McKie, C.J.N., Rojas, E.A., Quintero, N.M., Chacn Fonseca, J.R., and
Perozo, N.J. 2001. Economic Benefits From Automated Optimization
of High Pressure Gas Usage in an Oil Production System. Paper SPE
67187 presented at the SPE Production Operations Symposium, Oklahoma City, Oklahoma, USA, 2427 March. doi: 10.2118/67187-MS.
Mochizuki, S., Saputelli, L.A., Kabir, C.S., Cramer, R., Lochmann, M.J.,
Reese, R.D., Harms, L.K., Sisk, C.D., Hite, J.R., and Escorcia, A. 2006.
Real-Time Optimization: Classification and Assessment. SPE Prod &
Oper 21 (4): 455466. SPE-90213-PA. doi: 10.2118/90213-PA.
Nadar, M.S., Kulkarni, R., Lemanczyk, Z.R., and Aggarwal, P. 2006.
Development of an Integrated Production Network Model for the Heera
Field. Paper SPE 101089 presented at the SPE Asia Pacific Oil and Gas
Conference and Exhibition, Adelaide, Australia, 1113 September. doi:
10.2118/101089-MS.
Nadar, M.S., Schneider, T.S., Jackson, K.L., McKie, C.J.N., and Hamid,
J. 2008. Implementation of a Total-System Production-Optimization
Model in a Complex Gas-Lifted Offshore Operation. SPE Prod & Oper
23 (1): 513. SPE-103670-PA. doi: 10.2118/103670-PA.
Ortiz, J.L. 1990. Gas-Lift Troubleshooting Engineering: An Improved
Approach. Paper SPE 20674 presented at the SPE Annual Technical Conference and Exhibition, New Orleans, 2326 September. doi:
10.2118/20674-MS.
Peringod, C., Clark, J., Barboussat, D., Peacock, L., and Holloway, J.
2009. Gaslift diagnosis using WellTracer surveysuccessful trials in
20 wells of Petroleum Development Oman. Paper presented at 32nd
Annual ASME/API/ISO Gas-Lift Workshop, The Hague, 26 February.
doi: 10.2118/124926-MS.
Russell, S. and Norvig, P. 2003. Artificial Intelligence: A Modern Approach,
second edition, Chap. 2, http://aima.cs.berkeley.edu/. Upper Saddle
River, New Jersey: Series in Artificial Intelligence, Prentice Hall.
Strategic Computing. New-Generation Computer Technology: A Strategic Plan for Its Development and Application to Critical Problems
in Defense. 1983. Technical Report, Accession No. AD-A141 982,
Defense Advanced Research Projects Agency, Arlington, Virginia (28
October 1983).
Neil de Guzman is the president and CEO of Intelligent Agent
Corporation. He founded Intelligent Inspections Corporation
to develop autonomous robots and artificial intelligent systems under strategic alliances with BP, Statoil, Marathon,
Baker Hughes, and Halliburton. He founded Intelligent Agent
Corporation in 2004 to develop intelligent agents. He holds a
number of patents related to the application of intelligent
agents in producing oil and gas wells and reservoirs. He holds a
BA degree in economics and an MBA from Columbia University.
Larry Lafferty is the CTO of Intelligent Agent Corporation. He has
more than 20 years experience in research and development,
software engineering and program management, focused primarily on the development of intelligent systems. Lafferty has
worked at Harris Corporation, Ensco, and ISX Corporation where
he served as software technical lead for a number of intelligent
systems development efforts for the military and intelligence
communities. During the past five years, he has been adapting
these advanced software technologies to solve problems in the
oil and gas industry. Greg Stephenson is the production surveillance lead for Occidental Oil and Gas Corporation. Throughout
his career, he has served in a variety of roles focusing on production optimization, artificial lift, and production automation. In
addition to these duties, Stephenson has taught industry courses
throughout the world related to the selection, design, and application of artificial lift systems. He actively serves on a variety of
industry committees. He is the author of numerous technical
publications and holds multiple patents related to artificial lift
and completion technology. He holds a BS degree in petroleum
engineering from Texas Tech University. Roman Molotkov is the
product line manager for artificial lift optimization at Weatherford
International. He holds an MS degree in petroleum engineering from Russian State University of Oil and Gas. Throughout his
career, Molotkov has served in a variety of positions in operations, strategic marketing, and new product development in the
oilfield services industry.
123