Open-source production engineering
Checked against 150 real wells.
2.9% median error.
That is the number worth leading with, because it is measured against measurement rather than against our own equations. Most of what simulation software reports about itself is the second kind. Below is the whole evidence table, including the parts we have not validated and what it would take to.
What the optimiser does with a fixed gas supply
not validatedSix wells, 2,500 mcf/d of lift gas, not a cubic foot more — solved in 10.8 ms. A real run on this engine, and an example rather than evidence: no open lift-test data exists to check an allocation against, and the engine labels its own answer a heuristic because the minimum-stable-injection limits make the first increment a jump.
| Well | Injecting | Should be | Oil |
|---|---|---|---|
| W-03 | 400 | 250 | -18.7 |
| W-07 | 200 | 500 | +35.9 |
| W-11 | 750 | 500 | -15.5 |
| W-12 | 300 | 250 | -5.8 |
| W-18 | 500 | 500 | 0.0 |
| W-21 | 350 | 500 | +14.3 |
| Field | 1133.6 | 1143.7 | +10.1 |
Injection in mcf/d, oil in stb/d. Two wells give gas up so four can use it better.
What it is worth
$258,000 / year
At $70/bbl, from gas you are already compressing. The next mcf/d is worth $5.30 — below that, buy more; above it, stop.
The engine’s own caveat
Some wells have a minimum stable injection, so the first increment is a discrete jump rather than a marginal step. The allocation is a strong heuristic here, not a proof of optimality.
What is proved, and what is not
Verification means the code solves its own equations correctly. Validation means those equations match a real field. They are different claims and most software reports the first as though it were the second. There is no API or ISO standard for simulation validation in this industry, so we use ASME V&V 20 language and say which we have.
The full table, with what each unvalidated row would take to close, is in validation/README.md. If a vendor cannot show you theirs, that is the answer to the question.
Start from what is wrong
Not from which module you think you need. The correlation names are all still there, one level in.
Diagnose
Something is wrong and the cause is not yet known.
A well makes less than it should, or has stopped lifting
Nodal analysis — IPR × VLP, with the liquid-loading limit
A rod pump is behaving oddly and the card looks wrong
Dynamometer card in, pump condition out — eight fault types
Reported production the physics cannot support
Field audit — every well's card against its allocated rate
Hydrate or wax risk on a line, and what to do about it
Flow assurance — inhibitor rate, insulation duty, or neither
Optimise
The equipment is working; the question is how to run it.
Compression is capped and several wells want it
Equal-slope optimum, with the shadow price on the next unit
Wells and the gathering network constrain each other
Coupled field solve — what limits each well, and what relieves it
A well cannot flow continuously and needs a duty cycle
Intermittent lift — cycle time, plunger or gas, per-cycle recovery
A new line, a tie-in, or a debottleneck
Route with bends, sized to duty — Crane TP-410 equivalent length
A topology the standard cases do not cover
Newton-Raphson with an analytic Jacobian — loops, compressors, regulators
Reservoir
What is still down there, and what the tank is doing.
Where the injected water is going, and which producer is cycling it
Two-phase waterflood on a five-spot — front validated against Buckley–Leverett
Volumes in place, and which drive is actually emptying them
Material balance — p/z straight line for gas, Havlena–Odeh for oil
The reservoir and the surface constraining each other over time
Coupled solve — one well-and-network solution per timestep
Look ahead
What the history implies, and what it is worth.
Where this well is going, and the EUR that follows
Arps and Duong, with the spread the admissible b exponents imply
A spreadsheet of monthly rates that needs turning into models
Production sheet — runs split at restarts and workovers
Setting up sources, offtakes and fluids for a new field
Case builder — the inputs every other tool reads
Transient
What happens in the hours or seconds before it settles.
Prove it
The half of the job most software skips: what the advice was worth.
The solvers against answers known independently
Closed forms, conservation laws and analytic bounds — things whose value is known without reference to this code. Published correlations, no fitted black boxes, and every result names the correlation behind it and flags when an input is outside the range that correlation was fitted on. This is verification; the table above says where it becomes validation.
Runs air-gapped
numpy and the standard library. No call home, no cloud dependency.
Priced per well
not per seat. The bill follows the barrels, not the headcount.
Stateless by default
the hosted solvers keep nothing. Inputs are solved and discarded.
Then come back and check it delivered.
Every optimiser will tell you a change is worth ten barrels a day. This one subtracts the well’s own decline, separates a real gain from a well that was simply up more days, and refuses to score a window another change also touched.