---
cid: po.bp.pta.wellbore.storage
hub: pta
tags: [wellbore-storage, skin, type-curve, CDe2S, WBS, dimensionless, well-testing, test-design, radius-of-investigation, gauge]
facets: { discipline: reservoir, property: pressure-drop }
title: Wellbore Storage and Test Design
summary: "Plans a well test by showing when wellbore storage ends, how long to run, the radius investigated and whether the gauge resolves the derivative."
slug: po.pta.wellbore.storage
type: worksheet
---

# Wellbore Storage and Test Design

## Description

How long must a drawdown or buildup run before wellbore storage and skin let its semilog line show, and will the planned gauge resolve it? You enter the planned rate, the fluid and rock, the expected permeability, skin and storage, the radius to investigate, the time allowed and the gauge's resolution. You read off when the semilog line starts, the minimum and planned durations, the radius investigated, the gauge's error on the radial-flow derivative, and the design case's type curve.

**Parameters:**
- **Well, fluid and rock**: planned rate, Bo, viscosity, porosity, total compressibility, wellbore radius, net pay (`WS_q` … `WS_Pay`)
- **Expected well**: permeability `WS_K`, skin `WS_S` and wellbore storage `WS_C`, from offset tests or the completion's wellbore volume
- **Duration rule**: `WS_Cycles`, the log cycles of radial flow wanted after the line starts (1.5); `WS_RTarget`, the distance the test must investigate (500 ft); `WS_MaxHours`, the longest test the operation allows (72 h)
- **Gauge**: resolution `WS_Resolution` (0.01 psi, a quartz gauge), the Bourdet window `WS_L` (0.2), and the derivative errors accepted as good (`WS_GoodErr`, 2 %) and as readable (`WS_MaxErr`, 10 %)
- **Scenarios**: storage and skin of three cases, the region `WS_Cases`

**How to use it:** Type the planned rate and the fluid and rock, and the permeability, skin and storage you expect, from offset tests or from the completion's wellbore volume. Set the log cycles of radial flow you want, the distance the test must see, the longest test the operation allows, and the resolution of the gauge you plan to run. The duration check says whether the plan fits the time allowed, and the gauge check whether the gauge resolves the derivative. Replace the three scenarios' storage and skin with your own cases to compare them through their CDe²ˢ group, which sets the type curve. The chart draws the design case's type curve, the dimensionless pressure PD and its derivative (in psi for this well) against tD, so a measured log-log plot can be laid over it.

**Method:** CD = 0.8936·C/(φ·ct·h·rw²), and the type curve is the vertical-well dimensionless pressure PD at tD = (tD/CD)·CD with its Bourdet derivative over tD/CD. The chart draws it in the design case's pressure units, Δp = PD·141.2·q·B·μ/(k·h) (written 2·PD·m/ln 10), against tD; elapsed time is tD over tD at one hour.

- **Duration.** The test-duration LAMBDA gives the start of the semilog line, (200000 + 12000·S)·C·μ/(k·h) hours (Earlougher), and with the wanted log cycles the minimum duration, that start times 10^1.5: the line then spans 1.5 log cycles.
- **Radius.** The radius-of-investigation LAMBDA gives sqrt(k·t/(948·φ·μ·ct)), and inverted the time to reach the target distance. The planned duration is the longer of the two.
- **Gauge.** The expected semilog slope is m = 162.6·q·B·μ/(k·h), and the gauge-resolution LAMBDA the worst-case error the gauge resolution puts into the radial-flow derivative, ln(10)·δ/(L·m).

**Example:** The design case is the PTA reference well of the drawdown, multi-rate and buildup sheets: 250 STB/d, k 50 mD, skin 5, C 0.001 bbl/psi. CD = 79.2 and CDe²ˢ = 1.75×10⁶. The semilog line starts at 0.17 h, so 1.5 log cycles of it need 5.48 h, by which time the transient has reached 310 ft. Reaching 500 ft takes 14.2 h, so the plan is 14.2 h, inside the 72 h allowed. The expected slope is 33.9 psi/cycle, and a 0.01 psi quartz gauge moves the derivative by 0.34 % at most, within the 2 % accepted as good; a 1 psi strain gauge would move it by 34 %, beyond the 10 % accepted as readable. With ten times the storage and skin 10 the line starts at 2.1 h and the minimum duration is 67 h.

