---
cid: po.bp.utilities.spline.interpolation
hub: utilities
tags: [spline, interpolation, cubic, linear, differentiation, integration, pvt, formation-volume-factor]
title: Spline Interpolation of a PVT Table
summary: "Interpolates a PVT table between its points by cubic spline and straight lines, with the slope and mean value over an interval."
slug: po.utilities.spline.interpolation
type: worksheet
---

# Spline Interpolation of a PVT Table

## Description

What does a PVT table read between its points? You enter a table of oil formation volume factor against pressure, as a PVT report lists it, a pressure to read it at, an interval to average over and a tolerance. You read off Bo at that pressure by natural cubic spline and by straight lines between the points, the slope dBo/dp by both, and the mean Bo over the interval, the integral of Bo over it divided by its width.

**Parameters:**
- **Table**: pressure and Bo, one point per row, pressures rising, named `SPL_TP` and `SPL_TBo`
- **Query**: the pressure to read Bo at, `SPL_P`
- **Interval**: the pressures to average Bo between, `SPL_P1` and `SPL_P2`
- **Tolerance**: the relative cubic-linear difference that warns, `SPL_Tol`

**How to use it:** Paste the differential liberation's or a correlation's Bo against pressure, one point per row with the pressures rising, all on one side of the bubble point. Bo turns at the bubble point, so a table across it needs splitting there: a spline through the kink overshoots on both sides. The same sheet reads any smooth table: Rs, μo, a gas Z-factor or Bg against pressure. A grid across the table and a chart show the table's points with both interpolants and their difference. Checks flag a table whose pressures don't rise, a query or interval outside the table, where a spline extrapolates, and a query where the two interpolants part by more than the tolerance, a sign the table is too coarse there.

**Method:** A natural cubic spline passes a cubic through each pair of neighbouring points, with the slopes and curvatures matched where the pieces meet and zero curvature at both ends. Solving for the curvature Mi at each point is a tridiagonal system; between xi and xi+1, with h = xi+1 − xi, A = (xi+1 − x)/h and B = 1 − A, S(x) = A·yi + B·yi+1 + ((A³ − A)·Mi + (B³ − B)·Mi+1)·h²/6. Linear interpolation is S(x) = yi + (yi+1 − yi)(x − xi)/h. The slope is the derivative of each interpolant, piecewise constant for the linear one, and the mean Bo over [p1, p2] is ∫Bo dp/(p2 − p1), exact for each piece. Past the table's ends each interpolant carries its end piece on, an extrapolation, so the range check warns.

**Example:** The default table is the PVT family's reference black oil: oil 2 of Ahmed's six crude-oil systems, 40.7 °API with a 0.855 gravity gas and 768 scf/STB at 220 °F. Its Bo below the 2,503 psi bubble point that Standing's correlation gives is Standing's saturated Bo at Standing's solution gas-oil ratio, listed every 350 psi from 400 to 2,500 psi to four decimals. The Black-Oil PVT Table sheet computes the same oil.

At 1,000 psi the cubic spline reads Bo = 1.2102 bbl/STB and linear interpolation 1.2109; Standing's correlation itself gives 1.2103, so the cubic is within 0.01 % and the linear 0.05 % high, since straight lines cut the inside of a curve that bends upward. Linear less cubic is 0.0007 bbl/STB, 0.057 %, inside the 0.1 % tolerance, so the interpolation check passes. The slope dBo/dp is 1.617 × 10⁻⁴ bbl/STB/psi by the cubic and 1.571 × 10⁻⁴ by the linear one, the chord of the 750 to 1,100 psi piece. Between 1,100 and 1,800 psi the mean Bo is 1.2882 by the cubic and 1.2886 by straight lines. The table and range checks pass. A hand computation of the natural spline gives the same 1.21019 and 1.6166 × 10⁻⁴.

## Validity

A spline reads the table, not the fluid: it is only as good as the points and their spacing. Cubic and linear agree where the curve is nearly straight between points and part where it bends; the interpolation check warns when they part by more than the tolerance at the query, and a point added near it closes the gap. A natural spline puts zero curvature at both ends, so its first and last pieces are flatter than a curving table; and through a kink, such as Bo at the bubble point, a cubic overshoots on both sides, so the table has to stay on one side. Past the table both interpolants extrapolate, and the range check warns; nothing past the last point is measured. The table check fails when a pressure has no Bo, when the table has fewer than three points, or when the pressures don't rise row by row.

