SearcharxivSearch

arXiv subjects

Martin O. Saar

Publications and source records attributed to Martin O. Saar.

8 recordsLinked to original sources

Deep learning based closed-loop optimization of geothermal reservoir production

To maximize the economic benefits of geothermal energy production, it is essential to optimize geothermal reservoir management strategies, in which geologic uncertainty should be considered. In this work, we propose a closed-loop optimization framework, based on deep learning surrogates, for the well control optimization of geothermal reservoirs. In this framework, we construct a hybrid convolution-recurrent neural network surrogate, which combines the convolution neural network (CNN) and long short-term memory (LSTM) recurrent network. The convolution structure can extract spatial information of geologic parameter fields and the recurrent structure can approximate sequence-to-sequence mapping. The trained model can predict time-varying production responses (rate, temperature, etc.) for cases with different permeability fields and well control sequences. In the closed-loop optimization framework, production optimization based on the differential evolution (DE) algorithm, and data assimilation based on the iterative ensemble smoother (IES), are performed alternately to achieve real-time well control optimization and geologic parameter estimation as the production proceeds. In addition, the averaged objective function over the ensemble of geologic parameter estimations is adopted to consider geologic uncertainty in the optimization process. Several geothermal reservoir development cases are designed to test the performance of the proposed production optimization framework. The results show that the proposed framework can achieve efficient and effective real-time optimization and data assimilation in the geothermal reservoir production process.

cs.LG

Accelerated reactive transport simulations in heterogeneous porous media using Reaktoro and Firedrake

This work investigates the performance of the on-demand machine learning (ODML) algorithm introduced in Leal et al. (2020) when applied to different reactive transport problems in heterogeneous porous media. ODML was devised to accelerate the computationally expensive geochemical reaction calculations in reactive transport simulations. We demonstrate that the ODML algorithm speeds up these calculations by one to three orders of magnitude. Such acceleration, in turn, significantly accelerates the entire reactive transport simulation. The numerical experiments are performed by implementing the coupling of two open-source software packages: Reaktoro (Leal, 2015) and Firedrake (Rathgeber et al., 2016).

cs.CE

Synchrotron-based pore-network modeling of two-phase flow in Nubian Sandstone and implications for capillary trapping of carbon dioxide

Depleted oil fields in the Gulf of Suez (Egypt) can serve as geothermal reservoirs for power generation using a CO2-Plume Geothermal (CPG) system, while geologically sequestering CO2. This entails the injection of a substantial amount of CO2 into the highly permeable brine-saturated Nubian Sandstone. Numerical models of two-phase flow processes are indispensable for predicting the CO2-plume migration at a representative geological scale. Such models require reliable constitutive relationships, including relative permeability and capillary pressure curves. In this study, quasi-static pore-network modelling has been used to simulate the equilibrium positions of fluid-fluid interfaces, and thus determine the capillary pressure and relative permeability curves. Three-dimensional images with a voxel size of 0.65 micro m3 of a Nubian Sandstone rock sample have been obtained using Synchrotron Radiation X-ray Tomographic Microscopy. From the images, topological properties of pores/throats were constructed. Using a pore-network model, we performed a sequential primary drainage-main imbibition cycle of quasi-static invasion in order to quantify (1) the CO2 and brine relative permeability curves, (2) the effect of initial wetting-phase saturation (i.e. the saturation at the point of reversal from drainage to imbibition) on the residual-trapping potential, and (3) study the relative permeability-saturation hysteresis. The results improve our understanding of the potential magnitude of capillary trapping in Nubian Sandstone, essential for future field-scale simulations. Further, an initial basin-scale assessment of CO2 storage capacity, which incorporates capillary trapping, yields a range of 14-49 GtCO2 in Nubian Sandstone, Gulf of Suez Basin.

physics.geo-ph

Modelling of hydro-mechanical processes in heterogeneous fracture intersections using a fictitious domain method with variational transfer operators

Fluid flow in rough fractures and the coupling with the mechanical behaviour of the fractures pose great difficulties for numerical modeling approaches, due to complex fracture surface topographies, the non-linearity of hydromechanical processes and their tightly coupled nature. To this end, we have adapted a fictitious domain method to enable the simulation of hydromechanical processes in fracture-intersections. The main characteristic of the method is the immersion of the fracture, modelled as a linear elastic solid, in the surrounding computational fluid domain, modelled with the incompressible Navier Stokes equations. The fluid and the solid problems are coupled with variational transfer operators. Variational transfer operators are also used to solve contact within the fracture using a dual mortar approach and to generate problem specific fluid meshes. With respect to our applications, the key features of the method are the usage of different finite element discretizations for the solid and the fluid problem and the automatically generated representation of the fluid-solid boundary. We demonstrate that the presented methodology resolves small-scale roughness on the fracture surface, while capturing fluid flow field changes during mechanical loading. Starting with 2D/3D benchmark simulations of intersected fractures, we end with an intersected fracture composed of complex fracture surface topographies, which are in contact under increasing loads. The contributions of this article are: (1) the application of the fictitious domain method to study flow in fractures with intersections, (2) a mortar based contact solver for the solid problem, (3) generation of problem specific grids using the geometry information from the variational transfer operators.

