STIPumpCard. User Manual

Similar documents
FIG: 27.1 Tool String

Workshop 1: Bubbly Flow in a Rectangular Bubble Column. Multiphase Flow Modeling In ANSYS CFX Release ANSYS, Inc. WS1-1 Release 14.

Down-Hole Gas Separator Performance Simulation

Gas Locked Pumps are NOT Gas Locked!

W I L D W E L L C O N T R O L PRESSURE BASICS AND CONCEPTS

1.2 Example 1: A simple hydraulic system

PC-PUMP Points to Consider

Downhole Gas Separation Performance

Downhole Gas Separators

Artificial Lift Basics Pre Reading

Rig Math. Page 1.

PHYS 101 Previous Exam Problems

Sucker Rod Pumping Workshop Technology in a Mature Industry. September 2017 John C. Patterson Consultant Retired from ConocoPhillips (2015)

Sucker Rod Lift Downhole Gas Separators Proposed Industry Testing

Contact Information. Progressive Optimization Service. We Provide: Street Bay #2. Grande Prairie, AB T8V - 4Z2

SCORPION HIGH-QUALITY, FULLY COMPOSITE PLUGS

Cover Page for Lab Report Group Portion. Pump Performance

OPERATING MANUAL DOUBLE ACTING DRILLING INTENSIFIER HYDRAULIC TYPE

Wave Load Pattern Definition

CENTER PIVOT EVALUATION AND DESIGN

Experiment P18: Buoyant Force (Force Sensor)

Drilling Efficiency Utilizing Coriolis Flow Technology

NORDCALC Introduction... 2 Registration... 2 Flow Calculations tab Torque Calculation & Actuator Mounting Data tab... 21

ROSE-HULMAN INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering. Mini-project 3 Tennis ball launcher

PRODUCTION I (PP 414) ANALYSIS OF MAXIMUM STABLE RATE AND CHOKES RESOLVE OF OIL WELLS JOSE RODRIGUEZ CRUZADO JOHAN CHAVEZ BERNAL

SOFTWARE. Sesam user course. 12 May 2016 HydroD Hydrostatics & Stability. Ungraded SAFER, SMARTER, GREENER DNV GL 2016

Innovating Gas-Lift for Life of Well Artificial Lift Solution. The Unconventional Solution!

International Journal of Petroleum and Geoscience Engineering Volume 03, Issue 02, Pages , 2015

This portion of the piping tutorial covers control valve sizing, control valves, and the use of nodes.

Packer-Type Gas Separator with Seating Nipple

KISSsoft 03/2016 Tutorial 9

HydroPull. Extended-Reach Tool. Applications

Beam Pumping to Dewater Horizontal Gas Wells

Bridge Plugs, Ball Drop & Caged Ball Plugs For Zone Isolation

Gerald D. Anderson. Education Technical Specialist

B04 Guided Interpretation #4

Pump Fillage Problem Overview. Jim McCoy. 9 th Annual Sucker Rod Pumping Workshop. Renaissance Hotel Oklahoma City, Oklahoma September 17-20, 2013

UNDERGROUND SURVEY WITH MINEMODELLER

Irrigation &Hydraulics Department lb / ft to kg/lit.

16. Studio ScaleChem Calculations

Autodesk Moldflow Communicator Process settings

1 PIPESYS Application

SIDRA INTERSECTION 6.1 UPDATE HISTORY

Simulator For Performance Prediction Of Reciprocating Compressor Considering Various Losses

U S F O S B u o y a n c y And Hydrodynamic M a s s

On-Off Connector Skirt

Overview. 2 Module 13: Advanced Data Processing

1. UPDATE 12/12/2014: What wells are regulated under the MIA Program? Must they be drilled, stimulated, and completed? Must they be in production?

New power in production logging

Pump Selection and Sizing (ENGINEERING DESIGN GUIDELINE)

Downhole Gas Separator Selection

3 1 PRESSURE. This is illustrated in Fig. 3 3.

Hydraulic Optimization Worksheet for MS Excel All Versions subsequent to 5.0

COPYRIGHT. Production Logging Flowmeter Survey Solution Guide

TECHNICAL BENEFITS OF CJS / RAISE HSP. Technical Advantages

WILD WELL CONTROL WARNING SIGNS OF KICKS

Air Operated Hydraulic Pumping Systems to 50,000 psi

SWS Option: Well Pressures. SWS Option: Stretch Correction (Corrected depth) SWS Option: MMD (Magnetic Marks Detection) ASEP Products

Operating Instructions EB EN. Series 373x Electropneumatic Positioner Type 373x-5 EXPERT + with FOUNDATION fieldbus communication

Coiled Tubing string Fatigue Management in High Pressure Milling Operation- Case Study