Named alternatives: step and nearest-point interpolation for tables read by step or by the nearest point; the PVT correlations themselves (the Black-Oil PVT Table sheet) where no measured table exists; and Excel's FORECAST.LINEAR for a straight line through the whole table.

## References

- Burden, R.L. and Faires, J.D. (2011). *Numerical Analysis*, 9th ed. Brooks/Cole, section 3.5 (natural cubic splines).
- Press, W.H., Teukolsky, S.A., Vetterling, W.T. and Flannery, B.P. (2007). *Numerical Recipes: The Art of Scientific Computing*, 3rd ed. Cambridge University Press, section 3.3 (cubic spline interpolation).
- Standing, M.B. (1947). "A Pressure-Volume-Temperature Correlation for Mixtures of California Oils and Gases." *Drilling and Production Practice*, API, 275–287.
- Ahmed, T. (2006). *Reservoir Engineering Handbook*, 3rd ed. Gulf Professional Publishing, ch. 2 (the six crude-oil systems; the reference oil is oil 2).

## Functions used

`PO.Spline.Cubic.Interp`, `PO.Spline.Linear.Interp`, `PO.Spline.Cubic.Diff`, `PO.Spline.Linear.Diff`, `PO.Spline.Cubic.IntegT1T2`, `PO.Spline.Linear.IntegT1T2`

## Spreadsheet: UtilitiesSplineInterpolation

