---
cid: po.bp.rp.torque.analysis
hub: rp
tags: [rod-pump, pumping-unit, torque, gearbox, counterbalance, horsepower, modified-goodman, artificial-lift]
facets: { discipline: production, property: torque, method-type: analytical }
title: Pumping Unit Torque and Counterbalance
summary: "Checks a pumping unit's peak gearbox torque against its API 11E rating and finds the ideal counterbalance from the polished rod loads."
slug: po.rp.torque.analysis
type: worksheet
---

# Pumping Unit Torque and Counterbalance

## Description

Is the pumping unit's gearbox within its rating at the counterbalance it carries, and how much counterweight should move? You enter the peak and minimum polished rod loads and the card work load, the unit's stroke, speed, API 11E gearbox rating and counterbalance, and the top rod. You read off the ideal counterbalance and the adjustment, the peak torque balanced and at the actual counterbalance against the rating, the polished rod power, the top rod's modified Goodman loading, and the net torque around the crank's turn.

**Parameters:**
- **Loads**: the peak polished rod load `RTA_PPRL`, the minimum `RTA_MPRL`, and the card work load `RTA_W` (the average upstroke less the average downstroke load, C·A₂/L on a dynamometer card; the fluid load when there is no card)
- **Unit**: the surface stroke `RTA_S`, the speed `RTA_N`, the gearbox's API 11E torque rating `RTA_Gearbox` and the counterbalance effect it carries `RTA_CBEa`
- **Top rod and limits**: the top rod's diameter `RTA_Dtop`, its grade's minimum tensile strength `RTA_T` and service factor `RTA_SF`, the highest Goodman loading allowed `RTA_MaxLoading`, and how far off the ideal the counterbalance may be `RTA_CbeTol`

**How to use it:** Take the loads and the card work load from a dynamometer card, or the computed loads from the Rod Pump System Design sheet, and the counterbalance effect from the unit's counterweight chart or from a balance test (the polished rod load with the crank held at 90°). The adjustment says how much counterweight to add or take off. If the gearbox is overloaded at this counterbalance but not balanced, move the counterweights by that amount; if it is overloaded even balanced, slow the unit, shorten the stroke or take a larger gearbox. The card work load is tied to the loads: it can't be more than their range, and the load check fails when it is. The table and chart draw the net torque around the crank's turn at the actual and the ideal counterbalance against the rating.

**Method:** The ideal counterbalance effect is (PPRL + MPRL)/2, and the adjustment the ideal less the actual. The torque factor is taken as (S/2)·|sin θ|, a crank turning a polished rod that moves sinusoidally, which peaks at S/2 at 90° and 270°. On the upstroke (0° to 180°) the net torque is (PPRL − CBE)·TF and on the downstroke (180° to 360°) (CBE − MPRL)·TF, so the peaks at the actual counterbalance are (PPRL − CBE)·S/2 and (CBE − MPRL)·S/2, and the larger is checked against the API 11E gearbox rating. Balanced, both are (PPRL − MPRL)·S/4, the peak torque the gearbox would see at the ideal counterbalance. The polished rod power is W·S·N/(33,000·12). The top rod's stresses are the loads over its area, and its loading is (Smax − Smin)/(Sa − Smin) with Sa = (T/4 + 0.5625·Smin)·SF.

**Example:** The default case is the rod-pump well the four rod-pump sheets share: the Rod Pump System Design sheet's Mills loads (11,614 lb and 7,167 lb) and fluid load (3,103 lb, with the 100 psig tubing-head pressure) on the 86 in, 8 SPM unit with a 114,000 in·lbf gearbox, counterbalanced at 9,000 lb, with a 7/8 in grade D top rod in salt water.

The ideal counterbalance is (11,614 + 7,167)/2 = 9,391 lb, so 391 lb should go on, 4.2 % off the ideal, within the 5 % tolerance. Balanced, the peak torque would be 4,447 × 86/4 = 95,611 in·lbf. At 9,000 lb the upstroke peak is (11,614 − 9,000) × 43 = 112,402 in·lbf and the downstroke (9,000 − 7,167) × 43 = 78,819 in·lbf, so the gearbox runs at 112,402/114,000 = 98.6 % of its rating: inside it, with little to spare, and balancing would bring it to 83.9 %. The card work load of 3,103 lb is 69.8 % of the load range and gives 5.39 hp at the polished rod. The 7/8 in top rod sees 19,314 psi and 11,919 psi, 37.0 % of its Goodman range.