Jim McCoy. Tubing Anchor Effect on Pump Fillage. Lynn Rowlan Tony Podio Ken Skinner. Gas Well Deliquification Workshop.

v2.3 USER MANUAL

ACTIVITY 1: Buoyancy Problems. OBJECTIVE: Practice and Reinforce concepts related to Fluid Pressure, primarily Buoyancy

3D Inversion in GM-SYS 3D Modelling

09 - Choosing /sizing a cylinder and valve

LECTURE 20 FLOW CONTROL VAVLES SELF EVALUATION QUESTIONS AND ANSWERS

Downhole Gas Separator Selection

DRILLSCENE PROACTIVE DRILLING DECISIONS

North American sealing solutions Bridge Plug Ball Drop Frac Plug Caged Ball Frac Plug

APPENDIX A1 - Drilling and completion work programme

PRESSURE SURGES IN PIPELINES

Torque & Drag & Buckling

Cover Page for Lab Report Group Portion. Head Losses in Pipes

Pump-Fan-Compressor Sizing

The Estimation Of Compressor Performance Using A Theoretical Analysis Of The Gas Flow Through the Muffler Combined With Valve Motion

Moyno ERT Power Sections. Operational Guidelines

OCEAN DRILLING PROGRAM

IWCF Equipment Sample Questions (Combination of Surface and Subsea Stack)

VISIMIX TURBULENT. HEAT TRANSFER PROCESS IN A SEMIBATCH REACTOR

Chapter 5 HORIZONTAL DRILLING

Understanding pressure and pressure

A STUDY OF THE LOSSES AND INTERACTIONS BETWEEN ONE OR MORE BOW THRUSTERS AND A CATAMARAN HULL

Section 2 Multiphase Flow, Flowing Well Performance

Conventional Ship Testing

Downhole Diverter Gas Separator

Modeling of Hydraulic Hose Paths

Computer Simulation Helps Improve Vertical Column Induced Gas Flotation (IGF) System

Sesam HydroD Tutorial

SUBSEA KILL SHEET EXERCISE No. 5

Applied Fluid Mechanics

Chapter 15 Fluid. Density

COMPUTATIONAL FLOW MODEL OF WESTFALL'S LEADING TAB FLOW CONDITIONER AGM-09-R-08 Rev. B. By Kimbal A. Hall, PE

Heat Engine. Reading: Appropriate sections for first, second law of thermodynamics, and PV diagrams.

June By The Numbers. Compressor Performance 1 PROPRIETARY

PowerDrive X6. Rotary Steerable System for high-performance drilling and accurate wellbore placement

Acoustic Liquid Level Testing of Gas Wells

The API states the following about tube rupture for a shell-and-tube heat exchangers:

CVEN 311 Fluid Dynamics Fall Semester 2011 Dr. Kelly Brumbelow, Texas A&M University. Final Exam

UNIVERSITY OF WATERLOO

River Bridge - Test Shaft-1 Clarke County, MS, 4/2/2012

Transcription:

STIPumpCard User Manual

Contents 1. Introduction...1 1.1. What is STIPumpCard?... 1 1.2. Main User Interface... 2 2. Input Parameters...4 2.1. Project... 4 2.2. Simulation Settings GroupBox... 4 2.3. Pump Load Analysis... 5 2.4. Input Parameters... 6 3. Rod Properties Tab...8 3.1. Material Properties Table... 8 3.2. Rod Properties Table... 9 3.2.1. Create Rod String Using API Number... 9 4. Surface Unit... 11 4.1. Surface Unit Types... 11 4.2. Surface Unit Inputs... 13 4.3. Surface Unit Information... 15 4.3.1. Rotary Units... 15 4.3.2. Hydraulic Units... 16 4.3.3. Rotaflex Units... 17 5. Deviated Well Tab... 18 6. Solver Parameter Tab... 21 7. Outputs Tab... 22 7.1. Output Plots/Tables Groupbox... 23 7.2. Output Parameters... 24 7.3. Output Files... 24 7.4. Sample Output... 25 8. Tools Tab... 30 8.1. Unit Conversion... 30 8.2. Density Calculator... 31 8.3. Intake Pressure Calculator... 32 8.3.1. Pump Intake Pressure from IPR Data... 32