|    | A                                                                                                                                              | B                                                                                                                                     | C                                                                                                                                                                                                                                                                                                                                                                | D                           |
|----|------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|
| 1  | Spline Interpolation of a PVT Table                                                                                                            |                                                                                                                                       | Petroleum Office                                                                                                                                                                                                                                                                                                                                                 |                             |
| 2  | Blue cells on yellow are inputs. Type or paste the table of pressure and Bo, then the pressure to read it at and the interval to average over. |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 3  | Query                                                                                                                                          |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 4  | Pressure to read Bo at                                                                                                                         | 1000                                                                                                                                  | psi                                                                                                                                                                                                                                                                                                                                                              |                             |
| 5  | Interval to average Bo over, from                                                                                                              | 1100                                                                                                                                  | psi                                                                                                                                                                                                                                                                                                                                                              |                             |
| 6  | Interval to average Bo over, to                                                                                                                | 1800                                                                                                                                  | psi                                                                                                                                                                                                                                                                                                                                                              |                             |
| 7  | Cubic-linear difference that warns                                                                                                             | 0.001                                                                                                                                 | %                                                                                                                                                                                                                                                                                                                                                                |                             |
| 9  | Bo at the Query Pressure                                                                                                                       |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 10 | Bo by natural cubic spline                                                                                                                     | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,SPL_P)                                                                                         | bbl/STB                                                                                                                                                                                                                                                                                                                                                          |                             |
| 11 | Bo by linear interpolation                                                                                                                     | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,SPL_P)                                                                                        | bbl/STB                                                                                                                                                                                                                                                                                                                                                          |                             |
| 12 | Linear less cubic                                                                                                                              | =SPL_BoLinear-SPL_BoCubic                                                                                                             | bbl/STB                                                                                                                                                                                                                                                                                                                                                          |                             |
| 13 | Cubic and linear apart, relative                                                                                                               | =ABS(SPL_Diff)/SPL_BoCubic                                                                                                            | %                                                                                                                                                                                                                                                                                                                                                                |                             |
| 14 | Slope dBo/dp by cubic spline                                                                                                                   | =PO.Spline.Cubic.Diff(SPL_TP,SPL_TBo,SPL_P)                                                                                           | bbl/STB/psi                                                                                                                                                                                                                                                                                                                                                      |                             |
| 15 | Slope dBo/dp by linear interpolation                                                                                                           | =PO.Spline.Linear.Diff(SPL_TP,SPL_TBo,SPL_P)                                                                                          | bbl/STB/psi                                                                                                                                                                                                                                                                                                                                                      |                             |
| 16 | Mean Bo over the Interval                                                                                                                      |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 17 | Mean Bo by cubic spline, ∫Bo dp/(p2 − p1)                                                                                                      | =PO.Spline.Cubic.IntegT1T2(SPL_TP,SPL_TBo,SPL_P1,SPL_P2)/(SPL_P2-SPL_P1)                                                              | bbl/STB                                                                                                                                                                                                                                                                                                                                                          |                             |
| 18 | Mean Bo by linear interpolation                                                                                                                | =PO.Spline.Linear.IntegT1T2(SPL_TP,SPL_TBo,SPL_P1,SPL_P2)/(SPL_P2-SPL_P1)                                                             | bbl/STB                                                                                                                                                                                                                                                                                                                                                          |                             |
| 19 | Lowest pressure in the table                                                                                                                   | =MIN(SPL_TP)                                                                                                                          | psi                                                                                                                                                                                                                                                                                                                                                              |                             |
| 20 | Highest pressure in the table                                                                                                                  | =MAX(SPL_TP)                                                                                                                          | psi                                                                                                                                                                                                                                                                                                                                                              |                             |
| 21 | Points in the table                                                                                                                            | =COUNT(SPL_TP)                                                                                                                        | —                                                                                                                                                                                                                                                                                                                                                                |                             |
| 22 | Table check                                                                                                                                    | =IF(COUNT(SPL_TP)<>COUNT(SPL_TBo),"FAIL",IF(COUNT(SPL_TP)<SPL_MinPoints,"FAIL",IF(SUMPRODUCT(--(SPL_TP2<=SPL_TP1))>0,"FAIL","PASS"))) | =IF(COUNT(SPL_TP)<>COUNT(SPL_TBo),"every pressure needs a Bo; fill or clear the row",IF(COUNT(SPL_TP)<SPL_MinPoints,"a spline needs at least "&SPL_MinPoints&" points",IF(SUMPRODUCT(--(SPL_TP2<=SPL_TP1))>0,"the pressures must rise down the table, each one above the last","the pressures rise and every one has a Bo")))                                    |                             |
| 23 | Range check                                                                                                                                    | =IF(OR(SPL_P<SPL_PMin,SPL_P>SPL_PMax),"WARN",IF(OR(MIN(SPL_P1,SPL_P2)<SPL_PMin,MAX(SPL_P1,SPL_P2)>SPL_PMax),"WARN","PASS"))           | =IF(OR(SPL_P<SPL_PMin,SPL_P>SPL_PMax),""&TEXT(SPL_P,"#,##0")&" psi is outside the table ("&TEXT(SPL_PMin,"#,##0")&" to "&TEXT(SPL_PMax,"#,##0")&" psi): the spline extrapolates",IF(OR(MIN(SPL_P1,SPL_P2)<SPL_PMin,MAX(SPL_P1,SPL_P2)>SPL_PMax),"the interval runs outside the table: the mean extrapolates","the query and the interval lie inside the table")) |                             |
| 24 | Interpolation check                                                                                                                            | =IF(SPL_Apart>SPL_Tol,"WARN","PASS")                                                                                                  | =IF(SPL_Apart>SPL_Tol,"cubic and linear differ by "&TEXT(SPL_Apart,"0.00%")&" at the query, past the tolerance: add a table point near it","cubic and linear agree within "&TEXT(SPL_Tol,"0.00%")&" at the query")                                                                                                                                               |                             |
| 26 | PVT Table: Bo Below the Bubble Point                                                                                                           |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 27 | How to use it: the differential liberation's or a correlation's Bo, one pressure per row, rising, all on one side of the bubble point.         |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 28 | The default is the reference oil (40.7 °API, 0.855 gas, 220 °F): Standing's Bo below its 2,503 psi bubble point.                               |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 29 | Pressure (psi)                                                                                                                                 | Bo (bbl/STB)                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 30 | 400                                                                                                                                            | 1.1234                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 31 | 750                                                                                                                                            | 1.1716                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 32 | 1100                                                                                                                                           | 1.2266                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 33 | 1450                                                                                                                                           | 1.2874                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 34 | 1800                                                                                                                                           | 1.3531                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 35 | 2150                                                                                                                                           | 1.4234                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 36 | 2500                                                                                                                                           | 1.4977                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 39 | Both Interpolants Across the Table                                                                                                             |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 40 | Pressure (psi)                                                                                                                                 | Bo cubic (bbl/STB)                                                                                                                    | Bo linear (bbl/STB)                                                                                                                                                                                                                                                                                                                                              | Linear less cubic (bbl/STB) |
| 41 | =SPL_PMin+(0)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A41)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A41)                                                                                                                                                                                                                                                                                                                     | =C41-B41                    |
| 42 | =SPL_PMin+(1)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A42)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A42)                                                                                                                                                                                                                                                                                                                     | =C42-B42                    |
| 43 | =SPL_PMin+(2)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A43)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A43)                                                                                                                                                                                                                                                                                                                     | =C43-B43                    |
| 44 | =SPL_PMin+(3)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A44)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A44)                                                                                                                                                                                                                                                                                                                     | =C44-B44                    |
| 45 | =SPL_PMin+(4)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A45)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A45)                                                                                                                                                                                                                                                                                                                     | =C45-B45                    |
| 46 | =SPL_PMin+(5)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A46)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A46)                                                                                                                                                                                                                                                                                                                     | =C46-B46                    |
| 47 | =SPL_PMin+(6)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A47)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A47)                                                                                                                                                                                                                                                                                                                     | =C47-B47                    |
| 48 | =SPL_PMin+(7)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A48)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A48)                                                                                                                                                                                                                                                                                                                     | =C48-B48                    |
| 49 | =SPL_PMin+(8)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A49)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A49)                                                                                                                                                                                                                                                                                                                     | =C49-B49                    |
| 50 | =SPL_PMin+(9)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                    | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A50)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A50)                                                                                                                                                                                                                                                                                                                     | =C50-B50                    |
| 51 | =SPL_PMin+(10)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A51)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A51)                                                                                                                                                                                                                                                                                                                     | =C51-B51                    |
| 52 | =SPL_PMin+(11)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A52)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A52)                                                                                                                                                                                                                                                                                                                     | =C52-B52                    |
| 53 | =SPL_PMin+(12)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A53)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A53)                                                                                                                                                                                                                                                                                                                     | =C53-B53                    |
| 54 | =SPL_PMin+(13)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A54)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A54)                                                                                                                                                                                                                                                                                                                     | =C54-B54                    |
| 55 | =SPL_PMin+(14)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A55)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A55)                                                                                                                                                                                                                                                                                                                     | =C55-B55                    |
| 56 | =SPL_PMin+(15)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A56)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A56)                                                                                                                                                                                                                                                                                                                     | =C56-B56                    |
| 57 | =SPL_PMin+(16)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A57)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A57)                                                                                                                                                                                                                                                                                                                     | =C57-B57                    |
| 58 | =SPL_PMin+(17)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A58)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A58)                                                                                                                                                                                                                                                                                                                     | =C58-B58                    |
| 59 | =SPL_PMin+(18)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A59)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A59)                                                                                                                                                                                                                                                                                                                     | =C59-B59                    |
| 60 | =SPL_PMin+(19)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A60)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A60)                                                                                                                                                                                                                                                                                                                     | =C60-B60                    |
| 61 | =SPL_PMin+(20)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A61)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A61)                                                                                                                                                                                                                                                                                                                     | =C61-B61                    |
| 62 | =SPL_PMin+(21)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A62)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A62)                                                                                                                                                                                                                                                                                                                     | =C62-B62                    |
| 63 | =SPL_PMin+(22)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A63)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A63)                                                                                                                                                                                                                                                                                                                     | =C63-B63                    |
| 64 | =SPL_PMin+(23)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A64)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A64)                                                                                                                                                                                                                                                                                                                     | =C64-B64                    |
| 65 | =SPL_PMin+(24)*(SPL_PMax-SPL_PMin)/SPL_Steps                                                                                                   | =PO.Spline.Cubic.Interp(SPL_TP,SPL_TBo,A65)                                                                                           | =PO.Spline.Linear.Interp(SPL_TP,SPL_TBo,A65)                                                                                                                                                                                                                                                                                                                     | =C65-B65                    |
| 67 | Calculation Constants                                                                                                                          |                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                  |                             |
| 68 | Steps of the grid across the table                                                                                                             | 24                                                                                                                                    | —                                                                                                                                                                                                                                                                                                                                                                |                             |
| 69 | Fewest points a cubic spline takes                                                                                                             | 3                                                                                                                                     | —                                                                                                                                                                                                                                                                                                                                                                |                             |

