---
cid: po.bp.sf.compressor.power
hub: sf
tags: [compressor, compression-power, staging, discharge-temperature, interstage-cooling, heat-capacity-ratio, horsepower, surface-facilities]
facets: { discipline: production, phase: gas, property: power }
title: Compressor Staging and Power
summary: "Works out how many compressor stages are needed, the discharge temperature of each and the power, with cooling between stages."
slug: po.sf.compressor.power
type: worksheet
---

# Compressor Staging and Power

## Description

How many stages does a gas compressor need, how hot does each stage run, and what power does it take? You enter the gas rate, the suction and discharge pressures, the suction temperature, the gas and the machine. You read off the stages and their ratio, each stage's discharge temperature, Z, head and gas power with the gas cooled back to the suction temperature between stages, the gas and brake power against the driver, and one uncooled stage for comparison; the chart draws the compression path.

**Parameters:**
- **Duty**: the gas rate `CMP_Qg`, the first stage's suction pressure `CMP_Ps`, the final discharge pressure `CMP_Pd` and the suction temperature of every stage `CMP_Ts`
- **Gas**: the gravity `CMP_SG`, its CO2 `CMP_CO2` and H2S `CMP_H2S`
- **Machine**: the basis `CMP_Mode` (1 adiabatic, the reciprocating basis; 2 polytropic, the centrifugal one), its efficiency `CMP_Eff`, the largest ratio per stage `CMP_Rmax`, k `CMP_k` (the gravity's until typed over), the mechanical efficiency `CMP_Mech`, the discharge temperature limit `CMP_Tmax` and the driver's rating `CMP_Driver`

**How to use it:** take the suction and discharge pressures and temperatures from the compressor's own gauges, k and Z from the gas analysis (an equation of state's k on the composition replaces the gravity's), and the efficiency at the duty from the vendor's performance curve. The ratio of specific heats is Moshfeghian's from the gravity until a k from a gas analysis or a vendor's data sheet is typed over it. The discharge temperature limit is the packing's, the lube oil's or the valves', from the vendor.

**Method:**

- **Stages.** The fewest stages n with (Pd/Ps)^(1/n) at most the largest ratio, all at that equal ratio r.
- **k.** Moshfeghian's correlation, k = (1.6 − 0.44γ + 0.097γ²)·(1 + 0.0385γ − 0.000159·T), with T the suction temperature in °R.
- **Discharge temperature.** Adiabatic: T2 = T1·(1 + (r^((k−1)/k) − 1)/η). Polytropic: T2 = T1·r^((k−1)/(k·ηp)), in a cell. Every stage starts at the suction temperature, so every stage reaches the same one.
- **Stage table.** Stage i takes the gas from Ps·r^(i−1) to Ps·r^i. Z is DAK's at Standing's pseudo-criticals with the Wichert-Aziz correction, at its suction and at its discharge, and the stage takes their average. Its head and gas power are those of one stage: H = Z·R·T1/MW·(r^x − 1)/x, with x = (k − 1)/k adiabatic or (k − 1)/(k·ηp) polytropic, and the power w·H/(η·33,000) hp for the mass rate w in lb/min.
- **Power.** The gas power is the stages' sum, and the brake power that over the mechanical efficiency. One uncooled stage at the stages' average Z, the same power equation over the whole ratio, shows what the coolers save.
- **Chart.** The compression path runs up to each stage's discharge temperature and back down through each cooler.
- **Checks.**
  - Discharge temperature: under the limit, with a warning within 25 °F of it.
  - Driver: the brake power within the driver's rating.
  - Stage table: the stages fit its six rows.

**Example:** The default case is the reference stream's gas: 20 MMscf/d of the 0.7 gravity gas with 3 % CO2 and 500 ppm H2S, from the Separator Sizing sheet's 250 psia and 80 °F to the Gas Pipeline Sizing sheet's 1,000 psia inlet. The machine is a reciprocating compressor at an isentropic efficiency of 0.8, held to a ratio of 3.5 per stage and a 300 °F discharge, with 95 % mechanical efficiency and a 2,000 hp driver. The overall ratio is 4. At most 3.5 per stage, that is 2 stages of 2.0. k at 80 °F for the 0.7 gravity gas is 1.2607, so each stage discharges at 184 °F: a 104 °F rise each cooler takes out. Stage 1, 250 to 500 psia at an average Z of 0.9518, has a head of 29,181 ft·lbf/lbm and takes 820.2 hp; stage 2, 500 to 1,000 psia at Z = 0.9070, takes 781.5 hp. The gas power is 1,601.7 hp and the brake power 1,686 hp, 84 % of the driver. One stage would run at 303.9 °F, over the limit, and take 1,725.1 hp, 123.4 hp more. Allowed a ratio of 4, the sheet takes that single stage and the temperature check fails. At 25 MMscf/d the brake power is 2,107 hp and the driver check fails. On a polytropic basis at ηp = 0.78 each stage discharges at 188.9 °F and the gas power is 1,679.0 hp.

Against a published check: the compressor unit operation of the Engineering library, version 6.0.0, compresses 1 MMscf/d of pure methane from 100 psia and 80 °F through a ratio of 3 at an isentropic efficiency of 1 (Peng-Robinson, an isentropic flash with k varying along the path). It discharges at 232.148 °F and takes 56.853 hp. The sheet with methane's gravity (16.043/28.9625), no CO2 or H2S, and k typed in as Moshfeghian's 1.296663 at 80 °F gives 234.2 °F and 56.96 hp, within 1 %.

## Validity

The classical constant-k equations of GPSA section 13, with one k for the gas and an average Z per stage: adequate while Z stays near 1 and k changes little along a stage. At high pressure, or near the dew point, the real-gas path from an equation of state, or the Schultz polytropic correction, is the better basis. k is the ideal-gas value at the suction temperature. It falls as the gas heats, so the discharge temperature reads a little high, as the published check shows: 2 °F over the Engineering library's real-gas path in a ratio of 3. Moshfeghian's correlation holds for hydrocarbon gases from 0.55 to 2.0 gravity and −13 to 302 °F; nitrogen, CO2 or H2S at the same gravity change k. Each stage cools back to the suction temperature with no pressure lost between stages. A real train loses 5 to 10 psi in each cooler and scrubber, and its coolers approach the ambient air, so the later stages work a little harder. A reciprocating compressor is usually rated on the adiabatic basis and a centrifugal one on the polytropic.

Named alternatives: an isentropic flash on the gas composition (the Engineering library's compressor unit operation); GPSA's quick estimate of brake horsepower per MMscf/d per stage; and the vendor's selection program, which also checks rod load and the cylinders' volumetric efficiency.

## References

- GPSA (2012). *Engineering Data Book*, 13th ed., section 13 (the head, power and discharge-temperature equations and multistaging; not to hand, its worked examples not reproduced).
- Brown, R.N. (2005). *Compressors: Selection and Sizing*, 3rd ed., Gulf, ch. 2 and 3.
- Moshfeghian, M. (2013). "Variation of Ideal Gas Heat Capacity Ratio with Temperature and Relative Density." *PetroSkills John M. Campbell Tip of the Month*, May 2013.
- Schultz, J.M. (1962). "The Polytropic Analysis of Centrifugal Compressors." *Journal of Engineering for Power* 84(1), 69–82.
- Wichert, E. and Aziz, K. (1972). "Calculate Z's for Sour Gases." *Hydrocarbon Processing* 51(5), 119–122.

## Functions used

`PO.PVT.Ppc.ByStanding.Sour`, `PO.PVT.Tpc.ByStanding.Sour`, `PO.PVT.Z.ByDAK`, `PO.SF.Comp.k`, `PO.SF.Comp.Stages`, `PO.SF.Comp.Tdisch`, `PO.SF.Comp.Power`

## Spreadsheet: SfCompressorPower

|    | A                                                                                                                                                                                          | B                                                                                                                            | C                                                                                                                                                                                                                                                                                                                                                                                                                                       | D                           | E                           | F                                                                     | G                                                                     | H                                | I                                                                                                     | J                                                                                                      |
|----|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|-----------------------------|-----------------------------------------------------------------------|-----------------------------------------------------------------------|----------------------------------|-------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
| 1  | Compressor Staging and Power                                                                                                                                                               |                                                                                                                              | Petroleum Office                                                                                                                                                                                                                                                                                                                                                                                                                        |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 2  | Blue cells on yellow are inputs. Type the gas rate, the suction and discharge pressures, the gas and the machine; the stages, discharge temperature, head and power of each stage follow.  |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 3  | Gas and Duty (the Separator's Gas to the Export Line)                                                                                                                                      |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 4  | Gas rate                                                                                                                                                                                   | 20                                                                                                                           | MMscf/d                                                                                                                                                                                                                                                                                                                                                                                                                                 |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 5  | Suction pressure of the first stage, absolute (the separator)                                                                                                                              | 250                                                                                                                          | psia                                                                                                                                                                                                                                                                                                                                                                                                                                    |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 6  | Final discharge pressure, absolute (the export line's inlet)                                                                                                                               | 1000                                                                                                                         | psia                                                                                                                                                                                                                                                                                                                                                                                                                                    |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 7  | Suction temperature of every stage (cooled back to it)                                                                                                                                     | 80                                                                                                                           | °F                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 8  | Gas specific gravity (air = 1)                                                                                                                                                             | 0.7                                                                                                                          | air = 1                                                                                                                                                                                                                                                                                                                                                                                                                                 |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 9  | CO2 mole fraction                                                                                                                                                                          | 0.03                                                                                                                         | %                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 10 | H2S in the gas                                                                                                                                                                             | 500                                                                                                                          | ppm                                                                                                                                                                                                                                                                                                                                                                                                                                     |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 11 | Machine                                                                                                                                                                                    |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 12 | Basis (1 adiabatic, reciprocating; 2 polytropic, centrifugal)                                                                                                                              | 1                                                                                                                            | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 13 | Isentropic (1) or polytropic (2) efficiency                                                                                                                                                | 0.8                                                                                                                          | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 14 | Largest pressure ratio per stage                                                                                                                                                           | 3.5                                                                                                                          | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 15 | Ratio of specific heats, Cp/Cv (type over to override)                                                                                                                                     | =CMP_kCalc                                                                                                                   | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 16 | Mechanical efficiency, gas power to brake power                                                                                                                                            | 0.95                                                                                                                         | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 17 | Highest discharge temperature allowed                                                                                                                                                      | 300                                                                                                                          | °F                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 18 | Driver's rated power                                                                                                                                                                       | 2000                                                                                                                         | hp                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 20 | Gas                                                                                                                                                                                        |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 21 | Pseudo-critical pressure, p′pc (Standing, Wichert-Aziz)                                                                                                                                    | =PO.PVT.Ppc.ByStanding.Sour(CMP_SG,CMP_H2S/CMP_Ppm,CMP_CO2)                                                                  | psi                                                                                                                                                                                                                                                                                                                                                                                                                                     |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 22 | Pseudo-critical temperature, T′pc                                                                                                                                                          | =PO.PVT.Tpc.ByStanding.Sour(CMP_SG,CMP_H2S/CMP_Ppm,CMP_CO2)                                                                  | °R                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 23 | k at the suction temperature (Moshfeghian)                                                                                                                                                 | =PO.SF.Comp.k(CMP_SG,CMP_Ts)                                                                                                 | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 24 | Where k comes from                                                                                                                                                                         | =""&IF(CMP_k=CMP_kCalc,"The gravity, by Moshfeghian","Typed in")                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 25 | Staging                                                                                                                                                                                    |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 26 | Overall pressure ratio, Pd/Ps                                                                                                                                                              | =CMP_Pd/CMP_Ps                                                                                                               | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 27 | Stages                                                                                                                                                                                     | =PO.SF.Comp.Stages(CMP_Ps,CMP_Pd,CMP_Rmax,"Stages")                                                                          | stages                                                                                                                                                                                                                                                                                                                                                                                                                                  |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 28 | Pressure ratio of each stage                                                                                                                                                               | =PO.SF.Comp.Stages(CMP_Ps,CMP_Pd,CMP_Rmax,"Ratio")                                                                           | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 29 | Basis                                                                                                                                                                                      | =""&CHOOSE(CMP_Mode,"Adiabatic","Polytropic")                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 30 | Discharge temperature of each stage                                                                                                                                                        | =IF(CMP_Mode=1,PO.SF.Comp.Tdisch(CMP_Ts,CMP_r,CMP_k,CMP_Eff),(CMP_Ts+CMP_R0)*CMP_r^((CMP_k-1)/(CMP_k*CMP_Eff))-CMP_R0)       | °F                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 31 | Temperature rise across each stage, cooled out between them                                                                                                                                | =CMP_Td-CMP_Ts                                                                                                               | °F                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 32 | Head and Power                                                                                                                                                                             |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 33 | Head of the first stage                                                                                                                                                                    | =I48                                                                                                                         | ft·lbf/lbm                                                                                                                                                                                                                                                                                                                                                                                                                              |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 34 | Gas power, the stages added                                                                                                                                                                | =SUM($J$48:$J$53)                                                                                                            | hp                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 35 | Average Z of the stages                                                                                                                                                                    | =AVERAGE($H$48:$H$53)                                                                                                        | —                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 36 | Gas power in one stage at that Z, for comparison                                                                                                                                           | =PO.SF.Comp.Power(CMP_Basis,CMP_Qg,CMP_Ps,CMP_Pd,CMP_Ts,CMP_SG,CMP_Zall,CMP_k,CMP_Eff,1,"Total")                             | hp                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 37 | Power the interstage cooling saves                                                                                                                                                         | =CMP_One-CMP_Gas                                                                                                             | hp                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 38 | Discharge temperature in one stage                                                                                                                                                         | =IF(CMP_Mode=1,PO.SF.Comp.Tdisch(CMP_Ts,CMP_Rall,CMP_k,CMP_Eff),(CMP_Ts+CMP_R0)*CMP_Rall^((CMP_k-1)/(CMP_k*CMP_Eff))-CMP_R0) | °F                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 39 | Brake power, gas power over the mechanical efficiency                                                                                                                                      | =CMP_Gas/CMP_Mech                                                                                                            | hp                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 40 | Discharge temperature check                                                                                                                                                                | =IF(CMP_Td>CMP_Tmax,"FAIL",IF(CMP_Td>CMP_Tmax-CMP_Band,"WARN","PASS"))                                                       | =IF(CMP_Td>CMP_Tmax,"each stage discharges at "&FIXED(CMP_Td,0)&" °F, over the "&FIXED(CMP_Tmax,0)&" °F limit: lower the ratio per stage and add a stage",IF(CMP_Td>CMP_Tmax-CMP_Band,"each stage discharges at "&FIXED(CMP_Td,0)&" °F, within "&FIXED(CMP_Band,0)&" °F of the "&FIXED(CMP_Tmax,0)&" °F limit",""&CMP_N&" stages of "&FIXED(CMP_r,2)&" discharge at "&FIXED(CMP_Td,0)&" °F, under the "&FIXED(CMP_Tmax,0)&" °F limit")) |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 41 | Driver check                                                                                                                                                                               | =IF(CMP_Brake<=CMP_Driver,"PASS","FAIL")                                                                                     | =IF(CMP_Brake<=CMP_Driver,""&FIXED(CMP_Brake,0)&" brake hp is "&FIXED(CMP_Brake/CMP_Driver*CMP_Pct,0)&" % of the "&FIXED(CMP_Driver,0)&" hp driver",""&FIXED(CMP_Brake,0)&" brake hp is over the "&FIXED(CMP_Driver,0)&" hp driver: a larger driver, or less rate")                                                                                                                                                                     |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 42 | Stage table check                                                                                                                                                                          | =IF(CMP_N<=ROWS($A$48:$A$53),"PASS","FAIL")                                                                                  | =IF(CMP_N<=ROWS($A$48:$A$53),"the table below shows all "&CMP_N&" stages",""&CMP_N&" stages, more than the table's "&ROWS($A$48:$A$53)&": raise the ratio per stage")                                                                                                                                                                                                                                                                   |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 45 | Stages, Cooled Back to the Suction Temperature Between Them                                                                                                                                |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 46 | How to use it: the measured suction and discharge pressures and temperatures, the gas analysis for k and Z, and the vendor's efficiency at the duty; rows past the last stage show a dash. |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 47 | Stage                                                                                                                                                                                      | Suction (psia)                                                                                                               | Discharge (psia)                                                                                                                                                                                                                                                                                                                                                                                                                        | Suction T (°F)              | Discharge T (°F)            | Z suction (—)                                                         | Z discharge (—)                                                       | Z average (—)                    | Head (ft·lbf/lbm)                                                                                     | Gas power (hp)                                                                                         |
| 48 | 1                                                                                                                                                                                          | =IF($A48<=CMP_N,CMP_Ps*CMP_r^($A48-1),"—")                                                                                   | =IF($A48<=CMP_N,B48*CMP_r,"—")                                                                                                                                                                                                                                                                                                                                                                                                          | =IF($A48<=CMP_N,CMP_Ts,"—") | =IF($A48<=CMP_N,CMP_Td,"—") | =IF($A48<=CMP_N,PO.PVT.Z.ByDAK(B48/CMP_Ppc,(D48+CMP_R0)/CMP_Tpc),"—") | =IF($A48<=CMP_N,PO.PVT.Z.ByDAK(C48/CMP_Ppc,(E48+CMP_R0)/CMP_Tpc),"—") | =IF($A48<=CMP_N,(F48+G48)/2,"—") | =IF($A48<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B48,C48,D48,CMP_SG,H48,CMP_k,CMP_Eff,1,"Head"),"—") | =IF($A48<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B48,C48,D48,CMP_SG,H48,CMP_k,CMP_Eff,1,"Stage"),"—") |
| 49 | 2                                                                                                                                                                                          | =IF($A49<=CMP_N,CMP_Ps*CMP_r^($A49-1),"—")                                                                                   | =IF($A49<=CMP_N,B49*CMP_r,"—")                                                                                                                                                                                                                                                                                                                                                                                                          | =IF($A49<=CMP_N,CMP_Ts,"—") | =IF($A49<=CMP_N,CMP_Td,"—") | =IF($A49<=CMP_N,PO.PVT.Z.ByDAK(B49/CMP_Ppc,(D49+CMP_R0)/CMP_Tpc),"—") | =IF($A49<=CMP_N,PO.PVT.Z.ByDAK(C49/CMP_Ppc,(E49+CMP_R0)/CMP_Tpc),"—") | =IF($A49<=CMP_N,(F49+G49)/2,"—") | =IF($A49<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B49,C49,D49,CMP_SG,H49,CMP_k,CMP_Eff,1,"Head"),"—") | =IF($A49<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B49,C49,D49,CMP_SG,H49,CMP_k,CMP_Eff,1,"Stage"),"—") |
| 50 | 3                                                                                                                                                                                          | =IF($A50<=CMP_N,CMP_Ps*CMP_r^($A50-1),"—")                                                                                   | =IF($A50<=CMP_N,B50*CMP_r,"—")                                                                                                                                                                                                                                                                                                                                                                                                          | =IF($A50<=CMP_N,CMP_Ts,"—") | =IF($A50<=CMP_N,CMP_Td,"—") | =IF($A50<=CMP_N,PO.PVT.Z.ByDAK(B50/CMP_Ppc,(D50+CMP_R0)/CMP_Tpc),"—") | =IF($A50<=CMP_N,PO.PVT.Z.ByDAK(C50/CMP_Ppc,(E50+CMP_R0)/CMP_Tpc),"—") | =IF($A50<=CMP_N,(F50+G50)/2,"—") | =IF($A50<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B50,C50,D50,CMP_SG,H50,CMP_k,CMP_Eff,1,"Head"),"—") | =IF($A50<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B50,C50,D50,CMP_SG,H50,CMP_k,CMP_Eff,1,"Stage"),"—") |
| 51 | 4                                                                                                                                                                                          | =IF($A51<=CMP_N,CMP_Ps*CMP_r^($A51-1),"—")                                                                                   | =IF($A51<=CMP_N,B51*CMP_r,"—")                                                                                                                                                                                                                                                                                                                                                                                                          | =IF($A51<=CMP_N,CMP_Ts,"—") | =IF($A51<=CMP_N,CMP_Td,"—") | =IF($A51<=CMP_N,PO.PVT.Z.ByDAK(B51/CMP_Ppc,(D51+CMP_R0)/CMP_Tpc),"—") | =IF($A51<=CMP_N,PO.PVT.Z.ByDAK(C51/CMP_Ppc,(E51+CMP_R0)/CMP_Tpc),"—") | =IF($A51<=CMP_N,(F51+G51)/2,"—") | =IF($A51<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B51,C51,D51,CMP_SG,H51,CMP_k,CMP_Eff,1,"Head"),"—") | =IF($A51<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B51,C51,D51,CMP_SG,H51,CMP_k,CMP_Eff,1,"Stage"),"—") |
| 52 | 5                                                                                                                                                                                          | =IF($A52<=CMP_N,CMP_Ps*CMP_r^($A52-1),"—")                                                                                   | =IF($A52<=CMP_N,B52*CMP_r,"—")                                                                                                                                                                                                                                                                                                                                                                                                          | =IF($A52<=CMP_N,CMP_Ts,"—") | =IF($A52<=CMP_N,CMP_Td,"—") | =IF($A52<=CMP_N,PO.PVT.Z.ByDAK(B52/CMP_Ppc,(D52+CMP_R0)/CMP_Tpc),"—") | =IF($A52<=CMP_N,PO.PVT.Z.ByDAK(C52/CMP_Ppc,(E52+CMP_R0)/CMP_Tpc),"—") | =IF($A52<=CMP_N,(F52+G52)/2,"—") | =IF($A52<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B52,C52,D52,CMP_SG,H52,CMP_k,CMP_Eff,1,"Head"),"—") | =IF($A52<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B52,C52,D52,CMP_SG,H52,CMP_k,CMP_Eff,1,"Stage"),"—") |
| 53 | 6                                                                                                                                                                                          | =IF($A53<=CMP_N,CMP_Ps*CMP_r^($A53-1),"—")                                                                                   | =IF($A53<=CMP_N,B53*CMP_r,"—")                                                                                                                                                                                                                                                                                                                                                                                                          | =IF($A53<=CMP_N,CMP_Ts,"—") | =IF($A53<=CMP_N,CMP_Td,"—") | =IF($A53<=CMP_N,PO.PVT.Z.ByDAK(B53/CMP_Ppc,(D53+CMP_R0)/CMP_Tpc),"—") | =IF($A53<=CMP_N,PO.PVT.Z.ByDAK(C53/CMP_Ppc,(E53+CMP_R0)/CMP_Tpc),"—") | =IF($A53<=CMP_N,(F53+G53)/2,"—") | =IF($A53<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B53,C53,D53,CMP_SG,H53,CMP_k,CMP_Eff,1,"Head"),"—") | =IF($A53<=CMP_N,PO.SF.Comp.Power(CMP_Basis,CMP_Qg,B53,C53,D53,CMP_SG,H53,CMP_k,CMP_Eff,1,"Stage"),"—") |
| 55 | Compression Path                                                                                                                                                                           |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 56 | Pressure (psia)                                                                                                                                                                            | Temperature (°F)                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                         | Limit at (psia)             | Limit (°F)                  |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 57 | =CMP_Ps                                                                                                                                                                                    | =CMP_Ts                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                         | =CMP_Ps                     | =CMP_Tmax                   |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 58 | =IF(1<=CMP_N,CMP_Ps*CMP_r^1,CMP_Pd)                                                                                                                                                        | =IF(1<=CMP_N,CMP_Td,CMP_Ts)                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                         | =CMP_Pd                     | =CMP_Tmax                   |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 59 | =IF(1<=CMP_N,CMP_Ps*CMP_r^1,CMP_Pd)                                                                                                                                                        | =CMP_Ts                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 60 | =IF(2<=CMP_N,CMP_Ps*CMP_r^2,CMP_Pd)                                                                                                                                                        | =IF(2<=CMP_N,CMP_Td,CMP_Ts)                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 61 | =IF(2<=CMP_N,CMP_Ps*CMP_r^2,CMP_Pd)                                                                                                                                                        | =CMP_Ts                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 62 | =IF(3<=CMP_N,CMP_Ps*CMP_r^3,CMP_Pd)                                                                                                                                                        | =IF(3<=CMP_N,CMP_Td,CMP_Ts)                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 63 | =IF(3<=CMP_N,CMP_Ps*CMP_r^3,CMP_Pd)                                                                                                                                                        | =CMP_Ts                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 64 | =IF(4<=CMP_N,CMP_Ps*CMP_r^4,CMP_Pd)                                                                                                                                                        | =IF(4<=CMP_N,CMP_Td,CMP_Ts)                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 65 | =IF(4<=CMP_N,CMP_Ps*CMP_r^4,CMP_Pd)                                                                                                                                                        | =CMP_Ts                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 66 | =IF(5<=CMP_N,CMP_Ps*CMP_r^5,CMP_Pd)                                                                                                                                                        | =IF(5<=CMP_N,CMP_Td,CMP_Ts)                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 67 | =IF(5<=CMP_N,CMP_Ps*CMP_r^5,CMP_Pd)                                                                                                                                                        | =CMP_Ts                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 68 | =IF(6<=CMP_N,CMP_Ps*CMP_r^6,CMP_Pd)                                                                                                                                                        | =IF(6<=CMP_N,CMP_Td,CMP_Ts)                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 69 | =IF(6<=CMP_N,CMP_Ps*CMP_r^6,CMP_Pd)                                                                                                                                                        | =CMP_Ts                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 71 | Calculation Constants                                                                                                                                                                      |                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                         |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 72 | Rankine at 0 °F                                                                                                                                                                            | 459.67                                                                                                                       | °R                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 73 | ppm in a mole fraction                                                                                                                                                                     | 1000000                                                                                                                      | ppm                                                                                                                                                                                                                                                                                                                                                                                                                                     |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 74 | scf in an MMscf                                                                                                                                                                            | 1000000                                                                                                                      | scf/MMscf                                                                                                                                                                                                                                                                                                                                                                                                                               |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 75 | Seconds in a day                                                                                                                                                                           | 86400                                                                                                                        | s/d                                                                                                                                                                                                                                                                                                                                                                                                                                     |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 76 | Cubic feet in a barrel                                                                                                                                                                     | 5.614583                                                                                                                     | ft³/bbl                                                                                                                                                                                                                                                                                                                                                                                                                                 |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 77 | Band under the limit in which the temperature is watched                                                                                                                                   | 25                                                                                                                           | °F                                                                                                                                                                                                                                                                                                                                                                                                                                      |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |
| 78 | Per cent in one                                                                                                                                                                            | 100                                                                                                                          | %                                                                                                                                                                                                                                                                                                                                                                                                                                       |                             |                             |                                                                       |                                                                       |                                  |                                                                                                       |                                                                                                        |