8.3.2. Pump Intake From Fluid Level... 33 8.4. Stroke Rate Calculator... 34 8.5. Free Gas Calculator... 35 8.6. Damping Factor Calculator... 36 8.7. Pump Efficiency Calculator... 37 9. Batch Processing... 38 Figure 1 - Main User Interface... 2 Figure 2 - Input Parameters Panel... 4 Figure 3 - Project Path Display... 4 Figure 4 - Pump Load Analysis File Format... 5 Figure 5 - Input Parameters Panel... 6 Figure 6 - Valve Spacing Explanation... 6 Figure 7 - Rod properties Panel... 8 Figure 8 - Material Properties Table... 8 Figure 9 - Material Properties File Format... 9 Figure 10 - Rod Properties Table... 9 Figure 10 - Create Rod String Dialog... 10 Figure 11 - Rotary Unit Types... 11 Figure 12 - Hydraulic Unit... 12 Figure 13 - Rotaflex Unit... 12 Figure 14 - Surface Unit Panel... 13 Figure 15 - Rotary Unit Information Panel... 15 Figure 16 - Hydraulic Unit Information Panel... 16 Figure 17 - Hydraulic Unit Parameters... 16 Figure 18 - Rotaflex Unit Information Panel... 17 Figure 19 - Borehole Profile Panel... 18 Figure 20 - Cartesian Borehole Profile File Format... 19 Figure 21 - Polar Borehole Profile File Format... 20 Figure 22 - Single-Point Survey Borehole Profile File Format... 20 Figure 23 - Borehole Profile Plot Sample... 20 Figure 24 - Solver Parameter Tab... 21 Figure 25 - Outputs Tab... 22 Figure 26 - Available Output Plots and Tables... 23 Figure 27 - Output Parameters Panel... 24 Figure 28 - Rod Stress vs. Time... 25 Figure 29 - Axial Load on Rod... 25 Figure 30 Fatigue life of Rod... 26 Figure 31 - Percent of Goodman Stress... 26

Figure 32 - Torque vs. Angle... 27 Figure 33 - Dynamometer Cards... 27 Figure 34 - Pump Speed vs. Position... 28 Figure 35 - Side Force vs. Measured Depth... 28 Figure 36 - Side Force Summary... 28 Figure 37 - Pump Load Analysis Output... 29 Figure 38 - Output Summary Table... 29 Figure 39 - Input Table... 29 Figure 40 - Unit Conversion Panel... 30 Figure 41 - Density Calculator Panel... 31 Figure 42 - Intake Pressure Panel... 32 Figure 43 - Stroke Rate Calculation Panel... 34 Figure 44 - Free Gas Calculation Panel... 35 Figure 45 - Packer Type Separator Schematic... 36 Figure 46 - Damping Factor Calculation Panel... 36 Figure 47 - Pump Efficiency Calculation Panel... 37 Figure 48 - Batch Processing Panel... 38

1. Introduction 1.1. What is STIPumpCard? STIPumpCard is a powerful and user-friendly software for simulating dynamic behavior of pump jacks and predicting behavior for a wide range of wells. STIPumpCard can simulate both vertical and deviated wells and predict the load at the plunger from a surface card. STIPumpCard produces a number of plots, including Dynamometer Cards, Fatigue Life predictions, Compressive Load distribution, Speed Reducer Torque and Rod Side Forces. STIPumpCard also predicts other parameters such as the minimum required Motor Power and required speed reducer torque rating. Additionally, STIPumpCard is capable of predicting a wide range of phenomena such as fluid pound, gas interference and gas locking. STIPumpCard comes with a set of conversions and calculators which aid in the calculation of input parameters, which include: Unit conversions Pump intake pressure Stroke rate from expected production rate Free gas in the plunger Damping factor Pump volumetric efficiency (slippage) The user can save input information and load the project later or pass it on to another user. After each simulation, the input and simulated output data and figures are automatically stored in a project folder. 1

1.2. Main User Interface Figure 1 - Main User Interface The following is a description of pulldown menus in the user interface. 1. Menu Bars: Files o New: Create a new project o Open: Open a previously saved project o Save: Save the current project o Save As: Save the current project to a new location o License: Open License Manager Run o Run: Run the simulation o Batch Process: Navigate to the batch processing tab View o Project Folder: Open the project folder in Windows Explorer o Output Folder: Opens the output folder in Windows Explorer o Close all Figures: Close all open plots, tables and figures Settings o Make Current Entries the New Default Values: Make current user inputs, the default startup settings for a new project o Restore Default Entries: Restore original default settings Help 2

