Live telemetry for 400 gas wells in 10 weeks
- Client: Natural gas producer, Central Asia
- Scale: 400 wells across 2,600 km² of steppe, 1.1 billion m³ of gas a year
- Team: 4 engineers, 10 weeks
- Stack: Common Lisp, Go, PostgreSQL, licence-free UHF radios
The field
Four hundred wells feed a gathering network and a processing plant. Operators drove from well to well reading pressure, temperature and flow, so each well was seen once every 2 to 3 days. Choke settings, shut-ins when the plant was constrained and the dispatch of workover crews were all decided on readings up to 3 days old. A well that froze with hydrates or loaded up with liquid stayed down until the next visit. The client estimated this cost 4% of potential output.
The quote, and what we built instead
| SCADA quote | What we built | |
|---|---|---|
| Radio | licensed, new towers | licence-free UHF |
| At each well | proprietary RTU | solar-powered unit |
| Data from the field | assumed continuous | expected late and partial |
| Maintained by | the vendor | the field’s own crews |
| Time | 18 months | 10 weeks |
| Cost | $2 million, with hardware | $180,000, without hardware |
Wells relay for each other to a few masts at the gathering stations, and each unit stores weeks of readings. The client bought the hardware directly.
The difference is not cleverness about radios. A gas well has little to say: a few readings an hour, and an alarm when something changes. Our protocol sends only changes and alarms, so messages are small enough to hop from well to well, and a unit that misses its turn sends its backlog later. Cellular IoT products were never an option; they assume coverage the field does not have.
Silence is normal
Most telemetry backends treat a silent well as a fault. This field expects silence: a relay runs low on power, a storm blocks a path. Our Common Lisp backend reconciles readings that arrive hours or days late, marks estimates as estimates, and keeps the rest of the field running.
Alarms are the exception and travel first. A hydrate shows as wellhead pressure climbing while flowline pressure falls; liquid loading as casing pressure rising while tubing pressure drops. Either goes straight to the nearest crew, with the readings that raised it.
−35 °C
In the first cold snap, batteries in the most exposed units lost enough capacity to go silent overnight, and the wells behind them lost their relay. That cold is exactly when hydrates form, so it is when the field can least afford to lose its alarms. The backend did what it was built for: it marked the gap and reconciled the readings when the units woke at midday. We then moved the batteries into insulated enclosures and changed the firmware, so that a unit low on charge stops relaying for its neighbours before it stops reporting its own well.
Results
- 99.7% of scheduled readings reach the backend, nearly all within the hour; the rest arrive late and are reconciled
- Output lost to undetected well problems down from 4% to under 1%; both figures are the client’s own estimates
- Choke and shut-in decisions made on live data instead of the last truck round
We took part of our fee in equity. Our return depends on the field producing more, which is the outcome the client paid for.