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.

FluidTablesCorrelations
Dry gasZ, BgDranchuk–Abou-Kassem and others for Z; Bg = 0.00504 z T / p
Black oilBo, Rs, Bg, oil and gas viscosityStanding 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.

FluidBalance
Gasp/z = (pi/zi)(1 − Gp/G) / (1 − We/(G Bgi))
OilHavlena–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.

KindHow it worksConstants
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 waterVolume, 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 setAquifer 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 slopeAquifer 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#

FluidPlots
Gasp/z against gas produced; the Cole plot, F/Eg against gas produced; drive indices
OilThe 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.

FluidInflow
GasBackpressure: q = Q0 ((p² − pwf²)/(pi² − pwf²))n, n = 0.85 to start
Oilq = 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.