---
cid: po.bp.gl.valve.setting
hub: gl
tags: [gas-lift, valve, test-rack, dome-pressure, unloading, design, artificial-lift]
facets: { discipline: production, phase: gas }
title: Gas-Lift Valve Setting
summary: "Designs a gas-lift installation with port size, mandrel spacing and each valve's dome pressure and test-rack opening pressure."
slug: po.gl.valve.setting
type: worksheet
---

# Gas-Lift Valve Setting

## Description

What port, mandrel spacing and dome charge does a continuous gas-lift installation of injection-pressure-operated (IPO) valves need? You enter the kickoff and operating pressures, the well and its kill fluid, the point of injection with its tubing pressure, the design gas rate and the valve's port and bellows. You read off the operating port, each unloading valve's depth, opening, dome and closing pressures and spread, and the test-rack opening pressure the valve shop sets it to.

**Parameters:**
- **Pressures**: surface kickoff and operating injection pressures, and the surface opening pressure drop per valve (`GLV_Pko`, `GLV_Pso`, `GLV_Drop`, 25 psi)
- **Well**: lift-gas gravity, wellhead pressure, kill-fluid gradient, surface and packer temperatures and the packer depth (`GLV_SG`, `GLV_Pwh`, `GLV_Gs`, `GLV_Ts`, `GLV_Tb`, `GLV_Dpk`)
- **From the injection-pressure sheet**: the point of injection and the tubing pressure there (`GLV_Dpoi`, `GLV_Ptpoi`), and the design gas rate (`GLV_Qgi`)
- **Port and valve**: discharge coefficient, specific heat ratio, bellows area and spring tension (`GLV_Cd`, `GLV_k`, `GLV_Ab`, `GLV_St`, 0 for a nitrogen dome alone)
- **Overrides**: the casing gas gradient and the port-to-bellows ratio R, each computed in the sheet until a measured value is typed over it (`GLV_Gg`, `GLV_R`)
- **Limit**: the largest valve spread accepted (`GLV_SpreadMax`, 100 psi)

**How to use it:** Type your kickoff and operating pressures, kill fluid, temperatures and the point of injection from your own Gas-Lift Injection Pressure and Point of Injection sheet. Replace the port sizes with your valve's and type its bellows area from the valve catalogue (the default 0.77 in² is a 1½-in valve's). The table has eight mandrels; if the reach check fails, raise the kickoff pressure, lower the drop per valve, or extend the table's formulas by a row per mandrel. For every unloading valve the sheet gives the opening pressure at depth, the dome pressure that opens it there, its closing pressure and spread, the dome pressure at 60 °F and the test-rack opening pressure (Ptro). The design chart draws the kickoff and operating casing lines, the design tubing line, and the unloading lines: the kill fluid standing on the tubing pressure at each valve, down to the next.

**Method:**

- **Gas gradient.** The casing gas gradient is the static gas-column gradient at the column's average temperature, in two passes: first at the operating pressure, then at the average pressure that first gradient gives over the column to the point of injection. z is Dranchuk-Abou-Kassem at Standing's pseudo-criticals.
- **Port size**, written in the sheet. The Thornhill-Craver rate is linear in the port area, so the area the design rate needs is Qgi over the throughput of a 1 in² port. That throughput is taken at the operating casing pressure at the point of injection, the tubing pressure there and the valve temperature. Each catalogue port's capacity is computed the same way; the smallest port that passes Qgi is the operating port, and its area over the bellows area is R.
- **Spacing**, written in the sheet. Valve 1 sits where the kickoff casing pressure, Pko + Gg·D, balances the kill fluid from the wellhead, Pwh + Gs·D, so D1 = (Pko − Pwh)/(Gs − Gg). Each next valve sits where its own casing pressure meets the kill fluid standing on the design tubing pressure at the valve above: Di = Di−1 + (Psoi + Gg·Di−1 − Pt(Di−1))/(Gs − Gg). The design tubing pressure is the straight line from the wellhead to the tubing pressure at the point of injection. Valve i opens at Psoi = Pko − i·ΔPdrop at the surface, so each valve opens below the one above it. The first mandrel at or below the point of injection takes the operating orifice; the rows after it are not needed.
- **Settings of each unloading valve**, on Guo, Lyons and Ghalambor's force balance: the opening pressure at depth is Pvo = Psoi + Gg·D. The dome pressure that opens it against the tubing pressure there is Pd = (1 − R)·(Pvo − St) + R·Pt (Eq. 13.42 solved for Pd). It closes at Pvc = Pd + St·(1 − R) (Eq. 13.43), and its spread is Pvo − Pvc. The dome pressure at 60 °F is the fixed nitrogen charge taken from the valve temperature to 60 °F with nitrogen's real-gas z (Eq. 13.58). The test-rack opening pressure is that 60 °F dome opening against one atmosphere on the tubing side (Eq. 13.57).
- **Round trips.** The top valve's opening pressure is recomputed from its dome, and its dome at depth from its 60 °F charge; both return the values they started from.
- **Checks.** The reach check passes when a mandrel reaches the point of injection. The port check passes when the operating port passes the design rate. The closing check passes when every unloading valve's closing pressure is above the operating casing pressure at its depth, so that only the orifice injects once the well is unloaded. The spread check compares the largest spread with the limit.