o Help: Open the User Guide 2. Input Tab: Contains all required input data and selections to run a simulation. This tab contains the following sub-tabs: Input Parameters: Well, tubing and fluid parameters. See Section 2. Rod Properties: Rod dimensions and material properties. See Section 3. Surface Unit: Surface unit types, sizing and stroke rate. See Section 4. Deviated Well: Deviated Well survey information and friction coefficient. See Section 5. Solver Parameter: Allows the user to control simulation accuracy and speed. See Section 6. 3. Output: Buttons to display output plots and tables See Section 7. 4. Tools: Provides the user with calculation and conversion tools. Section 8. Unit Conversion: Convert between a wide range of units. See Section 8.1. Density Calculator: Convert between density units. See section 8.2. Intake Pressure Calculator: Estimate Pump Intake Pressure from fluid level and casing pressure or from IPR data. See section 8.3. Stroke Rate Calculator: Estimate Stroke Rate required to achieve a target production. See section 8.4. Free Gas Calculator: Estimate the fraction of free gas present in the plunger. See Section 8.5. Damping Factor Calculator: Estimate the damping coefficient based on stroke rate and Surface Stroke Length. See Section 8.6. Pump Efficiency Calculator: Estimate the pump volumetric efficiency. See Section 8.7. 5. Batch Processing: Used to run multiple simulations consecutively (batch processing). See section 9. 3

2. Input Parameters Figure 2 - Input Parameters Panel 2.1. Project Figure 3 - Project Path Display Project is the path to the file where all project settings and parameters are saved. A user can navigate to this directory from the Menu bar View Output Folder 2.2. Simulation Settings GroupBox Select simulation mode (Vertical Well, Deviated Well or Pump Load Analysis) and number of strokes. Simulate Number of Strokes: the number of cycles to simulate. STIPumpCard simulates the dynamic behavior of the sucker rod starting at rest. It is, therefore, recommended to simulate at least two strokes for the rod to approach steady state behavior. Simulating a large number of strokes may be unnecessary and will result additional computation time. The three Simulation Modes in STIPumpCard: Vertical Well: Simulates vertical wells 4

Deviated Well: Simulates deviated wells by accounting for contact friction between the rod and tubing. Pump Load Analysis: Calculates load at the plunger based on a surface load file consisting of: Time, Displacement and Load. 2.3. Pump Load Analysis This groupbox is enabled when the user selects "Pump Load Analysis" as the Simulation Mode. Surface Load File is a 3-column, comma-delimited text file, which includes the rod surface Time/Displacement/Load information. The units for Time, Displacement and Load should be in (Seconds), (inches) and (pounds) respectively. Time increments must be monotonic and reasonably small, in order to obtain an accurate pump load estimate. Figure 4 shows a sample input file for the pump load analysis. Time(s),Displacement(in),Load(lbf) 0,141.5559598,17024.53563 0.1,146.9631956,16622.07724 0.2,151.9146617,15961.56614 0.3,156.3219355,15272.84255 0.4,160.0907556,14833.8992 0.5,163.1506159,14691.84388 0.6,165.4594406,14594.13445 0.7,166.9670209,14415.65519 0.8,167.602792,14314.54812 0.9,167.3130376,14347.6785 1,166.0793871,14291.11012 1.1,163.8931065,13957.76437 1.2,160.7356656,13472.80681... Figure 4 - Pump Load Analysis File Format 5

2.4. Input Parameters Figure 5 - Input Parameters Panel Figure 6 - Valve Spacing Explanation 6

Input Fields Valve Spacing: Defined in Figure 6 Plunger Diameter: Diameter of the plunger Tubing Outer Diameter: Outer diameter of the tubing Tubing Inner Diameter: Inner diameter of the tubing Fluid Temperature: Temperature of the well fluid Pump Intake Pressure: Pressure at pump intake, in PSIG. Pump Intake Pressure can be estimated using the Intake Pressure Calculator under the Tools, using either IPR data or fluid level and casing pressure. Tubing Pressure: Pressure in the tubing at the surface, in PSIG Gas Specific Gravity: Specific gravity of gas in the well Oil Specific Gravity: Specific gravity of oil in the well. Water Cut: Ratio of water with respect to the total volume of fluid Free Gas Fraction: Fractional amount of free gas presented in the plunger at pump intake pressure. Free gas fraction can be estimated using the Free Gas Calculator under the Tools Damping Factor: Damping coefficient of the rod, dimensionless. Generally, 0.1-0.2 is used for most wells however, higher damping factors should be considered when guides are installed (more fluid turbulence and friction), especially in high volume pumping and low gravity oil. Damping factor can be estimated based on stroke rate using the Damping Factor calculator under the Tools. Damping factors can be specified separately for upstrokes and downstrokes when the check box Specify different upstroke/downstroke Damping Factor is checked Service Factor: Depending on the operation environment of the polished rod, the service factor is usually between 0.4 and 1 Pump Volumetric Efficiency (%): There is production lost due to slippage and leakage. Pump Volumetric efficiency can be estimated using the Pump Efficiency Calculator under the Tools. Check boxes Tubing Anchored: tubing is anchored at the bottom hole if this box is checked, when the tubing is anchored, tubing will not be stretched when the standing valve is closed Specify different upstroke/downstroke Damping Factor: Damping factor can be different for upstroke and downstroke. Check this checkbox to specify a different damping factor for upstroke and downstroke. 7