## Validity

The torque factor is the sinusoidal approximation, and the load is taken as the peak through the upstroke and the minimum through the downstroke, so the curve is the envelope a rectangular card gives; a real card and the unit's API 11E torque-factor table (or the manufacturer's) give the torque at each crank angle, and the counterbalance's phase angle on a crank-balanced unit moves the peaks. Air-balanced and Mark II units have other geometry. The sheet does not compute the API RP 11L peak torque from the dimensionless charts. Structural loading against the unit's polished rod load rating is on the Rod Pump System Design sheet.

Named alternatives: the API RP 11L peak torque from the dimensionless charts; the counterbalance from the buoyant rod weight and the fluid load; and the polished rod power from a card's area.

## References

- API Spec 11E, *Specification for Pumping Units* (gearbox torque ratings and torque factors).
- API RP 11L, *Recommended Practice for Design Calculations for Sucker Rod Pumping Systems (Conventional Units)*.
- Guo, B., Lyons, W.C. and Ghalambor, A. (2007). *Petroleum Production Engineering: A Computer-Assisted Approach*. Gulf Professional Publishing, ch. 12 (counterbalance and peak torque, Eq. 12.30).
- Takacs, G. (2015). *Sucker-Rod Pumping Handbook*. Gulf Professional Publishing (torque analysis and counterbalancing).

## Functions used

`PO.RP.Torque.IdealCBE.Loads`, `PO.RP.Torque.Adjustment`, `PO.RP.Torque.Peak`, `PO.RP.Torque.Net`, `PO.RP.Rod.Area`, `PO.RP.Rod.MaxStress`, `PO.RP.Rod.MinStress`, `PO.RP.Rod.TaperStress`, `PO.RP.Torque.PRHP`

## Spreadsheet: RpTorqueAnalysis