## Validity

A vertical well in an infinite-acting, homogeneous reservoir with constant wellbore storage; changing storage (phase redistribution, a falling liquid level that stops) breaks the unit slope and the duration rule. The start-of-line correlation tracks the pressure reaching the semilog line, not the derivative: on the type curve the derivative is still above 0.5 there and flattens about a log cycle later, which is why the duration adds 1.5 cycles. A strongly stimulated well (skin below about −16) makes the correlation non-positive. The radius of investigation constant differs between authors (948 here, 776 in Earlougher's injectivity analysis). Reduce storage with a downhole shut-in valve when the plan exceeds the time allowed. The sheet does not regress test data against these type curves; the add-in has no function for nonlinear model regression.

Named alternatives: interpret the test on the Constant-Rate Drawdown Analysis (MDH) sheet or the Horner Buildup Analysis sheet; nonlinear model regression against these type curves.

## References

- Agarwal, R.G., Al-Hussainy, R. and Ramey, H.J. Jr. (1970). An Investigation of Wellbore Storage and Skin Effect in Unsteady Liquid Flow. *SPE Journal* 10(3), 279–290.
- Earlougher, R.C. Jr. (1977). *Advances in Well Test Analysis*. SPE Monograph 5, ch. 2 and ch. 11 (test design).
- Lee, W.J. (1982). *Well Testing*. SPE Textbook Series 1, ch. 1.
- Ahmed, T. and McKinney, P.D. (2005). *Advanced Reservoir Engineering*. Gulf Professional Publishing, ch. 1 (Examples 1.26 and 1.47).

## Functions used

`PO.PTA.ToDim.CD`, `PO.PTA.ToDim.tD`, `PO.PTA.PD.VW`, `PO.DCA.Diag.Bourdet.SemiLog`, `PO.PTA.Design.Duration`, `PO.PTA.Design.Rinv`, `PO.PTA.Design.GaugeRes`

## Spreadsheet: PtaWellboreStorage

|    | A                                                                                                                                     | B                                                                            | C                                                                                                                                                                                                                                                                                                                                                                          | D                                                              | E                  | F                                                    | G                                                            | H                                                |
|----|---------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|--------------------|------------------------------------------------------|--------------------------------------------------------------|--------------------------------------------------|
| 1  | Wellbore Storage and Test Design                                                                                                      |                                                                              | Petroleum Office                                                                                                                                                                                                                                                                                                                                                           |                                                                |                    |                                                      |                                                              |                                                  |
| 2  | Blue cells on yellow are inputs. How long the test must run for its semilog line, how far it sees, and whether the gauge resolves it. |                                                                              |                                                                                                                                                                                                                                                                                                                                                                            |                                                                |                    |                                                      |                                                              |                                                  |
| 4  | Well, Fluid and Test Plan                                                                                                             |                                                                              |                                                                                                                                                                                                                                                                                                                                                                            |                                                                |                    |                                                      |                                                              |                                                  |
| 5  | Planned flow rate                                                                                                                     | 250                                                                          | STB/d                                                                                                                                                                                                                                                                                                                                                                      |                                                                |                    |                                                      |                                                              |                                                  |
| 6  | Oil formation volume factor                                                                                                           | 1.25                                                                         | bbl/STB                                                                                                                                                                                                                                                                                                                                                                    |                                                                |                    |                                                      |                                                              |                                                  |
| 7  | Oil viscosity                                                                                                                         | 1                                                                            | cp                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 8  | Porosity                                                                                                                              | 0.2                                                                          | %                                                                                                                                                                                                                                                                                                                                                                          |                                                                |                    |                                                      |                                                              |                                                  |
| 9  | Total compressibility                                                                                                                 | 0.000015                                                                     | 1/psi                                                                                                                                                                                                                                                                                                                                                                      |                                                                |                    |                                                      |                                                              |                                                  |
| 10 | Wellbore radius                                                                                                                       | 0.354                                                                        | ft                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 11 | Net pay                                                                                                                               | 30                                                                           | ft                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 12 | Expected permeability                                                                                                                 | 50                                                                           | mD                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 13 | Expected skin                                                                                                                         | 5                                                                            | —                                                                                                                                                                                                                                                                                                                                                                          |                                                                |                    |                                                      |                                                              |                                                  |
| 14 | Wellbore storage coefficient                                                                                                          | 0.001                                                                        | bbl/psi                                                                                                                                                                                                                                                                                                                                                                    |                                                                |                    |                                                      |                                                              |                                                  |
| 15 | Radial flow wanted after the line starts                                                                                              | 1.5                                                                          | cycles                                                                                                                                                                                                                                                                                                                                                                     |                                                                |                    |                                                      |                                                              |                                                  |
| 16 | Distance the test must investigate                                                                                                    | 500                                                                          | ft                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 17 | Longest test the operation allows                                                                                                     | 72                                                                           | hr                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 18 | Gauge resolution                                                                                                                      | 0.01                                                                         | psi                                                                                                                                                                                                                                                                                                                                                                        |                                                                |                    |                                                      |                                                              |                                                  |
| 19 | Bourdet smoothing window L (natural-log cycles)                                                                                       | 0.2                                                                          | cycles                                                                                                                                                                                                                                                                                                                                                                     |                                                                |                    |                                                      |                                                              |                                                  |
| 20 | Derivative error accepted as good                                                                                                     | 0.02                                                                         | %                                                                                                                                                                                                                                                                                                                                                                          |                                                                |                    |                                                      |                                                              |                                                  |
| 21 | Derivative error beyond which the test can't be read                                                                                  | 0.1                                                                          | %                                                                                                                                                                                                                                                                                                                                                                          |                                                                |                    |                                                      |                                                              |                                                  |
| 22 | Semilog slope constant                                                                                                                | 162.6                                                                        | psi·mD·ft/(bbl/d·cp)                                                                                                                                                                                                                                                                                                                                                       |                                                                |                    |                                                      |                                                              |                                                  |
| 24 | Test Design                                                                                                                           |                                                                              |                                                                                                                                                                                                                                                                                                                                                                            |                                                                |                    |                                                      |                                                              |                                                  |
| 25 | Dimensionless storage, CD                                                                                                             | =PO.PTA.ToDim.CD(WS_C,WS_Phi,WS_Ct,WS_Pay,WS_Rw)                             | —                                                                                                                                                                                                                                                                                                                                                                          |                                                                |                    |                                                      |                                                              |                                                  |
| 26 | Type-curve group, CDe²ˢ                                                                                                               | =WS_CD*EXP(2*WS_S)                                                           | —                                                                                                                                                                                                                                                                                                                                                                          |                                                                |                    |                                                      |                                                              |                                                  |
| 27 | Expected semilog slope, m                                                                                                             | =WS_SlopeConst*WS_q*WS_Bo*WS_Mu/(WS_K*WS_Pay)                                | psi/cycle                                                                                                                                                                                                                                                                                                                                                                  |                                                                |                    |                                                      |                                                              |                                                  |
| 28 | Semilog line starts                                                                                                                   | =PO.PTA.Design.Duration(WS_C,WS_Mu,WS_K,WS_Pay,WS_S,0)                       | hr                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 29 | Minimum duration for the semilog line                                                                                                 | =PO.PTA.Design.Duration(WS_C,WS_Mu,WS_K,WS_Pay,WS_S,WS_Cycles)               | hr                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 30 | Radius investigated by then                                                                                                           | =PO.PTA.Design.Rinv(WS_K,WS_TMin,WS_Phi,WS_Mu,WS_Ct)                         | ft                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 31 | Time to investigate the target distance                                                                                               | =(WS_RTarget/PO.PTA.Design.Rinv(WS_K,1,WS_Phi,WS_Mu,WS_Ct))^2                | hr                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 32 | Planned test duration                                                                                                                 | =MAX(WS_TMin,WS_TTarget)                                                     | hr                                                                                                                                                                                                                                                                                                                                                                         |                                                                |                    |                                                      |                                                              |                                                  |
| 33 | Derivative error from the gauge resolution                                                                                            | =PO.PTA.Design.GaugeRes(WS_M,WS_Resolution,WS_L)                             | %                                                                                                                                                                                                                                                                                                                                                                          |                                                                |                    |                                                      |                                                              |                                                  |
| 34 | Test duration                                                                                                                         | =IF(WS_TPlan<=WS_MaxHours,"PASS","WARN")                                     | =IF(WS_TPlan<=WS_MaxHours,"run "&TEXT(WS_TPlan,"0.0")&" h: storage ends at "&TEXT(WS_TStart,"0.00")&" h and the test sees "&TEXT(MAX(WS_RinvMin,WS_RTarget),"#,##0")&" ft","the test needs "&TEXT(WS_TPlan,"#,##0")&" h, beyond "&WS_MaxHours&" h; shut in downhole to cut storage, or accept a shorter radius")                                                           |                                                                |                    |                                                      |                                                              |                                                  |
| 35 | Gauge resolution                                                                                                                      | =IF(WS_DerivErr<=WS_GoodErr,"PASS",IF(WS_DerivErr<=WS_MaxErr,"WARN","FAIL")) | =IF(WS_DerivErr<=WS_GoodErr,"the gauge moves the radial-flow derivative by "&TEXT(WS_DerivErr,"0.0%")&" at most",IF(WS_DerivErr<=WS_MaxErr,"the derivative can be off by "&TEXT(WS_DerivErr,"0.0%")&"; widen L or use a finer gauge","the derivative can be off by "&TEXT(WS_DerivErr,"0%")&", more than the "&TEXT(WS_MaxErr,"0%")&" flatness band; use a quartz gauge")) |                                                                |                    |                                                      |                                                              |                                                  |
| 37 | Storage and Skin Scenarios                                                                                                            |                                                                              |                                                                                                                                                                                                                                                                                                                                                                            |                                                                |                    |                                                      |                                                              |                                                  |
| 38 | The CDe²ˢ group sets the type curve: a larger one delays radial flow and lengthens the test.                                          |                                                                              |                                                                                                                                                                                                                                                                                                                                                                            |                                                                |                    |                                                      |                                                              |                                                  |
| 39 | Case                                                                                                                                  | C (bbl/psi)                                                                  | Skin (—)                                                                                                                                                                                                                                                                                                                                                                   | CD (—)                                                         | CDe²ˢ (—)          | Line starts (hr)                                     | Minimum duration (hr)                                        | Radius by then (ft)                              |
| 40 | Low storage, no skin                                                                                                                  | 0.0001                                                                       | 0                                                                                                                                                                                                                                                                                                                                                                          | =PO.PTA.ToDim.CD(B40,WS_Phi,WS_Ct,WS_Pay,WS_Rw)                | =D40*EXP(2*C40)    | =PO.PTA.Design.Duration(B40,WS_Mu,WS_K,WS_Pay,C40,0) | =PO.PTA.Design.Duration(B40,WS_Mu,WS_K,WS_Pay,C40,WS_Cycles) | =PO.PTA.Design.Rinv(WS_K,G40,WS_Phi,WS_Mu,WS_Ct) |
| 41 | Design case                                                                                                                           | 0.001                                                                        | 5                                                                                                                                                                                                                                                                                                                                                                          | =PO.PTA.ToDim.CD(B41,WS_Phi,WS_Ct,WS_Pay,WS_Rw)                | =D41*EXP(2*C41)    | =PO.PTA.Design.Duration(B41,WS_Mu,WS_K,WS_Pay,C41,0) | =PO.PTA.Design.Duration(B41,WS_Mu,WS_K,WS_Pay,C41,WS_Cycles) | =PO.PTA.Design.Rinv(WS_K,G41,WS_Phi,WS_Mu,WS_Ct) |
| 42 | High storage, high skin                                                                                                               | 0.01                                                                         | 10                                                                                                                                                                                                                                                                                                                                                                         | =PO.PTA.ToDim.CD(B42,WS_Phi,WS_Ct,WS_Pay,WS_Rw)                | =D42*EXP(2*C42)    | =PO.PTA.Design.Duration(B42,WS_Mu,WS_K,WS_Pay,C42,0) | =PO.PTA.Design.Duration(B42,WS_Mu,WS_K,WS_Pay,C42,WS_Cycles) | =PO.PTA.Design.Rinv(WS_K,G42,WS_Phi,WS_Mu,WS_Ct) |
| 44 | Type Curve of the Design Case                                                                                                         |                                                                              |                                                                                                                                                                                                                                                                                                                                                                            |                                                                |                    |                                                      |                                                              |                                                  |
| 45 | tD/CD (—)                                                                                                                             | tD (—)                                                                       | PD (—)                                                                                                                                                                                                                                                                                                                                                                     | PD derivative (—)                                              | Δp (psi)           | Δp derivative (psi)                                  | Elapsed time (hr)                                            |                                                  |
| 46 | 0.1                                                                                                                                   | =A46*WS_CD                                                                   | =PO.PTA.PD.VW(B46,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A46,WS_L) | =2*C46*WS_M/LN(10) | =2*D46*WS_M/LN(10)                                   | =B46/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 47 | 0.316                                                                                                                                 | =A47*WS_CD                                                                   | =PO.PTA.PD.VW(B47,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A47,WS_L) | =2*C47*WS_M/LN(10) | =2*D47*WS_M/LN(10)                                   | =B47/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 48 | 1                                                                                                                                     | =A48*WS_CD                                                                   | =PO.PTA.PD.VW(B48,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A48,WS_L) | =2*C48*WS_M/LN(10) | =2*D48*WS_M/LN(10)                                   | =B48/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 49 | 3.16                                                                                                                                  | =A49*WS_CD                                                                   | =PO.PTA.PD.VW(B49,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A49,WS_L) | =2*C49*WS_M/LN(10) | =2*D49*WS_M/LN(10)                                   | =B49/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 50 | 10                                                                                                                                    | =A50*WS_CD                                                                   | =PO.PTA.PD.VW(B50,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A50,WS_L) | =2*C50*WS_M/LN(10) | =2*D50*WS_M/LN(10)                                   | =B50/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 51 | 31.6                                                                                                                                  | =A51*WS_CD                                                                   | =PO.PTA.PD.VW(B51,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A51,WS_L) | =2*C51*WS_M/LN(10) | =2*D51*WS_M/LN(10)                                   | =B51/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 52 | 100                                                                                                                                   | =A52*WS_CD                                                                   | =PO.PTA.PD.VW(B52,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A52,WS_L) | =2*C52*WS_M/LN(10) | =2*D52*WS_M/LN(10)                                   | =B52/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 53 | 316                                                                                                                                   | =A53*WS_CD                                                                   | =PO.PTA.PD.VW(B53,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A53,WS_L) | =2*C53*WS_M/LN(10) | =2*D53*WS_M/LN(10)                                   | =B53/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 54 | 1000                                                                                                                                  | =A54*WS_CD                                                                   | =PO.PTA.PD.VW(B54,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A54,WS_L) | =2*C54*WS_M/LN(10) | =2*D54*WS_M/LN(10)                                   | =B54/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 55 | 3160                                                                                                                                  | =A55*WS_CD                                                                   | =PO.PTA.PD.VW(B55,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A55,WS_L) | =2*C55*WS_M/LN(10) | =2*D55*WS_M/LN(10)                                   | =B55/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 56 | 10000                                                                                                                                 | =A56*WS_CD                                                                   | =PO.PTA.PD.VW(B56,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A56,WS_L) | =2*C56*WS_M/LN(10) | =2*D56*WS_M/LN(10)                                   | =B56/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 57 | 31600                                                                                                                                 | =A57*WS_CD                                                                   | =PO.PTA.PD.VW(B57,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A57,WS_L) | =2*C57*WS_M/LN(10) | =2*D57*WS_M/LN(10)                                   | =B57/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |
| 58 | 100000                                                                                                                                | =A58*WS_CD                                                                   | =PO.PTA.PD.VW(B58,WS_CD,WS_S)                                                                                                                                                                                                                                                                                                                                              | =PO.DCA.Diag.Bourdet.SemiLog($A$46:$A$58,$C$46:$C$58,A58,WS_L) | =2*C58*WS_M/LN(10) | =2*D58*WS_M/LN(10)                                   | =B58/PO.PTA.ToDim.tD(1,WS_K,WS_Phi,WS_Mu,WS_Ct,WS_Rw)        |                                                  |

## Lambdas

| Name | RefersTo | Comment |
|------|----------|---------|
| PO.PTA.Design.Duration | =LAMBDA(C, mu, k, h, S, cycles, IF((200000+12000*S)*C*mu/(k*h)<=0, NA(), (200000+12000*S)*C*mu/(k*h)*10^cycles)) | Test duration: the start of the semilog straight line, (200000 + 12000·S)·C·μ/(k·h), carried cycles log cycles further; cycles = 0 gives the start of the line itself, [h]. |
| PO.PTA.Design.Rinv | =LAMBDA(k, t, phi, mu, ct, SQRT(k*t/(948*phi*mu*ct))) | Radius of investigation of radial flow after t hours: sqrt(k·t / (948·φ·μ·ct)), [ft]. |
| PO.PTA.Design.GaugeRes | =LAMBDA(m, resolution, L, IF(OR(m<=0, L<=0), NA(), LN(10)*resolution/(L*m))) | Gauge-resolution check: the worst-case error that a gauge resolution puts into a Bourdet derivative over a smoothing window L, as a fraction of the radial-flow derivative m/ln(10): ln(10)·resolution/(L·m), [fraction]. |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| WS_q | $B$5 | Planned flow rate, STB/d |
| WS_Bo | $B$6 | Oil formation volume factor, bbl/STB |
| WS_Mu | $B$7 | Oil viscosity, cp |
| WS_Phi | $B$8 | Porosity, % |
| WS_Ct | $B$9 | Total compressibility, 1/psi |
| WS_Rw | $B$10 | Wellbore radius, ft |
| WS_Pay | $B$11 | Net pay, ft |
| WS_K | $B$12 | Expected permeability, mD |
| WS_S | $B$13 | Expected skin |
| WS_C | $B$14 | Wellbore storage coefficient, bbl/psi |
| WS_Cycles | $B$15 | Radial flow wanted after the line starts, cycles |
| WS_RTarget | $B$16 | Distance the test must investigate, ft |
| WS_MaxHours | $B$17 | Longest test the operation allows, hr |
| WS_Resolution | $B$18 | Gauge resolution, psi |
| WS_L | $B$19 | Bourdet smoothing window L (natural-log cycles), cycles |
| WS_GoodErr | $B$20 | Derivative error accepted as good, % |
| WS_MaxErr | $B$21 | Derivative error beyond which the test can't be read, % |
| WS_Inputs | $B$5:$B$21 | Rate, fluid and rock, the expected k, skin and storage, the duration rule, the target radius and the gauge |
| WS_SlopeConst | $B$22 | Semilog slope constant of field units, 162.6 |
| WS_CD | $B$25 | Dimensionless storage, CD |
| WS_CDe2S | $B$26 | Type-curve group, CDe²ˢ |
| WS_M | $B$27 | Expected semilog slope, m, psi/cycle |
| WS_TStart | $B$28 | Semilog line starts, hr |
| WS_TMin | $B$29 | Minimum duration for the semilog line, hr |
| WS_RinvMin | $B$30 | Radius investigated by then, ft |
| WS_TTarget | $B$31 | Time to investigate the target distance, hr |
| WS_TPlan | $B$32 | Planned test duration, hr |
| WS_DerivErr | $B$33 | Derivative error from the gauge resolution, % |
| WS_Results | $B$25:$B$35 | CD and CDe2S, the expected slope, when the line starts, the minimum and planned durations, the radius, and the checks |
| WS_Cases | $A$40:$C$42 | Three wellbore storage and skin scenarios |
| WS_Curve | $B$46:$F$58 | Design Case Type Curve: Δp and Derivative against tD |

---

## Related Blueprints
- [Buildup Boundary Signatures](/blueprint/po.pta.buildup.boundary.md)
- [Bourdet Derivative Diagnostic](/blueprint/po.pta.derivative.diagnostic.md)
- [Constant-Rate Drawdown Analysis (MDH)](/blueprint/po.pta.drawdown.analysis.md)
- [Drill-Stem Test Analysis](/blueprint/po.pta.dst.sequence.md)
- [Horner Buildup Analysis](/blueprint/po.pta.horner.pstar.md)
- [Multi-Rate Drawdown (Odeh-Jones Superposition)](/blueprint/po.pta.multirate.test.md)