3. Rod Properties Tab For specifying; Rod grade, Minimum and Maximum Tensile Strength, Segment Length, Diameter, and Grade. Figure 7 - Rod properties Panel 3.1. Material Properties Table Figure 8 - Material Properties Table The material properties table is used to specify tensile properties of different grades of material. STIPumpCard comes with the following grades: K, C, D, KD and SB (Sinker Bar). However, more grades can be added to the table using +/- button or click on the "Read From File" button to add grades from a comma delimited text file, an example is shown below: 8

Grade,Min Tensile Strength (PSI),Max Tensile Strength(PSI) N97,140000,150000 Figure 9 - Material Properties File Format 3.2. Rod Properties Table Figure 10 - Rod Properties Table The Rod Properties table specifies segment dimensions, grade, and material. The rod is defined with segments from top to bottom. The first column represents the length of each segment, the second column represents the diameter and the third column is the material grade (Note that the grade specified here must be listed in the table above). A blank entry or S in the last column indicates steel. F is entered to indicate fiberglass. Once rod properties have been specified, a preview is shown to the right of the tables. If a preview is not shown, one or more dimensions have not been specified correctly. Sinker bars can be added just like any other section of the rod by providing the diameter and the length of the sinker bars. 3.2.1. Create Rod String Using API Number Instead of manually filling in the Rod Properties table, a user can also define the rod string using API Rod Numbers. Click on the Create Rod String Using API Number button below the Rod Properties Table as shown in Figure 10. A dialog will pop up as shown in Figure 11. 9

Figure 11 - Create Rod String Dialog By Clicking on the Confirm button, the Rod Properties table will be automatically populated using API guidelines. 10

4. Surface Unit 4.1. Surface Unit Types STIPumpCard can model six types of units, including Conventional, Mark II, Air Balanced, Reverse Mark (Torque Master), Hydraulic, and Rotaflex Units, Dimensions of rotary units, including Conventional, Mark II, Air Balanced, Reverse Mark (Torque Master), are defined as follows, note that: K = I 2 + (H G) 2 Conventional Unit Mark II Unit Air Balanced Unit Reverse Mark Unit (Torque Master) Figure 12 - Rotary Unit Types For the Air Balanced Unit, the user needs to specify parameters such as M, S, Pmax, and Pmin. M and S are geometrical and pressure constants supplied by the manufacturer. Pmax and Pmin are the maximum and minimum pressures in the cylinder during operation. 11

Figure 13 - Hydraulic Unit Hydraulic Units, such as the one shown above, do not require unit geometry inputs. User defines velocity profile of the polished rod, based on maximum/minimum velocity as well as the acceleration parameters. Figure 14 - Rotaflex Unit Rotaflex unit simulation requires the diameter of the sprockets, as well as the stroke length of the polished rod. 12

4.2. Surface Unit Inputs Figure 15 - Surface Unit Panel Stroke Rate (per min): Stroke rate of the polished rod in SPM, when Use Different Speed for Up/Down Stroke checkbox is selected, different stroke rates can be specified for upstroke and downstroke Stroke Length (in): If you do not specify a surface unit, a simple sinusoidal rod motion will be assumed Calculate From Surface Unit Geometry: check this box if you know which unit you are using and the unit dimensions Database: Click on this button to open the excel file which contains unit information Select Unit: Click on any unit in the dropdown list and import the unit dimensions into fields on the left-hand side Unit Name is used to identify the unit. Can be changed by the user. It does not have affects on the simulation. The Excel file, PumpUnitDesignation.xlsx, contains the default pumping unit database. A user can modify this file to add more units to the database. Newly added units should follow the existing format and unit parameters should be provided under the correct sheet in the work book with parameter values under the correct column. The table below shows the required parameter for each type of unit. 13

The first row of the data base consists of column headers, designating a particular variable e.g. Unit means the name of the unit. Every rotary unit must have the following variables: A C P I G H R1 (If a unit has only one crank shaft hole, specify its radius under R1. If there are multiple holes, specify each radius under R1, R2, R3... respectively) Additional Variables needed for conventional units SU Additional Variables needed for Reverse Mark/Torque Master units SU Tau Additional Variables needed for Mark II units SU Tau Additional Variables needed for Air Balanced Units M S Rotaflex Units should contain Sprocket diameter Stroke Length Maximum Stroke Rate 14