|    | A                                                                                                                                                                         | B                                                                                                              | C                                                                                                                                                                                                                                                                                                                                                                                                                                      | D                                                                                             | E               |
|----|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|-----------------|
| 1  | Pumping Unit Torque and Counterbalance                                                                                                                                    |                                                                                                                | Petroleum Office                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                               |                 |
| 2  | Blue cells on yellow are inputs. Type the polished rod loads, the unit and its counterbalance; the torque and the gearbox check follow.                                   |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 3  | Polished Rod Loads (Rod Pump System Design, or a Dynamometer Card)                                                                                                        |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 4  | Peak polished rod load                                                                                                                                                    | 11614                                                                                                          | lbf                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 5  | Minimum polished rod load                                                                                                                                                 | 7167                                                                                                           | lbf                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 6  | Card work load (Fo when there is no card)                                                                                                                                 | 3103                                                                                                           | lbf                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 7  | Pumping Unit                                                                                                                                                              |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 8  | Surface (polished rod) stroke                                                                                                                                             | 86                                                                                                             | in                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                               |                 |
| 9  | Pumping speed                                                                                                                                                             | 8                                                                                                              | SPM                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 10 | Gearbox torque rating (API 11E)                                                                                                                                           | 114000                                                                                                         | in·lbf                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                               |                 |
| 11 | Counterbalance effect the unit carries                                                                                                                                    | 9000                                                                                                           | lbf                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 12 | Top Rod and Limits                                                                                                                                                        |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 13 | Top rod diameter                                                                                                                                                          | 0.875                                                                                                          | in                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                               |                 |
| 14 | Minimum tensile strength (grade D)                                                                                                                                        | 115000                                                                                                         | psi                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 15 | Service factor (salt water)                                                                                                                                               | 0.9                                                                                                            | —                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                               |                 |
| 16 | Highest Goodman loading allowed                                                                                                                                           | 1                                                                                                              | %                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                               |                 |
| 17 | Counterbalance allowed off the ideal                                                                                                                                      | 0.05                                                                                                           | %                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                               |                 |
| 19 | Counterbalance                                                                                                                                                            |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 20 | Ideal counterbalance effect, (PPRL + MPRL)/2                                                                                                                              | =PO.RP.Torque.IdealCBE.Loads(RTA_PPRL,RTA_MPRL)                                                                | lbf                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 21 | Counterbalance to add (negative: to remove)                                                                                                                               | =PO.RP.Torque.Adjustment(RTA_CBEi,RTA_CBEa)                                                                    | lbf                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 22 | Counterbalance off the ideal                                                                                                                                              | =ABS(RTA_Adj)/RTA_CBEi                                                                                         | %                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                               |                 |
| 23 | Gearbox Torque                                                                                                                                                            |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 24 | Largest torque factor, S/2 at 90° and 270°                                                                                                                                | =RTA_S/2                                                                                                       | in                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                               |                 |
| 25 | Peak net torque, balanced                                                                                                                                                 | =PO.RP.Torque.Peak(RTA_PPRL,RTA_MPRL,RTA_S)                                                                    | in·lbf                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                               |                 |
| 26 | Upstroke peak at this counterbalance                                                                                                                                      | =PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,RTA_TF)                                                                    | in·lbf                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                               |                 |
| 27 | Downstroke peak at this counterbalance                                                                                                                                    | =PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,RTA_TF)                                                                    | in·lbf                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                               |                 |
| 28 | Peak net torque at this counterbalance                                                                                                                                    | =MAX(ABS(RTA_Tup),ABS(RTA_Tdown))                                                                              | in·lbf                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                               |                 |
| 29 | Gearbox loading at this counterbalance                                                                                                                                    | =RTA_Tpeak/RTA_Gearbox                                                                                         | %                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                               |                 |
| 30 | Gearbox loading, balanced                                                                                                                                                 | =RTA_Tbal/RTA_Gearbox                                                                                          | %                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                               |                 |
| 31 | Top Rod and Power                                                                                                                                                         |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 32 | Peak stress in the top rod                                                                                                                                                | =PO.RP.Rod.MaxStress(RTA_PPRL,PO.RP.Rod.Area(RTA_Dtop))                                                        | psi                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 33 | Minimum stress in the top rod                                                                                                                                             | =PO.RP.Rod.MinStress(RTA_MPRL,PO.RP.Rod.Area(RTA_Dtop))                                                        | psi                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                               |                 |
| 34 | Top rod's modified Goodman loading                                                                                                                                        | =PO.RP.Rod.TaperStress(RTA_T,RTA_Smax,RTA_Smin,RTA_SF,"Loading")                                               | %                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                               |                 |
| 35 | Polished rod power                                                                                                                                                        | =PO.RP.Torque.PRHP(RTA_W,RTA_S,RTA_N)                                                                          | hp                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                               |                 |
| 36 | Card work load over the load range                                                                                                                                        | =RTA_W/(RTA_PPRL-RTA_MPRL)                                                                                     | %                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                               |                 |
| 37 | Gearbox check                                                                                                                                                             | =IF(RTA_Tpeak<=RTA_Gearbox,"PASS",IF(RTA_Tbal<=RTA_Gearbox,"WARN","FAIL"))                                     | =IF(RTA_Tpeak<=RTA_Gearbox,"the peak net torque at this counterbalance is within the API 11E gearbox rating",IF(RTA_Tbal<=RTA_Gearbox,"the gearbox is overloaded at this counterbalance but would not be balanced; move the counterweights by the amount above","even balanced, the peak torque is above the gearbox rating; slow the unit, shorten the stroke or take a larger gearbox"))                                             |                                                                                               |                 |
| 38 | Counterbalance check                                                                                                                                                      | =IF(RTA_OffBalance<=RTA_CbeTol,"PASS","WARN")                                                                  | =IF(RTA_OffBalance<=RTA_CbeTol,"the counterbalance is within the tolerance of the ideal","the counterbalance is off the ideal by more than the tolerance; move the counterweights by the amount above")                                                                                                                                                                                                                                |                                                                                               |                 |
| 39 | Load check                                                                                                                                                                | =IF(RTA_PPRL<=RTA_MPRL,"FAIL",IF(RTA_W>RTA_PPRL-RTA_MPRL,"FAIL",IF(RTA_Loading>RTA_MaxLoading,"FAIL","PASS"))) | =IF(RTA_PPRL<=RTA_MPRL,"the peak polished rod load must be above the minimum",IF(RTA_W>RTA_PPRL-RTA_MPRL,"the card work load is more than the load range, which no card can be; check the loads",IF(RTA_Loading>RTA_MaxLoading,"the top rod is loaded past the allowed share of its modified Goodman range; use a larger top rod","the card work load is inside the load range and the top rod within its Goodman allowable stress"))) |                                                                                               |                 |
| 41 | Net Gearbox Torque Around the Crank's Turn                                                                                                                                |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 42 | How to use it: a dynamometer card and the unit's API 11E torque factors give the torque at each crank angle; this table is the sinusoidal approximation. Nothing to edit. |                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                               |                 |
| 43 | Crank angle (°)                                                                                                                                                           | Torque factor (in)                                                                                             | At this CBE (in·lbf)                                                                                                                                                                                                                                                                                                                                                                                                                   | Balanced (in·lbf)                                                                             | Rating (in·lbf) |
| 44 | =0                                                                                                                                                                        | =RTA_TF*ABS(SIN(RADIANS(A44)))                                                                                 | =IF(A44<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B44),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B44))                                                                                                                                                                                                                                                                                                                                          | =IF(A44<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B44),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B44)) | =RTA_Gearbox    |
| 45 | =15                                                                                                                                                                       | =RTA_TF*ABS(SIN(RADIANS(A45)))                                                                                 | =IF(A45<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B45),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B45))                                                                                                                                                                                                                                                                                                                                          | =IF(A45<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B45),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B45)) | =RTA_Gearbox    |
| 46 | =30                                                                                                                                                                       | =RTA_TF*ABS(SIN(RADIANS(A46)))                                                                                 | =IF(A46<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B46),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B46))                                                                                                                                                                                                                                                                                                                                          | =IF(A46<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B46),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B46)) | =RTA_Gearbox    |
| 47 | =45                                                                                                                                                                       | =RTA_TF*ABS(SIN(RADIANS(A47)))                                                                                 | =IF(A47<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B47),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B47))                                                                                                                                                                                                                                                                                                                                          | =IF(A47<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B47),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B47)) | =RTA_Gearbox    |
| 48 | =60                                                                                                                                                                       | =RTA_TF*ABS(SIN(RADIANS(A48)))                                                                                 | =IF(A48<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B48),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B48))                                                                                                                                                                                                                                                                                                                                          | =IF(A48<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B48),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B48)) | =RTA_Gearbox    |
| 49 | =75                                                                                                                                                                       | =RTA_TF*ABS(SIN(RADIANS(A49)))                                                                                 | =IF(A49<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B49),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B49))                                                                                                                                                                                                                                                                                                                                          | =IF(A49<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B49),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B49)) | =RTA_Gearbox    |
| 50 | =90                                                                                                                                                                       | =RTA_TF*ABS(SIN(RADIANS(A50)))                                                                                 | =IF(A50<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B50),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B50))                                                                                                                                                                                                                                                                                                                                          | =IF(A50<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B50),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B50)) | =RTA_Gearbox    |
| 51 | =105                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A51)))                                                                                 | =IF(A51<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B51),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B51))                                                                                                                                                                                                                                                                                                                                          | =IF(A51<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B51),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B51)) | =RTA_Gearbox    |
| 52 | =120                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A52)))                                                                                 | =IF(A52<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B52),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B52))                                                                                                                                                                                                                                                                                                                                          | =IF(A52<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B52),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B52)) | =RTA_Gearbox    |
| 53 | =135                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A53)))                                                                                 | =IF(A53<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B53),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B53))                                                                                                                                                                                                                                                                                                                                          | =IF(A53<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B53),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B53)) | =RTA_Gearbox    |
| 54 | =150                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A54)))                                                                                 | =IF(A54<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B54),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B54))                                                                                                                                                                                                                                                                                                                                          | =IF(A54<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B54),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B54)) | =RTA_Gearbox    |
| 55 | =165                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A55)))                                                                                 | =IF(A55<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B55),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B55))                                                                                                                                                                                                                                                                                                                                          | =IF(A55<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B55),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B55)) | =RTA_Gearbox    |
| 56 | =180                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A56)))                                                                                 | =IF(A56<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B56),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B56))                                                                                                                                                                                                                                                                                                                                          | =IF(A56<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B56),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B56)) | =RTA_Gearbox    |
| 57 | =195                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A57)))                                                                                 | =IF(A57<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B57),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B57))                                                                                                                                                                                                                                                                                                                                          | =IF(A57<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B57),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B57)) | =RTA_Gearbox    |
| 58 | =210                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A58)))                                                                                 | =IF(A58<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B58),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B58))                                                                                                                                                                                                                                                                                                                                          | =IF(A58<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B58),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B58)) | =RTA_Gearbox    |
| 59 | =225                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A59)))                                                                                 | =IF(A59<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B59),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B59))                                                                                                                                                                                                                                                                                                                                          | =IF(A59<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B59),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B59)) | =RTA_Gearbox    |
| 60 | =240                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A60)))                                                                                 | =IF(A60<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B60),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B60))                                                                                                                                                                                                                                                                                                                                          | =IF(A60<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B60),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B60)) | =RTA_Gearbox    |
| 61 | =255                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A61)))                                                                                 | =IF(A61<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B61),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B61))                                                                                                                                                                                                                                                                                                                                          | =IF(A61<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B61),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B61)) | =RTA_Gearbox    |
| 62 | =270                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A62)))                                                                                 | =IF(A62<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B62),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B62))                                                                                                                                                                                                                                                                                                                                          | =IF(A62<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B62),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B62)) | =RTA_Gearbox    |
| 63 | =285                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A63)))                                                                                 | =IF(A63<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B63),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B63))                                                                                                                                                                                                                                                                                                                                          | =IF(A63<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B63),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B63)) | =RTA_Gearbox    |
| 64 | =300                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A64)))                                                                                 | =IF(A64<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B64),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B64))                                                                                                                                                                                                                                                                                                                                          | =IF(A64<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B64),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B64)) | =RTA_Gearbox    |
| 65 | =315                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A65)))                                                                                 | =IF(A65<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B65),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B65))                                                                                                                                                                                                                                                                                                                                          | =IF(A65<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B65),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B65)) | =RTA_Gearbox    |
| 66 | =330                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A66)))                                                                                 | =IF(A66<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B66),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B66))                                                                                                                                                                                                                                                                                                                                          | =IF(A66<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B66),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B66)) | =RTA_Gearbox    |
| 67 | =345                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A67)))                                                                                 | =IF(A67<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B67),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B67))                                                                                                                                                                                                                                                                                                                                          | =IF(A67<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B67),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B67)) | =RTA_Gearbox    |
| 68 | =360                                                                                                                                                                      | =RTA_TF*ABS(SIN(RADIANS(A68)))                                                                                 | =IF(A68<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEa,B68),PO.RP.Torque.Net(RTA_CBEa,RTA_MPRL,B68))                                                                                                                                                                                                                                                                                                                                          | =IF(A68<=180,PO.RP.Torque.Net(RTA_PPRL,RTA_CBEi,B68),PO.RP.Torque.Net(RTA_CBEi,RTA_MPRL,B68)) | =RTA_Gearbox    |

