Professional Documents
Culture Documents
Email Addresses:
Terry Treiberg - Vice President: terry@gotheta.com
Software Support: support@gotheta.com
Orders: Christy Kukula - Off. Manager: christy@gotheta.com
Theta Oilfield Services, Inc., 2010.
All Rights Reserved. This manual may not be reproduced in whole or in part without the written per-
mission of Theta Oilfield Services, Inc.
Contents
Customer Support . . . . . . . . . . . . . . . . . . . . v
System Requirements. . . . . . . . . . . . . . . . . . . v
Introduction. . . . . . . . . . . . . . . . . . . . . . . v
Program Features. . . . . . . . . . . . . . . . . . . . vi
1 Software Installation 1
1.1 XDIAG Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Questions about Installation . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Installing the Software Sentinel. . . . . . . . . . . . . . . . . . . . . . . 2
1.4 Starting and Setting Up XDIAG . . . . . . . . . . . . . . . . . . . . . . . 2
1.4.1 Starting XDIAG . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4.2 The XDIAG Window. . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4.3 Selecting a Printer. . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4.4 Setting up XDIAG. . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4.5 How the Automatic Batch Run Works . . . . . . . . . . . . . . . . . 17
2 Running XDIAG 19
2.1 XDIAGs User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.1.1 Using the Keyboard. . . . . . . . . . . . . . . . . . . . . . . . . 20
2.1.2 XDIAGs Help System. . . . . . . . . . . . . . . . . . . . . . . . . 21
2.2 Entering Rod Pumping System Data . . . . . . . . . . . . . . . . . . . . 21
2.2.1 Entering Well Information Data . . . . . . . . . . . . . . . . . . . . 23
2.2.2 Entering Production Information. . . . . . . . . . . . . . . . . . . 25
2.2.3 Entering Pump and Tubing Information. . . . . . . . . . . . . . . . 26
2.2.4 Entering Rod String Information. . . . . . . . . . . . . . . . . . . 28
2.2.5 Entering Pumping Unit Data. . . . . . . . . . . . . . . . . . . . . 29
2.2.6 Entering Motor Information. . . . . . . . . . . . . . . . . . . . . 32
2.3 Storing Cases/Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.4 Running XDIAG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.4.1 Dynamometer Animation. . . . . . . . . . . . . . . . . . . . . . 34
2.4.2 Setting Horizontal and Vertical Lines . . . . . . . . . . . . . . . . . 35
2.4.3 Exporting the Balanced Maximum Counterbalance Moment or Structural
Unbalance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.5 Printing the Output Report. . . . . . . . . . . . . . . . . . . . . . . . 37
2.6 Loading Data from Disk. . . . . . . . . . . . . . . . . . . . . . . . . . 37
iv | Table of Contents
Before calling Theta Oilfield Services, be ready to excessive rod-tubing friction due to paraffin
explain the problem or what kind of information or scale
you need. If you get an error while running XDI- incorrect pump spacing that may cause the
AG, try to reproduce it and make note of the steps pump to hit up or hit down
you took and the data you entered that caused the
etc.
error. Make sure youre at your computer when you
call.
XDIAG is the only program of its kind to detect
and correct input data errors caused by:
System Requirements
a load cell that is not calibrated properly
which may cause a load shift or load span
Minimum Re- Recommend-
quirements ed an incorrect fluid level measurement
Computer Pro- 1 GHz 1.6 GHz or an incorrect stroke length
cessor: faster
a phase shift of the surface positions in the
Operating Windows
dynamometer data
System: 2000 / XP /
Vista / 7 non-kinematic surface positions in the dyna-
Computer 256 MB 512 MB or mometer data
Memory: more a dynamometer file with data that is out of
Screen Resolu- 800 x 600 1024 x 768 order
tion: pixels pixels or higher
Available Hard 30 MB
Disk Space: In general, XDIAG is a tool that can help you
improve efficiency, reduce maintenance and lifting
costs, and determine common problems with any
Introduction part of the pumping system. Also, XDIAG can
help you balance pumping units, check system en-
ergy consumption, calculate additional production
XDIAG is a powerful yet easy-to-use rod pump-
(if you have IPR data) and if your prime mover is
ing system expert diagnostic analysis tool. XDIAG
correctly sized.
uses advanced expert system and pattern recogni-
tion techniques to detect problems with existing
rod pumping systems such as: The XDIAG user interface is very easy to use,
extremely flexible, and fast. With a single click of
vi | Introduction
the mouse you can access any input screen at any- or you can open the XBAL file from the pumping
time. You can change an input by simply clicking unit information window in XDIAG to import the
on it, and when you have a question, simply press value. After you run XDIAG, you can enter the
F1 for context sensitive help for any input item. maximum counterbalance moment or structural
With XDIAG you can take advantage of standard unbalance back into XBAL to find out where to
Windows features such as being able to copy the move the counterweights in order to balance the
dynamometer or torque plots to the clipboard and pumping unit.
then paste then in any other Windows document.
1 Software Installation
Before you install the program, make sure you before I install?
have the hardware and software you need to run
XDIAG for Windows.
No. When updating versions of XDIAG, the pro-
gram defaults to install to the C:\Program Files\
Theta\XDIAG directory. If your previous copy
1.1 XDIAG Installation of XDIAG is in another directory, you can specify
to install over it. It will not replace any of you case
files, just the previous version of the program.
XDIAG is installed from the Theta Software Suite
installation CD that you received. Load the CD
into your PC and the installation program should The installation defaults to setting C:\THETA
load automatically. After the Welcome screen as the common folder for your case files. Using a
you will have options for whether you are using common folder is a good idea since several of the
a Network or Standalone license. After selecting Theta Oilfield Services applications that you might
the proper choice, the next screen will prompt you have can all share the same case files.
for the programs to install. That screen also has a
button that lets you display and print the detailed
Installation Guide for your specific installation. Although a new version of XDIAG can read files
created with previous versions, a previous version
may not be able to read files created with the latest
After installing the program, put your original CD version of the software.
away in a safe place. If the Software Installation
Suite CD becomes damaged or lost, please call
Theta Oilfield Services, Inc. at (562) 694-3297 for What happens to files I have created with previ-
a replacement. ous versions of XDIAG?
If the latest version might get better results that sent out to you. When XDIAG first starts, it reads
the previous version, does that mean the calcula- and displays the serial number of your sentinel on
tions from the previous version are incorrect? the opening screen. You will also find the sentinel
serial number in the About XDIAG window. To
open the About XDIAG window simply click
No. This is simply the nature of advancement of the About command on the Help tab of the
technology. We do the best we can with what we menu bar.
have. If the pattern recognition database improves
and changes the results, the changes will be slight
changes. Do to the differences we require that you Theta Oilfield Services, Inc. uses Sentinel Super-
rerun cases to obtain output when updating to a Pro for software protection. If you use software
new version of XDIAG. sentinels from vendors, you may be able to cascade
Sentinels as long as the LPT1 port has only one
Sentinel C on it. If you have one or more Sen-
tinel PRO and one Sentinel C, then plug the
1.3 Installing the Sentinel C at the end of the Sentinel PROs or
SuperPros. USB type Sentinels can be plugged
Software Sentinel into any available USB port or hub on the PC.
If the sentinel is not installed correctly, the pro- 1.4.2 The XDIAG Window
gram will warn you that the sentinel does not ap- The following figure shows the main XDIAG
pear to be connected. If this occurs, make sure the window that appears when you start the program.
sentinel is properly installed and the connection is XDIAG behaves like any other standard Windows
not loose. If the sentinel is properly installed but is program. You can use the mouse to move and
not working, it may have been damaged. Frequent size windows, select text, choose commands from
plugging and unplugging, and static electricity can menus and dialog boxes, and complete almost any
damage the sentinel. If you think your sentinel is other task in XDIAG aside from typing text.
damaged, contact Theta Oilfield Services Inc. to
determine if you need a replacement. Do not dis-
card the damaged sentinel. Even if it is damaged, The following is an explanation of each part of
you must return the sentinel to Theta Oilfield XDIAGs main window.
Services Inc. before a replacement sentinel can be
XDIAG| 3
The control-menu box is in the upper-left corner The toolbar gives you quick access to the menu
of each window. The control menu is most use- commands using your mouse. When you first load
ful if you use the keyboard. You can use the con- XDIAG, only some of the toolbar buttons are
trol menu commands to resize, move, maximize, active. When you enter data or read a file from
minimize, and close windows. Also, you can use it disk, then the buttons will activate. This helps you
to switch to other applications. These are the same move through each input window and enter the
functions that are commonly performed with the necessary data to run XDIAG. The following is an
mouse. Double clicking on the control menu box explanation of each toolbar button as they appear
closes XDIAG. from left to right.
similar to RODSTAR-V files and can be opened the Pumping Unit Information Window. In this
in XDIAG. RODSTAR-V and RODSTAR-D window, select the pumping unit, stroke length,
files will not contain dynamometer data. You must and direction of rotation. You can also enter the
open the dynamometer file after loading one of counterbalance information.
these files types. Opening RODSTAR file types
makes it easier for you to input all the data for an Motor Click this button to open the Motor
existing well without the need to enter the data for Information Window. In this window, select the
each input window manually. type of motor, size of the motor and motor set-
tings.
Save data to disk Click this button to save
the current case to an XDG file. If you run the Previous window Click this button to open
case the results will be saved in the file and the the previous input window. The data entry win-
next time you open the file you can open the re- dows go in order from left to right on the toolbar.
sults without running it. If you are entering data for the pumping unit,
clicking this button will change your focus to the
Setup Click here to open XDIAGs Setup Rod String Information Window (it will open the
window. The details of the Setup feature will be window if it isnt already open).
explained in the next section.
Next window - Click this button to open the
Well information Click this button to open next input window. The data entry windows go in
the Well Information Window. In this window, order from left to right on the toolbar. If you are
enter general information about the well such as entering data for the pumping unit, clicking this
name, watercut, pressures, pump depth, etc. button will change your focus to the Motor Infor-
mation Window (it will open the window if it isnt
Production information Click this button already open).
to open the Production Information Window. In
this window, enter the pumping speed and gross Run Click this button to run XDIAGs
production. You can also choose to enter fluid expert diagnostic calculations.
level, pump intake pressure, no fluid level, or IPR
information. View output Click this button to view the
output results. This button is only active if there
Pump and tubing information Click this are output results to display. Older files with saved
button to open the Pump and Tubing Information output will not show output results when open-
Window. In this window, enter specific informa- ing in a newer version of XDIAG. This is because
tion about the pump and tubing such as the pump improvements in the pattern recognition database
plunger size, tubing size, anchor depth, etc. may generate better results. You must re-run these
cases for output results.
Rod string Click this button to open the
Rod String Information Window. In this window, Email Click this button to send an email
enter the rod string information which includes to our technical support team. This function will
service factor, and the rod grade, rod diameter, and allow you to address the problem and attach up to
length of each taper in the rod string. three files to the email without opening your email
client.
Pumping unit Click this button to open
XDIAG| 5
Print Click this button to send the output Help Click this button at anytime to get
results to your default printer. You can only print if context sensitive help. You may also press the F1
there is an output report available. key to get context sensitive help.
The Getting Started window appears in the middle ing Tools on the menu bar and clicking XDIAG
of the main XDIAG window when you open Setup. This window allows you to specify informa-
XDIAG. This window shows the most common tion and choose options that usually do not change
toolbar icons you need to know to begin using with each run. The following describes each Setup
XDIAG. This is especially useful for new users. tab in the order they are presented in XDIAG.
option will change the input units to Metric units. to create spreadsheet files using different spread-
In any measurement unit setting you can press the sheet formats. XDIAG will not rerun each case
F2 key to convert from English to Metric and vice and this speeds up the process of creating multiple
versa. This works for numeric input fields only. spreadsheets for a given batch run. For example,
When you press F2 to convert units, the back- let us assume there are two users (John and Paul)
ground of the input field changes color (from cyan who use XDIAG and they each have their pre-
to green). ferred spreadsheet formats. John can run 20 cases
in batch mode and create a spreadsheet that sum-
marizes the batch run as he prefers. Since John ran
Batch Mode the cases, the 20 XDG files contain recent results
saved to the files. When Paul runs the same cases
Click the Batch Mode tab to adjust the batch run
in batch, he checks the Dont re-run cases with
capabilities. This affects the manual and automatic
saved output option to save time. XDIAG will
batch mode runs. The top portion of this window
compile the spreadsheet without re-running each
allows you to select whether you want XDIAG to
case and this will execute quickly because XDIAG
print results of each case it runs in batch, to create
only has to extract the saved results to create the
a summary spreadsheet file, to run the cases using
spreadsheet file.
your setup options or the setup options saved on
the file, or to rerun cases that contain saved output.
The middle section of the window contains options If you check the Update file with Setups infor-
for spreadsheet file formats. The bottom section mation, the batch mode runs will use the setup
contains options for the automatic batch mode. options in setup, not the setup information in the
files. These setup options will replace the options
in the files because batch mode runs resaves the
General batch mode options
files. If you check the Update the Setup with
If you check the Make printouts check box, files information the setup will be updated with
XDIAG will print the output report for each case the information on the files that are in the batch
in the batch. mode run. We recommend saving a file with your
preferred setup information in case you use this
feature and change your settings and you wish to
If you check the Create spreadsheet file check change them back. You can simply use that file to
box, XDIAG will summarize the results of all the change setup to your preferred settings
files you run in batch in a, Excel spreadsheet (xls
file format).
Spreadsheet batch mode options
If you check the View spreadsheet file check box, This section displays a list of the spreadsheet for-
XDIAG will open Excel and display the spread- mats you created. If you have not created any for-
sheet created in the batch run. mats then the only format available is the Default
format. Click on the + button to create a new
spreadsheet format. Select and existing format and
If you check the Dont re-run cases with saved click the pencil icon to modify the format. Select
output checkbox, XDIAG will skip case files an existing format and click on the X button to
that have saved output from previous runs. When delete the format from the list. The following im-
you run XDIAG in batch mode, XDIAG resaves age shows the window you will see when creating
the files, which saves the output results into the or modifying a spreadsheet format.
XDG files. This feature is useful if you would like
8 | Software Installation
On the left side of this window is a list of variables XDIAG to make the batch run and specify the di-
in the order they will appear in the spreadsheet. rectories of the files XDIAG will use in the batch
On the right side you see an alphabetical list of run. The three directories you need to specify
all other variables that are available and can be are for the XDIAG files, dynamometer files, and
added to the spreadsheet. You can drag and drop where to save the Excel files. Details about how
the variables from one list to the other or you can the automatic batch mode works are in the next
use the command buttons located between the two section (1.4.5).
lists. To add a value to the spreadsheet you must
highlight a variable from each list, and then click
either Add Before or Add After. Clicking Add Defaults
Before button will add the available variable to the The Defaults allows you to initialize inputs for
spreadsheet list right above the highlighted vari- new cases such as electricity cost, plunger size, ser-
able on the left. Clicking the Add After button vice factor, run time, etc. This Setup page, shown
will add the available variable to the spreadsheet in the following figure, shows a list box containing
list right below the highlighted variable on the all the defaults you can set. As you select the de-
left. You can also change the order of the variable faults item from the list the input field will change
already in the spreadsheet list by using the Move accordingly. The following is a list of the default
Up and Move Down buttons. Highlight the vari- items you can set using this feature:
able on the left and click the Move Up or Move
Down button to move it up or down in the list. To
include the rod string design in the spreadsheet, 1. Casing pressure
simply check the Include rod string in spread-
sheet checkbox. To name the spreadsheet format, 2. Company name
enter the name in the input box on the bottom 3. Electricity cost
right of the window labeled Name of Format.
4. Folder for Open/Save files
5. Folder for XBAL/CBALANCE files
Automatic batch mode options
6. Folder for T1 Dynamometer files
In this section of the batch mode options win-
7. Folder for Lufkin Automation Dynamometer
dow you can set the time at which you would like
files
XDIAG| 9
example, if you only have 12 different sizes of your custom list, highlight it by clicking it in the
Lufkin Conventional units, 10 different sizes of list box and observe the Name/API and Other
Mark II units, and 14 different sizes of Ameri- fields on the bottom of the screen. These fields may
can Conventional units, you can set up XDIAG contain additional information about the pumping
to show only these units when you are selecting unit to correctly identify the pumping unit. This is
a pumping unit. The following explains how to especially useful for manufacturers (for example:
customize the pumping unit list. American Conventional) who have more than one
unit with the same designation but different crank
types. In such a case, the Other field shows the
1. From the Setup Window, click the Pumping crank type of other information that helps identify
Unit List tab under Pumping Unit Options the pumping unit.
tab.
2. Click the arrow on the Manufacturer drop-
This is not the only way to customize the pumping
down and select the manufacturer list you
unit database. As discussed in the next chapter,
would like to customize. All units that are not
you can also select a unit you want to add to the
already in the custom list will appear in the list
customized pumping unit list by first selecting it
box on the right of the window.
from the full database and then checking the Use
3. Add units to the custom list by dragging them custom pumping unit list check box. When you
from the available list on the right to the cus- check the check box XDIAG will ask if you would
tom list on the left. You can also select the unit like to add the selected unit to your custom unit
in the available list and click the Add button to database. Click yes to add the unit to your custom
add the unit to the custom list or select the unit database.
in the custom list and click the Remove button
to remove it from the custom list.
Measured Pumping Unit List
4. After you add your units to the custom unit list
click OK to save your changes. XDIAG allows you to enter data for pumping
units that are not in XDIAGs main database. If
you have the dimensions you need for these units,
To make sure you select the correct unit to add to you can enter them here to use them in XDIAG
XDIAG| 11
1. Click on the Setup icon on the toolbar, and To modify the data of a measured unit, select the
click on the Pumping Unit Options tab then pumping unit and click the pencil icon. To delete
click on Measured Pumping Unit List tab. a unit from the measured unit database, select the
unit and click the X button.
2. To enter data for a new pumping unit click the
+ button.
3. Enter the pumping unit data for your pumping Measured Pumping Unit Dimensions
unit. The data you must enter consists of geometric
4. To save your pumping unit to the measured dimensions as defined in the API 11E publication.
database, click OK. You can get these dimensions from the pump-
ing unit manufacturer or measure them yourself.
For old units without an API designation on their
The measured pumping unit will be under Mea- nameplate, you may be able to put together an
sured Pumping Units when selecting the manu- equivalent API designation. Look at the gearbox
facturer on the Pumping Unit Information Win- nameplate for the gearbox rating. Measure the
12 | Software Installation
stroke length, and try to decipher additional infor- B = Beam balanced geometry
mation from the units nameplate for the structure
M = Mark II geometry
rating and structural unbalance. If the nameplate
is legible then write down the units serial number A = Air-balanced geometry
or order number. If the units manufacturer is still R = Rotaflex or long stoke geometry
in business, you may be able to get the data you
need from them using the serial number or order LP = Low profile belted geometry
number. For help in locating dimensional data for H = Hydraulic geometry
pumping units not in the database call Theta Oil-
field Services Inc.
Structural unbalance
Structural unbalance is a term used for pumping
XDIAG allows you to enter data for Conventional,
units with a walking beam. It is defined in the
Mark II, Air-balanced, Enhanced Geometry,
API 11E as the force needed at the polished rod
long stroke, Hydraulic, and Low Profile Belted
(parallel to the polished rod) to hold the walking
units. When you enter your own pumping unit
beam in the horizontal position while the pitman
dimensions, XDIAG calculates and displays the
arms are disconnected from the crank pins. This
stroke length based on the dimensions you enter.
force is positive when the force is acting down and
For all pumping unit types you must first enter
negative when acting up. See the figure for a visual
the name of the manufacturer, the unit name or
representation of structural unbalance.
model number, the gearbox rating in thousands
of inch pounds (excluding hydraulic units), the
structure rating in hundreds of pounds, and the Structural unbalance for conventional units can be
maximum stroke length in inches. From these either positive or negative. Mark II units always
numbers XDIAG puts together the API pumping have a negative structural unbalance because their
unit designation. The API pumping unit designa- geometry places the saddle bearing on the back of
tion is a standard way of describing the size and the walking beam. This eliminates the possibility
capacity of the pumping units. The hydraulic units of balancing the walking beam on the saddle bear-
are given a unit designation because there is not ing. The walking beam will always want to rotate
gearbox rating. The following is an example of an to that the horsehead rests on the ground. The
API designation: structural unbalance will be filled in with the value
that is in the database. You can manually change it
if you would like. When you enter a custom unit in
C-228-246-100
Setup, if you do not know the structural unbalance
for the unit you are analyzing then enter zero. In
The C means this is a conventional unit. The most cases the structural unbalance will not affect
228 describes the gearbox rating (228,000 the results significantly.
in-lbs). The 246 describes the structure rat-
ing (24,600 lbs). This means to avoid overloading
the unit the maximum polished rod load cannot
exceed 24,600 lbs. The 100 describes the stroke
length (100 inches). Other unit types have the fol-
lowing designation:
You can find the K dimension using the G, H, and R Radius of the crank for each crank hole
I dimensions in the following equation: measured from the center of the slow-speed
shaft to the center of the crank-pin in inches.
A Distance from the center of the Sampson
Post bearing to the centerline of the polished
rod in inches.
C Distance from the centerline of the Samp-
Beam balanced pumping unit data
son Post bearing to the center of the equalizer
Beam balanced units require the same dimensions bearing (or cross yoke) in inches.
as conventional units. The major difference be-
I Horizontal distance between the centerline
tween beam balanced units and conventional units
of the Sampson Post bearing and the centerline
is beam balanced units carry the counterweights
of the crankshaft (slow-speed shaft) in inches.
on the walking beam instead of the cranks, hence
P Effective length of the pitman in inches
(measured from the center of the equalizer
bearing or cross yoke to the center of the
crank-pin bearing).
K Distance from the center of the crankshaft
to the center of the Sampson Post bearing in
inches.
XDIAG| 15
inches.
M Geometry constant in inches squared. M
is the distance from the Sampson Post bearing
to the air tank bearing (distance X) multiplied
by the area of the piston in the air cylinder
divided by the A dimension.
Ap refers to the area of the air cylinder piston in
square inches.
S Pressure in the air cylinder required to off-
set the weight of the walking beam, horsehead,
equalizer, pitman arms, etc. in psig.
V0 Minimum air volume in the air tank be-
tween the plunger and cylinder at the bottom
Air-balanced pumping unit data of the stroke in cubic inches.
Air-balanced unit entry also requires pumping
unit dimensions R, A, C, I, P, and K in inches. In
addition, you must enter pumping unit dimensions Long stroke pumping unit data
M, S, and V0. The figure displays most of the data Long stroke pumping unit entry requires the
required for entering air-balanced units. The fol- sprocket diameter (dimension D), the centerline
lowing explains each dimension with respect to the distance between the top and bottom sprockets
pumping unit. (dimension C), the pitman arm length (dimension
P) if one exists, and the top drum diameter ratio
(usually 1).
R Radius of the crank for each crank hole
measured from the center of the slow-speed
shaft to the center of the crank-pin in inches.
A Distance from the center of the Sampson
Post bearing to the centerline of the polished
rod in inches.
C Distance from the centerline of the Samp-
son Post bearing to the center of the equalizer
bearing in inches.
I Horizontal distance between the centerline
of the Sampson Post bearing and the centerline
of the crankshaft (slow-speed shaft) in inches.
P Effective length of the pitman in inches
(measured from the center of the equalizer
bearing to the center of the crank-pin bearing).
K Distance from the center of the crankshaft
to the center of the Sampson Post bearing in
16 | Software Installation
pumping unit.
You can use this geometry to model other non-
beam unit types with long slow strokes. You can
R Radius of the crank for each crank hole
do this by entering data that will produce the
measured from the center of the slow-speed
required stroke length. The stroke length can be
shaft to the center of the crank-pin in inches.
calculated using the following equation:
D Diameter of the drum in inches.
I Horizontal distance between the centerline
Stroke = C + D
of the drum and the centerline of the crank-
shaft (slow-speed shaft) in inches.
For example, to simulate a long stroke unit with K Distance from the center of the crankshaft
a stroke length of 200 inches, you can enter a to the top of the drum in inches.
sprocket diameter (D) of 20 inches and a center-
H Height from the center of the drum to
line distance of 180 inches. This technique can be
the bottom of the base beams in inches.
used as long as the units upstroke and downstroke
velocities are approximately equal. G Height from the center of the crankshaft
to the bottom of the base beams in inches.
6. To add a new sucker rod or sinker bar click match the calculated stroke length, and correct
on the + button. This opens a new window out of order dynamometer data. You can allow the
where you enter the following information friction to be entered for each case, allow XDIAG
about the rod, rod grade or manufacturer to calculate friction if there is a traveling or stand-
name, minimum tensile strength in psi for ing valve leak detected and set a friction limit. You
English or kPa for Metric data entry, and stress can also set a target pump intake pressure. If you
analysis method. Also, there is a check box on enter IPR data, XDIAG can use your target pump
the bottom of the window to identify the rod intake pressure to calculate additional possible
as a sinker bar. This changes the available rod production capacity.
diameters of the custom rod grade. XDIAG
follows the API 11B for rod sizes.
7. When you are done entering the information 1.4.5 How the Automatic Batch Run
for the rod, click on the OK button to save the Works
custom rod. Before XDIAG can run in automatic batch mode,
you must specify the directories and the time you
want to start analyzing the wells. XDIAG will
After you enter one or more custom rod grades,
first look at the XDIAG data directory for data
you can modify or delete any of them by clicking
files for each well (.xdg files). Then, it will look at
on the rod name and them clicking on the appro-
the dynamometer file directory for dynamometer
priate option. Once you enter a rod grade to your
files that are newer than the XDIAG files. If a
custom list, it will appear on the same list as the
new dynamometer file exists in this directory with
rest of the rod grades that are built into XDIAG.
the same name as the XDIAG file, then XDIAG
will analyze the well. For example, if you have an
Expert Diagnosis XDIAG file named ABC101.xdg in the XDIAG
directory which was saved on December 5, 2009,
This Setup option allows you to specify expert and a dynamometer file named ABC101.dyn in
input data corrections to be performed by XDAIG. the dynamometer file directory which was saved
For example, to have XDIAG correct load shifts of on December 9, 2009 then XDIAG will analyze
3% or larger, enter a 3 in the input field after you the well.
check the check box labeled Correct load shift
of at least. This is a powerful option that allows
XDIAG to correct bad data so that you can get The automatic batch mode option is primarily for
an accurate analysis without having to re-measure use with a centralized pump off control system that
the dynamometer card. Also, you can select to can generate the dynamometer files needed. How-
have XDIAG correct a load span shift, an entered ever, as explained in the next chapter, this is not
fluid level, a measured stroke length that does not the only batch mode available in XDIAG. If you
18 | Software Installation
2 Running XDIAG
To start XDIAG, double click the XDIAG icon An item followed by an ellipsis () opens a
on your desktop. After a few seconds you will first dialog box or another window. For example,
see XDIAGs introductory window then XDIAGs click File and then click Open.
main window. When XDIAG first loads, only a
few of the toolbar buttons are active. This feature
helps guide you through the input windows to be The Visual Input Window and Other Ways to
sure all the required values are entered. The ac- Change Data
tive icons include the following: new case, open
The following figure shows XDIAGs Visual Input
file, setup, email, automatic batch mode, and help.
If you have not set up XDIAG then do so before
you begin entering data for a new case (see Chap-
ter 1 section 1.4.4 for information on setting up
XDIAG). To enter data for a new case, click the
first icon on the toolbar (New) or click File on the
menu bar and then click New.
Window that makes it easy to locate an input pressing ALT. For example, follow this sequence
item you wish to change. When you have entered to open a file using accelerator keys and the arrow
all the required data for a new case, or you have keys: ALT, F, down arrow, and Enter. To close an
loaded a case from disk, the Visual Input Window open menu drop down, press the ESC key. You
will appear if you have it set to open by default. can also move to other menu drop down while you
See the General tab in XDIAGs Setup Window. have on open by pressing the left or right arrow.
The Visual Input Window shows an image of a For example, if you pressed ALT then the F key,
conventional pumping unit system. As you move press the right arrow to move to and open the Edit
our mouse over the picture, tool tips appear nam- menu drop down.
ing the various parts of the system. Whenever a
tool tip is showing, right-click the mouse to see
a popup list box of the input variables associated Shortcut Keys
with that part of the system. Left-clicking opens Shortcut keys give you the fastest access to impor-
the data entry window associated with the part of tant functions. A shortcut can be a single keystroke
the system you clicked. or keystroke combination (usually two keys). For
example, you can use the shortcut key combina-
tions for such features as Cut, Copy, Paste, Open
Another way to change data is to click the Alpha-
File, Save File, etc. There are also keystrokes for
betical List button at the bottom of the Visual
insertion point movement and moving from input
Input Window or on the tool bar. This button will
box to input box in XDIAGs input windows.
open a list of all input parameters in alphabetical
order. Double-click an item in the list or select the
item and clock the OK button to open the input For example, to switch between XDIAG and
window associated with that item. the Program Manager, press ALT + TAB. This
keystroke takes you to the Program Manager but
does not quit XDIAG. XDIAG is still running
2.1.1 Using the Keyboard and may be partially visible on the desktop. At this
Most of the functions you can access with the point, you could start another application or return
mouse, you can also access with the keyboard. For to XDIAG by pressing ALT + TAB until you
example, to open a file using the mouse, click the cycle back to XDIAG in the Program Manager.
Open File button on the toolbar. Using the key-
board, first open the File menu, and then select
Open to open a file from disk. The quickest way to Following is a list of the most common keystrokes
perform these steps is to use XDIAGs accelerator for XDIAG.
keys or shortcuts.
ALT Activates the menu bar. Arrow keys or
accelerator keys select menus and items. The
Accelerator Keys down arrow will open the selected menu.
To use accelerator keys to access menus, first press
ALT + F4 Quits XDIAG and other applica-
ALT to activate the menu bar, the press the ap-
tions. Also, closes dialog boxes and specialized
propriate accelerator key. The accelerator key is
windows.
underlined in the word on the menu. For example,
if you press ALT then the F key, the File menu CTRL + F4 Closes the active window.
will open. You can also use the arrow keys to ALT + Space bar Opens the application
select a function after you activate the menu bar by Control menu.
XDIAG| 21
ALT + - Opens input window Control Index Allows you to search for topics by
menu. Input windows include the Well In- keyword.
formation Window, Production Information Search Allows you to search topic content for
Window, Pump and Tubing Information specific words or phrases.
Window, etc.
About XDIAG Displays information about
Enter Initiates the selected action. your version of XDIAG.
ESC Cancels dialog boxes, menus, etc.
ALT + ESC Cycles through open applica- Click on the About XDIAG option in the help
tions and icons. menu dropdown to find XDIAGs version number.
ALT + TAB Cycles through open applica- To see information about your system click the
tions. System Info button on the About XDIAG
window. You can view information such as Win-
CTRL + F6 Cycles through open input
dows version, operating mode, free system memo-
windows.
ry, and free resources.
Home Moves cursor to the beginning of the
input field or text box.
Click on Contents to see a list of items XDIAG
End Moves the cursor to the end of the input
can provide help with. For example, to get help
field or text box.
with the toolbar, click on Toolbar Options.
F2 Switches the measurement system from XDIAG displays a picture of the toolbar. Click on
English to Metric and vice versa for the current an item in the image for information on that item.
input field. To exit help, click on the control-menu box X or
F1 opens the context sensitive help. The help press ALT + F4. Help saves the window viewing
system will open to the topic related to the position and size so that when you return it will
input field that the cursor currently occupies. remain in your preferred orientation.
Click on the help drop down on the menu bar to When entering data in XDIAGs input windows,
see the following options: it helps to know the following:
Contents Start page for navigating through The insert mode is on by default. To toggle the
the help system. insert mode on and off press the Insert button.
22 | Running XDIAG
XDIAGs input windows use the following color You can get context sensitive help for any input
scheme to help with data entry: field by pressing the F1 key. Use the context sensi-
XDIAG| 23
tive help as often as possible because the help sys- the current date that is on your computer, click the
tem contains important information that will allow Today button next to the date input field to over-
you to make better use of XDIAG (this includes write the old date. If the date on your computer is
assumptions and limitations built into XDIAG). incorrect you can manually enter the date.
the oil API gravity to calculate the fluid specific pressure has been measured for the well. XDIAG
gravity. This fluid specific calculation is accurate allows pump intake pressures that are 14.7 psi
when the produced fluid is liquid. If free gas occurs greater than the casing pressure. If the wellbore
in the well then you should enter a fluid specific contains a packer, you must enter a low casing
gravity that is less than the calculated fluid specific pressure to be able to enter a pump intake pressure
gravity. Performing a history match is the best way lower than the measured casing pressure.
to adjust the fluid specific gravity.
The bottom of the sinker bar section will always Even if the actual friction between rods and tubing
be negative (due to the resistance on the plunger as is much larger than the calculated friction coef-
it moves down on the downstroke). This is normal ficient, the calculated downhole pump card shape
and is not a problem. will be easy to diagnose. You can remove frictional
loads from the actual fluid load on the pump
plunger by setting horizontal lines on the calcu-
For fiberglass & steel rod strings, also do not lated downhole pump card. This is explained later
include buoyancy effects when analyzing the steel in this chapter (setting lines).
section of the taper. Run the case again with buoy-
ancy effects to check if the fiberglass rods are in
compression.
28 | Running XDIAG
Plunger size and pump type empty rows will be created so that you can add the
required information for each taper. You can enter
XDIAG will use the pump type to inform you if
up to 10 rod tapers.
the pump with the selected plunger size will not fit
into the tubing of the well. Insert pumps fit inside Rod grade
the tubing, tubing pumps attach to the tubing and This field is populated with a drop down which
are connected with an on-off tool, and large bore contains all rod data (including custom rod data
pumps are thin walled to allow for even larger entered in Setup). The rods are separated by type
plungers. You can select the plunger size from the (steel, fiberglass, continuous, and sinker bars).
drop-down list or select other and enter a custom
plunger size in the input field next to the drop-
down. Rod size
The rod sizes follow production information (API
and manufacturer information for available rod
2.2.4 Entering Rod String Information diameters). There is also a custom rod diameter
XDIAG can analyze steel (including continuous feature. Select Other from the drop-down and you
rods) and fiberglass rods, by performing the appro- can enter the rod diameter in the Actual diameter
priate stress analysis calculations depending on the field. After you select a rod diameter for the top
type of rods you specify. taper, simply click the diameter fields for the rest
of the tapers and XDIAG will automatically select
the next size down to create a common string
Number of tapers or segments design. When proceeding to the next input screen,
Click the button with the pound or number XDIAG will warn you if the selected rod sizes will
symbol to select the number of rod tapers in the not fit the selected tubing size or if they require
string. Once you select the number of tapers, the slim-hole couplings.
XDIAG| 29
using the actual unit. assigned a unit ID. This feature makes it easy to
jump to common pumping units with a short ID
entry. If you are maintaining lists of pumping units
If after you enter a pumping unit ID XDIAG in your field for analysis, add the pumping unit ID
displays The pumping unit ID you entered is not to the lists. Using the pumping unit ID makes it
valid this means that the ID you entered is not easy to select the pumping unit without the need
recognized. This can happen for two reasons: to first select the manufacturer then finding the
exact unit.
select a unit then check the custom pumping unit unbalance for conventional units can be either
list checkbox. XDIAG will ask you if you would positive or negative. Mark II units always have a
like to add the selected unit to the custom pump- negative structural unbalance because their geom-
ing unit database. etry places the saddle bearing on the back of the
walking beam. This eliminates the possibility of
balancing the walking beam on the saddle bearing.
Crank rotation The walking beam will always want to rotate to
Select the crank rotation using this drop-down. that the horsehead rests on the ground. The struc-
XDIAG will default to a recommended crank tural unbalance will be filled in with the value that
rotation that should give the least gearbox loading. is in the database. You can manually change it if
If the unit is one-directional then this feature will you would like. When you enter a custom unit in
be disabled. Setup, if you do not know the structural unbalance
for the unit you are analyzing then enter zero. In
most cases the structural unbalance will not affect
Crankhole the results significantly.
Select the crank hole using this drop-down. The
measured stroke length is displayed next to the Counterbalance options
crankhole number. When you select a crankhole,
the calculated stroke length is displayed below the There are several options available for entering the
drop-down. The crankhole numbers are labeled by counterbalance information. Counterbalance infor-
number beginning with the closest to the slow- mation used in XDIAG changes depending on the
speed shaft. This is because some pumping units type of unit you are analyzing. Conventional units
have optional cranks that have extra crankholes are balanced using a counterbalance moment about
(such as 4 instead of 3 or 5 instead of 4). This the slow speed shaft. Air-balanced units are coun-
extra crankhole is always the farthest crankhole terbalanced using tank pressure. Beam balanced
from the slow-speed shaft. If the crankhole on units are balanced by the structural unbalance.
the end of the crank (farthest from the slow-speed Long-stroke units are balanced by counterbalance
shaft) is identified as crankhole number 1, the weight. If you do not know the existing counter-
same pumping unit using crankhole number 1 can balance XDIAG will only run the gearbox calcula-
have a different stroke lengths depending on which tions using the balanced conditions.
crank is on the unit. By identifying the crankhole
closest to the slow-speed shaft as crankhole num-
ber 1 we can avoid this confusion. For crank balanced units you can enter the existing
maximum counterbalance moment, counterbalance
effect (moment and angle), import the CBE from
Structural unbalance the dynamometer file (if it is in the file), or use
XBAL to import the existing counterbalance.
Structural unbalance is a term used for pumping
units with a walking beam. It is defined in the
API 11E as the force needed at the polished rod For air-balanced units you can enter the existing
(parallel to the polished rod) to hold the walking tank pressure at the bottom of the stroke, counter-
beam in the horizontal position while the pitman balance effect, or import the CBE from the dyna-
arms are disconnected from the crank pins. This mometer file (if it is in the file).
force is positive when the force is acting down and
negative when acting up. See the figure for a visual
representation of structural unbalance. Structural For long-stroke and hydraulic units you can enter
32 | Running XDIAG
Motor size
XDIAG contains the most common electric mo-
tors which allow XDIAG to calculate the lifting Once the motor type is selected, the available
cost and warn you of problems that might occur motor sizes are populated in this drop-down list.
such as small motor size. XDIAG will inform you if the motor size may be
too small or too big for the well.
Electricity cost
Motor setting
XDIAG uses the electricity cost to calculated lift-
ing cost. XDIAG uses the instantaneous efficiency Motors such as the Sargent Econo-PacII have
at many different points throughout the stroke to different motor settings. If you select one of these
find electricity consumption. These electricity con- motors then the motor setting drop-down will ap-
sumption values are then used with the electricity pear. Select the appropriate motor setting from the
cost to calculate the cost to lift the fluid. drop-down list.
Power meter type
Select detent if you are given no credit for generat-
ed power. Select non-detent if you are given credit 2.3 Storing Cases/Files
for generated power. This variable is used to adjust
the lifting cost calculation. The generated power
will lower the lifting cost if the power meter type After you finish entering data, you can save the
is non-detent. data to disk by clicking on the quicksave button
on the toolbar (diskette icon), or by selecting File
from the menu bar and then choosing Save As...
This opens a standard Windows dialog box used
for storing files. XDIAG will use the first non-
blank characters from the Well Name input from
the first input window as a default file name. The
XDIAG file extension is .XDG. We suggest
saving a new file if you change something in the
case so that you can recover previous input data.
If you wish to save over the previous file (use the
same name) simply click the quicksave icon on the
toolbar to save over the file.
of the report that are displayed can be managed in cards to see the stroke at the surface and the pump
Setup. See section 1.4.4 in this manual to set up simultaneously. Click on the play button to see
XDIAG. the actual pumping speed at the surface and at the
pump. A dot on each card indicates the movement
at the surface and at the pump. You can observe
When the results window opens, you can jump to the delay between the surface and downhole cards
different plots by use of the buttons on the bottom as the stroke is translated through the rod string.
of the window. You can open the dynamometer
plot, torque plot, IPR plot (if IPR data was en-
tered) and you can return to the output report by This animation helps you to understand the dy-
clicking the Report button. namics of the pumping system with respect to
stretch of the rods, the speed of the plunger versus
the speed of the polished rod, and the load fluctua-
2.4.1 Dynamometer Animation tions of the pump plunger. This feature allows you
to learn and understand more about how the rod
pumping systems work. You will be able to see
When the dynamometer plots are displayed (af- different operating characteristics such as under-
ter clicking the Dynamometer button) you can travel, overtravel, compressive wave reflections of
animate the surface and downhole dynamometer the sinker bars when you have fluid pound with
XDIAG| 35
fiberglass rods, plunger speed versus polished rod 2.4.2 Setting Horizontal and Vertical
speed during fluid pound, effect of overtravel or Lines
undertravel on plunger speed, etc. This animation
may reveal reasons for the surface card shape with
respect to the downhole card shape. The controls The purpose of setting horizontal lines on the
at the bottom of the window allow you to play, calculated downhole pump dynamometer card is
stop, or move forward through each time step to calculate fluid load, pump intake pressure, and
one frame at a time. fluid level. The purpose of setting vertical lines
on the downhole pump card is to calculate net
stroke and production through the pump. Chapter
Exporting Dynamometer Card Files 3 explains the theory behind line setting and the
You may use XDIAG to export surface dynamom- limitations of this method of calculating fluid level
eter card files. XDIAG saves these files in the and pump intake pressure. This section discusses
Theta dynamometer file type. There must be data the mechanics of setting the lines once the down-
in memory before using this option. If you export a hole pump card is calculated.
file before running XDIAG, the dynamometer file
will be a copy of the imported dynamometer file.
First, please note that you do not have to set lines
After running XDIAG, when you export a dyna-
yourself. XDIAG has the expertise necessary to
mometer file, you will be asked if you would like to
decide when and where to set lines. In some
export a modified dynamometer card if any correc-
cases XDIAG will not set lines because it is dif-
tions were made to the card by XDIAG. The files
ficult to determine where to set the lines. Although
exported by XDIAG have a DYN file extension
XDIAG sets these lines for you, you may still set
(for example, ABC#1.DYN).
36 | Running XDIAG
the lines yourself if you wish. XDIAG will use the values calculated from your
line settings. However, on the calculated results
page of the output report, in the section labeled
To set lines manually, click on the Set Lines Tubing, pump and plunger calculations, your line
button at the bottom of the Output Report Win- settings will be reflected in these calculates results
dow. This will open a window which displays the regardless of whether or XDIAG uses them or not.
downhole dynamometer card with horizontal and
vertical lines.
2.4.3 Exporting the Balanced Maximum
Counterbalance Moment or Structural
To move a line, move the cursor over the line. The Unbalance
cursor will change shape. Click and hold the left
mouse button then drag the line to the desired
location. While the line is selected it changes from After XDIAG runs, it calculates the balanced
red to orange. When the line is at the desired maximum counterbalance moment to balance the
location, release the left mouse button. When you unit with the existing conditions (structural unbal-
release a line it will become red again. As you ance for beam balanced units). Simple enter the
change the distance between the horizontal lines, counterbalance data into XBAL and XBAL will
you can see the fluid over the pump, fluid level, calculate where to move the counterweights or to
and pump intake pressure values dynamically add/remove counterweights to balance the unit.
change at the bottom of the window. Please note that this will balance the unit for the
current conditions. If there is a problem with the
well, you should fix the problems before attempt-
Follow the same procedure to move the vertical ing to balance the unit.
lines to calculate net pump stroke and production
through the pump. As you change the distance
between the vertical lines, you see the net pump Crank balanced units
stroke and production values dynamically change
After XDIAG runs, it calculates the max. CB mo-
at the bottom of the window.
ment needed to balance the unit for either mini-
mum torque or minimum energy consumption. For
To go back to the line settings made by XDIAG more information see the Torque Analysis section
just click the XDIAG settings button under the in Chapter 3.
horizontal line header or vertical line header on
the bottom right of the window. If you need help
XDIAG works with XBAL to make data ex-
setting lines or if you have questions regarding
change very easy. To transfer a balanced max CB
how and why line setting works, press the F1 key
moment from XDIAG to XBAL, click on the
for context sensitive help on the setting lines. After
XBAL button on the XDIAG toolbar. It shows
you finish setting lines on the downhole pump
an arrow and XBAL on it indicating that it sends
card, click on the OK button to go back the Out-
information to XBAL. If XDIAG calculated a
put Report Window.
balanced max CB moment for minimum torque
only, clicking the XBAL button will send that
Please note that even though XDIAG allows you value to the Theta Clipboard with no other ac-
to change the line settings, the program does not tion required. If XDIAG calculated a balanced
necessarily use the numbers calculated from your max CB moment for minimum energy along with
line settings. If your line settings make sense then one for minimum torque, you will be prompted
XDIAG| 37
file types (RODSTAR-V/D, RODDIAG, and card if you chose to use a RODSTAR file to run
XDIAG). By default, the open file dialog box XDIAG. Being able to open RODSTAR file types
shows the XDIAG files when it opens. To load is a quick way to enter the required well data that
a different file type, such as a RODDIAG file, is shared between the programs. This eliminates
click on the drop-down list labeled Files of type the need to re-enter the well name, pump depth,
and select the file type (.rdg for RODDIAG files). run time, etc.
This applies a filter to the list of files you see so
only RODDIAG files are displayed. To load one
of these files, double click the file or select the file To locate a file, you can click on the scroll bar
and click the Open button. If the file you are look- next to the file list, or you can press the Page Up
ing for is not in the list you can change the direc- or Page Down keys to quickly move through the
tory like other standard Windows programs. list. To move to the beginning or the end of the
list, press the Home key or End key respectively.
If the current directory contains many files, it
When you open predictive program file types, the may be faster to press the first few characters of
loaded data will not contain any dynamometer the file name to find the file you are looking for.
card data. You will have to load a dynamometer For example, if you are looking for a well named
XDIAG| 39
parameters. Following is a detailed explanation of dynamometer card cuts into the straight line sec-
XDIAGs output. tion of the permissible load, this indicates that the
structure of the pumping unit is overloaded be-
cause the polished to load is larger than the struc-
Dynamometer and permissible load plots ture rating of the unit.
These plots show the surface and downhole dy-
namometer card plots, and the permissible load
For the exact numbers of peak net gearbox torque
diagram. XDIAG uses a permissible load dia-
and gearbox loading, look at the torque analysis
gram that shows if the gearbox or structure of
section of the output results page. The permissible
the pumping unit is overloaded or if the mini-
load diagram corresponds to existing conditions if
mum polished rod load is negative. This is differ-
you entered a counterbalance moment. If you do
ent than the traditional permissible load diagram
not enter existing counterbalance information then
which only shows whether the gearbox is overload-
the permissible load diagram corresponds to the
ed. This extended permissible load diagram can be
balanced condition.
made up of several curved lines only, a combina-
tion of curved and straight lines, or straight lines
only. If the upstroke part of the predicted surface Note: The above discussion about XDIAGs
dynamometer card cuts into the curved line of the permissible load diagram refers to beam pumping
permissible load diagram, this indicates that the units and low profile belted units. The permissible
gearbox torque is overloaded at that point. If the load diagram for long stroke units such as Rotaflex
XDIAG| 43
units will have straight line segments that cor- to the of the system. If the permissible load has
respond to the gearbox loading or the structural a trend that is opposite than the predicted dyna-
loading. Hydraulic units do not have gearboxes so mometer card, it may indicate that the pumping
the permissible load diagram corresponds to the unit you selected is not the best geometry for this
structural loading. Please look at the structure application.
loading and gearbox loading value and percentage
for the exact percent unit loading.
Torque plots
When you click on the Torque button on the
In addition to showing whether the gearbox is bottom of the output report window, XDIAG
overloaded, the permissible load diagram also displays the net gearbox torque plots for existing
shows how well the pumping unit matches the and balanced conditions. If you entered an existing
load requirements of your system. If the predicted maximum counterbalance moment (crank balanced
polished rod dynamometer card fits nicely in the units) or structural unbalance (beam balanced
permissible load envelope, this indicates a good unit), you may have a torque plot with as many as
agreement between the pumping unit and the rest three curves: one for existing conditions, one for
of the system. However, if the predicted surface balanced conditions for minimum torque, and one
dynamometer card shows a trend that is opposite for balanced conditions for minimum energy con-
that the permissible load diagram, this indicates sumption. XDIAG will not display the balancing
that design changes are necessary to avoid over- information for minimum energy if the lifting cost
loading the pumping unit and to better match it
44 | Expert Diagnostic Analysis
is close to the lifting cost when balanced for mini- shows. Also, if you entered IPR data, the report
mum torque. If balancing the unit for minimum shows a table of calculated production rates versus
energy will reduce lifting costs by 1% or more the pressures.
balancing calculations for minimum energy will be
displayed.
Set lines
Click this button to go to the line setting window
The torque plot will also be displayed on bottom of where you can change the placement of the vertical
the calculations page by default. You can change and horizontal lines used to calculate fluid level,
this as well as other displayed pages by going to net pump stroke, and net pump displacement.
Setup. More details about this feature can be found in
section 2.4.2 of this manual.
IPR plots
When you click on the IPR Plot button, XDIAG Report
displays the IPR plot for the well as the figure Click the Report button to go back to the default
XDIAG| 45
output report display. The first part of the out- well to determine if it is a good design. Because
put report is the Expert Diagnostic Report Page XDIAG is a diagnostic tool, the data entered into
which has four sections. The Downhole Equip- XDIAG is rarely of an optimized well. The fluid
ment Analysis section shows the condition of the level may be high or pump may be in poor condi-
pump and the fluid level determined by XDIAG. tion. Scoring a well with these conditions will
The Rod String Analysis section shows if any of yield incorrect scores. This is because the fluid load
the rod sections of the rod string are overloaded may be reduced due to the high fluid level. Imag-
and by how much. The Surface Equipment Analy- ine a well received a good score then the operator
sis section shows if the gearbox or pumping unit changed the speed of the unit to pump off the
structure is overloaded. The balancing recommen- well. The structural loading will increase as the
dations are also in this section. The Input Data fluid level drops and there is a possibility of fail-
Analysis section shoes possible input data errors ure due to the increased fluid load. If the operator
that were detected by XDIAG and any input data based his decisions on the scoring of the well with
corrections that are made (such as load cell drift a high fluid level, he may be unaware of this po-
correction). tential problem. For this reason XDIAG scores the
well for the worst case scenario (full pump with
the fluid level at the pump). The score given to the
The next page in the output report is the Scoring well is for the optimized condition, balanced and
Page. XDIAG looks at six vital components of the pumped off with a full pump in good condition.
46 | Expert Diagnostic Analysis
The sections scored are as follows: components for the well. Each section will display
Balanced Gearbox Loading an explanation of the score and how to improve it.
information. The following list shows the detailed Minimal tensile strength
sections and the input data in each section:
Fluid Properties
Calculated Results
Watercut
Along the right side of the page you will see the
Water specific gravity calculated results for your well. These values are
Oil API gravity separated into sections to make it easy to read. The
top section contains generic information about the
Fluid specific gravity well (peak and minimum polished rod load, min/
Motor and power meter peak polished rod load ratio, system efficiency,
buoyant rod weight, maximum rod loading, pol-
Power meter type ished rod HP, permissible load HP, polished rod/
Electricity cost permissible load HP ratio, unit structure loading,
and gearbox loading). As you move down the page
Motor type
you will see more detailed information.
Motor size
Pumping unit
The following list shows the detailed sections and
API designation the calculated data in each section:
Crank hole number Required prime mover size for existing condi-
Calculated stroke length tions
Estimated pump friction These values are single polished rod loads. The
peak polished rod load is the maximum load ex-
Rod string stress analysis (listed for each rod perienced by the polished rod while the minimum
segment) polished rod load is the least amount of load expe-
Stress load % rience by the polished rod. The ratio of these values
is also displayed as MPRL/PPRL. This value is
Top maximum stress
XDIAG| 49
PRHP/PLHP
The ratio of the polished rod horsepower divided Unit structure loading
by the permissible load horsepower is another value This value is the percent loading on the structure
used to evaluate the design. The ratio of the per- of the pump jack. This number shows whether
missible load horsepower divided by the polished the measured peak polished rod load exceeds the
rod horsepower should be as large as possible with- structural rating of the unit. It must be less than
out overloading the pumping unit. If we were to 100% to avoid pumping unit structural damage or
use all of the available capacity of a pumping unit, failure. If this number is too small (less than70%)
the ratio would be equal to 1. This is not possible then it shows that the unit structure may be too
so it is our goal to maximize this value. For exam- strong for this application.
ple, one case has a polished rod horsepower of 28.9
and a permissible load horsepower of 75.5. The
ratio comes out to 0.38 which means the system Gearbox loading
is only using 38% of the pumping units capacity. This shows how much the gearbox is loaded as
Another system has a polished rod horsepower of a percent. It is recommended that the gearbox is
26 and a permissible load horsepower of 44.5. This loaded between 70% and 95%. For more detailed
system is using 58% of the pumping units capac- information on the gearbox loading and torque
ity. This ratio gives you another way to compare calculations, see the Torque Analysis and Gearbox
50 | Expert Diagnostic Analysis
Torque Plots sections of this output report page. Cyclic loading factor
The cyclic load factor shows how smooth the
gearbox torque changes throughout the stroke. The
Max. rod loading
smaller this value is, the less the gearbox torque
This value is the largest percent loading of all rod fluctuates. The cyclic loading factor is also related
segments. This gives you an idea of how your rod to the thermal losses in the motor. A small cyclic
string design is handling the well at a quick glance. loading factor will result in lower thermal losses in
More detailed information on the rod string can the motor and therefore higher system efficiency.
be found in the Rod String Analysis section of this
output report page.
Counterbalance information
If you enter a maximum counterbalance moment
Required prime mover size for existing or counterbalance effect, the program calculates
conditions the above values for both existing and balanced
This value calculated the required power needed to conditions. If you did not enter an existing coun-
run the pump with the existing conditions. Ex- terbalance moment XDIAG will calculate these
isting conditions refers to the way the pump is values for balanced conditions only. The same
operating which includes leaks, high fluid levels, or applies for beam balanced units with a difference
other production problems. This does not include in the balancing method. XDIAG calculates the
the balancing of the unit. This allows XDIAG to required structural unbalance to balance beam
show you the required prime mover size required if balanced units. This value will replace the maxi-
the unit is balanced for minimum energy or mini- mum counterbalance moment in the output report.
mum torque. Air-balanced units will show tank pressure in place
of both the maximum counterbalance moment
and counterbalance effect on the output report.
Torque analysis Longstroke units (like the Rotaflex) will show
counterbalance weight which will also replace both
Peak gearbox torque the maximum counterbalance moment and coun-
This is the maximum required gearbox torque to terbalance effect.
operate the pump for the current downhole condi-
tions. This value is reflected by the peaks in the
Gearbox Torque Plots. Daily electricity use
The daily electricity use is calculated as Kilowatt-
hours per day. Using the prime mover size and
Gearbox loading instantaneous system efficiency throughout the
This shows how much the gearbox is loaded as stroke, XDIAG can accurately calculate the
a percent. It is recommended that the gearbox is amount of electricity required to operate the sys-
loaded between 70% and 95%. To see more de- tem over a 24 hour period.
tailed information about how the gearbox is oper-
ating you can look at the Gearbox Torque Plots or
the Permissible Load Diagram which is overlayed Monthly electric bill
onto the dynamometer card plots. Using the daily electricity use and the cost of
electricity you enter, XDIAG calculates the cost of
operating the well for one month.
XDIAG| 51
Electricity cost per barrel of fluid or oil Tubing, pump, and plunger calculations
This value is calculated using the production rate Tubing movement
and the cost of electricity to show you the cost
The only calculation in this section which pertains
of electricity to lift a barrel of fluid or oil. Other
to the tubing of the well is tubing movement.
costs such as payroll and maintenance come into
This will give you an idea of the effectiveness of
play when calculating the total cost to lift the fluid
the tubing anchor. If there is no tubing anchor on
from the well. XDIAG can only calculate the
your well, this value might indicate the need for
lifting cost for electricity per barrel with the data
a tubing anchor. Tubing movement reduces the
entered in each case.
efficiency of the well because the pumping unit
is lifting the tubing along with the plunger for a
How to read additional columns for torque and small distance. During the time the tubing is be-
energy consumption calculations ing lifted the plunger is not producing fluid.
Fluid load on the pump with the pump by recognizing the calculated
This value is calculated using the specific gravity downhole dynamometer card shape.
of the fluid, pump depth, and the fluid level. This
value is the load on the plunger cause by the fluid.
A tubing leak can cause a low pump volumetric
The horizontal lines set on the downhole card are
efficiency. Tubing leaks usually do not affect the
used to calculate the fluid load on the pump.
shape of the downhole pump card. The only clue
you may have that there is a tubing leak is a low
Fluid level pump volumetric efficiency. This also reduces the
overall system efficiency. But to detect tubing leaks
This value is displayed as fluid level from the sur- from pump volumetric efficiency you must have
face or fluid level over the pump. Adding these two accurate production data. So, before you decide to
values together will equal the pump depth. This pull tubing thinking that you have a tubing leak,
value is affected by the placement of the horizon- pressure test the well to verify that leak exists.
tal lines. The horizontal lines that are set on the
downhole card are used to calculate the fluid load
on the pump which is used to calculate the fluid Pump fillage
level. As the fluid level get closer to the surface the
This value is calculated using the gross pump
fluid load on the pump decreases. This is because
stroke and the net pump stroke. This will tell you
all the fluid in the casing annulus is pushing back
if the pump is pumping free gas due to fluid pound
on the fluid in the tubing so the plunger has to
or gas interference.
carry less of the load.
For sinker bars XDIAG calculates stresses and The dictionary defines the word dynamometer as
stress loading based on the elevator neck. XDIAG an instrument for measuring force. It comes from
is programmed with the latest API standards and two Greek words: Dynamis meaning force and
uses the appropriate elevator neck diameter for metron meaning a measuring device. Therefore,
each sinker bar size. dynamo-meter simply means force-meter. A
dynamometer records polished rod load (force) as
a function of polished rod position. This is com-
monly called the dynamometer card. Early
3.2 Diagnosis of System technology used equipment to draw an X-Y plot
(dynamometer card shape) on a piece of paper. A
Problems common dynamometer system to date has a load
cell, a position transducer, and a recorder box.
Instead of plotting dynamometer cards on paper, as
Dynamometer and pump off control systems are
the early style dynamometers do, current systems
commonly used with wave equation diagnostic
store data on disk or in the computers memory.
programs, such as XDIAG, to help diagnose com-
The latest technology will send this information
mon pumping system problems. Diagnostic tech-
wirelessly to a server where well information is
nology is based on a mathematical solution of the
stored. These systems can monitor and control
wave equation. The one-dimensional damped wave
wells. The recorded data can be analyzed automati-
equation models the behavior of the rod string
cally and if the data shows a problem the well can
and allows calculation of downhole loads at any
be shutoff automatically. XSPOC is automation
point in the rod string. The wave equation model
software that can do this.
in XDIAG calculates the downhole dynamometer
card from the polished rod dynamometer card that
you enter. Downhole dynamometer cards are much To record a dynamometer card you must insert the
easier to interpret than surface cards because their load cell between the polished rod clamp and car-
shape depends only on the condition of the pump rier bar. The position transducer has a string that
(for most wells). clamps on the polished rod. The load cell contains
strain gauges. Strain gauges are devices that use
the change of electrical resistance of a wire to
Before running XDIAG you must record a quan-
measure load. The strain gauges inside of the load
titative dynamometer card and you must complete
cell contract when a load is applied to the load cell.
an XDIAG data sheet. You can find copies of the
This increases the cross sectional area of the thin
XDIAG data sheet in the back of this manual.
wire. The change in area causes the change in re-
sistance to the flow of electricity though the strain
gauge. The electronic circuits in the dynamometer
3.2.1 Recording Dynamometer Card in box translate changes in resistance into polished
the Field rod load.
You can find most pumping system problems from
The position transducer box contains a potenti-
a dynamometer card analysis with XDIAG. This
ometer attached to a spring loaded pulley that
chapter describes practical, step by step procedures
has string wrapped around it. As the polished rod
of how to use a dynamometer system to get the
moves up and down, the string movement causes
data you need to run XDIAG.
the potentiometer to turn. The electronics of the
XDIAG| 55
dynamometer system translate the number of times good unit brake is vital to ensure operator safety
the shaft of the potentiometer turns into polished especially when installing or removing the load
rod position. cell from the polished rod. If possible, well analysts
should work in teams of two for added safety.
A Knock-off which is a piece of pipe one to 3. If you have a Hercules stuffing box (usually
two feet long, cut in half lengthwise, with a red with bolts), insert the stuffing box protec-
tor (metal wedge) to support the load that may
safety latch.
otherwise damage the stuffing box bolts.
A stuffing box protector.
4. Lay out all cables on the ground and zero the
Protective gloves. load and position transducers.
A strong chain that is 12-15 feet long. 5. Turn the unit on and raise the polished rod
A piece of pipe to give you leverage when close to the top of the stroke. Then turn the
tightening the polished rod clamp. unit off and engage the brake.
An empty bucket. 6. Put the knock-off on top of the stuffing box
and secure it by closing the safety latch.
7. Restart the unit and turn the power off just be-
Installing and Removing the Load and fore the polished rod clamp hits the top of the
Position Transducers knock-off. You need to get the clamp to rest on
the top of the knock-off as smoothly as possible
To record a dynamometer card, you need to install
while trying to throw slack between the per-
the load and position transducers on the polished
manent polished rod clamp and the carrier bar.
rod. You must insert the load cell between the
If the pumping speed is high, you may need
permanent polished rod clamp and the carrier bar.
Clamp the position transducer string to the pol- to run the motor on and off every few mo-
ished rod after you install the load cell. You must ments. This is so that you can transfer the load
be very careful when recording data in the field, to smoothly from the carrier bar to the knock-off.
avoid injury. The power switch must be off when When you created enough room to insert the
installing the transducers or making measurements load transducer, turn the unit off and immedi-
around the pumping unit. Also, dynamometer ately set the brake. Make sure the brake is on
measurements are not recommended on units that tightly enough to hold the polished rod load.
do not have brakes in good working condition. A 8. Load transducers are U-shaped and they usu-
56 | Expert Diagnostic Analysis
ally have three buttons that must be pressed 2. Turn the unit on and off to get the carrier bar
to record polished rod load. For accurate load to gently rest on the knock-off and to throw
measurement, at least two of these buttons slack between the carrier bar and the perma-
must be pressed. If the carrier bar is so skinny nent polished rod clamp. Then, turn the unit
that only one button will be pressed, then in- off and set the brake tightly.
sert the load transducer with the buttons facing
3. Remove the load cell safety pin and then
upwards. If you put the leveling plate between
remove the load cell. Do this as quickly as pos-
the carrier bar and the buttons you can be sure
sible to avoid hand injury if the pumping unit
at least two of the buttons will be pressed.
brake does not hold.
Otherwise, insert the load cell with the buttons
down and insert the safety pin to hold it in 4. Remove the position transducer clamp and
place. Some load cells have this leveling plate slowly release the brake until the carrier bar
as part of the load cell itself to avoid having to picks up the polished rod load. Make sure
perform the above steps. there is enough space to allow removal of the
knock-off. Then turn the power off and reset
9. Narrow the distance between the carrier bar
the brake.
and the load cell using the brake. When they
are about 2 inches apart, let off on the brake 5. Remove the knock-off and the polished rod
and let the carrier bar come up fast. If the unit clamp you installed, and restart the unit.
cannot pick up the load, you need to turn the
motor on momentarily until you pick up the
polished rod load. Make sure there is some After you record the dynamometer card and while
space between the carrier bar and the top of the load and position transducers are still on the
the knock-off. Apply the brake as soon as you polished rod, you can do traveling and standing
pick up the polished rod. valve checks. These checks help you find out if the
pump barrel, plunger, or valves are worn.
10. Remove the knock-off, put the bucket as close
to the well head as possible, and put the posi-
tion transducer on top of the bucket to keep it Counterbalance Effect Measurement
clean. Attach the position transducer string to
the polished rod. Make sure the cables are not To have XDIAG do a torque analysis that shows
tangled and then turn on the unit. the existing gearbox loading and unit balancing,
XDIAG needs information about the existing
11. Wait for a few strokes until the well stabilizes counterbalance. One way to enter existing counter-
(which is when the dynamometer card shape balance data in XDIAG is by entering a measured
does not change from stroke to stroke). Then counterbalance effect (CBE). XDIAG uses the
record the dynamometer card, counterbalance measured CBE to calculate the maximum counter-
effect, and the traveling and standing valve balance moment and from this, the existing peak
checks. gearbox torque, etc. An easier and more accurate
way is to use the XBAL computer program (please
contact Theta Oilfield Services for more informa-
Steps for Removing the Transducers tion).
1. To remove the load position transducer, stop
the unit at the beginning of the downstroke.
Insert the stuffing box protector (if needed), The CBE is an indirect measurement of the unit
place the knock-off on top of the stuffing box, counterbalance. To measure the counterbalance ef-
and set the safety latch on the knock-off. fect you must stop the unit with the cranks as close
as possible to 90 or 270, then, with the brake off,
XDIAG| 57
record the polished rod load at that position. You 5. Remove the chain.
must also record the corresponding counterweight
crank angle or record the point on the dynamom-
eter card plot when the counterbalance effect was If the unit is rod heavy then the unit has the ten-
recorded (with respect to position). When you re- dency to stop with the horse head at the bottom of
cord the CBE as a point, you must record whether the stroke and the cranks at the 12 oclock posi-
the unit was in the upstroke or downstroke where tion. In this case you must prop the polished rod
the CBE measurement was measured. You can up using the following steps:
then read in the counterbalance effect from the dy-
namometer file. XDIAG uses the CBE measure-
ment to calculate the maximum counterbalance 1. Stop the unit as close to 90 or 270 as possible,
moment. on the upstroke, and engage the brake. We
stop the unit on the upstroke so that when we
want to remove the clamp we simply turn it on
If the unit is not perfectly balanced then the for a moment and it will pick up the polished
cranks will not stop close to the horizontal posi- rod load off of the clamp.
tion. Instead, they tend to stop close to the 12 2. With the brake on, attach a clamp onto the
oclock or 6 oclock positions. In such cases, to polished rod just above the stuffing box.
record an accurate counterbalance effect you must
chain off or prop up the polished rod. 3. Slowly release the brake. When the clamp rests
on the stuffing box and the unit stop moving,
record the counterbalance effect load.
If the unit is weight heavy then the unit has the 4. Turn the unit on for a moment then off to pick
tendency to stop with the horse head at the top of up the polished rod load off of the clamp. As
the stroke and the cranks at the 6 oclock position. you turn the unit off, engage the brake to hold
In this case you must chain off the unit using the the unit in place.
following steps:
5. Remove the clamp.
(for example 10 strokes). Divide the number of 3.2.2 Downhole Pump Dynamometer
strokes by the time in minutes and you will calcu- Card Interpretation
late strokes per minute. In the following example,
we timed a pumping unit which took 50 seconds to
complete 10 strokes. XDIAG combines expert knowledge and pattern
recognition with a wave equation sucker rod mod-
el, accurate calculations of gearbox torque, unit
Tip: When measuring the time for calculating balancing, power consumption, structure loading,
strokes per minute, use a point of reference in the etc. With XDIAG you can answer practically all
stroke to start your stop watch. For example, if you questions about system performance quickly and
start at the bottom of the stroke, then do the fol- accurately.
lowing:
Also, XDIAG understands Group 2 wells and If you detect rod compression, you can add more
recognizes strange downhole dynamometer card sinker bars, reduce the pumping speed, or use a
shapes. Using its built-in experience with Group pumping unit with a slower downstroke polished
2 wells, XDIAG can accurately diagnose prob- rod velocity. These changes will reduce rod com-
lems with these wells. pression. To find out how many sinker bars you
need to eliminate rod compression, use ROD-
STAR-V/D or XROD. With RODTAR-V/D or
Downhole Dynamometer Card Shape XROD you can design a rod string with minimum
Analysis for Group 1 Wells rod compression. You can even have the programs
design a rod string for you using its expert system
The figures at the end of this manual show a col- design capabilities. When you have RODSTAR-
lection of downhole dynamometer card shapes that V/D design a fiberglass rod string, you must be
correspond to most pump operating conditions or sure to add enough sinker bars so that the fiber-
problems for Group 1 wells. Although XDIAG glass rods are not in compression. XROD can do
interprets the downhole pump card shape for you, this for you automatically.
it is still useful to know what these shapes are so
that you can figure out the pump condition. Keep
in mind that these shapes are only valid for Group
3.2.4 Gearbox Torque and Unit Balancing
1 wells.
3.2.6 Setting Lines on Downhole Pump occurs because the wave equation removes only a
Cards part of the frictional load. The remaining frictional
forces appear as extra load on the calculated down-
hole dynamometer card. For example, Figure 3.1
XDIAG automatically sets the horizontal and would look more like Figure 3.2 with the added
vertical lines, unless the pump is not in good frictional forces. You can see how XDIAG didnt
condition, to calculate pump intake pressure, fluid remove all fractional loads from the calculated
level, net pump stroke and production through the downhole dynamometer card and it appears fat-
pump. Also, XDIAG allows you to modify the ter. However, you can still use this downhole card
line settings after the run. To understand how to to identify problems at the pump.
set these lines it is necessary to discuss some of the
assumptions made when XDIAG does its calcula-
tions. If all you want to do is to identify the pump condi-
tion, then the friction coefficient makes little dif-
ference. However, if you can separate the frictional
Setting Horizontal Lines: loads from the actual fluid load on the plunger,
you can calculate pump intake pressure and fluid
level from a downhole dynamometer card. You can
To calculate the downhole dynamometer card do this by setting two horizontal lines as shown
using the wave equation, XDIAG assumes an in Figure 3.2. The area above the top line and
average friction between rods and tubing. If you below the bottom line represents frictional work
were to enter the exact friction coefficient between at the pump. The distance between the two hori-
rods and tubing, then XDIAG would calculate a zontal lines is the true fluid load on the plunger.
downhole dynamometer card that shows exactly Once you know the fluid load, you can calculate
how much fluid load the pump plunger carries the pump intake pressure and the fluid level as
(assuming it is in good mechanical condition)/ explained in Figure 3.3. The fluid load on the
For example, in a case with fluid pound, XDIAG pump plunger corresponds to the pressure differ-
would calculates a downhole dynamometer card ence across the pump plunger. If we assume that
similar to Figure 3.1. However, because rod-tubing the pressure in the pump barrel on the upstroke is
friction is different in each well, it is impossible to about the same as the pump intake pressure, then
know that friction coefficient to use. Fortunately, you can use equation 1 in Figure 3.3 to calculate
it is not necessary to know the exact friction to get the fluid load on the plunger. You can calculate the
useful results with XDIAG. When calculating a pressure above the pump plunger using equation 2,
downhole dynamometer card, it is better to under- and the plunger area using equation 3. Then, you
estimate rod-tubing friction than to over-estimate can solve equation 1 for the pump intake pressure
it. If you enter a friction coefficient that is too as shown in equation 4.
large, the wave equation model will remove more
load than it should from the calculated downhole
dynamometer card. This will distort the downhole The fluid load, Fo, is the distance in pounds
dynamometer card shape. This is why it is better to between the two horizontal lines you set on the
use a friction coefficient that is lower than actual. downhole dynamometer card. Because the pump
The default friction coefficient of 0.5 in XDIAG intake pressure is also a function of the fluid level
is a safe number to use for most applications. The in the tubing-casing annulus, it also can be calcu-
only side effect of using a lower than actual fric- lated using equation 5. Since we know the pump
tion coefficient is that the calculated downhole intake pressure from equation 4, we can solve
dynamometer cards are fatter than actual. This equation 5 for fluid level over the pump as shown
XDIAG| 63
64 | Expert Diagnostic Analysis
XDIAG| 65
in equation 6. This is how XDIAG calculates the sible production gains if you can increase the net
fluid level from horizontal line settings. XDIAG stroke. For example, if the pump card shows gas
assumes that the casing fluid is oil and uses the oil interference, you can move the second vertical line
API gravity to calculate the casing fluid specific to the right to see how much more liquid produc-
gravity. tion you could get by using a gas anchor or by
lowering the pump intake below the perforations.
XDIAG separates the net stroke from gross pump Once you figure out where to place the lines when
stroke with a set of vertical lines that it sets on the the well is pounding fluid then you can use the
calculated pump card. The gross pump stroke is same horizontal line setting when the pump is full.
the total distance the plunger moves. Figure 3.2 If the well does not pump off then shoot a fluid
shows the gross pump stroke on a downhole card level reading and record the dynamometer card at
of a pumped off well. The net stroke is the portion the same time. Then, after XDIAG calculates the
of the gross pump stroke during which the plunger downhole dynamometer card, set the horizontal
moves through fluid in the pump (on the down- line so that the calculated fluid level matches the
stroke). In other word, net stroke is the part of the fluid shot reading. Remove the same amount of
pump stroke that produces fluid. By setting vertical friction on the upstroke as the downstroke. From
lines, XDIAG estimates the amount of fluid going now on, use the same horizontal line settings
through the pump. This also lets you estimate pos- whenever you analyze the same well. You should
66 | Expert Diagnostic Analysis
only set lines on a downhole pump dynamometer zontal lines will be in error. Often XDIAG may
cards that show a good mechanical pump condi- detect possible input data errors in plunger size or
tion. If the traveling valve or plunger is worn, it fluid specific gravity when setting horizontal lines.
cannot pick up the entire fluid load which means For example, if you enter the wrong plunger size,
setting horizontal lines will yield incorrect results. then the fluid level calculated from horizontal lines
Figure 3.4 and Figure 3.5 show example line set- may be too low or too high depending on whether
tings for many common pump card shapes. Use you entered a plunger that is larger or smaller than
the examples along with measured fluid levels and actual.
see how XDIAG sets the lines to learn how to set
horizontal and vertical lines yourself.
When setting horizontal lines, XDIAG does not
let the calculated pump intake pressure go below
Vertical line placement is easier than horizontal casing pressure. If plunger size or fluid specific
line placement. When setting vertical lines you are gravity is smaller than actual, you will not be able
estimating the net pump stroke. The gross pump to move the horizontal lines as far apart as they
stroke is the total plunger travel. The net stroke is should be. If you set the lines yourself and start
the portion of the gross pump stroke that produces with the top line first, you will not be able to move
fluid. For fluid pound or full pump cases, you can the bottom line close to the bottom of the dyna-
place vertical lines as shown in Figure 3.4 and mometer card.
Figure 3.5. For gas interference cases the net pump
stroke should account for both gas expansion on
the upstroke and gas compression on the down- If the pump plunger size or specific gravity of the
stroke. For downhole pump cards that show severe produced fluid is larger than actual, you cannot
problems, XDIAG will not set the lines on the get a low enough pump intake pressure even if
downhole pump dynamometer card. you move the horizontal lines as far apart as they
can go. If you set the top line first, you will see a
higher than expected pump intake pressure even
If the downhole pump card calculated by XDIAG after you move the bottom line all the way to the
corresponds to a worn pump, stuck plunger, or any bottom of the card.
other condition for which line placement is not
possible, do not set the lines yourself. Sometimes,
it is possible to set either vertical or horizontal lines
on these problematic wells but not both. XDIAG
provides you the flexibility to set either pair of
lines.