You are on page 1of 80

XROD

Advanced Design and Simulation


of Rod Pumping Systems
for Deviated and Ver tical Wells

3075 E. Imperial Hwy Suite 125


Brea, CA 92821
Telephone #: (562) 694-3297
Fax #: (562) 694-8641
gotheta.com

E-mail Addresses:
Product Manager: Kevin Lo, kevin@gotheta.com
Software Support: support@gotheta.com
Sales: Christy Kukula, christy@gotheta.com
Theta Oilfield Services, Inc., 2014.
All Rights Reserved. This manual may not be reproduced in whole or in part without the written per-
mission of Theta Oilfield Services, Inc.

XROD, XROD-V, RODSTAR, RODSTAR-D, RODSTAR-V, RODDIAG, XDIAG, XDIAG-V,


XDIAG-D, XBAL, XTOOLS, XANIMATE are trademarks of Theta Oilfield Services, Inc.

Printed in the United States of America


Fourth Edition, April 2014
XROD| iii

Contents
Technical Support . . . . . . . . . . . . . . . . v
System Requirements . . . . . . . . . . . . . . v

1 Introduction 1
1.1 Program Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Advanced Capabilities and Program Limitations. . . . . . . . . . . . . . . 3
1.3 Help System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 XROD CD and Software Sentinel. . . . . . . . . . . . . . . . . . . . . . . 3

2 Software Installation 5
2.1 XROD Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Questions About Installation . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3 Installing the Software Sentinel. . . . . . . . . . . . . . . . . . . . . . . 5

3 Starting and Setting Up XROD 7


3.1 Starting XROD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Exiting XROD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.3 Setting up XROD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3.1 General setup options . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3.2 Defaults and Limits . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.3.3 Output Options. . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3.4 Pumping Unit Options . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3.5 Rod Grade Options. . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3.6 Cost Database. . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3.7 Batch Mode Options . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.3.8 AI Mode Preferences . . . . . . . . . . . . . . . . . . . . . . . . 22

4 Running XROD 25
4.1 XRODs User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.1.1 XRODs Help System . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.2 Entering Rod Pumping System Data into XROD, AI mode. . . . . . . . . . . 27
4.3 Entering Rod Pumping System Data into XROD, non-AI mode. . . . . . . . . 29
4.3.1 Entering Well Information Data . . . . . . . . . . . . . . . . . . . . 30
4.3.2 Entering Production Information. . . . . . . . . . . . . . . . . . . 32
4.3.3 Entering Pump and Tubing Information Data. . . . . . . . . . . . . . 33
4.3.4 Entering Rod String Data. . . . . . . . . . . . . . . . . . . . . . . 36
iv | Table of Contents

4.3.5 Entering Pumping Unit Data. . . . . . . . . . . . . . . . . . . . . 40


4.3.6 Entering Motor Information and Energy Cost . . . . . . . . . . . . . . 48

5 Changing, Loading and Saving Data 51


5.1 Visual Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.2 Storing Data Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3 Running and Viewing the Output. . . . . . . . . . . . . . . . . . . . . 52
5.3.1 Saving the output . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.3.2 Running in Batch Mode. . . . . . . . . . . . . . . . . . . . . . . 55
5.4 Loading Data from Disk. . . . . . . . . . . . . . . . . . . . . . . . . . 58
5.4.1 Viewing Previously Saved Output . . . . . . . . . . . . . . . . . . . 59
5.5 Manipulating Input Windows. . . . . . . . . . . . . . . . . . . . . . . 59

6 Rod Pump System Design 61


6.1 Understanding XRODs Output . . . . . . . . . . . . . . . . . . . . . . . 62
6.1.1 Dynamometer and Permissible Load Plots . . . . . . . . . . . . . . . 62
6.1.2 Torque Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.1.3 IPR Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.1.4 Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.2 Rod Pump System Design Guidelines . . . . . . . . . . . . . . . . . . . . 70
6.2.1 Shallow, High Rate Well Simulation . . . . . . . . . . . . . . . . . . 71
6.2.2 Selecting the Target Production . . . . . . . . . . . . . . . . . . . 71
6.2.3 Avoiding Rod Compression . . . . . . . . . . . . . . . . . . . . . . 71
6.2.4 Minimizing Power Consumption. . . . . . . . . . . . . . . . . . . 72
6.2.5 Reducing Gearbox Torque . . . . . . . . . . . . . . . . . . . . . . 72
6.2.6 Using XROD for Correct Equipment Sizing. . . . . . . . . . . . . . . 72
6.2.7 Using XROD for Diagnostic Analysis. . . . . . . . . . . . . . . . . . 73
XROD| v

Technical Support
Technical Support for XROD is provided by
phone and e-mail to customers with a current An-
nual Technical Support Agreement.
The first year of technical support is provided free
with the initial purchase of a license.
Support for customers with an expired agreement
is billed at $100/hour with a one-hour minimum
per incident.
Please include the Serial Number from your Senti-
nel when contacting support.

Phone Support:
Monday-Friday 8:00 AM - 4:00 PM PST.
(562) 694-3297

E-Mail Support:
support@gotheta.com

System Requirements
Processor: 1.6 GHz or higher
Operating System: Windows XP/Vista/7/8
Memory: 1 GB of RAM or higher
Hard Disk Space: 150 MB available disk space
Display: 1024 x 768 or higher
XROD| 1

1 Introduction

XROD is a powerful, easy-to-use rod pumping etc. in seconds instead of hours. XROD in the AI
system simulator and Artificial Intelligence (AI) mode makes it possible to get these answers even
design tool. With XROD you can design new rod with little rod pumping expertise.
pumping installations faster than ever before, or
The advantage of XRODs AI mode over ROD-
make changes to existing rod pumping systems
STAR in vertical mode is the built in expertise
by running the program in non-AI mode. It is a
which substantially minimizes the user input
tool that you can use to compare pumping units,
required. After setting up the program one time
pumping speeds, plunger sizes, rods, motor types,
with some basic preferences for rods and pumping
etc. You can evaluate the effect of pump fillage,
unit types to consider, you can simply enter a depth
fluid level, or an out-of-balance unit. Also, you can
and production goal. XROD will utilize your
study the effect of prime mover speed variation,
preferences and find the best system design for the
stuffing box friction, etc. XROD also allows you to
well including the pumpjack size, stroke length,
combine sophisticated rod pumping system model-
plunger diameter, rod string design, pumping
ing with inflow performance data for even more
speed, motor size, etc., all done using a batch pro-
powerful capabilities. The artificial intelligence
cess which also generates a summary spreadsheet
(AI) technology in XROD allows you to get great
with all the best designs listed for each pumping
system designs in seconds with minimum input
unit type.
data.
In the non-AI Mode, XROD behaves the same as
RODSTAR (but with some additional capabili- 1.1 Program Features
ties). XROD remembers the information you type when
XROD is very easy to use, flexible, customizable, you start a case from scratch. You can exit XROD
and fast. With a single click of the mouse, you while in the middle of entering data for a new case,
can access any input screen at any time. You can and XROD will save the data you have entered.
change an input by simply clicking on it, and when This works the same way if your system crashes.
The next time you start XROD, the program will
you have a question, simply press ! for context ask you if you want to resume entering data. If so,
sensitive help for any input item. You can also take you will be returned to the data entry window you
advantage of standard Windows features such as were using when you left XROD, with all the data
being able to copy the dynamometer, torque plots, you had entered already in place. XROD contains
or IPR plots to the clipboard and then paste them data for all common pumps, rod sizes, rod grades,
in any other Windows document. pumping units, tubing sizes, etc. Also, it knows
By taking advantage of the programs powerful when you need slim hole couplings or a thin wall
AI mode, you can save a lot of time and come up pump, what rods fit in the tubing size you selected,
with better answers as compared to RODSTAR in the maximum recommended pumping speed for
vertical mode. This makes it possible to optimize any system design, etc. When running XROD
rod string designs, find out the pumping speed in AI mode, the program will design all of these
and plunger size you need for a target production, parameters for you.
2 |Introduction

XROD can read well files created with ROD- other useful information. Also, XROD, in non-AI
DIAG, XDIAG (Theta Oilfield Services, mode, allows you to enter inflow performance data
Inc.s diagnostic computer programs) and CBAL- so that you can easily design a pumping system for
ANCE or XBAL (Theta Oilfield Services, any pump intake pump intake pressure, calculate
Inc.s pumping unit balancing programs). XROD the expected production rate, pump intake pressure
can read all the data contained in a RODDIAG and pump condition for any rod pumping system,
or XDIAG file, including the measured dyna- find out the maximum production rate you can get,
mometer card. This allows you to redesign pump- and more.
ing systems without having to reenter system Also, in contrast to the conventional trial and
data. XROD can display and print the measured error system design, with XROD you can simply
dynamometer card overlaid on the same plot as enter the pump depth and a target production and
the predicted surface dynamometer card (in the the program simultaneously recommends the best
non-AI mode). This feature has many uses that system designs for each pumping unit type you
include finding the correct rod-tubing friction, or selected in Setup. It calculates strokes per minute,
determining whether the load cell used to record plunger size, rod string design, motor size, etc. It
the dynamometer card may be out of calibration. recommends the best pumping unit size you need
XROD will not read XROD files unless it is in the for each manufacturer based on the target produc-
AI Mode. The program switches from RODSTAR tion you entered. Or, you can enter IPR data and
(non-AI mode) to XROD using the AI button have XROD calculate the target production and
on the toolbar and XROD files are not compatible design the system for that target production.
with RODSTAR. If you attempt to open ROD-
STAR files while in AI mode XROD will prompt XROD comes with a large pumping unit database
you to switch to non-AI mode in order to work so that you can easily select and compare pumping
with these files, and vice versa. units without having to get the unit dimensions
yourself. XROD can model any pumping unit
By being able to read CBALANCE/XBAL files, geometry including long stroke units such as the
XROD can get the existing maximum counter- Rotaflex. Also, you can enter your own pumping
balance moment based on the existing position of unit data in case your unit is not in the programs
the counterweights. This eliminates the need for a database. Advanced error trapping and warning
field measurement of counterbalance effect. Also, messages help prevent errors and make you aware
you can enter the calculated balanced maximum of special requirements necessary for proper system
counterbalance moment back into CBALANCE/ operation.
XBAL to find out how to balance the pumping
unit in one step. It is important to remember that XROD was cre-
ated with the idea of reducing the required input
XROD can simulate any pumping system and can to the bare minimum of pump depth and target
accurately predict its performance. For a system production when in the AI mode. The program
you specify or ask the program to design for you will design the whole system for you from this
in the AI mode, the program predicts the sur- information and for each pumping unit type you
face and downhole dynamometer cards. Also, it selected in the AI Mode Preferences in Setup. In
calculates the peak gearbox torque and gearbox order to input any other data you must click the
loading, structure loading, rod loading, pump AI button to exit AI mode. When you do this,
stroke, minimum required pump length, plunger XROD will behave like RODSTAR and it will
length, pump spacing, expected production rate, require the same input data as RODSTAR.
the counterbalance needed to balance the unit, the
prime mover size, overall system efficiency, daily
energy consumption, monthly electricity bill, and
XROD| 3

1.2 Advanced Capabilities and help for any input field by simply pressing the !
key. Also, you can search help for any other item.
Program Limitations
XROD has many advanced features that enable
you to accurately predict system performance for
any rod pumping system. It can simulate wells of
1.4 XROD CD and Software
any depth including very deep or shallow wells.
XROD, like RODSTAR can model fluid inertia
Sentinel
effects that are present in wells that pump incom- The XROD program installation CD contains
pressible fluids with larger than 2.00 plungers many compressed files that the installation pro-
from depths of less than 4000 feet. gram copies to the hard disk of your computer.
Some of these are useful to know about. These are
By calculating the minimum stress at the bottom located in the same folder where you elected to
of each rod section, XROD shows whether the install XROD. The default is C:\Program Files\
rods are in compression or not. This is vital for Theta\RODSTAR or C:\Program Files\Theta\
fiberglass rods which must never be in compression XROD.
to avoid premature failures. This is also important
for steel rods since excessive compression can cause
buckling failures. File Name: Explanation:
XROD can model the effect of prime mover speed XRODV.EXE The program file for
variation and pumping unit inertia and can ac- XROD. It is the file
curately calculate electricity consumption and the that your Desktop Icon
runs when you double-
monthly energy bill. Because XROD uses actual click it.
motor efficiency curves, the results are very ac-
RODSTAR.CDB Contains the costs for
curate. You can use this capability to compare the both rods and pumping
energy consumption of systems with different rod units. Once you create
designs, plunger sizes, or pumping unit types. this file by entering rod
and pumping unit cost
XRODs Inflow Performance Relationship (IPR) data, you can provide
capabilities allow you to select the IPR relationship copies to other users in
you want XROD to use (Vogel or Fetkovich), you your company.
can enter one to ten test points, and can integrate CUSTOM32.PUD This file contains the
IPR and rod pumping system models to predict measured pumping
the maximum production rate possible, the fluid unit information you
level and pump condition for a given pumping entered in Setup. Once
you create this file, you
speed, or the target production for any fluid level can distribute copies
or pump intake pressure you want. to other users in your
company.
Because of all these features, XROD has virtually
no limitations and is the most advanced and easiest
to use program of its kind.

1.3 Help System


XROD takes full advantage of Microsoft Win-
dows to bring you state-of-the-art context-sensitive
4 |Introduction

Files ending in .PUD The programs pumping


unit database. When
updates are announced
on our Website for new
pumping units that
have been added, you
can download a zipped
file that contains addi-
tional PUD files to add
to your folder.
Files beginning with Several files are in-
demo_ cluded that are example
cases to demonstrate
the program functions.
During installation,
there are copies of these
files placed in the folder
used when opening
case files.
Files ending in .RST Case files saved by
RODSTAR release
prior to 3.0.
Files ending in .RSVX Case files saved by
RODSTAR in vertical
mode.
Files ending in .XRVX Case files saved by
XROD in AI mode.
Files ending in .RDG Case files saved by
RODDIAG.
Files ending in .XDG Case files saved by
XDIAG.
Files ending in .CBL Case files saved by
CBALANCE
SENTINEL.INI For installations using
a Network license, this
file is located in the
program folder on the
client PC and has the
name or IP address of
the license server being
used.

The XROD program is protected and cannot run


without a software sentinel supplied by Theta
Oilfield Services, Inc.. See Chapter 2 for details on
how to install the software sentinel.
XROD| 5

2 Software Installation

Before you install the program, make sure you Theta\XROD directory. If your previous copy of
have the hardware and software you need to run XROD is in another directory, you can specify to
XROD install over it. It will not replace any of your case
files, just the old version of the program.
The installation defaults to setting C:\THETA
2.1 XROD Installation as the common folder for your case files. Using a
common folder is a good idea since several of the
XROD is installed from the Theta Software Suite Theta Enterprise applications that you might have
installation CD that you received or from the can all share the same case files.
installation file you download from our web site.
Load the CD onto your PC and the installation Although a new version of XROD can read files
program should load automatically. Or, if you created with older versions, an older version of
downloaded a stand-alone installation file, double XROD cannot read files created with a new ver-
click on its name. After the Welcome screen you sion of the software.
will have three options for whether you are using What happens to files I have created with older
a Network or Standalone license and whether you versions of XROD?
have a USB Sentinel or a Parallel Port Sentinel.
Nothing. When you install or reinstall XROD,
After selecting the proper choice, the next screen
only program files are replaced. The latest version
will prompt you for the programs to install. That
of XROD saves files in the XML file format but
screen also has a button that lets you display and
can read files created with older versions of XROD
print the detailed Installation Guide for your spe-
as well.
cific installation.
What happens to the Setup Settings from previ-
After installing the program, put your original CD
ous versions?
away in a safe place. If the Software Installation
If the previous version is not very old (before the
Suite CD becomes damaged or lost, please call
new setup options were developed) then your set-
Theta Oilfield Services, Inc. at (562)694-3297 for a
tings will be preserved.
replacement.

2.2 Questions About Installation 2.3 Installing the Software


The following are some answers to questions you Sentinel
may have about installing XROD. Your XROD license is validated and protected
Do I need to delete earlier versions of XROD by a security bitlock called a Sentinel. For Stand-
before I install? alone installations, this is either a USB key or a
Parallel Port key that is attached to your PC. For
No. When updating versions of XROD, the pro-
Network Licenses, the key is attached only to the
gram defaults to install to the C:\Program Files\
6 | Software Installation

Network License Server. See the Detailed Instal-


lation Guide that is available for printing from the
Software Installation Suite CD.
Theta Oilfield Services, Inc. uses SafeNet sentinels
for software protection. USB type sentinels can be
plugged into any available USB port or hub on the
PC. Only one sentinel is needed to support mul-
tiple products on a standalone PC or on a network
server.
XROD communicates with the sentinel and al-
though the program can be copied, it will not op-
erate without a sentinel supplied by Theta Oilfield
Services, Inc..
If the sentinel is not installed correctly, the pro-
gram will warn you that the sentinel does not ap-
pear to be connected. If this occurs, make sure the
sentinel in properly installed and the connection is
not loose. If the sentinel is properly installed but is
not working, it may have been damaged. Frequent
plugging and unplugging, and static electricity can
damage the sentinel. If this occurs, contact Theta
Oilfield Services Inc. to determine if you need a
replacement. Do not discard the damaged sentinel.
Even if it is damaged, you must return it to Theta
Oilfield Services, Inc. before a replacement can be
sent out. When XROD first starts, it reads and
displays the serial number of your sentinel on the
opening screen.
XROD| 7