## Lambdas

| Name | RefersTo | Comment |
|------|----------|---------|
| PO.RP.Rod.TaperStress | =LAMBDA(t_min, s_max, s_min, sf, output, IF(OR(t_min<=0, sf<=0, s_min<0, s_max<s_min), NA(), LET(sa, (t_min/4+0.5625*s_min)*sf, IF(output="Sa", sa, IF(output="Loading", IF(sa<=s_min, NA(), (s_max-s_min)/(sa-s_min)), IF(output="Margin", sa-s_max, NA())))))) | API RP 11BR modified Goodman check of a rod taper, Sa = (T/4 + 0.5625·Smin)·SF; output "Sa" (psi), "Loading" ((Smax − Smin)/(Sa − Smin)) or "Margin" (Sa − Smax, psi). |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| RTA_PPRL | $B$4 | Peak polished rod load, lbf |
| RTA_MPRL | $B$5 | Minimum polished rod load, lbf |
| RTA_W | $B$6 | Card work load (Fo when there is no card), lbf |
| RTA_S | $B$8 | Surface (polished rod) stroke, in |
| RTA_N | $B$9 | Pumping speed, SPM |
| RTA_Gearbox | $B$10 | Gearbox torque rating (API 11E), in·lbf |
| RTA_CBEa | $B$11 | Counterbalance effect the unit carries, lbf |
| RTA_Dtop | $B$13 | Top rod diameter, in |
| RTA_T | $B$14 | Minimum tensile strength (grade D), psi |
| RTA_SF | $B$15 | Service factor (salt water) |
| RTA_MaxLoading | $B$16 | Highest Goodman loading allowed, % |
| RTA_CbeTol | $B$17 | Counterbalance allowed off the ideal, % |
| RTA_Inputs | $B$4:$B$17 | The peak and minimum polished rod loads and the card work load, the unit's stroke, speed, gearbox rating and counterbalance, the top rod and its grade, and the limits |
| RTA_CBEi | $B$20 | Ideal counterbalance effect, (PPRL + MPRL)/2, lbf |
| RTA_Adj | $B$21 | Counterbalance to add (negative: to remove), lbf |
| RTA_OffBalance | $B$22 | Counterbalance off the ideal, % |
| RTA_TF | $B$24 | Largest torque factor, S/2 at 90° and 270°, in |
| RTA_Tbal | $B$25 | Peak net torque, balanced, in·lbf |
| RTA_Tup | $B$26 | Upstroke peak at this counterbalance, in·lbf |
| RTA_Tdown | $B$27 | Downstroke peak at this counterbalance, in·lbf |
| RTA_Tpeak | $B$28 | Peak net torque at this counterbalance, in·lbf |
| RTA_GearboxLoad | $B$29 | Gearbox loading at this counterbalance, % |
| RTA_GearboxLoadBal | $B$30 | Gearbox loading, balanced, % |
| RTA_Smax | $B$32 | Peak stress in the top rod, psi |
| RTA_Smin | $B$33 | Minimum stress in the top rod, psi |
| RTA_Loading | $B$34 | Top rod's modified Goodman loading, % |
| RTA_PRHP | $B$35 | Polished rod power, hp |
| RTA_CardShare | $B$36 | Card work load over the load range, % |
| RTA_Check | $B$37 | Gearbox check verdict |
| RTA_CheckNote | $C$37 | Gearbox check comment |
| RTA_CbeCheck | $B$38 | Counterbalance check verdict |
| RTA_CbeCheckNote | $C$38 | Counterbalance check comment |
| RTA_LoadCheck | $B$39 | Load check verdict |
| RTA_LoadCheckNote | $C$39 | Load check comment |
| RTA_Results | $B$20:$B$39 | The ideal counterbalance and the adjustment, the balanced and actual peak torques and the gearbox loading, the top rod's Goodman loading, the polished rod power, and the three checks |
| RTA_Curve | $A$44:$E$68 | Every 15° of the crank's turn: the torque factor, the net torque at the unit's and the ideal counterbalance, and the gearbox rating |

---

## Related Blueprints
- [Rod Pump System Design](/blueprint/po.rp.system.design.md)
- [Tapered Rod String Design (Modified Goodman)](/blueprint/po.rp.rod.tapered.md)
- [Rod Pump Sizing](/blueprint/po.rp.pump.sizing.md)
- [Rate-Transient Analysis and Flowing Material Balance](/blueprint/po.dca.rta.flowing.material.balance.md)
- [Production Back-Allocation by Well Test and Uptime](/blueprint/po.fpp.allocation.md)
- [Decline and Flow-Regime Diagnostics](/blueprint/po.dca.diagnostics.analysis.md)

