Stanford Geothermal Workshop · Modeling

Rapid Simulation of Aquifer Thermal Energy Storage Using Adaptive Physics Transformer

Adrian FUNG, Issac JU, Carl JACQUEMYN, Meissam L. BAHLALI, Matthew D. JACKSON, Gege WEN

Download PDF (1096 KB) Hosted on pangea.stanford.edu

Abstract

Aquifer Thermal Energy Storage (ATES) offers a sustainable, low-carbon heating and cooling solution for the built environment. However, maintaining ATES system efficiency requires careful optimisation of both design and operation, involving computationally expensive numerical simulations of groundwater flow and heat transport in heterogeneous aquifers. Machine Learning (ML) provides a rapid modelling alternative to conventional numerical simulations of complex subsurface flow and transport processes. Here, we introduce the Adaptive Physics Transformer (APT), a transformer-based ML model employing an auto-regressive approach with native support for adaptive meshing. Unlike conventional ML models such as Convolutional Neural Networks (CNNs), Graph Neural Networks (GNNs), or Neural Operators, which require interpolation onto fixed grids, APT seamlessly handles arbitrary gridding schemes that adapt dynamically at each timestep throughout the simulation rollout. The APT model is trained using outputs on adaptive meshes from the open-source Imperial College Finite Element Reservoir Simulator (IC-FERST), a high-order reservoir simulator that employs dynamic unstructured mesh optimisation to enhance solution accuracy and reduce computational costs compared to fixed-grid methods. Consequently, the mesh evolves adaptively between the solution snapshots used during training. High spatial resolution is essential to accurately capture detailed variations in pressure, flow, and temperature fields; adaptive meshing achieves this efficiently by dynamically adjusting mesh resolution where required. The native support of adaptive mesh data in APT eliminates the need for interpolation, reduces potential sources of error, and enables the model to directly learn the underlying physics and transport processes. Our experiments with a synthetic ATES dataset demonstrate that the APT model significantly accelerates simulations, reducing the runtime of a 10-year ATES scenario from tens of hours to mere seconds, while maintaining high accuracy.

Details

Conference
Stanford Geothermal Workshop
Year
2026
Session
Modeling
Paper number
Fung
Language
English
Copyright
Stanford Geothermal Program
Keywords
aquifer thermal energy storage machine learning adaptive mesh numerical modeling
Record ID
1001508

Suggested citation

Adrian FUNG, Issac JU, Carl JACQUEMYN, Meissam L. BAHLALI, Matthew D. JACKSON, Gege WEN (2026). Rapid Simulation of Aquifer Thermal Energy Storage Using Adaptive Physics Transformer. Proceedings, Stanford Geothermal Workshop 2026, Paper Fung.

Proceedings-level reference. Individual papers do not carry DOIs.

More papers by Fung ›