Reference: components
Oil and gas kit
Updated 3 November 2026 · 4 min read
The oil and gas kit builds a reservoir material balance from six objects. Each is a dialog that adds a box of ordinary blocks, so once it is in you can open any part of it and change it.
Add them in this order; each reads from the ones before. An oil field from pressure history works through all six.
PVT#
The fluid’s properties against pressure, as lookup tables, worked out by SepalSolver from published correlations.
| Fluid | Tables | Correlations |
|---|---|---|
| Dry gas | Z, Bg | Dranchuk–Abou-Kassem and others for Z; Bg = 0.00504 z T / p |
| Black oil | Bo, Rs, Bg, oil and gas viscosity | Standing below the bubble point, Vasquez–Beggs above it, Beggs–Robinson for oil viscosity, Lee–Gonzalez–Eakin for gas |
Settings: the gas gravity, the reservoir temperature, the pressure range, and for oil the API gravity and bubble point. Take the range a little above the initial pressure: past the last point, a table holds its last value. You can paste laboratory values over the points, and remake the tables with other settings from any one of them.
Tank#
The reservoir as one tank: its material balance, and the pressure that satisfies it, found by Fzero at every step.
| Fluid | Balance |
|---|---|
| Gas | p/z = (pi/zi)(1 − Gp/G) / (1 − We/(G Bgi)) |
| Oil | Havlena–Odeh: F = N (Eo + m Eg + Efw) + We, with a gas cap, rock and water expansion |
Settings: a guess for what is in place, which only has to exceed what will be produced, and the initial pressure, which must be the one measured. Production starts at zero for a history to feed; the water influx starts at zero for an aquifer to fill.
Aquifer#
Water flowing into the tank as its pressure falls.
| Kind | How it works | Constants |
|---|---|---|
| Schilthuis (steady state) | Influx at a rate proportional to the pressure drop, J (pi − p) | J |
| Fetkovich (pot) | A finite aquifer with its own pressure, which falls as it gives up water | Volume, compressibility, productivity |
| Hurst–van Everdingen (radial) | The exact radial aquifer: van Everdingen and Hurst’s solution with every pressure step superposed, for an infinite aquifer or one of the size re/ro you set | Aquifer constant U, time constant κ |
| Carter–Tracy (infinite radial) | An approximation to van Everdingen–Hurst that needs no superposition, from the dimensionless pressure pD and its slope | Aquifer constant U, time constant κ |
Each starts at zero strength, a sealed tank, and comes ticked for fitting, so the match can decide whether there is an aquifer.
Each also adds its WD function plot: the water the aquifer gives for a steady pressure drop. For the radial kinds and Fetkovich it is the dimensionless influx WD against tD, on log axes; Fetkovich’s levels off at 1 as the pot runs down. Schilthuis has no aquifer size to make it dimensionless, so its plot is J t, water per psi of a steady drop.
Hurst–van Everdingen is the slowest to run. Its WD comes from the exact solution in Laplace space, fitted as a sum of decaying modes, each a stock that follows the pressure drop; together they carry the whole pressure history, which superposition needs. Against the exact WD the fit is within 0.4% for tD from 0.01 to 100,000. Carter–Tracy runs 1 to 5% above it at a steady drop.
Production history#
Rates and measured pressures pasted from a spreadsheet: time, one column per rate, and the pressure on the rows where one was measured. For oil the rates are oil, gas and water; for gas, gas only. The rates become tables that drive the tank’s production. The pressures become a data series compared with the tank’s pressure, at whatever times they were measured. At least three pressures; up to 300 rows.
Diagnostic plots#
| Fluid | Plots |
|---|---|
| Gas | p/z against gas produced; the Cole plot, F/Eg against gas produced; drive indices |
| Oil | The Campbell plot, F/Et against oil produced; the Havlena–Odeh plot, F against Et; the oil in place each survey implies; drive indices |
Each is drawn from the run as a line, and from each pressure survey as a dot, worked out at the pressure that was measured. A flat Campbell or Cole plot means a sealed tank; one that climbs means an aquifer is doing work.
Wells and forecast#
After the history ends, wells take over from the measured rates.
| Fluid | Inflow |
|---|---|
| Gas | Backpressure: q = Q0 ((p² − pwf²)/(pi² − pwf²))n, n = 0.85 to start |
| Oil | q = J (p − pwf), with the producing gas–oil ratio from Corey relative permeabilities and water at a fixed water–oil ratio |
Settings: when the history ends, the year to forecast to, a plateau rate, the lowest flowing pressure, and the deliverability or productivity index. Fit the history first: the forecast runs from the matched tank.
See also
- An oil field from pressure historyBuild a material balance from objects, match it to twelve pressure surveys, and forecast with wells.
- Nonlinear function (Fzero)The x between two bounds that makes an expression zero, at every step.
- Lookup tableA curve from points, called like a function.
- Calibration, uncertainty and validationWhat a fit can and can't tell you, and how to test a model on data it hasn't seen.