**Example:** The well (GL-1) is the one the Gas-Lift Injection Pressure and Point of Injection sheet designs and the Gas-Lift Valve Throughput sheet checks: 0.65-gravity lift gas, 120 psia at the wellhead, 80 °F at surface and 200 °F at the packer at 8,000 ft, 500 Mscf/d of design gas. Its point of injection (7,154 ft) and the flowing tubing pressure there (1,080.5 psia) are typed in from the injection-pressure sheet. Kickoff is at 1,200 psia surface with a 0.465 psi/ft kill fluid (8.9 ppg brine), and the well then operates at 1,000 psia.

The gas gradient is 0.0253 psi/ft, and the operating casing pressure at the point of injection is 1,181.0 psia. At that pressure and 1,080.5 psia tubing, the design 500 Mscf/d needs 0.0419 in² of port. A 12/64-in port passes 330 Mscf/d and a 16/64-in port 586 Mscf/d, so the operating port is 16/64 in, R = 0.0638. Five unloading valves reach the point of injection, at 2,456, 4,190, 5,437, 6,319 and 6,925 ft, and the orifice sits at 7,154 ft. The top valve, at 117 °F, opens at 1,237.2 psia against 449.8 psia tubing. Its dome holds 1,187.0 psia at depth and 1,052.8 psia at 60 °F, it closes at 1,187.0 psia with a 50 psi spread, and it sets at 1,123.5 psia on the test rack. The test-rack settings fall valve by valve, to 1,036.4 psia at valve 5. Every unloading valve closes at the operating casing pressure, the closest (valve 5) by 62 psi, and the largest spread is 50 psi, within the 100 psi limit.

The sheet was checked against Guo, Lyons and Ghalambor (2007) Example Problem 13.7, whose top valve, at 2,347 ft and 126 °F with R = 0.2562 and no spring, is designed to open at 953 psia against 424 psia tubing, which needs an 817 psia dome that closes at 817 psia. To check it, put the sheet's top valve at those conditions: R typed over as 0.2562, a zero gas gradient and drop, a 953 psia kickoff, a flat 424 psia tubing line, both temperatures at 126 °F, and the kill-fluid gradient that puts valve 1 at 2,347 ft (529/2,347 = 0.225394 psi/ft). The sheet returns the printed 817 psia dome and 817 psia closing pressure, and the 135 psi spread, within 0.5 %. The book's test-rack setting, 918 psia, takes the z factors of its 0.75-gravity lift gas for the nitrogen dome. With nitrogen's own z and one atmosphere on the tubing side, the sheet's test-rack opening pressure sets the same valve at about 956 psia (941 psig), as the add-in's function notes give, so the setting does not reproduce the 918.

## Validity

Unbalanced IPO bellows valves with a nitrogen dome, set on a test rack at 60 °F, and an orifice at the point of injection, in a well unloaded down the casing. The spacing uses the straight design tubing line from the wellhead to the point of injection and a constant gas gradient, which suits a continuous-flow design; a gradient survey's curve or a variable gradient changes the deeper spacings by tens of feet. The unloading valves share the operating port, so they share one R; a valve schedule with different ports per valve takes R per row. The closing check assumes the casing operates at the surface operating pressure once unloaded; a casing that heads above it reopens the upper valves. Thornhill-Craver at the point of injection sizes the port for the gas it must pass there; the Gas-Lift Valve Throughput sheet checks the port against the tubing pressure range.

Named alternatives: production-pressure-operated (PPO) valves, set against the tubing rather than the casing; the full unloading design with the transfer pressure at each valve, on the Gas-Lift Unloading Design sheet; a dome temperature corrected for the flowing rather than the static geotherm; and API RP 11V6's design procedure with a percentage-load spacing.

## References

- Guo, B., Lyons, W.C. and Ghalambor, A. (2007). *Petroleum Production Engineering: A Computer-Assisted Approach*. Gulf Professional Publishing, Ch. 13 (gas lift), §13.5–13.6, Eqs. 13.16, 13.42, 13.43, 13.57 and 13.58, Example Problem 13.7.
- Brown, K.E. (1980). *The Technology of Artificial Lift Methods*, Vol. 2a. PennWell (gas-lift valve mechanics and continuous-flow design).
- API RP 11V6 (2008). *Recommended Practice for Design of Continuous Flow Gas Lift Installations Using Injection Pressure Operated Valves*.

## Functions used

`PO.GL.Inj.Grad`, `PO.PVT.Z.ByDAK`, `PO.PVT.Ppc.ByStanding`, `PO.PVT.Tpc.ByStanding`, `PO.GL.Valve.ThornhillCraver`, `PO.GL.Valve.Pd.Required`, `PO.GL.Valve.Pvc`, `PO.GL.Valve.Spread`, `PO.GL.Valve.Pdome.Surface`, `PO.GL.Valve.TRO`, `PO.GL.Valve.Pvo`, `PO.GL.Valve.Pdome`

## Spreadsheet: GlValveSetting

