Skip to content

Serverless, AI-Driven Diagnostic Platform for Automated Flow Regime Identification Using Large Language Models

Sep 2026 · SPE Permian Basin Energy Conference and Exhibition · 7 references

Abstract

Abstract Flow regime identification is important in decline curve analysis and rate transient analysis but the interpretation of high-frequency production data for flow regime identification remains highly subjective and computationally disjointed. Furthermore, passing proprietary well telemetry to cloud-based Artificial Intelligence (AI) poses significant data privacy concerns. The objective of this work is to develop a highly performant, zero-footprint, browser-based diagnostic platform that automates the identification of reservoir flow regimes. By merging rigorous physics-based derivative algorithms with Large Language Models (LLMs), the tool provides engineers with an interactive, conversational diagnostic assistant while maintaining strict local data governance. The platform is implemented as a single-file serverless progressive web application (SPA) that ingests multi-well production and wellhead pressure data entirely within the browser. The Bourdet et al. (1989) distance-weighted logarithmic-derivative algorithm is applied client-side to compute smoothed loss ratios (1/D) and b-factors on logarithmic time increments with user-adjustable smoothing parameter L (0.1–1.0 log-cycles). All six diagnostic panels update in real time as L is adjusted. A four-parameter terminal statistical summary (initial rate qi, final rate qf, terminal loss ratio 1/D, and terminal b-factor) is extracted from the computed diagnostics and routed to a locally-hosted LLM via Ollama for flow regime classification (linear flow, harmonic, or BDF), decline forecasting, and generation of text-to-speech audio briefings and an interactive engineering Q&A interface. Only these four anonymized scalars are transmitted; raw time-series data is never sent to the model. The platform is validated on the publicly available Volve field dataset (Norwegian North Sea, Well 15/9-F-14, Jurassic Hugin Formation). Multi-phase diagnostic analysis (oil, gas, water, and BOE) confirms that the Bourdet derivative successfully isolates the terminal b ≈ 0.48 hyperbolic flow regime across all phases. Gas-phase diagnostics parallel oil-phase results, consistent with a dissolved-gas drive mechanism at the observed producing GOR of ~151 scf/STB. Water-phase analysis reveals the post-breakthrough rate inversion (Day 73) characteristic of aquifer influx, which cannot be represented by the Arps model and is correctly flagged by all tested LLMs. BOE diagnostics confirm marginal gas contribution to the combined rate signal. Eight Ollama-compatible models (3B to 9B parameters) are benchmarked on the diagnostic prompt, yielding LLM interpretations that are accurate, hallucination-free, and generated in 5–21 s on CPU-only hardware. Interpretation quality improves markedly above the 7B parameter threshold, where models provide quantitative EUR forecasts and prioritized surveillance recommendations. The platform reduces multi-well flow-regime classification from hours to seconds. This work represents a paradigm shift in how AI is integrated into rate-time analysis workflows. Rather than transmitting raw well data to a cloud service, the platform decouples the mathematical computation (performed locally in the browser) from the narrative interpretation (delegated to a locally-hosted LLM). The result is a fully client-side, zero-infrastructure diagnostic assistant that operates within corporate data-governance constraints while delivering AI-quality interpretive capability. The multi-phase extension demonstrates that a single four-parameter summary protocol is sufficient to convey diagnostic information across oil, gas, and BOE phases, enabling consistent cross-phase benchmarking of LLM interpretive accuracy.

View source

Similar papers

#artificial intelligence Conference Open access Jun 2018

Gibson Env: Real-World Perception for Embodied Agents

This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.

F. Xia, Amir Zamir, Zhi-Yang He et al. · 1,069 citations · ⚡112
#artificial intelligence Open access May 2023

Evaluating the Performance of Large Language Models on GAOKAO Benchmark

GAOKAO-Bench is introduced, an intuitive benchmark that employs questions from the Chinese GAOKAO examination as test samples, including both subjective and objective questions that contribute a robust evaluation benchmark for future large language models and offers valuable insights into the advantages and limitations...

Xiaotian Zhang, Chun-yan Li, Yi Zong et al. · 216 citations · ⚡17

KTO: Model Alignment as Prospect Theoretic Optimization

This work proposes a HALO that directly maximizes the utility of generations instead of maximizing the log-likelihood of preferences, and suggests that the best loss depends on the inductive biases most appropriate for a given setting, an oft-overlooked consideration.

Kawin Ethayarajh, Winnie Xu, Niklas Muennighoff et al. · 195 citations · ⚡28
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.