physics.comp-ph

Contact between rough rock surfaces using a dual mortar method

The mechanical behavior of fractures in solids, such as rocks, has strong implications for reservoir engineering applications. Deformations, and the corresponding change in solid contact area and aperture field, impact rock fracture stiffness and permeability thus altering the reservoir properties significantly. Simulating contact between fractures is numerically difficult as the non-penetration constraints lead to a nonlinear problem and the surface meshes of the solid bodies on the opposing fracture sides may be non-matching. Furthermore, the challenging geometry of the arising constraints requires to solve the problem in several iterations, adjusting the constraints in each one. Here we present a novel discrete implementation of a dual mortar method and a non-smooth SQP solver, suitable for parallel computing, and apply it to a two body contact problem consisting of realistic rock fracture geometries from the Grimsel underground laboratory in Switzerland. The contributions of this article are: 1) a novel, parallel implementation of a dual mortar method and non-smooth SQP method, 2) realistic rock geometries with rough surfaces, and 3) numerical examples, which prove that the dual mortar method is capable of replicating the nonlinear closure behavior of fractures, observed in laboratory experiments.

physics.geo-ph

Simulation of hydro-mechanically coupled processes in rough rock fractures using an immersed boundary method and variational transfer operators

Hydro-mechanical processes in rough fractures are highly non-linear and govern productivity and associated risks in a wide range of reservoir engineering problems. To enable high-resolution simulations of hydro-mechanical processes in fractures, we present an adaptation of an immersed boundary method to compute fluid flow between rough fracture surfaces. The solid domain is immersed into the fluid domain and both domains are coupled by means of variational volumetric transfer operators. The transfer operators implicitly resolve the boundary between the solid and the fluid, which simplifies the setup of fracture simulations with complex surfaces. It is possible to choose different formulations and discretization schemes for each subproblem and it is not necessary to remesh the fluid grid. We use benchmark problems and real fracture geometries to demonstrate the following capabilities of the presented approach: (1) Resolving the boundary of the rough fracture surface in the fluid; (2) Capturing fluid flow field changes in a fracture which closes under increasing normal load; and (3) Simulate the opening of a fracture due to increased fluid pressure.

physics.geo-ph

3D non-conforming mesh model for flow in fractured porous media using Lagrange multipliers

This work presents a modeling approach for single-phase flow in 3D fractured porous media with non-conforming meshes. To this end, a Lagrange multiplier method is combined with a parallel $L^2$-projection variational transfer approach. This Lagrange multiplier method enables the use of non-conforming meshes and depicts the variable coupling between fracture and matrix domain. The $L^2$-projection variational transfer allows general, accurate, and parallel projection of variables between non-conforming meshes (i.e. between fracture and matrix domain). Comparisons of simulations with 2D benchmarks show good agreement, and the method is further validated on 3D fracture networks by comparing it to results from conforming mesh simulations which were used as a reference. Application to realistic fracture networks with hundreds of fractures is demonstrated. Mesh size and mesh convergence are investigated for benchmark cases and 3D fracture network applications. Results demonstrate that the Lagrange multiplier method, in combination with the $L^2$-projection method, is capable of modeling single-phase flow through realistic 3D fracture networks.

physics.geo-ph

Ultra-Fast Reactive Transport Simulations When Chemical Reactions Meet Machine Learning: Chemical Equilibrium

During reactive transport modeling, the computational cost associated with chemical reaction calculations is often 10-100 times higher than that of transport calculations. Most of these costs results from chemical equilibrium calculations that are performed at least once in every mesh cell and at every time step of the simulation. Calculating chemical equilibrium is an iterative process, where each iteration is in general so computationally expensive that even if every calculation converged in a single iteration, the resulting speedup would not be significant. Thus, rather than proposing a fast-converging numerical method for solving chemical equilibrium equations, we present a machine learning method that enables new equilibrium states to be quickly and accurately estimated, whenever a previous equilibrium calculation with similar input conditions has been performed. We demonstrate the use of this smart chemical equilibrium method in a reactive transport modeling example and show that, even at early simulation times, the majority of all equilibrium calculations are quickly predicted and, after some time steps, the machine-learning-accelerated chemical solver has been fully trained to rapidly perform all subsequent equilibrium calculations, resulting in speedups of almost two orders of magnitude. We remark that our new on-demand machine learning method can be applied to any case in which a massive number of sequential/parallel evaluations of a computationally expensive function $f$ needs to be done, $y=f(x)$. We remark, that, in contrast to traditional machine learning algorithms, our on-demand training approach does not require a statistics-based training phase before the actual simulation of interest commences. The introduced on-demand training scheme requires, however, the first-order derivatives $\partial f/\partial x$ for later smart predictions.

math.OC