4.3. Surface Unit Information 4.3.1. Rotary Units Figure 16 - Rotary Unit Information Panel A, C, I, P, R: Unit Dimensions as defined in the diagram K: K = sqrt(i^2+ (H-G)^2 ), where H,I,G are Dimensions as defined in the diagram Structural Unbalance: This is the variable SU in the database Counter Weight Angle: This is the variable Tau in the database Maximum Moment: Maximum counterweight moment on crank shaft Optimize Balance Moment: Obtain the optimal counterweight moment on crank shaft to minimize the power requirement of the motor and the torque requirement of the gearbox S: Pressure constant supplied by manufacturer M: Geometric constant supplied by manufacturer Pmax: Maximum pressure in the cylinder during operation Pmin: Minimum pressure in the cylinder during operation Mechanical Efficiency (%): Overall mechanical efficiency of the speed reducer and pumping unit, which affects the required motor horsepower Calculated Stroke length: Calculated stroke length based on unit geometry 15

4.3.2. Hydraulic Units Figure 17 - Hydraulic Unit Information Panel Up Stroke Maximum Speed: Maximum speed of the polished rod during up stroke under steady state condition Down Stroke Maximum Speed: Maximum speed of the polished rod during down stroke under steady state condition. Note that speed is always a positive value Acceleration: Amount of time required to accelerate the polished rod from velocity of zero to the up stroke maximum speed. Surface Stroke Length: The stroke length of polished rod The diagram below illustrates the parameter required for hydraulic units Figure 18 - Hydraulic Unit Parameters 16

4.3.3. Rotaflex Units Figure 19 - Rotaflex Unit Information Panel Sprocket Diameter: The diameter of the roller that moves the chain, as illustrated in Figure 14 Surface Stroke Length: Maximum displacement of the polished rod Stroke Rate: Stroke per minute of the Rotaflex unit. Once a unit is selected from the database, this field will be filled with the maximum SPM possible (at steady state) for the given unit 17

5. Deviated Well Tab Figure 20 - Borehole Profile Panel Use this tab when "Deviated Well" is selected in the Input Parameter - Simulation Setting - Simulation Mode. Friction Coefficient - kinetic contact friction coefficient between rod and tubing. Use Existing Side Force Calculation checkbox specifies whether or not to use previously computed side force parameters. When simulating a well in deviated mode, the side forces need to be computed and, which can take several minutes. Re-running the program with this checkbox unchecked will make the program recompute the side forces. Recomputing the side force is necessary if any of the parameters below are changed: Rod Dimensions, or rod material Tubing size Pump Intake Pressure or Tubing pressure Fluid density (Water/oil density) Plunger Diameter Checking this checkbox results in existing side forces being used, which can dramatically reduce execution time. 18

The Borehole profile file is a 3-column, comma-delimited text file, which specifies depth and orientation of the borehole in standard drilling industry formats. This file must be saved in the project folder. Survey listings can be in one of three formats; Cartesian, Polar or single-point survey. Both the format and units are automatically detected. Units of length can either be in feet (specified by the abbreviation ft) or meters (specified by the abbreviation m). The unit of angular measure is assumed to be degrees. A description of each of the file formats is given below. Cartesian In this format, the three columns represent True Vertical Depth (TVD), N(+)/S and E(+)/W. The TVD corresponds to the negative z-axis, the N(+)/S to the +y/-y axis and the E(+)/W to the +x/-x. An example of a file in Cartesian format is shown in Figure 21. TVD,N(+)/S,E(+)/W ft,ft,ft 0.00,0.00,0.00 0.00,2788.71,0.00 8.20,2962.55,0.00 Figure 21 - Cartesian Borehole Profile File Format Polar In this format, the three columns represent the Measured Depth (MD), Inclination and Azimuth. Inclination is defined as the angle that the borehole makes with the vertical. Therefore, a 0-degree inclination is vertical (downward pointing) and a 90 degree inclination is horizontal in direction. An angle greater than 90 degrees refers to drilling up. Azimuth is defined as having a value of 0 degrees for a North heading, 90 degrees for an East heading, 180 degrees for a South heading, and 270 degrees for a West heading. An example of a file in polar format is shown in Figure 22. 19

MD,INC,AZ ft,deg,deg 0.00,0.00,0.00 266,0.14,187.83 327,0.31,257.33 Figure 22 - Polar Borehole Profile File Format Single-point survey This is a condensed version of the survey file and consists of one line with five entries. The first three entries specify the location of the bit using measured depth, inclination and azimuth. The next two entries specify constant build and walk rates between the between the bottom and top of the survey. The wellbore profile along the length of the BHA is calculated automatically by STIPumpCard. A sample entry is shown in Figure 23. MD,INC,AZ,Build Rate,Walk Rate ft,deg,deg,deg/100 ft,deg/100 ft 16500,19.9,202.42,0.1,-0.76 Figure 23 - Single-Point Survey Borehole Profile File Format Clicking the "Display Borehole Profile" button produce a 3D plot of the borehole profile. Figure 24 - Borehole Profile Plot Sample 20