3 Starting and Setting Up XROD

3.1 Starting XROD 4. Choose the OK button.

The XROD installation program will put an Icon After you do the above steps then to load and run
on your Desktop and an entry in your Start Pro- a RODSTAR file from the File Manager, simply
grams for access to XROD. To start the program, double click on it.
simply double-click on its icon. XROD has a getting-started window, shown in
You can also start XROD from the File Manager Figure 3.1, that appears whenever you start the
by double clicking on XRODV.EXE. Also, the program. The window shows the most common
Windows File Manager allows you to associate toolbar icons you need to know to begin using
files with applications. When you associate a file XROD.
with an application, you open the file and start the
application at the same time.
For example, to associate RODSTAR files (with 3.2 Exiting XROD
an .RSVX file name extension) with XRODV.
To exit XROD, double click on its Control-menu
EXE, do the following:
box (upper left hand corner) or select File and then
1. From the File manager, go to a directory that Exit. Another way to exit XROD is to press A+
contains XROD files and double-click on one
of these files. $. Before exiting XROD make sure you have
stored your data to disk (XROD asks you if you
2. If the file is not
already associated
with XROD windows
will let you know and
ask you to select the
program from a list.
Make sure this option
is selected and click
on the OK button.
3. Click on Browse, go
to the directory where
XRODV.EXE resides
(typically, it will be
in C:\Program Files\
Theta Enterprises\
XROD, and double
click on it.
Figure 3.1 - The Getting Started Window
8 | Starting and Setting Up XROD

Figure 3.2 - XRODs main window

want to save the data when you exit, if you have menu commands to resize, move, maximize, mini-
changed your data since the last time you saved it). mize, and close windows. Also, you can use it to
Otherwise it will be lost. switch to other applications. (If you use a mouse,
you can perform these tasks by clicking and drag-
ging.) Double-clicking on the control menu box
The XROD Window closes XROD.
Figure 3.2 shows the XROD window that appears The title bar shows the name of the application and
when you start the program. XROD behaves like the name of the file currently in memory. If more
any other standard Windows program. You can use than one window is open, the title bar for each
the mouse to move and size windows, move and active window (the one that you are working with)
restore icons, select text, choose commands from is a different color or intensity than the other title
menus, and dialog boxes, and complete almost any bars.
other task in XROD aside from typing text. The menu bar lists the available menus. A menu
Following is an explanation of the parts of the contains a list of commands, or actions, you can
XROD window as shown in Figure 3.2. carry out with XROD. For example, click on the
Help menu to see a list of helpful choices.
The control-menu box is in the upper-left corner
of each window. The control menu is most useful The Minimize button reduces XROD to an icon.
if you use the keyboard. You can use the control After you minimize XROD, you can reopen it by
XROD| 9

double clicking on the XROD icon at the bottom


of your screen.
The Maximize button causes the XROD window
to fill the entire screen. After you maximize the
XROD window, the maximize button shows a
double box and is called the restore button. Click-
ing on the restore button re-sizes the XROD win-
dow to the size it was before you maximized it.
Figure 3.3 - Tool Tip Example
Using the mouse you can resize XRODs main
windows. When you resize XRODs window to a
New file - This is the first button on the toolbar
size smaller than required to display all informa-
and shows a picture of a blank page. Click on this
tion, it will display vertical or horizontal scroll bars
button to start entering data for a new case.
as necessary. You can use these scroll bars with the
mouse to view unseen portions of entry windows Open file - This is the second button on the toolbar
that do not fit in the allotted space. and shows the standard open file icon used by most
Windows programs. Click on this button to read a
The Close button causes XROD to exit. Its easier
RODSTAR, XROD, RODDIAG, or XDIAG file
to click the Close button once than to select Exit
that was previously stored on disk.
from the File menu.
Save file - This is the third item on the toolbar and
The Status bar shows useful messages during data
shows a picture of a diskette. Click here to save
entry, when you load a case from disk or when you
the data in memory to disk. If this is the first time
point to a toolbar icon. The status bar is located at
you are saving this case, XROD asks for a new
the bottom of the main window.
file name. After you save a file, or after you load
The toolbar gives you quick access to menu com- a file from disk and make changes to it, click on
mands using your mouse. When you first load this button to quick-save the data under the same
XROD, only some of the buttons on the toolbar file name. To save it under a different file name
are active. When you enter data or read a file from click on File on the menu bar and then select Save
disk, then the print button and all the buttons that As....
correspond to input windows become active. If you
Setup - This is the fourth item on the toolbar.
load a file that contains output then the report icon
Click here to see XRODs Setup window. This
also activates. Otherwise, if the file contains only
allows you to specify inputs and preferences that
input then the report icon remains inactive until
normally do not change often such as: your com-
you run the case. For a quick reminder of what
pany name, electricity cost, units of measure,
each toolbar button does, simply place the mouse
standard sucker rod length, custom sucker grades,
pointer on it. A small message box called a tool
measured pumping unit data, pumping unit and
tip appears that tells you what the toolbar icon
sucker rod cost, batch run options, printed report
does (see Figure 3.3). Also, the status bar shows
options, and custom summary spreadsheet formats.
more information about the same tool bar item.
Well information - This is the fifth item on the
Following is a more detailed explanation of each
toolbar and shows a picture of a file cabinet. Click
button on the toolbar from left to right:
here to open the well information window. When

Figure 3.4 - XRODs toolbar when in non-AI mode


10 | Starting and Setting Up XROD

you first load XROD this icon (and the next five Run - This item follows the arrow icon on the
icons) is inactive until you enter well information toolbar and shows a picture of surface and down-
data or until you load a file from disk. The file hole dynamometer plots. Click here to run XROD
information window contains data such as pump after entering all your data or after you change an
depth, run time, pump condition, tubing and cas- input.
ing pressures, fluid gravity, etc. Report - This item follows the run icon on the
Production information - This is the sixth item on toolbar and shows a picture of a printed page.
the toolbar and shows a picture of a barrel. Click Click here to view the output in memory. This
here to open the production information window allows you to view the output saved in a file you
that has data for items such as fluid level, pump just loaded from disk, or to return to the output
intake pressure, target production, IPR data, etc. screen. If this button is inactive (dimmed) it means
that there is no output report in memory. To make
Pump and tubing information - This is the seventh
it active, run the case, or load a case with saved
item on the toolbar and shows a picture of a down-
output.
hole pump . Click here to see data for tubing size,
pump type and size, tubing anchor depth, rod-tub- E-mail Icon - Click on this icon to e-mail one or
ing friction, and fluid inertia effects. more cases to Theta Oilfield Services, in case you
have questions.
Rod string information - This is item eight on the
toolbar and shows a picture of a sucker rod. Click Print - This button follows the Report button on
here to open the rod string information window. the toolbar and shows a picture of a printer. Click
This is where you specify what kind of rod string it to send the output to the printer.
you want XROD to design for you. Also, you can If you have entered data for a case, but havent run
enter your own rod string design, specify the ser- the calculations yet, you can get a printout of your
vice factor you want to use, etc. input data by itself. You get the same one-page
Pumping unit information - Click here to open output, except that only the input data appears on
the pumping unit information window that has the page.
data for pumping unit type, crank rotation, stroke The Print command on the File menu allows
length, structural unbalance and counterbalance you to select exactly which parts of the output you
data. want printed. For more information, see section
Motor information - This icon shows a picture of 3.3.4, Output Options under Setup.
a motor. Click here to open the motor information Export CBM - This item is second from last on the
window that has data for electricity cost, power toolbar and shows a picture of a crank and coun-
meter type, motor type and size, moments of iner- terweight. This button becomes active after XROD
tia and whether to include motor speed variation. runs or after you load a file with saved output.
Previous window - This icon shows an arrow Click it to place the maximum counterbalance mo-
pointing to the left. Click it to go back to the pre- ment for balanced conditions on the clipboard for
vious input window. use in CBALANCE or XBAL.
Next window - This shows an arrow pointing to Automatic Batch - This enables the batch mode set-
the right. Click here to advance to the next win- ting. If not set up it will redirect you to the setup
dow when entering data for the first time or when option for this feature.
you are changing data. Help - This is the last item on the toolbar and
AI Mode - Click on this icon to change between shows a picture of a question mark. Click this but-
AI and non-AI (RODSTAR) modes. ton at any time to get help.
XROD| 11

Visual Input - This al-


lows you to select what
system variable you
want to change using a
visual depiction of a rod
pumping system. Right
click to select a specific
item to change and then

left-click on the specific


item.
Alphabetical List - This
shows an alphabeti-
cal list of all the input
parameters. Selecting
any of these parameters
and clicking ok will
bring up the window in
which you can modify
this input. Figure 3.5 - XRODs Setup window

The measured pumping unit data you enter is saved


3.3 Setting up in the CUSTOM32.PUD file in the program
directory; the cost data you enter for rods and
XROD pumping units is saved the RODSTAR.CDB file
Click on the Setup button on the toolbar to open in the program directory. XROD stores all other
XRODs Setup window. Another way to access information you enter in Setup in the registry.
Setup is to open the
Tools menu and then
select XROD Setup.
This window which is
shown in Figure 3.5
allows you to enter
items that do not
normally change from
run to run. Also, Setup
allows you to customize
XROD by entering your
company name, default
electricity cost, custom
rod grades, measured
pumping units, rod
and pumping unit cost
data, and a lot more. Figure 3.6 - Help for XRODs setup
12 | Starting and Setting Up XROD

It is recommended to save
a file with your personal
settings because you have
the option to convert your
settings to the settings
saved on a file. If you wish
to duplicate a run, one of
your colleagues created,
you can use the settings
from the file. To restore
your settings you can load
your saved file and follow
the prompts to load the
settings from your saved
file.
You can access the help
menu for helpful tips when
setting up XROD. This
menu contains three tabs
to navigate the help topics
and a fourth tab for help Figure 3.7 - Setting up default quantities for XROD
with terms (Glossary).
For context sensitive
help simply press the F1
key while in the field in
question. The help menu
will automatically open up
to the help topic pertaining
to that field. You can
manually search the topic
using the Contents tab or
use the search tab to input
a specific term and search
for help topics related
to that term. Figure 3.6
shows the help feature for
the XROD Setup window.

3.3.1 General setup options


Measurement Units
For measurement units you
can select English, Cana-
dian, or Metric/SI. Eng- Figure 3.8 - Selecting output options
XROD| 13

lish units are mainly used in the USA and South Pump efficiency
America. If you select this option XROD will ask Pump fillage
for pump depth in feet, production rate in BFPD,
plunger and rod diameters in inches, etc. The Pump load adjustment
Canadian option provides you with the common Run time
mix of English and Metric units used in Canada.
The Metric/SI option will cause XROD to use Standard steel sucker rod length
Metric/SI units for most inputs. Regardless of the Steel rod service factor
units you select, you can press @ while entering Stuffing box friction
numeric data to convert from one system of units
Tubing pressure
to the other. When you press @ to convert units,
the background of the input field box changes User name
color from light blue to light green. Water cut
Water specific gravity

3.3.2 Defaults and Limits The program uses the standard steel sucker rod
length (typically 25 or 30 ft.) to calculate steel rod
The Defaults input window in Setup for XROD string section lengths that are evenly divisible by
is shown in Figure 3.7. Here, XROD allows you it. This works whenever XROD designs the rods
customize the default information used by the
program when you
begin entering data for
a new case. You can also
change the rod stress
loading limits used by
XROD in a steel or
fiberglass rod design,
so that XROD will use
larger rods rather than
exceed the loading lim-
its you specify.
Any of the following
items can be custom-
ized:
Casing pressure
Company name
Electricity cost
IPR correlation
Motor type
Oil gravity
Plunger size
Pump condition Figure 3.9 - Cover Page Editor Window
14 | Starting and Setting Up XROD

string (when XROD calculates a steel rod string in the setup window. Second Company fields hold
taper design, whether for a steel rod string, or a this information. This page may also be edited
tapered steel rod section beneath a fiberglass.) For using the comments button on the well informa-
Corod rod strings, XROD ignores this number. tion window. When clicking this button you will
For fiberglass rods, the program uses the standard find the input window for the cover page, refer to
length of 37.5 feet. Figure 3.9. This page is regenerated when viewing
the report so that you can run a case and edit the
cover page to comment on the results of the run.
3.3.3 Output Options The cover page window contains input fields for
your company information labeled My Company.
XROD gives you full control over what is shown
The recipient of the document is labeled Customer
on the printed output. Using the Output Options
Company. Special buttons have been created to
tab in Setup, shown in Figure 3.8, you can select
automatically insert comments from other parts of
the items you want included on the output. The
the program which include Add Well Informa-
options you select here are the items printed by de-
tion Comment, Add Rod String Information,
fault when you select Print from the File menu,
and Add Setup/Defaults Cover Page Comment.
or use the Print toolbar button. You can choose
An example of a completed cover page is shown in
from among the following:
Figure 3.10.
Cover Page
Input data and calculated results.
This option prints a page showing all the company
This option prints one page showing all the input
data of the user and recipient of the results output.
data and the results of the calculations, as well
To insert this information, select the defaults tab
as miniature predicted dynamometer and torque

Figure 3.10 - Cover Page


XROD| 15

plots. us take a look at each of these items:


Cost analysis. Customize Pumping Unit List
This option prints both the rod string and the This option allows you to customize the list of
pumping unit costs. You must already have entered units displayed by the program at the pumping
the costs into XRODs cost database (see section unit selection window (non-AI mode) when you
3.3.6, Cost Database, on page 23 for more infor- select the option Use custom pumping unit list.
mation). Here you can select the pumping unit manufac-
Inflow performance (IPR) chart. turer and the pumping unit sizes you have for each
manufacturer in the field. After you customize the
Selecting this option gives you an additional page
pumping unit list, you can select pumping units
with the IPR plots, the IPR data including the test
faster since the program will only show the units
points, and a table of pressure versus production.
you have in the field instead of displaying all the
pumping units in the pumping unit database. As
Dynamometer cards and Torque Plots mentioned above, you need to select the option
Use custom pumping unit list in the pumping
Selecting this option prints a separate single page unit input window to see the custom list.
containing the predicted surface and downhole
dynamometer cards with the predicted permissible Also, when running XROD in AI mode, you can
load diagram. It also prints the net gearbox torque select the option to use the customized pumping
plots for existing and balanced conditions on the unit list only by selecting this option in the AI
bottom half of the page. The dynamometer card Mode Preferences window in Setup. This saves you
plot may also show the actual (measured) surface time by minimizing the time and effort required
dynamometer card (if you loaded a RODDIAG or to select a pumping unit. For example, if you only
XDIAG case into XROD). have 12 different sizes of Lufkin Conventional, 10
sizes of Mark II, and 14 American Conventional
Overlay actual (measured) dynamometer unit sizes, you can setup XROD to show only
card. these units in the pumping unit selection screen.
If you load a RODDIAG or XDIAG case into To customize XRODs pumping unit list, do the
XROD in the non-AI mode, the program can plot following:
the surface dynamom-
eter card that was stored
in the RODDIAG or
XDIAG file on the same
plot as the predicted
dynamometer card.

3.3.4 Pumping Unit


Options
Under this item, there
are two sub-items,
Customize Pumping
Unit List, and Measured
Pumping Unit List. Let Figure 3.11 - Customizing the pumping unit database
16 | Starting and Setting Up XROD

1. Click on the +
symbol on the left
of Pumping Unit
Options. Then,
click on Custom
pumping unit list.
This opens the
window shown in
Figure 3.11.
2. Drop down the
manufacturer list
by clicking on the
down arrow next to
Manufacturer:
3. Select a manufac- Figure 3.12 - Selecting a manufacturer
turer you want to
add to your custom drag it from the list on the left, and drop it
pumping unit list as shown in Figure 3.12. If in the list to the right. Or, you can click on a
this is a new manufacturer for the custom list, unit once and then click the Remove>> but-
all available pumping units will appear in the ton (in the middle of the screen). To make sure
window on the right side of the screen. you select the correct pumping unit, highlight
it (click on it once with the mouse) and the
4. You can select the units to include in the Name: and Other: fields on the bottom of the
custom pumping unit list using drag and drop. screen will show additional information about
To add a unit from the list of available units the pumping unit as shown in Figure 3.13.
to the custom database list, you simply drag This is especially useful for manufacturers (for
(click on it with the mouse and hold the left example, American conventional) who have
mouse button while moving it) the units you more than one unit with the same designation
want from the list on the right to the custom but different crank types. In such a case, the
list on the left. Or,
you can click on a
unit once to select
it, and then click on
the <<Add button
(in the middle of
the screen). The
program automati-
cally arranges the
units in the proper
order (largest stroke
length and largest
gearbox size first).
5. To remove a unit
from the custom-
ized list, simply Figure 3.13 - Customizing the pumping unit database
XROD| 17

Other: field shows


the crank type of
the unit or other
information that
helps identify the
pumping unit type.
This is not the only
way to custom-
ize the pumping
unit database. As
discussed in the
section dealing with
the pumping unit
information screen,
you can also select
a unit you want to
add to the custom-
ized unit list by first
selecting it from
the full database
and then selecting
to use the custom
Figure 3.14 - Entering custom pumping unit information
pumping unit
list. At that point 1. Click on Measured Pumping Unit List.
XROD will ask you if you want to add this
unit to the custom pumping unit database. If 2. Click on the + symbol (on the left of the pen-
you do, then select Yes. cil symbol). This will open the window shown
in Figure 3.14.
6. After you are done customizing the pumping
unit list, click on 3. Enter the data in this window starting with the
OK.
Measured
Pumping Unit List
Here you can enter data
for pumping units that
are not in XRODs main
database. If you have the
dimensions you need
for these units you can
enter them here to make
them a permanent part
of your XROD software.
To enter dimensions for
a pumping unit, do the
following: Figure 3.15 - Custom pumping unit help
18 | Starting and Setting Up XROD

pumping unit manufacturer name. rod as shown in Figure 3.16.


4. Enter the pumping unit data for your pumping 3. You can also specify that this is a sinker bar by
unit. clicking on the Sinker bar option at the lower
left hand corner of this window.
5. When you are done entering data click on
OK. 4. Enter the rest of the information for the rod
you want to add and then click on the OK
If you need help with one of the items you have to
button.
enter, press ! to get context sensitive help on that
XROD allows you to select any of the available
item. For example, if you press ! when you are stress analysis methods. Once you enter a special
in one of the pumping unit dimension input fields, rod grade to the program, it becomes part of the
the program will show you an outline drawing of programs equipment database and it works exactly
the pumping unit with a visual explanation of the the same way as XRODs built-in rod grades.
pumping unit dimensions (see Figure 3.15). To get
more information on any of the dimensions you For example, once you enter a special rod grade,
see, simply click on it with the mouse. For ex- you can enter cost information for it, and you
ample, you can click on the P box to see detailed can select it from the same rod grade menu that
help on the P dimension. Also, you can click on XROD uses for the built-in rod grades.
the See Also hot button to get help for any other The modify (Pencil Icon) and delete (X Icon)
pumping unit related item. options allow you to change or erase custom rod
grades you have already entered.

3.3.5 Rod Grade Options


Entering Custom Rod
Grades
To enter a rod grade that
is not in the programs
database, do the follow-
ing:
1. From the setup win-
dow, click on Cus-
tom Rod Grades.
2. To add a new rod
grade, click on the +
button (to the left of
the pencil icon). This
opens up a new win-
dow where you can
enter the name of the
rod you want to add,
the tensile strength,
and the stress analy-
sis method you want Figure 3.16 - Entering custom rod grade information
XROD to use for this
XROD| 19

3.3.6 Cost Database


When you click on this
item in Setup, XROD
displays a window,
shown in Figure 3.17,
that allows you to enter
or change pumping unit
or rod string costs. To
enter or change pump-
ing unit costs select
Pumping unit costs
This makes the window
change by showing a
drop-down list box that
you can use to select the
pumping unit manu-
facturer. As shown in
Figure 3.18, after you
select the manufacturer,
XROD displays a mini-
spreadsheet that you can Figure 3.17 - Cost Database Setup Window
use to enter pumping
unit costs. To enter the you see. Simply enter the cost only for the rod
cost for a pumping unit,
click on the cell to the
right of the pumping
unit and enter the cost.
When you are done
entering pumping unit
costs for the pumping
units you want, click on
OK.
Or, if you want to en-
ter rod string cost data,
Select Rod string costs
and then select the rod
type and rod grade.
XROD will display a
mini-spreadsheet for you
to enter the cost per foot
(or per meter) for each
rod diameter as shown in
Figure 3.19. You do not
have to enter cost data Figure 3.18 - Pumping unit cost database
for all the rod diameters
20 | Starting and Setting Up XROD

grades and diameters you


use.

3.3.7 Batch Mode Options


XROD runs a batch pro-
cess automatically when in
AI mode. This will be ex-
plained in more detail in
the AI Mode Preferences
section of this manual.
The following explains
the use of the batch utility
when operating XROD in
non-AI mode.
When you click on this
tab, XROD displays a
setup page that allows
you to choose different
options relating to the Figure 3.19 - Entering rod string cost in Setup
batch run capabilities of
XROD. The top portion If you check the Create summary spreadsheet
of this input window al-
lows you to select whether
you want XROD to print
the results of each case it
runs in batch, whether to
create a summary spread-
sheet file, or whether to
rerun cases that contain
saved output. Also, it lets
you choose what action to
take when you load a file
that contains custom rod
grades as shown in Figure
3.20. For example, if you
want to update the setup
information with the data
in the file, then select the
option Update Setup
with files information.
If you check the Make
Printouts check box,
XROD will print out ev- Figure 3.20 - Batch mode options
ery case you run in batch.
XROD| 21

check box, XROD will


summarize the results
of all the files you run
in batch in a Excel
spreadsheet file. If you
select the option View
spreadsheet file, after
you run several cases
with the batch pro-
cess, the program will
automatically create an
Excel spreadsheet and
will load it into Excel
automatically.
Figure 3.21 - Spreadsheet setup
If you check the Dont
re-run cases with saved summarizes the values he is interested in. Later
output check box, XROD will not rerun cases Paul can run the same cases in batch mode and
that have saved output. When you run XROD in create a spreadsheet with the items he is interested
batch mode, XROD saves the output in the same in which are different that Johns. Since John ran
file as the input data. Also, when you run one case all 20 cases, the files now contain both input and
at a time, you can save the output by saving the calculated results. When Paul runs the same cases
file to disk when you are looking at the output. in batch, he checks the Dont re-run cases with
The option to avoid
rerunning cases that
contain output is use-
ful when you want to
create more than one
spreadsheet file using
different spreadsheet
formats. Once the files
have been run with
batch, each file will
contain all the output
calculations.
For example, let us
assume that there are
two different users
(John and Paul) who
are running XROD
and they each have
their favorite spread-
sheet formats. John
can run 20 cases in
batch mode and cre- Figure 3.22 - AI Mode Preferences
ate a spreadsheet that
22 | Starting and Setting Up XROD

saved output option to save time. Since the out- the <<Add Before or <<Add After buttons in the
put results are already saved in the XROD files, middle of the screen. However, using the mouse is
Pauls batch run will proceed very quickly since all much easier. After you are done designing the for-
XROD has to do is extract the calculated values mat of the spreadsheet, you can save it by entering
that Paul specified in his spreadsheet format from a name for it in the Format name: field at the bot-
these 20 cases. tom of the screen. Then click OK to return to the
previous screen. From here, you can create another
Creating and/or Changing spreadsheet formats spreadsheet format, or modify or delete one of the
As shown in Figure 3.20, you can click on the existing formats.
+ icon at the Spreadsheet Setup section of the To modify an existing format, click on its name
batch window to add a new batch spreadsheet for- and then click on the edit icon (pencil). Or, to de-
mat (design of the spreadsheet). Also, this section lete an existing format, highlight it, and then click
lists the spreadsheet formats you have saved. To on the delete icon (X).
use one of these spreadsheet formats for your next
batch run, highlight it by clicking on it and then The format you select in this part of the program
click the OK button to exit Setup. by clicking on the format name will also be used
by XROD when it runs in the AI mode.
If you have not created any spreadsheet formats,
the only format that appears is the (Default)
format that XROD will use when you run it in 3.3.8 AI Mode Preferences
the batch mode and choose to create a summary
spreadsheet file. To create a new spreadsheet for- XROD uses these preferences when finding the
mat click on the + button. This opens the spread- best designs for each pumping unit type. Figure
sheet setup window that you see in Figure 3.21. 3.22 shows the AI Mode Preferences window.

The list on the left side shows the columns that In the Rod Preferences section, you have the
are in the spreadsheet now and their order. The option of running with either steel rods only or
list on the right shows additional variables you can fiberglass with steel on the bottom of the string.
add to the spreadsheet. You can use drag and drop There is a drop down to select your preferred high
to move an item from one list to the other. For strength rod type, fiberglass rod, and sinker bars.
example, to add rod string cost as the last column The high strength rods you select will be recom-
in the spreadsheet, locate it on the table on the mended only if API grades C or D are overloaded.
right (variables are listed in alphabetical order) and XROD can design the sinker bar section for you,
drag it (click and hold while moving with the left and has an option to convert to no-neck bars if
mouse button) to the other side. When you drag needed (if regular sinker bars with elevator necks
a value into the table on the left, the cursor shows are overloaded). There is also an input field for the
an arrow that shows where this new value will be service factor to use in the calculations.
added. After you drop the new item in the spread- Another option is to select to use your customized
sheet table, it remains highlighted. Then, to move pumping unit list (if you created one) to find if any
it up or down in the list click on the Move Up or of the pumping units you have available can be
Move Down buttons below the list of spreadsheet used to get the target production you want.
variables. Or, you can click on the Remove>> but-
When you select to use the customized pumping
ton to send the highlighted variable back to the
unit list, the program will automatically check
Available values list on the right.
the different pumping unit manufacturers it finds
Another way to add items to your spreadsheet is by in your customized list and will automatically
highlighting a value on the list on the right, high- list them and select then in the AI Mode Prefer-
lighting a value on the list on the left, and clicking ences window. Also, you can choose to use the
XROD| 23

general pumping unit list if needed (for example,


if you customized list of units does not contain the
pumping unit size needed for your target produc-
tion).
Rod tubing friction has a special section in
XROD. You can select to use average friction coef-
ficients for upstroke and downstroke, or a multiple
of the average for high friction applications such as
wells with paraffin, scale, or deviation.
You can also select the power meter type you have
and whether to use motor speed variation in the
calculations.
Please note that XROD automatically recommends
a NEMA D motor size only. If you want to use an
Ultra high slip motor, from the batch run log of
XROD, double-click on the design you want, then
switch to non-AI mode and then you can change
the motor to a different type and run the case
again.
XROD| 25

4 Running XROD

To start XROD, double click on its icon. After XRODs interface has most of the elements that
a few seconds you will see XRODs introductory are common to all Windows programs. For exam-
window and then the XROD main window. When ple, all Windows programs have a menu bar with
XROD first loads, only the new file, open file, drop-down menus and a control menu box at the
setup, and help buttons are active on the toolbar. If top left corner. You can access all menu items using
you have not set up XROD then do so before en- either the mouse or the keyboard. Using the mouse
tering a new case (see Chapter 1 for information on is by far the easiest way.
setting up RODSTAR). It is especially important
When selecting an item from a menu, visual clues
to go to the AI Mode Preferences after you click
tell you what will happen next.
on the Setup icon on the toolbar to select the rod
type, your preferred high strength rods and pump- An item followed by no markings starts an
ing unit manufacturers to consider, etc, since these action. (For example, click on File and then click
are the options the program will use when running on New.
in the AI mode. An item followed by an ellipsis (...) needs
more information before taking action; normally,
the additional information is entered into a dia-
4.1 XRODs User Interface log box. (For example, click on File and click on
Open)
XROD has a user-friendly interface that simplifies
and speeds up data entry. The program uses stan-
dard Windows features along with
other unique features we designed
to make entering and changing
data as easy as possible. Figure
4.1 shows how to access the most
recently saved files and select the
file you want to load into XROD. If
you are not familiar with Microsoft
Windows, please take some time
to study your Windows manual.
Teaching you how to use Windows
is beyond the scope of this manual
(although many Windows proce-
dures are explained). By taking the
time to understand and learn how
to use Windows, you will be able to
Figure 4.1 - The most recently saved file list
effectively use not only XROD, but
any other Windows program.
26 | Running XROD

An easy way to load files you recently saved: production before running the program. Also,
when you load a RODDIAG or XDIAG file in
XROD has a most-recently-used file list on the
the AI Mode, the program will ignore the existing
File menu, as shown in Figure 4.1. Selecting the
system data other than data from the first input
Recent Files sub-menu will show you up to nine
window and target production and will recom-
of the most recently accessed files. A file is placed
mend new system designs for each pumping unit
at the top of the list whenever it is loaded, or saved
type you selected in the AI Mode Preferences in
with a new name. This list can also be accessed by
Setup.
clicking on the drop-down button on the toolbar
to the right of the open file icon.
You can only open XROD files in the AI Mode. 4.1.1 XRODs Help System
When in AI Mode you can also open all ROD-
STAR file types and also RODDIAG and XROD has a powerful help system that provides
XDIAG files. However, when loading XDIAG or context sensitive help for every input item. It al-
RODDIAG file, please remember to enter a target lows you to locate help on any subject relating to
system design and simulation. It even includes a
complete artificial lift glossary that provides in-
stant access to definitions for hundreds of artificial
lift terms. Also, the help system helps you learn
how to use it by including extensive help on itself.
Click on the Help drop-down menu to see the
Help menu choices which are:
Contents..
Index..
Search..
About XROD..
To see XRODs version number, and your senti-
nels serial number, click on About XROD.
Click on Contents to see a list of items XROD
can provide help for. As you can see, XROD shows
text and pictures in its help screen. For example,
XROD displays a picture of the toolbar and in-
structs you to click on the button you want help
for. Using the mouse, you can resize or move the
Help window.
Next, click on Help and then click on Glossary to
see an alphabetical listing of artificial lift terms. To
see the definition of any of the terms in the glos-
sary, click on it. For example, click on API grav-
ity to see a definition. Also, you can click in the
Figure 4.2 - RODSTARs Artificial list of items in the Glossary and then type a letter
Lift Glossary to go to the terms that start with that letter. For,
example, to find the definition for Permissible load
XROD| 27

Figure 4.3 - XRODs Well Information window

diagram, press P and then click on Permissible double click it before typing in it.
load diagram. If an input window contains a name that is
XROD has context sensitive help for each input made up of more than one word, double click any
item. To access the help, simply press ! while in word to select it. Then, to replace it, simply type a
the input field in question. new word.
To enter rod system data in XROD for the first
4.2 Entering Rod Pumping System time, click on the first icon on the toolbar or open
the File menu and select New. This opens the
Data into XROD, AI mode Well Information input window, shown in Figure
4.3. You can move this window with the mouse by
XROD has greatly simplified the rod pumping dragging it to the desired location. Also, you can
system design process. With its built in expertise, use the mouse to resize this input window.
minimal input data is needed.
XRODs input windows use the following unique
First be sure to select all the appropriate setup op- color scheme:
tions in the setup window. Refer to Chapter 3 to
setup XROD. Required data input fields appear with a
yellow background. You must enter data in these
When entering data in XRODs input windows, it fields before closing the window, continuing to the
helps to know the following: next window, or running the calculations.
To replace the contents of an input box,

Figure 4.4 - XRODs Production Information window


28 | Running XROD

The active input field or list box appears in better use of XROD. Also, the context sensitive
cyan. help makes you aware of program assumptions or
limitations.
This color scheme helps you to easily see what data
you need and where you are in the input window. With all of your information in setup the only
required fields for input are the following:
There are two ways of moving around in an input
Well Name
window. You can click the input field you want,
Pump Depth
or you can enter data in order by pressing T to
Target Production
move forward from field to field. Also, you can
press S+ T to move backwards. After enter- After the well name and pump depth are entered,
ing data in fields with yellow background color, click the next arrow and enter the target produc-
their color changes to white when you move to the tion in the Production Information window as
next field. shown in Figure 4.4. Click the next arrow again
and you will be prompted to save the file. After
You can get context sensitive help for any input saving the file, click the run button on the toolbar
field by pressing !. Please use the context sensi- and the batch log window will open and display
tive help as often as possible because it contains the progress of the batch run.
important information that will allow you to make The batch log page will display all of the system

Figure 4.5 - XRODs AI Mode Batch Log


XROD| 29

designs for each pumping unit manufacturer along To replace the contents of an input box,
with the AI score for each as shown in Figure 4.5. double click it before typing in it.
If a system could not achieve the target produc- If an input window contains a name that is
tion, a message will be printed on the batch log made up of more than one word, double click any
about this problem. word to select it. Then, to replace it, simply type a
After all the runs are completed you may double- new word.
click on any individual file names highlighted in To enter rod system data in XROD for the first
blue to find the full report on this system design time, click on the first icon on the toolbar or open
recommended by XROD. To return to the batch the File menu and select New. This opens the
log, click on the close button on the bottom right Well Information input window, shown in Figure
corner of the Output Results window. From here 4.6. You can move this window with the mouse by
you can open another design shown on the batch dragging it to the desired location. Also, you can
run log. use the mouse to resize this input window.
If you wish to change the input information in XRODs input windows use the following unique
any of the individual system designs, double- color scheme:
click on the case file name to see the detailed
report for this case. Then click the AI button to Required data input fields appear with a
switch out of the AI Mode button on the toolbar. yellow background. You must enter data in these
You now can change any of the parameters of the fields before closing the window, continuing to the
system and run an individual case by clicking the next window, or running the calculations.
run button. The active input field or list box appears in
Please note that when you switch out of the AI cyan.
batch mode, you cannot go back to the AI batch This color scheme helps you to easily see what data
log unless you rerun the case after switching back you need and where you are in the input window.
to the AI mode.
There are two ways of moving around in an input
window. You can click the input field you want,
or you can enter data in order by pressing T to
4.3 Entering Rod Pumping System move forward from field to field. Also, you can

Data into XROD, non-AI mode press S+ T to move backwards. After enter-
ing data in fields with yellow background color,
The following procedure is done using XROD in their color changes to white when you move to the
non-AI Mode. This will
behave like RODSTAR
but with the added scor-
ing feature that comes
with XROD. More about
this feature can be found
in section 5.3 of this
manual.
When entering data in
XRODs input windows,
it helps to know the fol-
lowing: Figure 4.6 - The Well Information input window
30 | Running XROD

next field.
You can get context sensi-
tive help for any input field
by pressing !. Please use
the context sensitive help as
often as possible because it
contains important informa-
tion that will allow you to
make better use of XROD.
Also, the context sensitive
help makes you aware of
program assumptions or
limitations.

4.3.1 Entering Well


Information Data
Figure 4.7 - The Production Information input window
If you entered a company
name in Setup, it appears in The Production Information window also gives you
the Company name field. This saves you from hav- the option of having XROD calculate the required
ing to enter the same company name every time pumping speed based on a target production you
you enter data. The date defaults to the date in enter. However, the option of calculating the
your computers memory. If the date in your com- SPM from your target production is only avail-
puter is not correct, you can type over it. The well able if you select a full pump. For fluid pound or
name is required because XROD uses it to create gas interference, you must enter a pumping speed
the default file name when you save data to disk. in the Production Information window.
The pump condition panel allows you to select
pump condition and pump efficiency or pump
fillage. To select one of these input fields click on Other input data in the Well Information window:
the input field or its label. Press ! while in one of Comment
these fields for some useful information.
You can enter a comment about the case. When
The option to have the pump condition and fil- clicking this button you will find the input window
lage calculated works along with the Production for the cover page. This page is regenerated when
Information window. When you select this option viewing the report so that you can run a case and
you must enter a pumping speed and IPR data in edit the cover page to comment on the results of
the second input window. Based on the SPM you the run. For more information see chapter 3.
enter, XROD calculates the pump displacement
versus maximum available production from the Pump Load Adjustment
IPR data as well as the final pump intake pressure. The pump load adjustment allows you to increase
XROD uses an iteration scheme to converge to the fluid load picked up by the plunger. Usually
the correct pump condition and pump fillage that this is unnecessary. However, this input allows you
will result from the SPM you enter, along with the to account for extra downhole loads due to exces-
calculated pump intake pressure. sive downhole friction (for example due to wellbore
XROD| 31

deviation), or due to the plunger effect of large Also, as discussed above, XROD uses this num-
sinker bars. It is recommended that you use zero ber to calculate the specific gravity of the fluid in
for this number unless you have more than 1000 the casing-tubing annulus which it assumes to be
feet of large sinker bars such as 15/8 or 1 bars 100% oil.
in 2 tubing. The value of this number in pounds
is typically 5% to 10% of the pump depth in feet.
For example, for a pump depth of 6000 feet, enter Fluid specific gravity
a value of 300 to 600 pounds (but only if you use XROD uses the oil API gravity and percent water
more than 1000 of large sinker bars). XROD will cut you entered to calculate the default specific
not allow you to enter a value that is larger than gravity of the produced fluid. The program will
15% of pump depth. Also, you can use this input display this value when it prompts you to enter the
to add pump load for more conservative predic- fluid specific gravity. XROD calculates the default
tions. specific gravity without considering free gas. This
Please note that XROD assumes that the is okay for designing new wells since we prefer to
tubing-casing annulus is full of oil. It cal- be more conservative. However, if you want to
culates the specific gravity of the oil from simulate an existing system that produces gas, you
the API gravity you enter. If you do not must enter a lower number than the one calcu-
agree with this assumption then change the lated by XROD. With some experience and with
oil API gravity to correspond to the specific history-matching between predicted and actual
gravity you want XROD to simulate. For dynamometer cards you can come up with effective
example, if you want to simulate water in specific gravities that will accurately model your
the casing-tubing annulus instead of oil, rod pumping systems. If you use a specific gravity
then enter an API gravity of 10 (which cor- that only considers liquids, it will result in higher
responds to a fluid
specific gravity of
1.0).

Percent water cut


The percent water cut
input along with oil API
gravity allows XROD to
calculate a default specific
gravity for the produced
fluid. Also, it uses this
data to calculate $/bbl (or
$/m3) electricity costs.

Oil API gravity


XROD uses the oil API
gravity to calculate fluid
load on the plunger and
the default specific grav-
ity of the produced fluid. Figure 4.8 - The inflow performance relationship (IPR) plot
32 | Running XROD

predicted loads, power consumption, etc. want to use for the inflow performance relationship
(IPR), the depth from surface to the middle of the
If you are designing a new system and you are not
perforations, the static bottom hole pressure, and
sure what the specific gravity is, use the higher
bubble point pressure. Also, you can enter from
value you expect to have to make sure that your
one to 10 test points. If you select to use the Vogel
system will not be overloaded when in operation.
method for the oil IPR calculations then you only
However, when matching measured dynamometer
need one point. If you use Vogel and enter more
cards, use a specific gravity that is as close as pos-
than one point, then only the first point is used.
sible to the actual value.
You can enter more than one test point if you use
After you finish entering data for the Well Infor- the Fetkovich method. The pressure that cor-
mation window click on the next screen button responds to each production test point can either
(right arrow) on the toolbar to open the Production be pump intake pressure or flowing bottomhole
Information input window. To move back to the pressure (in the middle of the perfs). To add a new
previous window, simply press the left arrow icon pair of Pi and Fluid production data, click on the
on the toolbar. add button (top right) icon. To delete a set of data
points, click on the remove icon (bottom right).
Remember that pressing @ converts to the op-
posite system of units. For example, if you selected You can get help for any input item by pressing !
English units but want to enter the pump depth when in the input field or by clicking on the ques-
in meters, press @ before entering the value. If tion mark icon on the toolbar.
the value for any field with units has already been If you do not know what the bubble point pres-
sure is, but you know the well is producing below
the bubble point pressure, then leave the bubble
point pressure field blank and click on Producing
below bubble point or in the check box next to
it. After you enter the last piece of IPR data, click
Figure 4.9 - Fetkovich n value
to a different input field, press T or click on the
Update prod. button to allow RODSTAR to
calculate the maximum oil, water, and fluid pro-
entered, pressing @ will show it in the opposite duction rates and target production.
units.
You can see the IPR plot by clicking on the IPR
Plot... button (under the target production field).
When the IPR plot is displayed as shown in Fig-
4.3.2 Entering Production Information ure 4.8, you can move the cyan line that you see
The Production Information input window allows on the plot with the mouse to see the calculated
you to enter a fluid level or pump intake pressure as production rate for any bottomhole pressure. To
shown in Figure 4.7. Also, you can select to enter move this line, point to it with the mouse until
a pumping speed, enter a target production (the the mouse cursor changes shape and then drag the
program will calculate the pumping speed to get line to any pressure point on this plot. As you are
the target production), or you can select to calcu- moving this line, the producing bottom hole pres-
late the target production from inflow performance sure, pump intake pressure, oil production, water
data. production and total fluid production are dynami-
If you choose to enter IPR data, the Production cally recalculated. You can print the IPR plot you
Information window expands to reveal the data see on the screen by clicking on the Print button
you must enter. This includes the correlation you at the bottom right hand corner of the screen, or
XROD| 33

You can select the pump


plunger size from a list
of standard sizes, or you
can enter a non-standard
Figure 4.10 - Options for calculating pump intake pressure size by selecting Other
from the list of plunger
you return to the production information screen by sizes. If you are simulat-
clicking on Close. ing a full pump and you entered a target produc-
tion, you can select to have XROD recommend
RODSTAR offers you the option to enter the val-
the pump plunger size for you. This option is only
ue of n for the Fetkovich IPR correlation as shown
available when you enter a target production and
in Figure 4.9. The window includes a check box,
select full pump for pump condition.
labeled Calculate n, that tells XROD whether
you want to enter the value or have XROD cal- Please note that the pump type you select affects
culate it from your data. If you enter only one test the plunger size that the program will recommend.
point, XROD uses a value of 1.0 for n unless you It may be interesting to make one run with an
select to input your own value. However, if you insert pump type and one with a tubing pump to
enter two or more test points, XROD calculates n see what XROD recommends.
from a log-log plot.
If you enter inflow performance (IPR) data,
XROD can calculate the pump intake pressure Other input data in the Pump and Tubing Information
using the target production you have entered (see window:
Figure 4.10). You can select to have XROD calcu- Rod-tubing friction coefficients
late the pump intake pressure from the IPR data,
or if there is no IPR data available, you can enter a For rod-tubing friction , XROD allows you to
pump intake pressure or fluid level yourself. Usu- enter upstroke and downstroke friction coefficients
ally, for new systems, it is recommended that the yourself, or you can have the program calculate
system be designed for the highest possible fluid them for you. If you do not know what to enter,
load on the plunger. This is accomplished by en- then choose to have XROD calculate the rod-tub-
tering a fluid level that is equal to pump depth. ing friction for you. The friction factors calculated
by XROD are estimates for average friction for a
4.3.3 Entering Pump and Tubing Information Data vertical wellbore. If you are simulating a system
with excessive downhole friction, you must enter
On the third input screen, you can select the
your own rod-tubing friction coefficients for more
tubing size, tubing anchor depth (if anchored),
accurate results. There are several downhole con-
pump type, plunger size, and the upstroke and
ditions that increase rod-tubing friction such as:
downstroke rod-tubing friction coefficients. Also,
wellbore deviation, a well with heavy oil produc-
for shallow, high rate wells, you can include fluid
tion, paraffin or scale problems, etc.
inertia effects. If you select to include fluid inertia1
effects then you must also enter the fluid compress- The most accurate way to figure out the rod
ibility index. For more information on this option tubing friction in XROD is to import a
read the discussion that follows later in this sec- measured dynamometer card from a ROD-
tion, or use the context sensitive help system. DIAG or XDIAG file (in non-AI mode).
Then, history-match this actual card by
1 Fluid inertia effects are dynamic effects manually adjusting the friction. You do this
that increase fluid load on the plunger in wells less by varying the upstroke and downstroke
than 4000 feet with pump plungers larger than 2.0 rod-tubing friction coefficients until the sur-
inches
34 | Running XROD

not work as well. This is because you will be unable


to get a good match between predicted and mea-
sured dynamometer cards.
If you do not have a measured dynamometer card,
use the following guidelines for entering rod-tub-
ing friction coefficients in non-AI mode:
1. First select to have XROD calculate the rod-
tubing friction coefficients for you. You can use
these calculated values as guidelines to decide
what values to enter yourself to better simulate
Figure 4.11 - Rod string entry options your rod pumping system.
2. For heavy oil or for wells with paraffin or scale
face dynamometer card predicted by the pro- buildup, use 2-3 times the value calculated by
gram matches the measured dynamometer XROD. You can use the same guideline for
card. This technique allows you to find the deviated wells when the deviation is close to
rod-tubing friction that gives the best results the bottom of the wellbore.
when simulating this system. From then on
you can use these friction factors every time 3. For deviated wells with the deviation close
you simulate this pumping system. to the surface you may need to enter a larger
number such as 4-6 times as high as the values
Please note that this history-matching technique calculated by the program. Also, it may be
works only if the dynamometer card that you mea- appropriate to use different values for upstroke
sure corresponds to a pump condition that XROD and downstroke frictions to better match your
can simulate (full pump, fluid pound, or gas inter- downhole conditions.
ference). For example, if the pump is worn out or is
hitting up or down, etc., then this technique will

Figure 4.12 - Steel rod string design options


XROD| 35

Buoyancy effects Fluid inertia effects


The option to include buoyancy effects should If the well depth is less than 4250 feet and the
be left unchecked in most cases. This is because pump plunger size is larger than 2.00 inches,
buoyancy does not cause buckling of the rod string. XROD allows you to consider fluid inertia effects.
However, for fiberglass-steel rod strings, after the These dynamic effects become important in wells
design is finalized, It is recommended that an ad- with plungers larger than 2.0 and pump depths
ditional run be made including buoyancy effects to of 4000 feet or less. However, there is no exact
ensure that the fiberglass portion of the rod string magic depth for which fluid inertia becomes
is not in compression. If it is in compression, then important. Therefore, XROD allows you to include
more sinker bars must be used, the pumping speed these effects for wells up to 4250 feet deep and
need to be reduced, or both. with a plunger size equal to or larger than 2.0.
Another important factor is fluid compressibility.
When buoyancy is not included, the bottom of
The more compressible the fluid is, the less promi-
each rod section except the last section should have
a positive stress. Otherwise the rods may be going nent the fluid inertia effects are.
into buckling. It is normal for the very bottom of If you include fluid inertia effects, XROD will
the rod string to be in compression if you enter a prompt you for the fluid compressibility index. The
pump friction that is not zero (a minimum pump default is 3 but you can vary this number between
friction of 200 lbs is recommended). 1 and 7 (x10-6 psi-1). The compressibility index
tells XROD how compressible the fluid in the
For more information on the theory behind these
tubing is. The value of the compressibility index af-
recommendations, please read SPE paper number
fects the shape of the predicted dynamometer cards
25416 Interpretation of Calculated Forces on
(surface and downhole). If you are not sure what
Sucker Rods by J. F. Lea and P. D. Pattillo. Pre-
number to use, experiment with different values
sented at the Production Operations Symposium
until you can match measured dynamometer cards
in Oklahoma City, March 1993.
for the well you are simulating.

Figure 4.13 - Fiberglass rod string design window


36 | Running XROD

When you include fluid inertia effects, pump If you select this option, XROD displays a window
efficiency becomes a variable that affects the such as the one shown in Figure 4.12. Here, you
dynamic fluid load on the plunger. Therefore, can select the maximum and minimum rod diam-
using 90% pump efficiency gives higher peak eters to consider, whether to include sinker bars,
polished rod load than using 80%. the service factor, and additional rod costs.
The option to include fluid inertia effects is only If you want to include sinker bars then you must
available if you are modeling a full pump. Please enter the diameter and length of the bar (or sinker
do not confuse fluid inertia effects with the mo- rod). XROD does not calculate the length of the
ments of inertia of the pumping unit that have to sinker bar section because there is no industry
do with gearbox torque due to prime mover speed consensus on how to design sinker bars. However,
variation. Fluid inertia effects refer to additional XROD will design the rod string above the sinker
dynamic forces on the plunger caused by the bar section you specify.
pickup and rapid acceleration of the fluid load. XROD attempts to design an optimum rod string
XROD simulates fluid inertia effects with a second based on the rod grade and the maximum and
wave equation that models the pressure waves in minimum rod diameters you enter. First, XROD
the fluid in the tubing. This increases simulation figures out how many rod tapers are needed. Then,
accuracy by accounting for pressure pulses travel- it automatically adjusts the length of each section
ing up and down in the tubing fluid. These pres- until the stress loading is the same at the top of
sure waves have a direct affect on the pump plung- each rod section. This equalizes and minimizes
er. Since the program has to do many additional stress loading on the rod string. This stress bal-
calculations when you include fluid inertia effects, ancing approach gives the lowest cost rod string
XROD may take 60%-80% longer to run. with equally distributed stress loading, for the rod
grade you select.
This approach works the same regardless of steel
4.3.4 Entering Rod String Data rod grade or type. For example, you can have
The fourth input window deals with the rod string XROD design a Corod rod string for semi ellipti-
design. As Figure 4.11 shows, you can select one of cal Ultra Corods using a maximum diameter
the three available rod string entry options: of 17/16, a minimum diameter of 13/16, and a
375 section of 1 5/8 sinker bars on the bottom.
XROD Steel design, XROD Fiberglass-Steel de- XROD uses only the rod sizes it needs. For exam-
sign, or Manual rod string entry. The symbols for ple, if the loads are not high enough to require the
these options are explained in Figure 4.11. use of the 17/16 rod diameter then XROD will go
to the next size (16/16). If this is still too big, it
will use the 15/16.
XROD Steel Design
The maximum rod loading used by XROD to de-

Figure 4.14 - RODSTAR Designed Fiberglass-Steel Rod String


XROD| 37

cide when the next larger diameter rods are needed you entered it yourself. Then, you can make any
is 95% by default. However, you can change this changes you want to the rod string without having
number if you like by going to the Setup De- to reenter everything.
faults window. Also, you can have XROD design the rod string
Fiberglass/steel XROD design while calculating the pumping speed and plunger
size, to get the target production. However, be-
If you select the option to have XROD design a cause of the complexity of the calculations, si-
fiberglass-and-steel rod string, you will see the multaneous use of all or most of XRODs smart
data input screen in Figure 4.13. For example, let options will result in longer run times. This is
us say you want to use a design with fiberglass rods especially true if you also select to include the ef-
on top followed by a tapered steel section with 1 fect of prime mover speed variation. Also, depend-
and 7/8 rods, and then 375 feet of 1 sinker bars. ing on the case, XRODs run time may be longer
XROD is able to design this rod string for you. if you enter a target production that is too large for
Also, it balances the steel design under the fiber- the pumping system.
glass section (for two or more rod sections) so that
If you select only sinker bars on the bottom (with-
there is equal stress loading at the top of each sec-
tion as shown in Figure 4.14. out regular steel rods between the fiberglass and
sinker bar) then XROD will calculate the length
This Figure shows a fiberglass-steel rod string of the sinker bar section for you. If you select both
designed with XROD. XROD can design tapered sinker bars and a tapered steel design between the
steel rod strings under the fiberglass section for sinker bars and the fiberglass rods, then you must
any type of steel rod, including non-API high enter the length of the sinker bar (or sinker rod)
strength rods, and Corods. If you want to fine- section. XROD will determine the length and
tune a XROD design, in non-AI mode, select to diameters of the tapered steel portion based on
enter your own rod string design by clicking on the the maximum and minimum diameter limits you
manual rod string entry icon. XROD will show enter.
you the current rod string design in memory as if

Figure 4.15 - Selecting rod grades in Non AI-Mode


38 | Running XROD

XROD may reject a steel rod diameter if it is simulate, or to modify a design that XROD itself
not needed. For example, if you asked XROD to came up with (when you select to have the pro-
design a rod string with fiberglass on top, a tapered gram design the rod string for you). This is not a
steel section under the fiberglass, and a 500 foot good option to use when you first design a new
1.5 inch sinker bar section on the bottom. XROD system because it requires the most work and expe-
will determine the fiberglass diameter and length rience.
you need, and the steel rod section and tapers you When you select this option, you can enter data for
need. If XROD cannot balance the steel rod string either steel or fiberglass rods as Figure 4.15 shows.
design because the 3/4 section is not needed, it This can only be done in the non-AI mode. You
will not use any 3/4 rods. can enter the number of rod sections, the service
Another interesting capability of XROD is that if factor you want to use, and rod string data for up
you use continuous rods (Corod or Prorod) instead to eight rod sections. For each section, you can
of regular rods under the fiberglass, it may skip a select the rod type or grade, diameter, and length.
rod diameter, if it has to, in order to balance the For Fiberflex fiberglass rods you can also specify
rod string stress loading. This is not a bug. Some- the sucker rod length.
times the program has to do this to successfully If you select one of the fiberglass manufacturers
balance the steel portion of the rod string. listed on the drop down list next to the rod grade
input field, the program knows the weight per

Figure 4.16 - Pumping unit manufacturer list

Entering Your Own (Manual) Rod String foot and modulus of elasticity and will not prompt
you for them. The program warns you about rods
This option is primarily used for entering rod
that do not fit in the tubing. Also, it warns you if
string data for an existing system you want to
XROD| 39

the rod string length is shorter or longer than the at the bottom. The window has icons on the left
pump depth. The total length of the rod string side for inserting a rod section, for removing a rod
can be up to 50 feet shorter than the pump depth. section, or for moving a section up or down. For
However, it cannot be longer than the pump example, if you want to remove a rod section, first
depth. For example, if the pump depth is 5000 click on it and then click on the Delete Rod rod
feet, you can enter a rod string that is between section icon.
4950 and 5000 feet. When entering rod string data To add a rod section, click on an existing rod sec-
for the first time, XROD shows a default length tion and then click on the Insert/Add Rod Sec-
for the last rod section equal to the difference tion icon. The new section will be added below
between the pump depth and the rod string length the selected section.
you entered so far.
XROD asks for confirmation whenever you re-
Selecting the option to enter your own rod string move sections from the rod string, whether by us-
gives you maximum flexibility. However, it re- ing the Remove rod section button or by reducing
quires the most expertise to come up with a good the number of rod sections.
rod string design. You can use this option to select
different rod grade or manufacturer for each rod
section. In general, this option allows you to enter
any rod string design, no matter how unusual. The The meaning of the term Sinker Bar in XROD
minimum length you can enter for any rod section In XROD, the term sinker bar means a steel rod
is 25 (length of a single sucker rod). that is made specifically to be used at the bottom
When entering the rod string data manually, of the rod string for weight such as 1 3/8, 1,
XROD allows you to add and remove rod sections 1 5/8, etc. The term sinker rod means a regular
from anywhere in the rod string, instead of only rod such as a 1 or 7/8 rod that is placed on the

Figure 4.17 - Measured pumping unit list


40 | Running XROD

bottom of the rod string for weight. For a 1 or the pumping unit instead of having to select it
7/8 rod to be considered a sinker rod it must be from the list. This is a unique ID for each pumping
larger than the diameter of the rod above it. unit in the programs database.
When entering the rod string manually,
make sure you select Sinker bars in the list Selecting a pumping unit manufacturer
of rod grades for sinker bars as shown in
Figure 4.14. Do not select Steel rod type XROD allows you to easily select a pumping unit
and then Other for the rod size. manufacturer and unit size with drop-down list
boxes. To display the menu with all pumping unit
types available, click on the drop arrow next to the
4.3.5 Entering Pumping Unit Data Manufacturer field (see Figure 4.16). This is a
scrollable list of all units in the programs database
The pumping unit input screen allows you to select in alphabetical order. You can go to the top of the
a pumping unit from the database that comes with
XROD, or from your measured pumping unit list by pressing }. You can jump to the bottom
database (if you entered your own pumping unit
dimensions in Setup). of the list by pressing ~. You can also move up
Another option is to enter a pumping unit ID. or down by pressing O (Page up) or N (Page
The pumping unit ID is a unique string of letters Down). A convenient way to move through the list
and numbers. XROD displays the pumping unit is to press the first letter of the unit name you want
ID along with other unit information after you to use. For example, to locate the National E
select a unit. If you make a note of this unit ID (in Series pumping unit entry, you can press n and
the well file for example), you can use it to specify the highlight bar will jump to the first name in the

Figure 4.18 - The custom pumping unit list


XROD| 41

list that starts with N. Then simply click on the After you select a manufacturer you can use the
National E Series entry. At the top of the list same procedure to select the unit size you want
of pumping unit manufacturers is the item Mea- from the pumping unit drop-down list box . You
sured pumping units. This option allows you to can move through this list the same way as with
select a unit for which you entered geometric data the pumping unit manufacturer selection menu.
in Setup. The pumping units on this menu are ordered from
largest to smallest stroke length, gearbox size, and
When you select the Measured pumping units
structure size. However, if the window shows the
option, XROD will display a list that only shows
pumping unit name (for old units) the units are
the measured pumping units, as Figure 4.17 shows.
listed alphabetically.
As Figures 4.16 and 4.17 show, there is a check
When you enter a unit, the Unit ID, the program
box that allows you to use the custom pumping
automatically displays the unit that the ID corre-
unit list instead of the main pumping unit list. If
sponds to. XROD displays the information nec-
you check this option, before you select a unit,
essary for you to correctly identify your unit. For
the Manufacturer list will show a shorter list that
example, for American conventional units you will
contains only the manufacturers you selected in
see that certain unit sizes appear more than once
Setup in your custom unit list as shown in Figure
on the selection list. However, they have different
4.18. When the Use custom pumping unit list
cranks.
option is checked, when you select a pumping unit,
you will see a short list containing only the unit
sizes you selected for your customized list for this
manufacturer. How to add units to the custom pumping unit list

Figure 4.19 - XROD recommends a unit size based on target production


42 | Running XROD

You can use the Use custom pumping unit list turing Company).
check box to add units from the main list to your TIP: If your unit is not listed in XROD and you
custom list. For example, if you run across a pump- do not have the unit dimensions, then use a unit
ing unit that is not in your custom list yet, clear that is closest to it. As long as you use the same
the Use custom pumping unit list check box so unit geometry and a unit with the same stroke
that you can use the general pumping unit list. length and gearbox rating, the results should be
After you select the pumping unit then click on close to actual as long as the pumping unit is the
the Use custom pumping unit list check box. same unit type as the one you selected.
XROD asks if you want to add this pumping unit If after you enter a pumping unit ID XROD dis-
to the custom pumping unit database. Select Yes to plays The pumping ID you entered is not valid
add this unit to your custom list. The program will this means that ID you entered is not recognized
add this unit to the custom list and also switches by XROD. This can happen for two reasons:
to the custom list.
1) You entered the wrong ID such as R0 (which
This option allows you to add units to your custom does not exist), or CL901 instead of CL91.
list without having to do it from Setup. To remove
units from your custom list or to add more than 2) You have erased the pumping unit file by acci-
one unit, go to the setup window and customize dent, or the pumping unit files are not in the same
the list of units as described earlier in this manual. directory as the program.
You can also use this feature as a way to main-
tain an inventory of available pumping unit types. XROD Recommended unit size
When this custom pumping unit list has been
completed, you can select to have XROD use this If you enter a target production instead of pumping
list when designing your system. (see AI Mode speed, XROD will display a recommended pump-
Preferences in Setup). This way, you can quickly ing unit size to help you select a pumping unit. This
find if a unit in your inventory will work for the recommendation can be very helpful if you are
new system design. designing a new pumping system and must decide
what size unit you need. XROD recommends a
unit size based on the type of pumping unit you
Selecting to enter a pumping unit ID selected. For example, if you select a Lufkin Mark
II then XRODs recommendation will be for a
The unit ID option is the fastest way to enter Mark II unit. If you select a Lufkin Conventional,
pumping unit information if you already know then its recommendation will be different since
the pumping unit ID for your unit. You can see it is for a conventional unit. The program will
the pumping unit ID on the pumping unit entry automatically select the closest unit available from
window after you select a unit. Once you locate the selected manufacturer as compared to the size
your unit, you can make a note of its ID in the well it recommends. XROD in non-AI mode makes
file. Then, the next time you want to use this unit, this recommendation without running through the
you can select to enter its ID. For example, for a predictive calculations. Therefore, it may not nec-
Lufkin Mark II M-456-305-144, the unit ID is essarily recommend the best pumping unit size for
ML32. your application. However, in most cases it should
To identify some units correctly, it is necessary be pretty close to the size you need. If you want
to know the crank number since they may have the program to recommend the best pumping unit,
the same API designation but different geometric then use the AI mode.
dimensions depending on crank number (primarily There are other important factors that you must
units made by American International Manufac-
consider when deciding what unit size you need.
XROD| 43

These include: available used pumping units, ex- is best for your system you must make two runs:
pected changes in well conditions, desired pump- one with clockwise crank rotation and one coun-
ing speed, etc. When you enter data for a case terclockwise. Then look at the effect of rotation on
for the first time and you are at the pumping unit gearbox torque, system efficiency, rod loading, etc.
selection screen, XROD will not only display the
recommended unit size, but will automatically se-
lect the unit closest to the recommended size from Entering your own pumping unit data
the available list. If you do not want to use the If the pumping unit you want to simulate is not
unit recommended by XROD then select another in XRODs database, you can enter your own
one. The recommended unit size is a push button, pumping unit dimensions. To enter the data in the
as shown in Figure 4.19. So, whenever you want program you have to first access the setup screen of
to return to the pumping unit size recommended XROD (click on fourth button on toolbar). Then,
by XROD, just click the button and XROD will click on the + next to Pumping Unit Options
automatically select the unit size that is closest to tab and select Measured Pumping Unit List as
the recommended size. explained in section 3.3.4 in this manual. Then,
In general, the size recommended by RODSTAR select to add a new unit to enter data for a pump-
will be close to the minimum required unit size to ing unit not in the programs database.
avoid overloading the unit. Also, XRODs recom- The data you must enter consists of geometric
mendation depends on the manufacturer and unit dimensions as defined in the API 11E publication.
type you select and whether you are using steel You can get these dimensions from the pumping
rods only, or fiberglass with steel on the bottom. unit manufacturer or measure them yourself. Or,
In some cases you may be able to use a smaller unit you may be able to find most of the dimensions
by selecting a pumping unit geometry that is better you need from catalogs or blue prints. For old units
suited for your application. There are several factors without an API designation on their nameplate,
that determine what unit is best. They include, you may be able to put together an equivalent API
cost, gearbox loading, system efficiency, rod com- designation. Look at the gearbox nameplate for the
pression, minimum polished rod load (indicates gearbox rating in thousands of in-lbs. Measure the
separation of the polished rod from the carrier bar stroke length, and try to decipher additional infor-
if close to zero), etc. mation from the units nameplate for the structure
rating, stroke length, and structural unbalance.
If the nameplate is legible then write down the
Selecting crank hole number and crank rotation units serial number or order number. If the units
After you select a pumping unit you must select manufacturer is still in business, you may be able
the crank hole number, and the direction of rota- to get the data you need from the serial number
tion with the well to the right (if you are using a or order number. For help in locating dimensional
unit that can rotate either way). For units with a data for pumping units not in the manual call
required direction of rotation, like the Mark II , Theta Oilfield Services, Inc..
Torqmaster, Lufkin Reverse Mark, or American XROD allows you to enter data for Conventional,
Producer II, the program will not allow you to Mark II, Air Balanced, Enhanced Geometry, or
change crank rotation. For units that can rotate Long Stroke units. When you enter your own
either clockwise or counterclockwise, XROD de- pumping unit dimensions, XROD calculates and
faults to the direction of rotation that will usually displays the stroke length based on the dimen-
give the lowest torque. However, this default direc- sions you enter. For all pumping unit types you
tion of rotation may not always be ideal for your must first enter the name of the manufacturer, the
system design. To find out for sure which rotation unit name or model number, the gearbox rating
44 | Running XROD

in thousands of inch pounds, the structure rating P Effective length of the pitman
in hundreds of pounds, and the maximum stroke arm, in inches (from the center of
length in inches. From these numbers XROD puts the equalizer bearing to the center
together the API pumping unit designation. The of the crank-pin bearing)
API pumping unit designation is a standard way of K Distance from the center of the
describing the size and capacity of pumping units crankshaft to the center of the
as the following example explains: saddle bearing (inches). Some-
times, instead of the K dimen-
The first number is the gearbox rating in thousand sion, pumping unit manufacturers
inch-pounds. In this example the gearbox rating is supply data for dimensions H and
G instead (described below). From
320,000 inch-lbs. The second number is the struc- these dimensions and dimension I
ture rating in hundreds of pounds. In this case the (defined above) you can calculate
structural rating is 256. This means that to avoid
overloading the structure of the unit, polished rod )2 2
load must not exceed 25,600 lbs. The last number K as follows: K= ( H-G + I
shows the maximum stroke length of the unit in H Height from the center of the
inches (100 inches in this case). Following is an saddle bearing to the bottom of
the base beams (inches)
explanation of the rest of the data needed for each
unit type (refer to Figure 3.12): G Height from the center of the
crank shaft to the bottom of the
base beams (inches)
Conventional and Enhanced Geometry Mark II Pumping Unit Data
Pumping Unit Data
For Mark II units you must also enter pumping
For these units you must enter pumping unit di- unit dimensions R, A, C, I, P, and K in inches,
mensions R, A, C, I, P, and K in inches, the struc- the structural unbalance in pounds, and the crank
tural unbalance in pounds, and the crank offset offset angle in degrees. This angle is positive for
angle in degrees. For enhanced geometry units the Mark II units.
crank offset angle must be negative. Figure 3.12
The API spec. 11E defines the above dimensions
shows the dimensions XROD needs.
as follows:
The API spec. 11E defines the above dimensions
as follows: Dimension: Description:
R Radius of the crank (inches)
Dimension: Description: A Distance from the center of the
R Radius of the crank (inches) Sampson Post bearing to the cen-
A Distance from the centerline of the terline of the polished rod (inches)
saddle bearing to the centerline of C Distance from the centerline of the
the polished rod (inches) Sampson Post bearing to the cen-
C Distance from the centerline of the ter of the equalizer (or cross yoke)
saddle bearing to the centerline of bearing (inches)
the polished rod (inches) I Horizontal distance between the
I Horizontal distance from the centerline of the Sampson Post
centerline of the saddle bearing to bearing and the centerline of the
the centerline of the crankshaft crankshaft (inches)
(inches)
XROD| 45

P Effective length of the pitman M Geometry constant (in2). It is the


arm, in inches (from the center of distance from the Sampson Post
the equalizer (or cross yoke) bear- bearing to air tank bearing (dis-
ing to the center of the crank-pin tance X in Figure 2.3) multiplied
bearing) by the area of the piston in the air
K Distance from the center of the cylinder divided by dimension A
crankshaft to the center of the or: X*Ap/A, where Ap is the area
Sampson Post bearing (inches) of the air cylinder piston in square
inches.
H Height from the center of the
saddle bearing to the bottom of
the base beams (inches)
G Height from the center of the
crank shaft to the bottom of the
base beams (inches)

Air Balanced Pumping Unit Data


For these units you must also enter pumping unit
dimensions R, A, C, I, P, and K in inches. In ad-
dition, you need data for M, S and V0.
The API spec. 11E defines the above dimensions
as follows:
Dimension: Description:
R Radius of the crank (inches)
A Distance from the center of the
Sampson Post bearing to the cen-
terline of the polished rod (inches)
C Distance from the centerline of
the Sampson Post bearing to the
center of the equalizer bearing Figure 4.20 - Dimensions for long stroke units
(inches)
I Horizontal distance between the
centerline of the Sampson Post
bearing and the centerline of the
crankshaft (inches)
P Effective length of the pitman
arm, in inches (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 (inches).

Figure 4.21 - Definition of structural unbalance


46 | Running XROD

S Pressure in the air counterbal- hydraulic unit then the torque calculations, energy
ance cylinder required to offset consumption, and other results that depend on
the weight of the walking beam, torque will be incorrect or meaningless. However,
horsehead, equalizer, pitman arms, the predicted polished rod dynamometer card,
etc. (psig). polished rod horsepower, stress analysis, etc. will
V0 Minimum air volume between the be valid. This technique can be used as long as the
plunger and cylinder at the bottom upstroke and downstroke polished rod velocities
of the stroke (in3).
of the hydraulic or long stroke unit you want to
simulate are approximately equal.
Long Stroke Pumping Unit Data Tip: To predict energy consumption more ac-
For these units you must enter the sprocket diam- curately for hydraulic units using the long stroke
eter (D), the centerline distance between the top pumping unit model, input a pitman arm length of
and bottom sprockets (distance C), the pitman arm zero and a drum diameter ratio of 2.
length (P) if one exists (usually this is zero), andAnother thing to keep in mind is that even though
the top drum diameter ratio (usually equal to 1). the combination of C and D dimensions deter-
You can see a diagram of the dimensional data you mines the stroke length of long stroke units, the
need by pressing F1 in any input field, or you can ratio of C/D determines the acceleration and de-
take a look at Figure 4.20. celeration of the polished rod. For the long stroke
You can also use this pumping unit model to sim- geometry shown in Figure 4.20, when the connec-
ulate any non-beam pumping unit with a long, tion point between the belt and the chain touches
slow stroke. You can do this by entering data that the sprocket, the polished rod speed changes
will produce the same stroke length as the unit you (accelerates or decelerates). When the connection
want to model. The stroke length of a long stroke point leaves the sprocket (C section in Figure 4.20)
unit is given by: the speed is constant. Therefore, different com-
binations of C and D dimensions may be needed
Stroke = C + D to correctly simulate the polished rod motion of a
For example, to simulate a hydraulic pumping unit hydraulic pumping unit.
with a stroke length of 200 inches, you can enter a
sprocket diameter (D) of 20 inches and a centerline
distance between sprockets equal to 180 inches. Definition of Structural Unbalance
If you use this approach to design a system with a Structural unbalance is a term used for pumping
units with walking beams. It is defined in API
11E as the force you need at the polished rod to
hold the walking beam horizontal with the pitman
arms disconnected from the crank pins. This force
is positive when acting down and negative when
acting up. See Figure 4.21 for a visual explanation
of structural unbalance. Structural unbalance for
conventional units can be either positive or nega-
tive. For Mark II units it is always negative. If you
do not know the structural unbalance for the unit
you want to simulate then enter zero. In most cases
the structural unbalance will not affect the results
significantly (especially for Conventional geometry
Figure 4.22 - Definition of crank offset angle units).
XROD| 47

Definition of Crank Offset Angle you can enter a maximum counterbalance mo-
ment in thousand inch-lbs. XROD also gives you
The crank offset angle (or crank phase angle) is
the option to import the maximum counterbal-
the angle between a line through the crank holes
ance moment from a CBALANCE / XBAL file
and a line through the counterweight arm. Figure
or from the clipboard. If you ran CBALANCE
4.22 shows how the crank offset angle is defined.
or XBAL before running XROD, then the value
XROD expects a positive crank offset angle for
of the existing maximum counterbalance moment
Mark II units and a negative one for enhanced
will be in the clipboard. Then, as soon as you click
geometry units such as the Torqmaster, Lufkin
on the Use CBALANCE/XBAL information
Reverse Mark, or American Producer II. For
button, XROD will allow you to use the value
conventional pumping units the crank offset angle
exported by CBALANCE or to read a CBAL-
is zero.
ANCE file from disk.
For air balanced units you must enter the air cyl-
Entering Counterbalance Information inder pressure in psig at the bottom of the stroke.
After you select a pumping unit or enter your own For long stroke units you must enter the counter-
pumping unit data, the crank hole number, and balance weight in thousands of pounds. For these
direction of rotation, you must enter counterbal- units, the option to read a CBALANCE file is
ance information. disabled since it does not apply.

Entering an existing maximum counterbalance If you enter existing counterbalance data, XROD
moment allows you to simulate an existing system calculates and displays the permissible load dia-
to find out if the unit is overloaded or out of bal- gram for existing conditions. Also, the recom-
ance. If you only want to find the maximum coun- mended prime mover size and overall system
terbalance moment required to balance the unit efficiency will be for the existing conditions. If you
(which is usually the case for new designs) then select unknown for maximum counterbalance
click on the Unknown check box and XROD moment then XROD calculates all these numbers
will calculate it for you. and the permissible load diagram for balanced con-
ditions only.
For beam pumping units except for air balanced,
The range of allowable counterweight is different

Figure 4.23 - Entering motor information


48 | Running XROD

for different Rotaflex units. XROD takes this into Prime mover type selection
account when validating your entry for counterbal- Using drop-down list boxes you can select the mo-
ance weight. For example, the minimum counter- tor type you want to simulate. XROD has motor
weight possible for the 1200 model is 13,500 lbs. performance and efficiency data for NEMA D,
Therefore, if you try to enter a counterweight that Sargent Ultra High Slip, Reliance Ultra High Slip
is less than 13.5 M lbs, (M =thousands) XROD motors, and Rotaflex Multi-HP NEMA C mo-
will warn you that the counterweight for this unit tors. If you select a NEMA D motor you can enter
must be between 13.5 and 32.5 M lbs. a motor size, or you can choose to have XROD
recommend a NEMA D motor for you. If you
select an ultra high slip motor then you must select
Changing Structural Unbalance
the motor size and torque mode. If you select a
In some cases, when the pumping unit is signifi- motor size or mode that is too small for the well
cantly oversized for the downhole equipment, you conditions then XROD will display a warning
may have to add counterweights on the walking message and will give you the option to change
beam next to the horsehead to balance the unit. your data.
This changes the structural unbalance from the
XROD warns you if you select an ultra-high-slip
catalog value. XROD allows you to change the
motor when you have selected an air-balanced or
structural unbalance even when you select a pump-
long stroke pumping unit. These units have little or
ing unit from the programs database.
no rotating moment of inertia, so using an ultra-
The structural unbalance field can also be used to high-slip motor does not result in any significant
simulate beam balanced units. By changing the differences in the calculations. Therefore, for these
value of the structural unbalance, you can figure units, do not select an ultra high slip motor or to
out how much weight you need to add or remove include speed variation effects.
from the walking beam to balance a beam bal-
If you select a NEMA D motor type for a new
anced unit.
case, or switch from an ultra-high-slip motor to a
4.3.6 Entering Motor Information and Energy Cost NEMA D motor, XROD automatically selects the
option to recommend the motor size.
XROD can simulate NEMA D or ultra high slip
motors and calculates power consumption from
actual motor efficiency curves. The program uses Motor speed variation
the electricity cost you enter to predict the monthly
electricity bill, $/bbl fluid, and $/bbl oil (based on The option to include the effect of motor speed
water cut). XROD defaults to the cost number you variation is only available for conventional, en-
specify in Setup. The $ symbol here is meant to hanced geometry, and Mark II units. Inertia ef-
represent currency (not just US dollars). As Figure fects are negligible for long stroke and air balanced
4.23 shows, under the electricity cost input box units.
there are option buttons that you can use to se- If you select not to include speed variation effects
lect the power meter type. You have two options: then XROD assumes constant prime mover speed
Detent, or Non-detent. A Detent KWH meter can and will not model the effect of pumping unit in-
rotate only in one direction. A ratchet prevents it ertia. If you choose to include speed variation then
from turning the other way. Therefore, if your unit XROD gives you the option to enter a percent
is generating electricity, you do not get credit for speed variation or have the program calculate the
it. The non-detent meter can rotate either way and speed variation for your prime mover.
so it credits you for electricity the pumping unit
generates.
XROD| 49

Pumping unit moments of inertia around the saddle bearing includes the inertia of
the walking beam, horsehead, and pitman arms.
If you select to include the effect of motor speed
variation then you can enter a rotating moment of As mentioned above, you can either enter a rotat-
inertia in lbs-ft2, or have the program estimate this ing moment of inertia, or you can have XROD
number for you. For the articulating moment of estimate it for you. To calculate accurately the
inertia XROD defaults to a number that is either rotating moment of inertia you must have moment
the actual articulating moment of inertia supplied of inertia data for the cranks and counterweights,
by the pumping unit manufacturer, or an estimate gearbox, motor rotor, etc. Also, the rotating mo-
based on unit size. Therefore, unless you have an ment of inertia depends on the position of the
even more accurate number for the articulating counterweights on the cranks. Since this data may
moment of inertia, it is recommended that you use not be known, it is recommended that you let
the default number displayed by the program. XROD estimate the rotating moment of inertia for
you.
For more accurate results, have XROD calculate
the prime mover speed variation. However, you Since the articulating moment of inertia depends
can also enter a speed variation value if desired. If on the walking beam size, horsehead and pitman
you select to enter speed variation, XROD shows a arms, it is a fixed number for any given pumping
default value of 8% which corresponds to a rec- unit. Therefore, it is easier to calculate than the
ommended average speed variation for NEMA rotating moment of inertia. XRODs pumping unit
D motors. You can get more conservative results data base contains accurate articulating moment
by entering a speed variation that is less than the of inertia values that were either obtained from
maximum expected speed variation for your prime unit manufacturers, or were estimated based on
mover. Selecting to include prime mover speed unit size. The articulating moment of inertia from
variation will approximately double XRODs run the pumping unit database appears as the default
time. number when the program prompts you for the
articulating moment of inertia.
What is moment of inertia?
Including speed variation and moments of inertia
Although this manual is not intended to teach
will usually result in lower predicted peak gearbox
engineering or physics, it is important to briefly
torque, lower peak polished rod load, and higher
explain moment of inertia and how it can affect
minimum polished rod load. This is because a
XRODs results. The mass moment of inertia of a
high speed variation prime mover slows down as
body is a measure of its resistance to acceleration.
the torque on it increases. The rotational inertia of
In other words, the higher the moment of inertia
cranks and counterweights causes a release of ener-
of a body, the more difficult it is to quickly speed it
gy that lowers the torque the gearbox must supply.
up or slow it down.
The articulating inertia adds torque to the gearbox
The rotating and articulating moments of inertia since it opposes the acceleration of the walking
are important in accurately simulating the behavior beam and horsehead. However, the effect of the
or the pumping unit and in calculating net gearbox articulating moment of inertia is usually small
torque when you use a high speed variation prime compared to the effect of the rotating moment
mover. The rotating moment of inertia that XROD of inertia. When the prime mover slows down in
needs is the total rotating moment of inertia. This response to high torque, it causes the polished rod
includes the individual rotating moments of inertia to slow down as well. This results in lower dynamic
of the cranks and counterweights about the slow forces and therefore lower peak polished rod load.
speed shaft of the pumping unit, the total gear
reducer inertia, and the motor rotor inertia. The
articulating moment of inertia of the pumping unit
XROD| 51

5 Changing, Loading and Saving Data

5.1 Visual Input Save button on the toolbar (third from left with
diskette icon), or by selecting File from the menu
Figure 5.1 shows XRODs visual input facility bar and then choosing Save As... This brings up a
that makes it easy to locate a system parameter you standard Windows dialog box that allows you to
want to change. As you are entering the data for save your file with the file name you want. XROD
a new case, or after you have loaded a case from shows the default file name it creates from the well
disk, the visual input window can be displayed by name and by adding an .RSVX file name exten-
clicking on the Visual Input button on the toolbar.
This shows an interactive picture of the pump-
ing system. This feature is useful when running
in non-AI Mode since the AI mode has only two
input windows.
As you move your mouse over the picture of the
system, tool tips appear naming various parts of
the system. Whenever a tool tip is showing, you
can right-click with the mouse to get a pop-up
menu listing input variables associated with that
part of the system. This visual way of changing
data is more useful when you are changing data
in existing files or when you are making what
if... runs. If you are entering a case from scratch,
menu items that correspond to data you havent yet
entered will be disabled.
Left-clicking when a tool tip is displayed opens the
data entry window associated with the part of the
system you clicked on. Another way to change data
is to click on the Alphabetical list button at
the bottom of the visual input window. This brings
ups an alphabetical listing of all variables you can
change. You can locate the variable you want to
change by scrolling down using the mouse.

5.2 Storing Data Files


After you finish entering data for a system, you
can save the data to disk by clicking on the Quick Figure 5.1 - XRODs Visual Input window
52 | Changing, Loading and Saving Data

sion for RODSTAR or .XRVX for XROD. You allows you to save the output as well but as indi-
can change the file name by typing over it, but you vidual files. On the batch log window click Save
cannot change the file name extension. When you All Cases and all of the cases from the run will be
type your own file name, you do not have to type saved individually with their output.
the file name extension. XROD automatically adds
this extension for you.
5.3 Running and Viewing the
You do not have to store your data every time
you make a change. It is recommended that you Output
save the original data and then wait until you get After you enter all your data and you press the
a good design before storing data to disk. After Next Screen button from the motor information
saving data once, XROD makes it very easy to window, the Run button on the toolbar becomes
update the file with the data in memory with a active. To run the program simply click on the
single mouse click on the Quick Save button on Run button on the toolbar (the dynamometer card
the toolbar. icon to the right of the right arrow icon). Another
If you save your data after running XROD and way to run the program is to click on Run on the
the output is displayed on screen, then the non- menu bar. After XROD runs, it displays the out-
AI mode saves both the input and output in the put report, as Figure 5.2 shows. At the bottom of
file. This is advantageous because once you save this screen there are buttons that allow you to view
the output then you can view and print the output the dynamometer, torque, or IPR plots and the
without having to rerun the case. XROD AI mode report. When you select to see the dynamometer

Figure 5.2 - Summary output report - upper half


XROD| 53

Figure 5.3 - Summary output report - lower half

plots, you can select to animate the surface and Results window. Any action to close this window
downhole pump cards. without using this button will close the batch log
and you will not be able to return to the batch log.
When running XROD, these output reports can
If you wish to make adjustments in a specific sys-
be opened by double-clicking the file directory in
tem but do not want to lose the cases in the batch
the batch log, see Figure 5.4. These reports will
log, you may save all cases with the Save All Cases
display all the specific parameters of the systems
button on the top right of the batch log window.
that XROD designed for your well.
These cases will be saved by default to your C:\
To look at different parts of the output you can THETA\SavedXROD_Runs folder.
click the appropriate buttons at the bottom of
XROD will also create an Excel spreadsheet with
the screen (Dynamometer, Torque, IPR Plot, or
all the cases listed in order for you to make a side
Report). When you click on Report, you can scroll
by side comparison of the cases. This spreadsheet
up or down with the mouse, or you can click and
will automatically open once the run is completed.
drag on the report itself. Figure 5.3 shows the bot-
You may edit these spreadsheets to any format you
tom section of the summary report. The summary
would like by using the Batch Mode setup options.
report looks exactly the same as the printed report.
Refer to Chapter 3.
To return to the batch log simply click the close
If you have XBAL on your computer, you can have
button on the bottom right corner of the Output
XROD export the balanced maximum counterbal-
54 | Changing, Loading and Saving Data

Figure 5.4 - XRODs AI Mode Batch Log

ance moment it calculates to CBALANCE. You the Export CBM... button RODSTAR displays
can do this any time the calculations have been the window shown in Figure 5.6 (if there are
run (whether or not you are actually viewing them) two possible ways to balance the unit). Click on
by clicking on the Export CBM button on the the option you want and click on the OK button.
RODSTAR confirms that the value of the maxi-
toolbar ( ).
mum counterbalance moment has been exported
XROD can calculate two possible ways to bal- by displaying the message box shown in Figure 5.7.
ance a unit: for minimum torque, or for minimum
energy consumption.
The most common way to balance a unit is for 5.3.1 Saving the output
minimum torque. However, if the gearbox is not If you save the file while the output is being dis-
overloaded, you may want to balance the unit for played on the screen, in non-AI mode, XROD
minimum energy consumption instead. saves the output along with the input in the same
After viewing the output you can decide which file. Then, you can load a file with output and you
value of balanced counterbalance moment you can display and print the output without having to
want to export to CBALANCE (so that CBAL- rerun the program. To save the output, click on the
ANCE can calculate the counterweight positions quick save icon on the tool bar, or select File on
required to balance the unit). When you click on the menu bar and then select Save As..
XROD| 55

Figure 5.5 - XRODs Output Results

When you load a file that has output saved, the 5.3.2 Running in Batch Mode
program will tell you that output results are avail-
XROD runs batches as a default but you may run
able on the status bar (at the bottom of the XROD
more than one case at a time using the non-AI
window).
mode by selecting to run two or more files in batch
With XROD, you may save all cases with the Save mode. The batch mode starts automatically when
All Cases button on the top right of the batch log you select to load more than one file. This capabil-
window. These cases will be saved
by default to your C:\THETA\
SavedXROD_Runs folder. These
files will be saved as RSVX files.
If you save the XROD file (XRVX)
it will only be the settings and input
parameters and you must run the file
to obtain the output results.

Figure 5.6 - Exporting the maximum CB moment


56 | Changing, Loading and Saving Data

Figure 5.7 - Maximum CB moment exported

ity allows you to make an unlimited number of to run in batch, click on the first file and then,
XROD runs automatically, and without you hav- while pressing S, click on the last file in the
ing to be at the computer. XROD even allows you list. Or, you can click on the first file and then
to schedule the batch run to start at any time (from drag the mouse to highlight all the files you want
the Setup window). to run (it must be a continuous group). To select
To start the batch, select to open a file (either by individual files, click on the files you want to select
clicking the Open File toolbar button, or by select- while pressing C. The selected files are high-
ing Open from the File menu). This brings up lighted as Figure 5.8 shows. When you are done
the open file dialog box. To select a group of files selecting files, click OK.
At this point, XROD will
display the option box in
Figure 5.9 asking you to
choose the options you
want for the batch run. The
first option causes XROD
to create printouts for all
the files it runs. This option
is unselected by default.
The second option causes
XROD to create a sum-
mary spreadsheet file for
all the cases it runs. The
option to view the spread-
sheet in Excel means that
once the cases are pro-
cessed and the spreadsheet
is created, XROD will au-
tomatically load Excel and
Figure 5.8 - Selecting files for a batch run display the results for you.
XROD| 57

cost, system efficiency, energy cost per barrel of oil,


etc. There is no limit to what you can do with the
results.
The spreadsheets that XROD create summarize
the results of all the runs and loads it directly into
Excel. Under the Setup window you can design
and save an unlimited number of spreadsheet
formats. If you do not specify a spreadsheet format
Figure 5.9 - Batch run options before running many cases in batch mode, XROD
uses the default spreadsheet format that comes
The last option allows you to specify whether you with XROD and contains the most common sys-
want XROD to rerun cases with saved output or tem design comparison variables.
not.
The option Dont re-run cases with saved out-
If you do not select the option View spreadsheet put allows you to create different summary
in Excel when you click on Proceed, XROD spreadsheet files with the same set of XROD files.
asks you for Excel file name as shown in Figure When you select this option XROD runs very fast
5.10. Otherwise, if you select to view spreadsheet in batch because all it has to do is extract the cal-
in Excel, XROD starts running in batch immedi- culated values that have already been saved in the
ately. XROD files and enter them in the spreadsheet.
Creating a summary spreadsheet is very useful When XROD starts to run the files you selected,
because it allows you to summarize many runs in a it displays a batch run log window such as that
very concise way. After the results are in a spread- shown in Figure 5.11 that shows the number of
sheet file, you can plot one variable versus another, files you selected, the number of runs that have
you can sort the spreadsheet columns by rod string been completed so far, and the overall percent
completion. XROD
shows the name of each
file that it runs. XROD
prints warnings or errors
after the name line while
running each case. After
each new run is complete,
the program prints **
Run Complete **.
This is a useful record of
the cases that XROD ran
and any warning or errors
generated while running
them. You can cancel a
batch run at any time by
clicking on Cancel. The
program will stop after
it finishes running the
current case and it will
Figure 5.10 - Selecting a spreadsheet file to create display a message box
58 | Changing, Loading and Saving Data

that says: The batch run


was canceled.
After the batch run is
done, click OK to close
this information box.
Then, click on the print
icon on the tool bar. We
recommend printing the
batch run log, especially
when running many
XROD cases. The batch
run log shows what files
you ran, and any errors or
warnings for each case.
Using the batch process
can save you from hav-
ing to wait for each case
Figure 5.11 - A batch run log
to run. You can have
your case execute while at
lunch or even overnight.

5.4 Loading
Data from Disk
After you enter data and
store a file you can easily
modify it by loading it
back in memory. Also,
you can load a file with
saved output and view or
print the output results
without having to rerun
a case (non-AI mode).
You can do this by:
- Clicking on the Open
button on the toolbar
(second from left).
Figure 5.12 - Selecting a file to open - Clicking on File on
XROD| 59

the Menu bar and then on Open, or by pressing click on it once and then click on OK. If the file
C+ o. you want is not in the current directory, you can
easily move to any directory on any drive in your
Also, XROD keeps track of up to nine of the most system since this window also lists sub directories,
recent files you saved or loaded and allows you to and system drives.
quickly load any of them. To see a list of these files
click on the drop-down icon between the file open If your current directory contains many XROD
and file save icons on the tool bar and then click on files, it may be faster to press the first character of
the file you want to load. Or, you can click on File the file you are looking for. For example, if you are
from the menu bar and select Recent Files looking for well name PR101.XRVX, click in the
list once, and then press p and the program will
If there is data in memory, XROD will warn you
jump to the first file in the list that starts with P.
that loading new data will erase the existing data
in memory. This alerts you and helps prevent ac-
cidental loss of your data before you have a chance
to save it. 5.4.1 Viewing Previously Saved Output
XROD has a powerful and easy-to-use file man- When you load a RSVX file that contains output
agement system. When you select to load data you can display the output without having to rerun
from disk, XROD displays the current path and the case. When you load a case that contains input
a list of files in the current directory in alphabeti- data only (no output results were saved), XROD
cal order. Also, XROD allows you to read ROD- displays the first input window (well information).
DIAG files, XDIAG files, and even older XROD Also, the report and print icons on the toolbar are
files. XROD displays a list of the file type you not available. However, when you load a file that
selected in the current directory as the Figure 5.12 contains both input and output, XROD does not
shows. open any input windows. The status bar at the bot-
tom of the screen shows a message like the follow-
To load one of these files, double click on it, or ing:
Successfully loaded file: C:\The-
ta\XROD cases\special cases\
abc#1.rsvx (output results are
available).
Also, the report and print icons
on the tool bar are active. To see
the output without having to re-
run the case, click on the report
icon on the tool bar. To print the
output, click on the printer icon
(next to the e-mail icon).

5.5 Manipulating
Input Windows
XROD is a standard Microsoft
Figure 5.13 - Minimized input windows Windows application and it al-
60 | Changing, Loading and Saving Data

lows you to manipulate the input windows several


different ways. After entering data for all the input
windows, or after you load a file from disk, you
can display one window at a time, you can open
all windows, or you can arrange them any way you
want as explained below:
After entering data for a case or after load-
ing a file from disk, click on each windows icon on
the toolbar. This loads all input windows.
You can click on the minimize button of
each form to minimize them into icons at the
bottom of the main window as Figure 5.11 shows.
To open any of the minimized windows, double
click on its icon or click on it once and then select
Restore.
You can use the mouse to resize windows,
or to drag a window or an icon anywhere in the
XROD main window.
XROD| 61

6 Rod Pump System Design

You can use XROD to quickly design any rod the-art design algorithms, it is very accurate and
pumping system, compare pumping units, sucker reliable. The biggest advantage of XROD is that
rod designs, insert versus tubing pumps, clockwise it lets you design rod pumping systems very fast
versus counterclockwise crank rotation, include using your AI mode preferences. You can then go
IPR modeling in your predictions, etc. XROD can into the individual design and fine tune it if neces-
calculate the pumping speed, pump plunger size, sary. This dramatically reduces the time it takes to
and rod string design for you. Also, it can recom- design rod pumping systems. I also improves the
mend motor size and pumping unit size based on designs since the AI capabilities of XROD result
your target production. These powerful features in excellent system designs with very high scores.
help you design rod pumping systems faster than
Because XROD can predict energy consumption
ever before. Also, because XROD uses state-of-
very accurately, you can use it to select the most

Figure 6.1 - XROD Summary Report


62 | Rod Pump System Design

economic system designs. The following sections


explain how to apply XROD to solve common de-
6.1 Understanding XRODs Output
sign problems. As you become more familiar with To maximize the benefit of using XROD, it is
XROD you will discover many different applica- important to understand its output. After XROD
tions for this powerful rod pump system design runs in non-AI mode, it displays the summary
tool. XRODs capability to read RODDIAG and output report page. Also, it shows buttons on the
XDIAG files (in non-AI mode) and overlay the bottom of the output window that allows you to
measured dynamometer card on the same plot as access the predicted dynamometer plot, torque
the predicted one is very useful. With this capabil- plot, IPR plot (if IPR data was entered), or return
ity you can: to the output report as Figure 6.1 shows.
1. Perform a History Match on existing rod
pumping systems before you make a design
change. This allows you to figure out unknown 6.1.1 Dynamometer and Permissible Load Plots
quantities such as rod-tubing friction.
When you click on the Dynamometer button
2. Detect an out-of-calibration load cell (used then you see the predicted surface and downhole
to record the actual dynamometer card) by dynamometer card plots along with the permis-
checking for a consistent shift in actual versus sible load diagram as shown in Figure 6.2 . These
predicted dynamometer card shape. plots show the predicted surface and downhole
3. Detect incorrect fluid level measurements due dynamometer cards, measured surface dynamom-
to foam in gassy wells. eter card from a RODDIAG or XDIAG file (if

Figure 6.2 - Dynamometer plots and Permissible Load diagram


XROD| 63

you selected that option), and the permissible load sis section of the printout. The permissible load
diagram. XROD uses a permissible load diagram diagram corresponds to existing conditions if you
that shows if the gearbox or structure of the entered a counterbalance moment. If you did not
pumping unit are overloaded or if the minimum enter an existing max. CB moment then the pro-
polished rod load is negative. This is different gram shows a permissible load diagram for bal-
than the traditional permissible load diagram that anced condition (for minimizing gearbox torque).
only shows whether the gearbox is overloaded. This Note!: The above discussion about XRODs
extended permissible load diagram can be made permissible load diagram refers to beam pump-
up of curved lines only, combination of curved and ing units. The permissible load diagram for
straight lines, or straight lines only. If the upstroke long stroke units such as the Rotaflex will have
part of the predicted surface dynamometer card straight line segments that correspond to gear-
exceeds the curved line of the permissible load box loading or structure loading. Please look at
diagram this indicates that the gearbox is over- the structure loading number on the first page
loaded at that point. If the dynamometer card cuts of the output and the percent gearbox loading
into the straight line section of the permissible under torque analysis for the exact percent unit
load diagram on the upstroke, this indicates that loading.
the structure of the pumping unit is overloaded
because the polished rod load is larger than the In addition to showing whether the gearbox is
structure rating of the unit. overloaded, the permissible load diagram also
shows how well the pumping unit matches the
For the exact numbers of peak net gearbox torque load requirements of your system. If the predicted
and gearbox loading, look at the torque analy- polished rod dynamometer card fits nicely in the

Figure 6.3 - Torque plot


64 | Rod Pump System Design

permissible load envelope, this indicates a good sible load diagram.


agreement between the pumping unit and the rest Including prime mover speed variation and inertia
of the system. effects will alter the shape of the permissible load
However, if the predicted surface dynamometer diagram. The lines will be smoother if you do not
card shows a trend that is opposite that of the include prime mover speed variation. If you include
permissible load diagram, this shows that design speed variation the permissible load diagram will
changes are necessary to avoid overloading the tend to reflect changes in polished rod load. This
pumping unit and to better match it to the rest of is because the permissible load diagram in XROD
the system. If the permissible load has a trend that includes the effect of rotating and articulating mo-
is opposite than the predicted dynamometer card, ments of inertia. As the prime mover speed chang-
it may indicate that the pumping unit you se- es, this causes changes in polished rod velocity and
lected is not the best geometry for this application. acceleration which in turn changes the polished
You may have to change the spm, plunger size, rod load and the distance between the dynamom-
rod string design, or stroke length to get a better eter card and the permissible load diagram.
match between the dynamometer card and permis-

Figure 6.4 - Inflow performance relationship (IPR) plot


XROD| 65

The output window has new buttons that allow 6.1.3 IPR Plot
you to animate the calculated dynamometer cards.
When you click on the IPR Plot button, XROD
Figure 6.2 shows a play button (the one with the
displays separate oil, water, and fluid production
double arrow) which causes small dots to move
versus flowing bottomhole pressure plots as Figure
around the surface and downhole dynamometer
6.4 shows. Also, it shows a line with the current
cards; a stop button which makes the movement
bottom hole pressure and the test points you en-
stop; and a step button (the one with the single
tered. The line below the title of the plot shows the
arrow) which lets you move the dots one time-step
correlation you selected to use for the oil IPR and
at a time, while holding the button down moves
if you selected the Fetkovich method, it shows the
the dots in slow motion. This facility can be used
value of n. If you only enter one test point, n is set
to get a better understanding of rod stretch effects
to one. If you enter two or more test points then
and other phenomena such as the position and
XROD calculates the value of n by doing a log-log
speed of the pump plunger and how this relates to
plot. For water, XROD uses a straight line IPR.
the surface dynamometer card.
From this screen you can look at any other part of
the output by clicking the appropriate option at 6.1.4 Report
the bottom of the screen. For example, to view the
torque plots click on Torque. Also, you can select To see the report, click on the Report button.
to view the report on screen, or you can send the To open a report from the batch log simply click
output to the printer. After you are done viewing on the file name. You can scroll this window using
the output, close the screen by clicking on Close. the mouse by clicking or the up or down arrows
at the top or bottom of the range bar on the right
edge of the window.
6.1.2 Torque Plot Or, you can click and drag the range bar or the
report itself with the mouse.
When you click on the Torque Plot button
XROD displays the net gearbox torque plots for Cover Page
existing and balanced conditions. If you entered an If this page is enabled, it will be the first page of
existing maximum counterbalance moment, then the report. This page is designed to create a pre-
you may see a plot with up to three curves: one for sentable cover page when sending reports to other
existing conditions, one for balanced conditions for parties. You may put your company logo and con-
minimum torque, and one for minimum energy tact information as well the recipients information
consumption. If there is no difference between clearly documenting who performed the run and
the curve for minimum torque and the one for who the run is addressed to.
minimum energy, then the program shows only
two curves (existing and balanced). If you selected Scoring
unknown max. CB moment then XROD will This page will display the overall score of the
only show one curve if there is little difference design in a basic letter grade format. If there are
between balanced for min. torque vs balanced for any areas of concern which may have caused a low
minimum energy consumption (see Figure 6.3). score, XROD will display the issues here and rec-
Otherwise, it will show two balanced curves: one ommend solutions to the problems. If the system
for minimizing torque and one for minimizing receives a good score without recommendations,
energy consumption. then the scoring page will not be displayed.
66 | Rod Pump System Design

Input and Output Summary minimum load.


The summary report that appears when you first The ratio PLHP/PRHP (permissible load HP
run XROD shows input data on the left side of the divided by polished rod HP) is a number that
page and calculated numbers on the right size. The should be as large as possible without overloading
top part of the printout shows the company name, the pumping unit. The larger this number is, the
well name, user name, date of the run, and com- more of the pumping unit potential capacity you
ment. Following is a detailed explanation of each are using.
item on the output.

Fluid load on Pump


Polished Rod Loads and Horsepower Fluid load on the pump shows how much fluid
The peak and minimum polished rod loads show load the plunger is carrying on the upstroke. This
the polished rod load fluctuation predicted by is a function of pump depth, fluid level from sur-
XROD. The polished rod horsepower shows how face, and plunger size. Fluid load on the pump is a
much work the pumping system is putting into the function of pressure difference across the plunger
rod string to lift the predicted production from the and pump plunger diameter.
present fluid level to the surface.
If you entered a target production or used IPR data Unit Structural Loading
to determine the target production, XROD calcu-
lates the SPM required to get the target produc- Pumping unit Structural Loading indicates wheth-
tion. er or not the pumping unit structure is overloaded.
This is a function of the peak polished rod load
and the structural capacity of the pumping unit
System Efficiency (the middle number in the API pumping unit
designation).
The system efficiency is calculated by regarding
the whole pumping system as a black box with
electricity going in and produced fluid coming out. Buoyant Rod Weight
This number shows how efficiently the system con-
verts electric power to work needed to lift the pro- Buoyant rod weight shows how much the rod
duced fluid to the surface. A system efficiency of string weighs in fluid. Since the rod string is im-
45% or above is excellent. In General, deeper wells mersed in the fluid inside the tubing, it weighs
will have lower efficiencies than shallow wells since less than in air. You can compare this number to
deep wells have more rod-tubing frictional loses. a measured standing valve load. A good standing
valve check should be close to the weight of rods in
Efficiencies of 35%-45% are average, while system fluid as calculated by XROD for a pump that is in
efficiencies of less than 35% are poor and can usu- good mechanical condition. If these two numbers
ally be increased by using a longer, slower stroke differ by more than 10% and the standing valve is
(with larger pump plunger). in good condition, it may be an indication that the
load cell is out of calibration or that the standing
valve load was incorrectly measured. Also, the sum
Permissible Load HP
of the buoyant rod weight plus fluid load on the
Permissible load horsepower is defined as the area pump should be close to the traveling valve load
bounded by the upper permissible load line, lim- for a good pump.
ited by the structural rating of the pumping unit
and the lower permissible load line, limited by zero
XROD| 67

Figure 6.5 - Section of XROD Output Report

N/No and Fo/Skr to keep Fo/Skr above 0.3 and below .8 for best
results. Also for fiberglass rod strings, you should
The dimensionless numbers N/No and Fo/SKr
keep N/No below 1.0 and above .4 for best results.
are defined in API RP 11L1 . N/No is the ratio
of pumping speed to natural frequency of the rod
string. Fo/SKr is the rod stretch caused by the Prime Mover Speed Variation
static application of fluid load, as a percent of the
polished rod load stroke. In general, the higher If you select to have XROD calculate the motor
the Fo/Skr is, the shorter the pump stroke will be. speed variation for you then this section shows
Also, the higher the N/No the larger the pump what this number is. For NEMA D motors this
stroke is. These numbers also relate to system ef- number will vary from 2% to 14% depending on
ficiency. In general, the larger N/No is, the lower motor size. For correctly sized ultra high slip mo-
the efficiency will be. The larger the Fo/SKr is, tors it can be as high as 50%. If motor speed varia-
the better the system efficiency is. However, this tion is not considered then this will be indicated
relationship is not linear. on the output report.

For low Fo/Skr numbers (below 0.25) fiberglass-


steel rod strings will have very low system efficien- Pumping Unit Data
cies and should be avoided. For fiberglass rods try
This section (see Figure 6.5) shows the pumping
1 API RP 11L (Third Edition) Recommended unit you selected, the pumping unit ID, the cal-
Practice for Design Calculations for Sucker Rod culated stroke length, the structural unbalance,
Pumping Units. American Petroleum Institute, the crank offset angle, crank rotation with the
Dallas TX. well to the right, and the crank hole number. If
68 | Rod Pump System Design

you entered your own pumping unit dimensions


for a unit not in the programs database, if the Tubing, and Pump Information
calculated stroke length is different from what you
think it should be, check the pumping unit data to Here you see the tubing inside and outside di-
make sure you entered the right dimensions. If you ameters, the anchor depth, the calculated tubing
selected to include speed variation and inertia ef- stretch, the upstroke and downstroke rod-tubing
fects in the calculations, XROD will also print the friction factors you entered or that were calculated
rotating and articulating moments of inertia. by XROD, pump load adjustment., etc. Also, this
section shows the pump depth, the pump type,
and plunger size.
Torque Analysis and Electricity Consumption XROD uses the pump volumetric efficiency you
In this section, the program prints the predicted enter to calculate the expected production rate.
peak gearbox torque, percent gearbox loading, cy- When you ask the program to calculate the spm
clic load factor, maximum counterbalance moment, by entering a target production, it will calculate a
and counterbalance effect. Also, it calculates elec- larger spm if you enter 80% pump efficiency than
tricity consumption. XROD predicts the KWH when you enter 90% pump efficiency.
consumed per day, the estimated monthly bill, and
cost per barrel of fluid and per barrel of oil per day.
Use the cost per barrel numbers when comparing Tubing, Pump and Plunger Calculations
system performance to ensure a valid comparison. This section shows tubing stretch and production
This is because a system that shows a lower month- loss due to tubing stretch, gross pump stroke, the
ly bill may also be producing less fluid. pump spacing recommendation, minimum re-
If you enter a non-zero maximum counterbalance quired pump length, and recommended plunger
moment the program calculates the above num- length. The pump spacing recommendation should
bers for both existing and balanced conditions. If be used as follows:
the existing max. CB is unknown, it will calculate After working on the well and before you
the above numbers for balanced conditions only. are ready to restart the pumping unit, make
XROD has the capability to balance pumping sure the tubing is full of fluid. Then lower
units for minimum torque and minimum energy. If the rod string slowly until it tags bottom.
the maximum counterbalance moment for mini- Then raise the rod string a distance equal
mum energy equals the one for minimum torque to the one recommended by XROD next to:
then the program shows only one recommendation Pump spacing (in. from bottom): Then,
for balanced conditions. However, if the two values attach the polished rod to the bridle with the
are more than 2% different then it shows two bal- unit stopped at the very bottom of the down-
anced columns: One for minimum torque, and one stroke.
for minimum energy. The torque plots show how
net gearbox torque changes throughout the pump- Please note that the working fluid level makes a
ing cycle for existing and balanced conditions. big difference in pump spacing and pump length.
This is especially true for fiberglass rods since the
To maximize gearbox life you must keep gearbox plunger travel is strongly dependent on fluid load
loading less than 100%. The cyclic load factor on the plunger.
indicates how smooth the gearbox torque is. The
smaller this number is, the more uniform the net
gearbox torque is. Also, a smaller cyclic load factor Rod String Design and Stress Analysis
will result in higher system efficiency because of
This section shows the rod string design and ser-
less thermal losses in the motor.
vice factor you selected, the calculated percent rod
XROD| 69

loading for each rod section, the maximum and Also, below the rod string cost is the pumping unit
minimum stresses at the top, and the bottom min- cost. XROD shows the cost information only if
imum stress for each rod section. To ensure your you select this option in Setup. You must first enter
rods are in tension, do not include buoyancy effects rod string and pumping unit cost data in Setup
(this should always be the case for steel rods). before XROD can show you accurate cost infor-
Then, make sure there are no negative stresses on mation here.
any other rod section other than the sinker bar sec-
tion on the bottom of the rod string.
Inflow Performance Relationship Information
If you are using fiberglass rods you would not want
to use a design with a negative bottom minimum This section shows the correlation used for oil
stress on the fiberglass section even with buoyancy IPR, mid-perf depth, the static bottomhole pres-
effects included. Compressive loading will cause sure, and the bubble point pressure (if entered) or
fiberglass rods to part. Also, to maximize rod life, whether the well is producing below the bubble
stress loading must be less than 100% in all cases. point pressure. Also, it shows a table of input test
For sinker bars, XROD calculates stress loading, point data of flowing bottomhole pressure versus
top maximum and top minimum stresses based on measured production, and a table of pressure vs.
the elevator neck or pin undercut diameter of the production table. As Figure 6.7 shows, this table
sinker bars. However, XROD still uses the full shows separate oil, water, and fluid production
body diameter in the calculation of stress at the rates for different pump intake pressures.
bottom of the sinker bar section.
6.2 Rod Pump System Design
Rod String and Pumping Unit Cost Analysis Guidelines
This section shows the cost of each rod section as
The following discussion applies to XRODs
well as the total rod string cost (see Figure 6.6).
non-AI mode. When designing a rod pumping

Figure 6.6 - System cost analysis


70 | Rod Pump System Design

system you must specify the equipment, strokes between efficiency, rod loading, pumping unit size,
per minute, and stroke length required to get the and cost.
desired production at the lowest possible cost. In A very important aspect of system design is pump-
your efforts to select the best system design for ing rate. If you know the maximum production
your well you will be mostly concerned with the rate you can expect then design the pumping sys-
following parameters: tem for a production rate a little higher than that.
Production Rate This ensures enough pump capacity to account for
normal pump wear and inaccurate data. However,
Capital costs
if the pumping rate is substantially higher than
Rod loading what the well is capable of producing, then the
Gearbox loading well will pump off. Fluid pound is a problem that
results from the common practice of over-design-
System efficiency and power costs ing the pumping capacity. Fluid pound is damag-
Ideally, the system you select will give the highest ing to pump, rods and pumping unit. If you do not
present value profit after tax, considering capital take steps to minimize fluid pound it will reduce
and operating costs. Up to now, rod system design efficiency and equipment life. You can reduce fluid
was a tedious trial and error process that usu- pound by slowing down the unit, shortening the
ally resulted in a system that could be far from stroke length, using a smaller pump, or by install-
ideal. Since achieving an optimum design requires ing a percentage timer or pump off controller.
equipment and data that may not be available, only Because XROD can simulate fluid pound, you can
the most obvious system parameters are usually use it to see what will happen if the well pumps
considered. In most cases production rate is of off.
highest priority, followed by rod loading, gear-
box loading, and energy cost. If electricity cost is
high, you can lower it by using a larger pump and 6.2.1 Shallow, High Rate Well Simulation
a slower pumping speed. However, a large pump
XROD can simulate any pumping unit geometry
will increase rod loading and gearbox torque.
and gives accurate results for any pump depth or
Also, a large pumping unit must be used. This will
production rate. This is especially significant for
increase capital cost. On the other hand, a small
shallow well applications because conventional
pump demands a faster pumping speed and longer
design computer programs such as the API RP
stroke to maintain production. This increases ener-
11L and other wave equation programs give poor
gy consumption but reduces the required pumping
results. This is because at shallow depths, polished
unit size. Usually, you must reach a compromise

Figure 6.7 - IPR report


XROD| 71

rod load is increasingly dependent on the dynamic pumping systems faster and more accurately than
effects of fluid in the tubing. This is especially with any other computer program.
true for high production rate shallow wells (pump
depth less than 4000 feet with larger than 2.00
plunger). 6.2.3 Avoiding Rod Compression
To accurately simulate these wells, XROD uses two XROD calculates rod stresses at the top and bot-
wave equation models simultaneously, one for the rod tom of each rod section. It calculates the maximum
string and one for the fluid in the tubing. This unique and minimum stress at the top of each rod section
capability allows very accurate predictions. XROD in order to calculate the percent stress loading. It
can predict the expected surface and downhole also calculates the minimum stress at the bottom
dynamometer card shapes common to shallow, of each rod section. The bottom minimum stress
high rate wells. When designing shallow high rate shows if the rods are in compression.
wells it is recommended that you use pump ef-
ficiencies of 90%-95% to avoid under-predicting Steel rods can tolerate some compressive force but
peak polished rod load, torque, etc. This higher fiberglass rods cannot tolerate any compression
pump efficiency will result in higher fluid velocity at all. This is why fiberglass rods must have steel
in the tubing and higher fluid inertia forces on the rods or sinker bars at the bottom. The weight of
plunger. However, when you are trying to history the sinker bars overcomes the opposing hydrostatic
match an existing system, you may need to use a force and pump friction. If correctly designed, the
pump efficiency of less than 90% to better match sinker bars or steel rods ensure that the fiberglass
the actual pump slippage of your system. rods are always in tension.
Although steel rods can be subjected to some com-
pression without adverse effects, excessive negative
6.2.2 Selecting the Target Production stresses can cause buckling problems. The recom-
mended way to use XROD to determine how
To avoid severely over-sizing the displacement many sinker bars you need to avoid compres-
capacity of your pumping system, design it with a sion is to select to have the program design the
pump efficiency of 80%-85% or even 75% if you sinker bars for you in the AI Mode Preferences in
expect the downhole pump to wear out quickly. Setup. Other ways of minimizing buckling prob-
This ensures that you will get your production lems include using smaller pumping speeds and
without grossly over-designing the system. avoiding use of small diameter rods such as 5/8 or
To minimize energy consumption and stress load- even .
ing, use the largest plunger diameter and slow- Please note that XROD can design the sinker bars
est pumping speed combination possible without you need to keep the rods in tension and avoid
overloading the rod string and pumping unit. If buckling even in non-AI mode.
you have to make a choice between stress loading
and power consumption, opt for lower stress load-
ing especially if you are close to 100% since rod
breaks are more costly than a slightly lower system 6.2.4 Minimizing Power Consumption
efficiency. In general, the slower the pumping speed and the
Note that these are only general guidelines. Eco- larger the pump plunger size, the less energy the
nomics and local field conditions may require a pumping system will use. However, minimizing
different design philosophy than the one described energy consumption must not be the sole purpose
above. Regardless of your objectives and design of system design because a large pump plunger
philosophy, with XROD you can design rod diameter will result in large polished rod load and
72 | Rod Pump System Design

gearbox torque. This will require the purchase of a equipment you plan to use will not be overloaded if
larger unit, larger rods and bigger prime mover. To the fluid level drops in the future.
come up with the best pumping system design you For systems with fiberglass-steel rod strings, you
must consider the economics of the whole system may get higher gearbox torque loads and higher
and whether you plan to use existing equipment or polished rod horsepower when the fluid level is
buy new ones. above the pump. This occurs because fiberglass rods
XRODs power and ease of use allows you to get are very sensitive to fluid load. When the fluid
the most economic pumping system based on level is above the pump, the fluid load on the pump
your economic criteria. Because XROD calculates is reduced. This causes a longer pump stroke which
the predicted energy consumption, rod sizes, rod in turn affects the shape of the surface dynamome-
loading, and recommends a pumping unit size, ter card making it fatter. This in many cases brings
it provides you with the data you need for sound the predicted surface dynamometer card closer to
economic decisions. the permissible load diagram causing the gearbox
load to increase. Also, when the area of the surface
dynamometer card increases, the system requires
6.2.5 Reducing Gearbox Torque a larger motor size. This means that when you use
fiberglass rods you should run system simulations
Sometimes, using the largest unit stroke may not using different fluid levels (within the expected
be the best way to maximize production since it fluid level range) to see which fluid level results in
can result in severe gearbox overload. If this oc- the highest loads and largest required motor size.
curs you may be able to use the next smaller unit
stroke and speed up the unit to get your produc- Using different fluid levels also affects the calculat-
tion without overloading the gearbox. Another way ed pump stroke length and therefore the required
of reducing gearbox loading is by using a smaller pump length and pump spacing . XROD can
pump plunger. Another way is to use a lighter rod recommend a NEMA D motor size based on the
string by using either high strength steel or fiber- fluid level or pump intake pressure you enter.
glass rods. TIP: You can speed up your system design con-
Also, you can reduce gearbox torque with an ultra siderably by asking XROD to design a rod string
high slip motor. XROD can predict the gearbox for you. Even if you do not plan to use the design
torque depending on the pumping unit size and ul- XROD recommends, it is easy to grab XRODs
tra high slip motor size. Also, XROD can calculate recommended design and modify it. To do this,
the motor speed variation and power consumption after the program runs, go to the rod string entry
very accurately. screen and select the Manual rod string entry
option. The program will default to the rod string
it calculated, and it will display this data as if you
had entered it yourself. So, you can simply change
6.2.6 Using XROD for Correct Equipment Sizing
only the data you want to modify. Please keep in
When designing a new rod pump system you must mind that XROD expects the length of the rod
ensure that the system you select has sufficient ca- string you enter to be within 50 feet of the pump
pacity to produce the well under the heaviest loads depth. However, it cannot be longer than the
possible during its operating life. For most systems pump depth.
this will occur when the fluid level is at the pump.
Therefore, even if you do not expect the fluid level
to be at the pump, it is a good idea to design the 6.2.7 Using XROD for Diagnostic Analysis
pumping system (especially when using steel rods)
for fluid level at the pump. This ensures that the Although XROD is primarily a design tool it can
XROD| 73

be a very powerful diagnostic aid, when used in Rod-tubing friction is especially important
conjunction with RODDIAG or XDIAG. This for fiberglass rods. Higher friction than
is due to the powerful overlay feature that allows normal may actually reduce the area of the
direct comparison of predicted versus measured predicted surface dynamometer card because
dynamometer cards. it causes the rods to stretch which results in a
small stroke at the pump.

Using XRODs Dynamometer Overlay Feature


This feature has many different uses. For example,
it can help you figure out if your load cell is out
of calibration, if the fluid level you measured was
incorrect, etc. XROD can help you find these
problems by comparing the shape and load range
of the measured dynamometer card versus the one
predicted by the program. Also, it can help verify
downhole problems such as a worn pump, leaking
traveling or standing valves, deep rod parts, stuck
pump etc. You can simulate a worn out pump or a
deep rod part by entering a fluid level of zero feet
from surface. This will result in zero fluid load on
the pump plunger.
XROD cannot simulate a traveling valve leak,
a hole in the pump barrel, or a sticking pump.
But, it can predict what the dynamometer card
should look like if there were no problems. Then,
by comparing the actual dynamometer card shape
with the theoretical shape, you can have more
confidence in your diagnosis of the problem. For
example, if you have a traveling or standing valve
leak or a worn out pump, then the pump will be
doing less work and the surface dynamometer card
will have less area than the theoretical polished rod
dynamometer card.
If the pump is sticking, or if there is more friction
than normal between rods and tubing (due to par-
affin, scale, etc.), the measured dynamometer card
will be fatter than normal. The theoretical polished
rod dynamometer card predicted by XROD (for
average friction calculated by the program) will be
smaller than the measured dynamometer card. By
entering a larger rod-tubing friction coefficient you
can get a better match between actual and predict-
ed dynamometer cards. This technique helps you
figure out what rod-tubing friction factor to use for
better simulation of your rod pumping wells.
Theta Oilfield Services, Inc., 3075 E. Imperial Hwy Suite 125, Brea, CA 92821 USA
Phone: (562) 694-3297 | gotheta.com

You might also like