|     | A                                                                                                                                                                                          | B                                                                                                                                               | C                                                                                                                                                                                                                                                                                                                          | D                                   | E                                                                                        | F                                        | G                                         | H                                                                       | I                                                           | J                                                     | K                                                                      | L                                                               | M                                                  |
|-----|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|------------------------------------------------------------------------------------------|------------------------------------------|-------------------------------------------|-------------------------------------------------------------------------|-------------------------------------------------------------|-------------------------------------------------------|------------------------------------------------------------------------|-----------------------------------------------------------------|----------------------------------------------------|
| 1   | Gas-Lift Valve Setting                                                                                                                                                                     |                                                                                                                                                 | Petroleum Office                                                                                                                                                                                                                                                                                                           |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 2   | Blue cells on yellow are inputs. The point of injection and its tubing pressure come from the injection-pressure sheet.                                                                    |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 4   | Well GL-1, Kickoff and Kill Fluid                                                                                                                                                          |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 5   | Surface kickoff pressure                                                                                                                                                                   | 1200                                                                                                                                            | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 6   | Surface operating injection pressure                                                                                                                                                       | 1000                                                                                                                                            | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 7   | Surface opening pressure drop per valve                                                                                                                                                    | 25                                                                                                                                              | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 8   | Lift-gas specific gravity                                                                                                                                                                  | 0.65                                                                                                                                            | air = 1                                                                                                                                                                                                                                                                                                                    |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 9   | Flowing wellhead pressure                                                                                                                                                                  | 120                                                                                                                                             | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 10  | Kill-fluid gradient                                                                                                                                                                        | 0.465                                                                                                                                           | psi/ft                                                                                                                                                                                                                                                                                                                     |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 11  | Surface temperature                                                                                                                                                                        | 80                                                                                                                                              | °F                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 12  | Temperature at the packer depth                                                                                                                                                            | 200                                                                                                                                             | °F                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 13  | Packer depth                                                                                                                                                                               | 8000                                                                                                                                            | ft                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 14  | Point of injection (gl.injection.pressure)                                                                                                                                                 | 7154                                                                                                                                            | ft                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 15  | Tubing pressure at the point of injection                                                                                                                                                  | 1080.5                                                                                                                                          | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 16  | Design injection gas rate                                                                                                                                                                  | 500                                                                                                                                             | Mscf/d                                                                                                                                                                                                                                                                                                                     |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 17  | Port discharge coefficient                                                                                                                                                                 | 0.6                                                                                                                                             | —                                                                                                                                                                                                                                                                                                                          |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 18  | Lift-gas specific heat ratio, Cp/Cv                                                                                                                                                        | 1.28                                                                                                                                            | —                                                                                                                                                                                                                                                                                                                          |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 19  | Valve bellows area                                                                                                                                                                         | 0.77                                                                                                                                            | in²                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 20  | Spring tension as a pressure (0: none)                                                                                                                                                     | 0                                                                                                                                               | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 21  | Largest valve spread accepted                                                                                                                                                              | 100                                                                                                                                             | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 22  | Casing gas gradient (type over to override)                                                                                                                                                | =GLV_GgCalc                                                                                                                                     | psi/ft                                                                                                                                                                                                                                                                                                                     |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 23  | Port-to-bellows ratio R (type over to override)                                                                                                                                            | =GLV_Rport                                                                                                                                      | —                                                                                                                                                                                                                                                                                                                          |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 24  | Rankine at 0 °F                                                                                                                                                                            | 459.67                                                                                                                                          | °R                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 25  | Test-rack temperature                                                                                                                                                                      | 60                                                                                                                                              | °F                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 27  | Operating Port                                                                                                                                                                             |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 28  | Each port's Thornhill-Craver capacity at the operating casing and tubing pressures of the point of injection; the smallest port that passes the design rate is chosen.                     |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 29  | How to use it: replace the port sizes with your valve's and type its bellows area; take Cd from the valve's flow test if you have one.                                                     |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 30  | Port (1/64 in)                                                                                                                                                                             | Port diameter (in)                                                                                                                              | Port area (in²)                                                                                                                                                                                                                                                                                                            | Ap/Ab, R                            | Capacity (Mscf/d)                                                                        |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 31  | 8                                                                                                                                                                                          | =A31/64                                                                                                                                         | =PI()*(B31/2)^2                                                                                                                                                                                                                                                                                                            | =C31/GLV_Ab                         | =PO.GL.Valve.ThornhillCraver(GLV_Cd,C31,GLV_P1op,GLV_Ptpoi,GLV_SG,GLV_TPOI+GLV_R0,GLV_k) |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 32  | 12                                                                                                                                                                                         | =A32/64                                                                                                                                         | =PI()*(B32/2)^2                                                                                                                                                                                                                                                                                                            | =C32/GLV_Ab                         | =PO.GL.Valve.ThornhillCraver(GLV_Cd,C32,GLV_P1op,GLV_Ptpoi,GLV_SG,GLV_TPOI+GLV_R0,GLV_k) |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 33  | 16                                                                                                                                                                                         | =A33/64                                                                                                                                         | =PI()*(B33/2)^2                                                                                                                                                                                                                                                                                                            | =C33/GLV_Ab                         | =PO.GL.Valve.ThornhillCraver(GLV_Cd,C33,GLV_P1op,GLV_Ptpoi,GLV_SG,GLV_TPOI+GLV_R0,GLV_k) |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 34  | 20                                                                                                                                                                                         | =A34/64                                                                                                                                         | =PI()*(B34/2)^2                                                                                                                                                                                                                                                                                                            | =C34/GLV_Ab                         | =PO.GL.Valve.ThornhillCraver(GLV_Cd,C34,GLV_P1op,GLV_Ptpoi,GLV_SG,GLV_TPOI+GLV_R0,GLV_k) |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 35  | 24                                                                                                                                                                                         | =A35/64                                                                                                                                         | =PI()*(B35/2)^2                                                                                                                                                                                                                                                                                                            | =C35/GLV_Ab                         | =PO.GL.Valve.ThornhillCraver(GLV_Cd,C35,GLV_P1op,GLV_Ptpoi,GLV_SG,GLV_TPOI+GLV_R0,GLV_k) |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 36  | 28                                                                                                                                                                                         | =A36/64                                                                                                                                         | =PI()*(B36/2)^2                                                                                                                                                                                                                                                                                                            | =C36/GLV_Ab                         | =PO.GL.Valve.ThornhillCraver(GLV_Cd,C36,GLV_P1op,GLV_Ptpoi,GLV_SG,GLV_TPOI+GLV_R0,GLV_k) |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 37  | 32                                                                                                                                                                                         | =A37/64                                                                                                                                         | =PI()*(B37/2)^2                                                                                                                                                                                                                                                                                                            | =C37/GLV_Ab                         | =PO.GL.Valve.ThornhillCraver(GLV_Cd,C37,GLV_P1op,GLV_Ptpoi,GLV_SG,GLV_TPOI+GLV_R0,GLV_k) |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 38  | Valve Schedule                                                                                                                                                                             |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 39  | Valve 1 sits where the kickoff pressure balances the kill fluid; each next valve where its own casing pressure meets the kill fluid standing on the tubing pressure at the valve above.    |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 40  | Unloading valves are IPO with the operating port; the operating valve is an orifice and takes no dome charge. Each valve opens lower at surface than the one above, by the drop per valve. |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 41  | How to use it: type your kickoff, operating and kill-fluid values; when the reach check fails, raise the kickoff pressure or add mandrels by extending the table.                          |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 42  | Valve                                                                                                                                                                                      | Role                                                                                                                                            | Depth (ft)                                                                                                                                                                                                                                                                                                                 | Temperature (°F)                    | Surface opening (psi)                                                                    | Opening at depth (psi)                   | Tubing at depth (psi)                     | Dome at depth (psi)                                                     | Closing (psi)                                               | Spread (psi)                                          | Dome at 60 °F (psi)                                                    | Test-rack opening (psi)                                         | Closing margin (psi)                               |
| 43  | 1                                                                                                                                                                                          | =IF(C43>=GLV_Dpoi,"operating","unloading")                                                                                                      | =MIN((GLV_Pko-GLV_Pwh)/(GLV_Gs-GLV_Gg),GLV_Dpoi)                                                                                                                                                                                                                                                                           | =GLV_Ts+(GLV_Tb-GLV_Ts)*C43/GLV_Dpk | =GLV_Pko-A43*GLV_Drop                                                                    | =IF($B43="unloading",E43+GLV_Gg*C43,"—") | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*C43/GLV_Dpoi | =IF($B43="unloading",PO.GL.Valve.Pd.Required(F43,GLV_R,G43,GLV_St),"—") | =IF($B43="unloading",PO.GL.Valve.Pvc(H43,GLV_R,GLV_St),"—") | =IF($B43="unloading",PO.GL.Valve.Spread(F43,I43),"—") | =IF($B43="unloading",PO.GL.Valve.Pdome.Surface(H43,GLV_Track,D43),"—") | =IF($B43="unloading",PO.GL.Valve.TRO(H43,D43,GLV_R,GLV_St),"—") | =IF($B43="unloading",I43-(GLV_Pso+GLV_Gg*C43),"—") |
| 44  | 2                                                                                                                                                                                          | =IF(C44<GLV_Dpoi,"unloading",IF(C43<GLV_Dpoi,"operating","not needed"))                                                                         | =MIN(C43+(E44+GLV_Gg*C43-G43)/(GLV_Gs-GLV_Gg),GLV_Dpoi)                                                                                                                                                                                                                                                                    | =GLV_Ts+(GLV_Tb-GLV_Ts)*C44/GLV_Dpk | =GLV_Pko-A44*GLV_Drop                                                                    | =IF($B44="unloading",E44+GLV_Gg*C44,"—") | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*C44/GLV_Dpoi | =IF($B44="unloading",PO.GL.Valve.Pd.Required(F44,GLV_R,G44,GLV_St),"—") | =IF($B44="unloading",PO.GL.Valve.Pvc(H44,GLV_R,GLV_St),"—") | =IF($B44="unloading",PO.GL.Valve.Spread(F44,I44),"—") | =IF($B44="unloading",PO.GL.Valve.Pdome.Surface(H44,GLV_Track,D44),"—") | =IF($B44="unloading",PO.GL.Valve.TRO(H44,D44,GLV_R,GLV_St),"—") | =IF($B44="unloading",I44-(GLV_Pso+GLV_Gg*C44),"—") |
| 45  | 3                                                                                                                                                                                          | =IF(C45<GLV_Dpoi,"unloading",IF(C44<GLV_Dpoi,"operating","not needed"))                                                                         | =MIN(C44+(E45+GLV_Gg*C44-G44)/(GLV_Gs-GLV_Gg),GLV_Dpoi)                                                                                                                                                                                                                                                                    | =GLV_Ts+(GLV_Tb-GLV_Ts)*C45/GLV_Dpk | =GLV_Pko-A45*GLV_Drop                                                                    | =IF($B45="unloading",E45+GLV_Gg*C45,"—") | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*C45/GLV_Dpoi | =IF($B45="unloading",PO.GL.Valve.Pd.Required(F45,GLV_R,G45,GLV_St),"—") | =IF($B45="unloading",PO.GL.Valve.Pvc(H45,GLV_R,GLV_St),"—") | =IF($B45="unloading",PO.GL.Valve.Spread(F45,I45),"—") | =IF($B45="unloading",PO.GL.Valve.Pdome.Surface(H45,GLV_Track,D45),"—") | =IF($B45="unloading",PO.GL.Valve.TRO(H45,D45,GLV_R,GLV_St),"—") | =IF($B45="unloading",I45-(GLV_Pso+GLV_Gg*C45),"—") |
| 46  | 4                                                                                                                                                                                          | =IF(C46<GLV_Dpoi,"unloading",IF(C45<GLV_Dpoi,"operating","not needed"))                                                                         | =MIN(C45+(E46+GLV_Gg*C45-G45)/(GLV_Gs-GLV_Gg),GLV_Dpoi)                                                                                                                                                                                                                                                                    | =GLV_Ts+(GLV_Tb-GLV_Ts)*C46/GLV_Dpk | =GLV_Pko-A46*GLV_Drop                                                                    | =IF($B46="unloading",E46+GLV_Gg*C46,"—") | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*C46/GLV_Dpoi | =IF($B46="unloading",PO.GL.Valve.Pd.Required(F46,GLV_R,G46,GLV_St),"—") | =IF($B46="unloading",PO.GL.Valve.Pvc(H46,GLV_R,GLV_St),"—") | =IF($B46="unloading",PO.GL.Valve.Spread(F46,I46),"—") | =IF($B46="unloading",PO.GL.Valve.Pdome.Surface(H46,GLV_Track,D46),"—") | =IF($B46="unloading",PO.GL.Valve.TRO(H46,D46,GLV_R,GLV_St),"—") | =IF($B46="unloading",I46-(GLV_Pso+GLV_Gg*C46),"—") |
| 47  | 5                                                                                                                                                                                          | =IF(C47<GLV_Dpoi,"unloading",IF(C46<GLV_Dpoi,"operating","not needed"))                                                                         | =MIN(C46+(E47+GLV_Gg*C46-G46)/(GLV_Gs-GLV_Gg),GLV_Dpoi)                                                                                                                                                                                                                                                                    | =GLV_Ts+(GLV_Tb-GLV_Ts)*C47/GLV_Dpk | =GLV_Pko-A47*GLV_Drop                                                                    | =IF($B47="unloading",E47+GLV_Gg*C47,"—") | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*C47/GLV_Dpoi | =IF($B47="unloading",PO.GL.Valve.Pd.Required(F47,GLV_R,G47,GLV_St),"—") | =IF($B47="unloading",PO.GL.Valve.Pvc(H47,GLV_R,GLV_St),"—") | =IF($B47="unloading",PO.GL.Valve.Spread(F47,I47),"—") | =IF($B47="unloading",PO.GL.Valve.Pdome.Surface(H47,GLV_Track,D47),"—") | =IF($B47="unloading",PO.GL.Valve.TRO(H47,D47,GLV_R,GLV_St),"—") | =IF($B47="unloading",I47-(GLV_Pso+GLV_Gg*C47),"—") |
| 48  | 6                                                                                                                                                                                          | =IF(C48<GLV_Dpoi,"unloading",IF(C47<GLV_Dpoi,"operating","not needed"))                                                                         | =MIN(C47+(E48+GLV_Gg*C47-G47)/(GLV_Gs-GLV_Gg),GLV_Dpoi)                                                                                                                                                                                                                                                                    | =GLV_Ts+(GLV_Tb-GLV_Ts)*C48/GLV_Dpk | =GLV_Pko-A48*GLV_Drop                                                                    | =IF($B48="unloading",E48+GLV_Gg*C48,"—") | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*C48/GLV_Dpoi | =IF($B48="unloading",PO.GL.Valve.Pd.Required(F48,GLV_R,G48,GLV_St),"—") | =IF($B48="unloading",PO.GL.Valve.Pvc(H48,GLV_R,GLV_St),"—") | =IF($B48="unloading",PO.GL.Valve.Spread(F48,I48),"—") | =IF($B48="unloading",PO.GL.Valve.Pdome.Surface(H48,GLV_Track,D48),"—") | =IF($B48="unloading",PO.GL.Valve.TRO(H48,D48,GLV_R,GLV_St),"—") | =IF($B48="unloading",I48-(GLV_Pso+GLV_Gg*C48),"—") |
| 49  | 7                                                                                                                                                                                          | =IF(C49<GLV_Dpoi,"unloading",IF(C48<GLV_Dpoi,"operating","not needed"))                                                                         | =MIN(C48+(E49+GLV_Gg*C48-G48)/(GLV_Gs-GLV_Gg),GLV_Dpoi)                                                                                                                                                                                                                                                                    | =GLV_Ts+(GLV_Tb-GLV_Ts)*C49/GLV_Dpk | =GLV_Pko-A49*GLV_Drop                                                                    | =IF($B49="unloading",E49+GLV_Gg*C49,"—") | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*C49/GLV_Dpoi | =IF($B49="unloading",PO.GL.Valve.Pd.Required(F49,GLV_R,G49,GLV_St),"—") | =IF($B49="unloading",PO.GL.Valve.Pvc(H49,GLV_R,GLV_St),"—") | =IF($B49="unloading",PO.GL.Valve.Spread(F49,I49),"—") | =IF($B49="unloading",PO.GL.Valve.Pdome.Surface(H49,GLV_Track,D49),"—") | =IF($B49="unloading",PO.GL.Valve.TRO(H49,D49,GLV_R,GLV_St),"—") | =IF($B49="unloading",I49-(GLV_Pso+GLV_Gg*C49),"—") |
| 50  | 8                                                                                                                                                                                          | =IF(C50<GLV_Dpoi,"unloading",IF(C49<GLV_Dpoi,"operating","not needed"))                                                                         | =MIN(C49+(E50+GLV_Gg*C49-G49)/(GLV_Gs-GLV_Gg),GLV_Dpoi)                                                                                                                                                                                                                                                                    | =GLV_Ts+(GLV_Tb-GLV_Ts)*C50/GLV_Dpk | =GLV_Pko-A50*GLV_Drop                                                                    | =IF($B50="unloading",E50+GLV_Gg*C50,"—") | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*C50/GLV_Dpoi | =IF($B50="unloading",PO.GL.Valve.Pd.Required(F50,GLV_R,G50,GLV_St),"—") | =IF($B50="unloading",PO.GL.Valve.Pvc(H50,GLV_R,GLV_St),"—") | =IF($B50="unloading",PO.GL.Valve.Spread(F50,I50),"—") | =IF($B50="unloading",PO.GL.Valve.Pdome.Surface(H50,GLV_Track,D50),"—") | =IF($B50="unloading",PO.GL.Valve.TRO(H50,D50,GLV_R,GLV_St),"—") | =IF($B50="unloading",I50-(GLV_Pso+GLV_Gg*C50),"—") |
| 52  | Design Lines                                                                                                                                                                               |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 53  | Depth (ft)                                                                                                                                                                                 | Unloading (psi)                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            | Depth (ft)                          | Kickoff casing (psi)                                                                     | Operating casing (psi)                   | Design tubing (psi)                       |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 54  | 0                                                                                                                                                                                          | =GLV_Pwh                                                                                                                                        |                                                                                                                                                                                                                                                                                                                            | 0                                   | =GLV_Pko+GLV_Gg*D54                                                                      | =GLV_Pso+GLV_Gg*D54                      | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*D54/GLV_Dpoi |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 55  | =C43                                                                                                                                                                                       | =GLV_Pwh+GLV_Gs*C43                                                                                                                             |                                                                                                                                                                                                                                                                                                                            | =GLV_Dpoi                           | =GLV_Pko+GLV_Gg*D55                                                                      | =GLV_Pso+GLV_Gg*D55                      | =GLV_Pwh+(GLV_Ptpoi-GLV_Pwh)*D55/GLV_Dpoi |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 56  | =C43                                                                                                                                                                                       | =G43                                                                                                                                            |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 57  | =C44                                                                                                                                                                                       | =G43+GLV_Gs*(C44-C43)                                                                                                                           |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 58  | =C44                                                                                                                                                                                       | =G44                                                                                                                                            |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 59  | =C45                                                                                                                                                                                       | =G44+GLV_Gs*(C45-C44)                                                                                                                           |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 60  | =C45                                                                                                                                                                                       | =G45                                                                                                                                            |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 61  | =C46                                                                                                                                                                                       | =G45+GLV_Gs*(C46-C45)                                                                                                                           |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 62  | =C46                                                                                                                                                                                       | =G46                                                                                                                                            |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 63  | =C47                                                                                                                                                                                       | =G46+GLV_Gs*(C47-C46)                                                                                                                           |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 64  | =C47                                                                                                                                                                                       | =G47                                                                                                                                            |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 65  | =C48                                                                                                                                                                                       | =G47+GLV_Gs*(C48-C47)                                                                                                                           |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 66  | =C48                                                                                                                                                                                       | =G48                                                                                                                                            |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 67  | =C49                                                                                                                                                                                       | =G48+GLV_Gs*(C49-C48)                                                                                                                           |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 68  | =C49                                                                                                                                                                                       | =G49                                                                                                                                            |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 69  | =C50                                                                                                                                                                                       | =G49+GLV_Gs*(C50-C49)                                                                                                                           |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 70  | =C50                                                                                                                                                                                       | =G50                                                                                                                                            |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 72  | Design Results                                                                                                                                                                             |                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                            |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 73  | Pseudo-critical temperature (Standing)                                                                                                                                                     | =PO.PVT.Tpc.ByStanding(GLV_SG)                                                                                                                  | °R                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 74  | Pseudo-critical pressure (Standing)                                                                                                                                                        | =PO.PVT.Ppc.ByStanding(GLV_SG)                                                                                                                  | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 75  | Temperature at the point of injection                                                                                                                                                      | =GLV_Ts+(GLV_Tb-GLV_Ts)*GLV_Dpoi/GLV_Dpk                                                                                                        | °F                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 76  | Gas-column average temperature                                                                                                                                                             | =(GLV_Ts+GLV_TPOI)/2                                                                                                                            | °F                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 77  | Gas gradient, first pass                                                                                                                                                                   | =PO.GL.Inj.Grad(GLV_SG,GLV_Pso,GLV_Tcol+GLV_R0,PO.PVT.Z.ByDAK(GLV_Pso/GLV_Ppc,(GLV_Tcol+GLV_R0)/GLV_Tpc))                                       | psi/ft                                                                                                                                                                                                                                                                                                                     |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 78  | Gas gradient at the average pressure                                                                                                                                                       | =PO.GL.Inj.Grad(GLV_SG,GLV_Pso+GLV_G1*GLV_Dpoi/2,GLV_Tcol+GLV_R0,PO.PVT.Z.ByDAK((GLV_Pso+GLV_G1*GLV_Dpoi/2)/GLV_Ppc,(GLV_Tcol+GLV_R0)/GLV_Tpc)) | psi/ft                                                                                                                                                                                                                                                                                                                     |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 79  | Operating casing pressure at injection depth                                                                                                                                               | =GLV_Pso+GLV_Gg*GLV_Dpoi                                                                                                                        | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 80  | Port area the design rate needs                                                                                                                                                            | =GLV_Qgi/PO.GL.Valve.ThornhillCraver(GLV_Cd,1,GLV_P1op,GLV_Ptpoi,GLV_SG,GLV_TPOI+GLV_R0,GLV_k)                                                  | in²                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 81  | Ports too small for the design rate                                                                                                                                                        | =COUNTIF($E$31:$E$37,"<"&GLV_Qgi)                                                                                                               | —                                                                                                                                                                                                                                                                                                                          |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 82  | Operating port                                                                                                                                                                             | =INDEX($A$31:$A$37,MIN(GLV_Small+1,ROWS($E$31:$E$37)))                                                                                          | 1/64 in                                                                                                                                                                                                                                                                                                                    |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 83  | Operating port area                                                                                                                                                                        | =INDEX($C$31:$C$37,MIN(GLV_Small+1,ROWS($E$31:$E$37)))                                                                                          | in²                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 84  | R of the operating port                                                                                                                                                                    | =GLV_Ap/GLV_Ab                                                                                                                                  | —                                                                                                                                                                                                                                                                                                                          |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 85  | Gas the operating port passes                                                                                                                                                              | =INDEX($E$31:$E$37,MIN(GLV_Small+1,ROWS($E$31:$E$37)))                                                                                          | Mscf/d                                                                                                                                                                                                                                                                                                                     |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 86  | Unloading valves                                                                                                                                                                           | =COUNTIF($B$43:$B$50,"unloading")                                                                                                               | —                                                                                                                                                                                                                                                                                                                          |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 87  | Deepest mandrel                                                                                                                                                                            | =MAX($C$43:$C$50)                                                                                                                               | ft                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 88  | Top valve depth                                                                                                                                                                            | =C43                                                                                                                                            | ft                                                                                                                                                                                                                                                                                                                         |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 89  | Top valve dome pressure at depth                                                                                                                                                           | =H43                                                                                                                                            | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 90  | Top valve closing pressure                                                                                                                                                                 | =I43                                                                                                                                            | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 91  | Top valve spread                                                                                                                                                                           | =J43                                                                                                                                            | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 92  | Top valve test-rack opening at 60 °F                                                                                                                                                       | =L43                                                                                                                                            | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 93  | Top valve opening from its dome (Pvo)                                                                                                                                                      | =PO.GL.Valve.Pvo(H43,GLV_R,G43,GLV_St)                                                                                                          | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 94  | Top valve dome from its 60 °F charge (Pdome)                                                                                                                                               | =PO.GL.Valve.Pdome(K43,GLV_Track,D43)                                                                                                           | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 95  | Smallest unloading-valve closing margin                                                                                                                                                    | =MIN($M$43:$M$50)                                                                                                                               | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 96  | Largest valve spread                                                                                                                                                                       | =MAX($J$43:$J$50)                                                                                                                               | psi                                                                                                                                                                                                                                                                                                                        |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 97  | Reach check                                                                                                                                                                                | =IF(COUNTIF($B$43:$B$50,"operating")=1,"PASS","FAIL")                                                                                           | =IF(COUNTIF($B$43:$B$50,"operating")=1,""&GLV_Nu&" unloading valves reach the point of injection; the operating orifice sits at "&TEXT(GLV_Dpoi,"#,##0")&" ft","8 mandrels reach only "&TEXT(GLV_Dlast,"#,##0")&" ft, above the point of injection: raise the kickoff pressure, lower the drop per valve or add mandrels") |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 98  | Port check                                                                                                                                                                                 | =IF(GLV_Qport>=GLV_Qgi,"PASS","FAIL")                                                                                                           | =IF(GLV_Qport>=GLV_Qgi,"a "&GLV_Port&"/64-in port passes "&TEXT(GLV_Qport,"#,##0")&" Mscf/d against the design "&TEXT(GLV_Qgi,"#,##0")&" Mscf/d","even a "&GLV_Port&"/64-in port passes only "&TEXT(GLV_Qport,"#,##0")&" Mscf/d: raise the differential or run two orifices")                                              |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 99  | Closing check                                                                                                                                                                              | =IF(GLV_Margin>0,"PASS","FAIL")                                                                                                                 | =IF(GLV_Margin>0,"every unloading valve closes at the operating casing pressure, the closest by "&TEXT(GLV_Margin,"0")&" psi","an unloading valve stays open at the operating casing pressure ("&TEXT(GLV_Margin,"0")&" psi): raise the kickoff pressure or the drop per valve")                                           |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |
| 100 | Spread check                                                                                                                                                                               | =IF(GLV_SpreadTop<=GLV_SpreadMax,"PASS","WARN")                                                                                                 | =IF(GLV_SpreadTop<=GLV_SpreadMax,"the largest spread is "&TEXT(GLV_SpreadTop,"0")&" psi, within "&TEXT(GLV_SpreadMax,"0")&" psi","a valve spreads "&TEXT(GLV_SpreadTop,"0")&" psi, over "&TEXT(GLV_SpreadMax,"0")&" psi: a smaller port lowers R and the spread")                                                          |                                     |                                                                                          |                                          |                                           |                                                                         |                                                             |                                                       |                                                                        |                                                                 |                                                    |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| GLV_Pko | $B$5 | Surface kickoff pressure, psi |
| GLV_Pso | $B$6 | Surface operating injection pressure, psi |
| GLV_Drop | $B$7 | Surface opening pressure drop per valve, psi |
| GLV_SG | $B$8 | Lift-gas specific gravity, air = 1 |
| GLV_Pwh | $B$9 | Flowing wellhead pressure, psi |
| GLV_Gs | $B$10 | Kill-fluid gradient, psi/ft |
| GLV_Ts | $B$11 | Surface temperature, °F |
| GLV_Tb | $B$12 | Temperature at the packer depth, °F |
| GLV_Dpk | $B$13 | Packer depth, ft |
| GLV_Dpoi | $B$14 | Point of injection (gl.injection.pressure), ft |
| GLV_Ptpoi | $B$15 | Tubing pressure at the point of injection, psi |
| GLV_Qgi | $B$16 | Design injection gas rate, Mscf/d |
| GLV_Cd | $B$17 | Port discharge coefficient |
| GLV_k | $B$18 | Lift-gas specific heat ratio, Cp/Cv |
| GLV_Ab | $B$19 | Valve bellows area, in² |
| GLV_St | $B$20 | Spring tension as a pressure (0: none), psi |
| GLV_SpreadMax | $B$21 | Largest valve spread accepted, psi |
| GLV_Gg | $B$22 | Casing gas gradient (type over to override), psi/ft |
| GLV_R | $B$23 | Port-to-bellows ratio R (type over to override) |
| GLV_Inputs | $B$5:$B$23 | Kickoff and operating pressures, the drop per valve, gas, wellhead, kill fluid, temperatures, depths, design gas rate, port and valve, spread limit, gas gradient and R |
| GLV_R0 | $B$24 | Rankine at 0 °F, °R |
| GLV_Track | $B$25 | Test-rack temperature, °F |
| GLV_Ports | $A$31:$E$37 | Port sizes, diameter, area, R and Thornhill-Craver capacity at the point of injection |
| GLV_Valves | $A$43:$M$50 | Valve schedule: role, depth, temperature, opening, tubing, dome, closing, spread, 60 °F dome, test-rack opening and closing margin |
| GLV_Tpc | $B$73 | Pseudo-critical temperature (Standing), °R |
| GLV_Ppc | $B$74 | Pseudo-critical pressure (Standing), psi |
| GLV_TPOI | $B$75 | Temperature at the point of injection, °F |
| GLV_Tcol | $B$76 | Gas-column average temperature, °F |
| GLV_G1 | $B$77 | Gas gradient, first pass, psi/ft |
| GLV_GgCalc | $B$78 | Gas gradient at the average pressure, psi/ft |
| GLV_P1op | $B$79 | Operating casing pressure at injection depth, psi |
| GLV_ApReq | $B$80 | Port area the design rate needs, in² |
| GLV_Small | $B$81 | Ports too small for the design rate |
| GLV_Port | $B$82 | Operating port |
| GLV_Ap | $B$83 | Operating port area, in² |
| GLV_Rport | $B$84 | R of the operating port |
| GLV_Qport | $B$85 | Gas the operating port passes, Mscf/d |
| GLV_Nu | $B$86 | Unloading valves |
| GLV_Dlast | $B$87 | Deepest mandrel, ft |
| GLV_D1 | $B$88 | Top valve depth, ft |
| GLV_Pd1 | $B$89 | Top valve dome pressure at depth, psi |
| GLV_Pvc1 | $B$90 | Top valve closing pressure, psi |
| GLV_Spread1 | $B$91 | Top valve spread, psi |
| GLV_Ptro1 | $B$92 | Top valve test-rack opening at 60 °F, psi |
| GLV_Pvo1 | $B$93 | Top valve opening from its dome (Pvo), psi |
| GLV_PdBack | $B$94 | Top valve dome from its 60 °F charge (Pdome), psi |
| GLV_Margin | $B$95 | Smallest unloading-valve closing margin, psi |
| GLV_SpreadTop | $B$96 | Largest valve spread, psi |
| GLV_Results | $B$73:$B$100 | Pseudo-criticals, gas gradient, operating port, valve count and the top valve's settings, and the reach, port, closing and spread checks |
| GLV_Curve | $A$54:$G$70 | Gas-Lift Design |

---

## Related Blueprints
- [Gas-Lift Injection Pressure and Point of Injection](/blueprint/po.gl.injection.pressure.md)
- [Gas-Lift Unloading Design](/blueprint/po.gl.unloading.design.md)
- [Gas-Lift Valve Throughput](/blueprint/po.gl.valve.throughput.md)
- [Gas-Lift Allocation Across Four Wells by Equal Slope](/blueprint/po.gl.allocation.multiwell.md)
- [Compressor Staging and Power](/blueprint/po.sf.compressor.power.md)
- [Gas Well Tubing Sizing](/blueprint/po.vfp.tubing.sizing.md)