6. Solver Parameter Tab Figure 25 - Solver Parameter Tab Simulation tolerance is set or modified through this tab. The default simulation type of Fast Simulation is adequate for most wells, however, if the result appears to be oscillating (showing wave like patterns), a more accurate simulation can be obtained by reducing the tolerance. This can be done by selecting a Simulation type of Accurate Simulation or User Defined Tolerance and specifying a smaller value in the Tolerance textbox. 21

7. Outputs Tab Contains buttons to display output plots and tables. Figure 26 - Outputs Tab 22

7.1. Output Plots/Tables Groupbox Figure 27 - Available Output Plots and Tables Rod Stress Distribution: Plot of rod stress vs. time and measured depth, as well as rod axial tension color shaded map Rod Axial Loading: Plot of minimum and maximum rod axial loads Rod Fatigue Plot: Color shaded plot of the rod with minimum fatigue life, and a plot showing the % Goodman Stress vs. depth of the rod Dynamometer Cards: Plots of surface and plunger load vs. displacement. If a surface pumping unit has been specified, a permissible load, based on the minimum required torque rating is also shown Pump Velocity: Plot of plunger speed vs. displacement Torque: Plot of torques (polished rod torque, counter balance torque, and net torque) vs. angular displacement of the crank shaft Side Forces: Plot of maximum side force vs. measured depth, as well as a table summarizing the side force for each section in the rod. This plot is only generated when the simulation is in deviated mode Result Summary: Table showing the result summary Input Summary: Table showing the input summary Pump Load Analysis: Plot for "Pump load Analysis" Simulation mode, shows dynamometer cards determined from surface time/displacement/load data 23

7.2. Output Parameters Figure 28 - Output Parameters Panel Rod Fatigue Life: Expected life time of the rod before failure Motor Requirement: Minimum Required Name Plate HP of the Motor Speed Reducer Torque Requirement: Minimum Required Speed Reducer Torque Rating, permissible load is plotted on the dynamometer card based on this rating 7.3. Output Files A subfolder named "Outputs_FiguresXXXX, is created inside the project directory, where XXXX designates the project name to which all simulation output is written. In addition to the plots saved as PNG files is an Excel workbook called XXXXSimulationResults with seven worksheets named: 1. Summary 2. Load 3. Displacement 4. Pump speed 5. Fatigue 6. Rod Axial Loading 7. Torque 24

7.4. Sample Output Figure 29 - Rod Stress vs. Time Figure 30 - Axial Load on Rod Figure 29 shows the stress in the rod over the simulation. Figure 30 shows the maximum and minimum axial loads in the rod, where positive load indicates tension, and negative load indicates compression. 25

Figure 31 Fatigue life of Rod Figure 32 - Percent of Goodman Stress Figure 31 shows the fatigue life of the rod, this is the maximum operating time of the rod before fatigue failure. Figure 32 shows the percentage of Goodman stress in the rod. 26

Figure 33 - Torque vs. Angle Figure 34 - Dynamometer Cards Figure 33 shows the torques in the speed reducer, this plot is available only when pump unit information is entered. Figure 34 shows the surface and downhole dynamometer cards. 27

Figure 35 - Pump Speed vs. Position Figure 35 shows the speed of the plunger as a function of plunger displacement. Figure 36 - Side Force vs. Measured Depth Figure 37 - Side Force Summary Figures 36 and 37 show the side force output from a deviated well simulation. The side force magnitude is plotted along the length of the rod. A table is also created to show the maximum and minimum side forces on each segment of the rod. 28

Figure 38 - Pump Load Analysis Output Figure 38 is only plotted in "Pump Load Analysis" mode. The downhole card (shown in blue) is determined from the surface load card (shown in red). Figure 39 - Output Summary Table Figure 40 - Input Table Figure 39 shows a summary of output information. Figure 40 shows a summary of input parameters. 29

8. Tools Tab 8.1. Unit Conversion Figure 41 - Unit Conversion Panel STIPumpCard provides a unit conversion tool that allows conversion between specified units. The input and output unit have to be consistent, for example, kg*m/s^2 is consistent with N but not consistent with J. All of the available units are shown in the table, and the user can combine any of the units using operators such as: * / sqrt() ^. Prefixes such as kilo or mega are treated as a dimensionless unit, a kilon should be specified as kilo*n. 30

8.2. Density Calculator Figure 42 - Density Calculator Panel Allows conversion of liquid or gas density into specific gravity, as gas/oil specific gravity are required inputs to simulate vertical/deviated wells. Clicking Use This Value will copy the calculated specific gravity entry to the appropriate Input Parameters textbox. 31