## Lambdas

| Name | RefersTo | Comment |
|------|----------|---------|
| PO.SF.Comp.k | =LAMBDA(sg, t, IF(OR(sg<0.55, sg>2, t<-13, t>302), NA(), (1.6-0.44*sg+0.097*sg^2)*(1+0.0385*sg-0.000159*(t+459.67)))) | Ideal-gas ratio of specific heats k = Cp/Cv of a hydrocarbon gas of gravity sg (0.55 to 2.0) at t (deg F, -13 to 302), Moshfeghian (2013) correlation; #N/A outside its range. |
| PO.SF.Comp.Stages | =LAMBDA(ps, pd, r_max, output, IF(OR(ps<=0, pd<=ps, r_max<=1), NA(), LET(n, MAX(1, ROUNDUP(LN(pd/ps)/LN(r_max)-0.000000001, 0)), IF(output="Stages", n, IF(output="Ratio", (pd/ps)^(1/n), NA()))))) | Compression stages, equal ratios: "Stages" = fewest n with (pd/ps)^(1/n) <= r_max, or "Ratio" = (pd/ps)^(1/n) per stage, for suction ps and discharge pd (psia). |
| PO.SF.Comp.Tdisch | =LAMBDA(t, ratio, k, eff, IF(OR(t<=-459.67, ratio<1, k<=1, eff<=0, eff>1), NA(), (t+459.67)*(1+(ratio^((k-1)/k)-1)/eff)-459.67)) | Adiabatic discharge temperature (deg F) of one stage: T1 + T1*(ratio^((k-1)/k) - 1)/eff, suction t (deg F), stage pressure ratio, k = Cp/Cv and isentropic efficiency eff (1 = ideal). |
| PO.SF.Comp.Power | =LAMBDA(mode, qg, ps, pd, t, sg, z, k, eff, stages, output, IF(OR(AND(mode<>"Adiabatic", mode<>"Polytropic"), qg<=0, ps<=0, pd<ps, t<=-459.67, sg<=0, z<=0, k<=1, eff<=0, eff>1, stages<1, stages<>INT(stages)), NA(), IF(OR(output="Head", output="Stage", output="Total"), z*1545.349*(t+459.67)/(28.9625*sg)/IF(mode="Polytropic", (k-1)/(k*eff), (k-1)/k)*(((pd/ps)^(1/stages))^IF(mode="Polytropic", (k-1)/(k*eff), (k-1)/k)-1)*IF(output="Head", 1, qg*1000000*14.696/(10.7316*519.67)*(28.9625*sg)/1440)/IF(output="Head", 1, eff*33000)*IF(output="Total", stages, 1), NA()))) | Compressor gas power, "Adiabatic" or "Polytropic", equal-ratio stages intercooled to t: "Head" per stage (ft-lbf/lbm), "Stage" gas hp per stage or "Total" gas hp, for qg MMscf/d from ps to pd psia. |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| CMP_Qg | $B$4 | Gas rate, MMscf/d |
| CMP_Ps | $B$5 | Suction pressure of the first stage, absolute (the separator), psia |
| CMP_Pd | $B$6 | Final discharge pressure, absolute (the export line's inlet), psia |
| CMP_Ts | $B$7 | Suction temperature of every stage (cooled back to it), °F |
| CMP_SG | $B$8 | Gas specific gravity (air = 1), air = 1 |
| CMP_CO2 | $B$9 | CO2 mole fraction, % |
| CMP_H2S | $B$10 | H2S in the gas, ppm |
| CMP_Mode | $B$12 | Basis (1 adiabatic, reciprocating; 2 polytropic, centrifugal) |
| CMP_Eff | $B$13 | Isentropic (1) or polytropic (2) efficiency |
| CMP_Rmax | $B$14 | Largest pressure ratio per stage |
| CMP_k | $B$15 | Ratio of specific heats, Cp/Cv (type over to override) |
| CMP_Mech | $B$16 | Mechanical efficiency, gas power to brake power |
| CMP_Tmax | $B$17 | Highest discharge temperature allowed, °F |
| CMP_Driver | $B$18 | Driver's rated power, hp |
| CMP_Inputs | $B$4:$B$18 | The gas rate, suction and final discharge pressures, the suction temperature, the gas gravity, CO2 and H2S, the basis, efficiency, largest ratio per stage, k, the mechanical efficiency, the discharge temperature limit and the driver's rating |
| CMP_Ppc | $B$21 | Pseudo-critical pressure, p′pc (Standing, Wichert-Aziz), psi |
| CMP_Tpc | $B$22 | Pseudo-critical temperature, T′pc, °R |
| CMP_kCalc | $B$23 | k at the suction temperature (Moshfeghian) |
| CMP_kFrom | $B$24 | Where k comes from |
| CMP_Rall | $B$26 | Overall pressure ratio, Pd/Ps |
| CMP_N | $B$27 | Stages, stages |
| CMP_r | $B$28 | Pressure ratio of each stage |
| CMP_Basis | $B$29 | Basis |
| CMP_Td | $B$30 | Discharge temperature of each stage, °F |
| CMP_dT | $B$31 | Temperature rise across each stage, cooled out between them, °F |
| CMP_Head1 | $B$33 | Head of the first stage, ft·lbf/lbm |
| CMP_Gas | $B$34 | Gas power, the stages added, hp |
| CMP_Zall | $B$35 | Average Z of the stages |
| CMP_One | $B$36 | Gas power in one stage at that Z, for comparison, hp |
| CMP_Saved | $B$37 | Power the interstage cooling saves, hp |
| CMP_TdOne | $B$38 | Discharge temperature in one stage, °F |
| CMP_Brake | $B$39 | Brake power, gas power over the mechanical efficiency, hp |
| CMP_TempCheck | $B$40 | Discharge temperature check verdict |
| CMP_TempCheckNote | $C$40 | Discharge temperature check comment |
| CMP_DriverCheck | $B$41 | Driver check verdict |
| CMP_DriverCheckNote | $C$41 | Driver check comment |
| CMP_StagesCheck | $B$42 | Stage table check verdict |
| CMP_StagesCheckNote | $C$42 | Stage table check comment |
| CMP_Results | $B$21:$B$42 | The pseudo-criticals, k, the overall and per-stage ratios, the stages, the discharge temperature and rise, the first stage's head, the gas power by stage, one uncooled stage for comparison, the brake power and the three checks |
| CMP_Stages | $A$48:$J$53 | Each stage: its suction and discharge pressures and temperatures, Z at each end and their average, its head and gas power by PO.SF.Comp.Power |
| CMP_Curve | $A$57:$B$69 | The compression path: each stage compressed to its discharge temperature, then cooled back to the suction temperature |
| CMP_R0 | $B$72 | Rankine at 0 °F, °R |
| CMP_Ppm | $B$73 | ppm in a mole fraction, ppm |
| CMP_Scf | $B$74 | scf in an MMscf, scf/MMscf |
| CMP_Sec | $B$75 | Seconds in a day, s/d |
| CMP_Ft3Bbl | $B$76 | Cubic feet in a barrel, ft³/bbl |
| CMP_Band | $B$77 | Band under the limit in which the temperature is watched, °F |
| CMP_Pct | $B$78 | Per cent in one, % |

---

## Related Blueprints
- [Separator Sizing by Souders-Brown and Retention Time](/blueprint/po.sf.separator.sizing.md)
- [Gas Pipeline Sizing by Weymouth and Panhandle](/blueprint/po.sf.gas.pipeline.sizing.md)
- [Multiphase Flowline by Beggs and Brill](/blueprint/po.sf.multiphase.flowline.md)
- [Liquid Pipeline Sizing with Elevation and Pump NPSH](/blueprint/po.sf.pipeline.liquid.md)
- [Wellhead Choke Sizing](/blueprint/po.sf.choke.sizing.md)
- [Gas-Lift Injection Pressure and Point of Injection](/blueprint/po.gl.injection.pressure.md)