## Names

| Name | RefersTo | Comment |
|------|----------|---------|
| SPL_P | $B$4 | Pressure to read Bo at, psi |
| SPL_P1 | $B$5 | Interval to average Bo over, from, psi |
| SPL_P2 | $B$6 | Interval to average Bo over, to, psi |
| SPL_Tol | $B$7 | Cubic-linear difference that warns, % |
| SPL_Inputs | $B$4:$B$7 | The pressure to read the table at, the interval to average Bo over, and the cubic-linear difference that warns |
| SPL_BoCubic | $B$10 | Bo by natural cubic spline, bbl/STB |
| SPL_BoLinear | $B$11 | Bo by linear interpolation, bbl/STB |
| SPL_Diff | $B$12 | Linear less cubic, bbl/STB |
| SPL_Apart | $B$13 | Cubic and linear apart, relative, % |
| SPL_SlopeCubic | $B$14 | Slope dBo/dp by cubic spline, bbl/STB/psi |
| SPL_SlopeLinear | $B$15 | Slope dBo/dp by linear interpolation, bbl/STB/psi |
| SPL_MeanCubic | $B$17 | Mean Bo by cubic spline, ∫Bo dp/(p2 − p1), bbl/STB |
| SPL_MeanLinear | $B$18 | Mean Bo by linear interpolation, bbl/STB |
| SPL_PMin | $B$19 | Lowest pressure in the table, psi |
| SPL_PMax | $B$20 | Highest pressure in the table, psi |
| SPL_Points | $B$21 | Points in the table |
| SPL_TableCheck | $B$22 | Table check verdict |
| SPL_TableCheckNote | $C$22 | Table check comment |
| SPL_RangeCheck | $B$23 | Range check verdict |
| SPL_RangeCheckNote | $C$23 | Range check comment |
| SPL_Check | $B$24 | Interpolation check verdict |
| SPL_CheckNote | $C$24 | Interpolation check comment |
| SPL_Results | $B$10:$B$24 | Bo at the query by cubic spline and linear interpolation, their difference, the slope dBo/dp by both, the mean Bo over the interval by both, the table's range and size, and the three checks |
| SPL_Table | $A$30:$B$36 | The PVT table: pressure and Bo, one point per row, pressures rising |
| SPL_TP | $A$30:$A$36 | Table pressures, psi |
| SPL_TBo | $B$30:$B$36 | Table Bo, bbl/STB |
| SPL_TP1 | $A$30:$A$35 | Table pressures but the last, psi |
| SPL_TP2 | $A$31:$A$36 | Table pressures but the first, psi |
| SPL_Curve | $A$41:$D$65 | Pressures across the table in equal steps, with Bo by cubic spline and by linear interpolation and their difference |
| SPL_Steps | $B$68 | Steps of the grid across the table |
| SPL_MinPoints | $B$69 | Fewest points a cubic spline takes |

---

## Related Blueprints
- [Unit Converter and Decline Rate Conversions](/blueprint/po.utilities.unit.conversion.md)
- [Nodal Analysis Operating Point](/blueprint/po.vfp.nodal.analysis.md)
- [Gas Buildup in Pseudo-Pressure](/blueprint/po.pta.gas.pseudopressure.md)
- [Gas Well Tubing Sizing](/blueprint/po.vfp.tubing.sizing.md)
- [PVT Sensitivity to Oil Gravity](/blueprint/po.pvt.sensitivity.api.md)
- [Formation Water PVT Properties](/blueprint/po.pvt.water.properties.md)