8.3. Intake Pressure Calculator Figure 43 - Intake Pressure Panel If the user does not know the Pump Intake Pressure value, it can be calculated in two ways, either from IPR data or based on the dynamic fluid level in the annular region. 8.3.1. Pump Intake Pressure from IPR Data Test Pressure: This is the known dynamic pressure based on test data and can be at the pump intake or at the bottom hole (Mid-Perforation Depth) Measured At: Select where the test pressure is measured at Test Fluid Production: Liquid flow rate from the well at the given test pressure Static Bottomhole Pressure: Pressure measured at the bottom hole (Mid- Perforation Depth) with no liquid flow out of the well Bubble Point Pressure: At the given Fluid Temperature, this is the pressure at which gas starts coming out of the solution. Above this pressure, there will be no free gas present in the solution Target Production Rate: Production rate of fluid. As the required production rate goes higher, the pump intake pressure is reduced Mid-Perforation Depth: The mid depth of the perforations Water Cut: Fraction of water with respect to total fluid volume (between 0 and 1) Pump Setting Depth: True Vertical Depth of the pump standing valve Oil Density: Density of Oil can be specified with API degrees, specific gravity or density 32

8.3.2. Pump Intake From Fluid Level Casing Pressure: Casing pressure at the surface Pump Setting Depth: True Vertical Depth of the pump standing valve Annular Gas Density At Standard Condition: Density of the gas column in the casing at standard temperature and pressure (1 atm, 70 deg F) Annular Fluid Density: Density of fluid in the casing, for most of the wells, because oil has a lower specific gravity than water, it can be assumed that the annular fluid consists entirely of oil Annular Liquid Level: Dynamic liquid level of the well under production, therefore the calculated pump intake pressure is only valid at this rate of production Fluid Temperature: Temperature of the well fluid 33

8.4. Stroke Rate Calculator Figure 44 - Stroke Rate Calculation Panel Used to estimate the Stroke Rate. Uses many parameters in the Input Parameters tab and the user can import entries to the calculator using the Populate Form With Values From Input Parameters button. Rod Dimensions and Properties must be filled in from the Input tab, under the Rod Properties section. 34

8.5. Free Gas Calculator Figure 45 - Free Gas Calculation Panel Provides a way to estimate the amount of free gas present at the pump intake with or without gas anchoring. Gas Anchor Type: Specify the type of gas anchor Pump Intake Pressure: Pressure at pump intake Fluid Production Rate: This variable affects the effectiveness of gas separation. The higher the volume of fluid produced, the less effective the gas separator becomes Down Flow Cross Sectional Area In Separator: Based on the geometry of the gas anchor, it is the average cross sectional area of at which liquid is flowing down Separator OD: Outer diameter of the annulus flow region of the separator, as shown in Figure 46. Separator ID: Inner diameter of the annulus flow region of the separator, as shown in Figure 46. Bypass Pipe OD: Outer diameter of the bypass pipe, as shown in Figure 46. This is only available for packer type separators. Calculate Cross Sectional Area From Separator Dimensions: When Selected, Compute cross sectional area using separator dimensions, including Separator ID, Separator OD and optionally Bypass Pipe OD. 35

Figure 46 - Packer Type Separator Schematic 8.6. Damping Factor Calculator Figure 47 - Damping Factor Calculation Panel Provides a way to estimate the damping factor, which is based on polished rod speed. Uses an empirical correlation proposed by Sam Gavin Gibbs. Inputs are: Surface Stroke Length Stroke Rate 36

8.7. Pump Efficiency Calculator Figure 48 - Pump Efficiency Calculation Panel Provides a way to estimate pump volumetric efficiency. Most of the input to this calculator can be directly imported from input parameters. Rod Dimensions and Properties must be filled in from the Input tab, under the Rod Properties section. To import input directly from the input parameter tab, click on Populate Form With Values From Input Parameters button. Three additional inputs are required for pump efficiency estimation: Clearance: The clearance between the plunger and tubing Fluid Viscosity: Dynamic viscosity of the fluid Plunger Length: The length of the plunger 37

9. Batch Processing Figure 49 - Batch Processing Panel Allows multiple simulations to be run sequentially in batch mode, where output is saved automatically. The batch processing feature is especially useful for long runs, such as for deviated wells. After all the necessary input parameters are specified, a project can be saved into a project file (Go to Manu bar, File Save or Save As). To batch process a number of saved projects, go to this tab, and then select the previously saved projects (mat files), using the Select Project Files button. If a file is selected by mistake, it can be removed from the batch list, via the Remove Selected button. Once all files are selected, start the batch run with the Start Batch Processing button. As each run is processed, a message in the log section, indicates whether the run was successful or if an error occurred during the simulation. After the simulation, the results are automatically saved to the results folder and to the project file. The output can be viewed by opening these projects. 38