Abstract
We study linear models for the prediction of the initial guess for the nonlinear Newton-Raphson solver. These models use one or more of the previous simulation steps for prediction, and their parameters are estimated by the ordinary least-squares method. A key feature of the approach is that the parameter estimation is performed using data obtained directly during the simulation and the models are updated in real time. Thus we avoid the expensive process of dataset generation and the need for pre-trained models. We validate the workflow on a standard benchmark Egg dataset of two-phase flow in porous media and compare it to standard approaches for the estimation of initial guess. We demonstrate that the proposed approach leads to reduction in the number of iterations in the Newton-Raphson algorithm and speeds up simulation time. In particular, for the Egg dataset, we obtained a 30% reduction in the number of nonlinear iterations and a 20% reduction in the simulation time.
Similar content being viewed by others
Data Availability
The Egg dataset analysed during the current study is available in the repository, https://data.4tu.nl/articles/dataset/The_Egg_Model_-_data_files/12707642.
References
Zhangxin, C., Guanren, H., Yuanle, M.: Computational Methods for Multiphase Flows in Porous Media. Society for Industrial and Applied Mathematics, Dallas (2006)
Peaceman, D.W.: Fundamentals of Numerical Reservoir Simulation. Elsevier Scientific Publishing Company, Amsterdam (1977)
Ertekin, T., Kassem, A., Jamal, H., King, G.R.: Basic Applied Reservoir Simulation. Society of Petroleum Engineers, Richardson (2001)
Casella, F., Bachmann, B.: On the Choice of Initial Guesses for the Newton-Raphson algorithm. Appl Math Comput 398, 125–991 (2021). https://doi.org/10.1016/j.amc.2021.125991
Fischer, P.F.: Projection Techniques for Iterative Solution of Ax = b with Successive Right-Hand Sides. Comput Methods Appl Mech Eng 163, 193–204 (1998). https://doi.org/10.1016/S0045-7825(98)00012-7
Austin, A.P., Chalmers, N., Warburton, T.: Initial Guesses for Sequences of Linear Systems in a GPU-Accelerated incompressible flow solver. SIAM J Sci Comput 43, 259–289 (2021). https://doi.org/10.1137/20M1368677
Pop, I.S., Radu, F., Knabner, P.: Mixed finite elements for the Richards’ equation: linearization procedure. J Comput Appl Math 168, 365–373 (2004). https://doi.org/10.1016/j.cam.2003.04.008
Radu, F.A., Pop, I.S., Knabner, P.: Newton—Type Methods for the Mixed Finite Element Discretization of Some Degenerate Parabolic Equations. In: Castro, A.B., Gómez, D., Quintela, P., Salgado, P. (eds.) Numerical mathematics and advanced applications, pp. 1192–1200. Springer, Berlin, Heidelberg (2006). https://doi.org/10.1007/978-3-540-34288-5_120
Radu, F.A., List, F.: A study on iterative methods for solving Richards’ equation. Comput Geosci 20, 341–353 (2016). https://doi.org/10.1007/s10596-016-9566-3
Mitra, K., Pop, I.S.: A modified L-scheme to solve nonlinear diffusion problems. Comput Math Appl 77, 1722–1738 (2019). https://doi.org/10.1016/j.camwa.2018.09.042
Stokke, J.S., Mitra, K., Storvik, E., Both, J.W., Radu, F.A.: An adaptive solution strategy for Richards’ equation. Comput Math Appl 152, 155–167 (2023). https://doi.org/10.1016/j.camwa.2023.10.020
Both, J.W., Kumar, K., Nordbotten, J.M., Radu, F.A.: Anderson accelerated fixed-stress splitting schemes for consolidation of unsaturated porous media. Comput Math Appl 77, 1479–1502 (2019). https://doi.org/10.1016/j.camwa.2018.07.033
Lacroix, S., Vassilevski, Y.V., Wheeler, M.F.: Iterative Solvers of the Implicit Parallel Accurate Reservoir Simulator (IPARS), i: Single processor case. Technical report, The University of Texas, Austin, TX (2000). https://www.oden.utexas.edu/media/reports/2000/0028.pdf
Sudakov, O., Koroteev, D., Belozerov, B., Burnaev, E.:Artificial Neural Network Surrogate Modeling of Oil Reservoir: A Case Study. In: Lu, H., Tang, H., Wang, Z. (eds.) Advances in Neural Networks – ISNN 2019, pp. 232–241. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-22808-8_24
Zhaoyang, L.J., Yimin, L., Durlofsky, L.J.: Deep-Learning-Based Surrogate Model for Reservoir Simulation with Time-Varying Well Controls. J. Pet. Sci. Eng. 192, 107–273 (2020). https://doi.org/10.1016/j.petrol.2020.107273
Nagoor Kani, J., Elsheikh, A.H.: Reduced order modeling of subsurface multiphase flow models using deep residual recurrent neural networks. Transp. Porous Media 126, 713–741 (2019). https://doi.org/10.1007/s11242-018-1170-7
Illarionov, E., Temirchev, P., Voloskov, D., Kostoev, R., Simonov, M., Pissarenko, D., Orlov, D., Koroteev, D.: End-to-end Neural Network Approach to 3D Reservoir Simulation and Adaptation. J. Pet. Sci. Eng. 208, 109–332 (2022). https://doi.org/10.1016/j.petrol.2021.109332
Loh, K., Shoeibi Omrani, P., Linden, R.: Deep Learning History Matching for Real Time Production Forecasting. Int. J. Numer. Methods Eng. 2018, 2214–4609 (2018). https://doi.org/10.3997/2214-4609.201803016
Illarionov, E., Temirchev, P., Voloskov, D., Gubanova, A., Koroteev, D., Simonov, M.: 3D Reservoir Model History Matching Based on Machine Learning Technology. SPE Russian Petroleum Technology Conference, vol. Day 2 Tue, October 27, 2020 (2020). https://doi.org/10.2118/201924-MS. D023S012R001
Fraces, C.G., Tchelepi, H.: Uncertainty Quantification for Transport in Porous Media Using Parameterized Physics Informed Neural Networks. SPE Reservoir Simulation Conference, vol. Day 1 Tue, March 28, 2023, pp. 011–004003 (2023). https://doi.org/10.2118/212255-MS
Abbasi, J., Andersen, P.Ø.: Improved Initialization of Non-Linear Solvers in Numerical Simulation of Flow in Porous Media with a Deep Learning Approach. SPE Europec featured at EAGE Conference and Exhibition, vol. Day 3 Wed, June 08, 2022 (2022). https://doi.org/10.2118/209667-MS . D031S008R005
Trifonov, V.: Acceleration of Reservoir Modeling with Machine Learning. Master’s thesis, Skolkovo Institute of Science and Technology (2023)
Odot, A., Haferssas, R., Cotin, S.: DeepPhysics: A physics aware deep learning framework for real-time simulation. Int. J. Numer. Methods Eng. 123, 2381–2398 (2020). https://doi.org/10.1002/nme.6943
Knut-Andreas, L.: An Introduction to Reservoir Simulation Using MATLAB/GNU Octave: User Guide for the MATLAB Reservoir Simulation Toolbox (MRST). Cambridge University Press, Cambridge (2019)
Peaceman, D.W.: Interpretation of Well-Block Pressures in Numerical Reservoir Simulation With Nonsquare Grid Blocks and Anisotropic Permeability. Soc. Pet. Eng. J. 23, 531–543 (1983). https://doi.org/10.2118/10528-PA
Atkinson, K.: An Introduction to Numerical Analysis. Wiley, Hoboken (1989)
Tyrtyshnikov, E.E.: A Brief Introduction to Numerical Analysis. Birkhäuser Boston, Boston (2012)
Jansen, J.D., Fonseca, R.M., Kahrobaei, S., Siraj, M., Essen, G., Hof, P.: The Egg model - a Geological Ensemble for Reservoir Simulation. Geosci Data J 1, 192–195 (2014). https://doi.org/10.1002/gdj3.21
Neidinger, R.D.: Introduction to Automatic Differentiation and MATLAB Object-Oriented Programming. SIAM Rev 52, 545–563 (2010). https://doi.org/10.1137/080743627
Killough, J.E.: Ninth SPE Comparative Solution Project: A Reexamination of Black-Oil Simulation. SPE Reservoir Simulation Conference, vol. All Days (1995). https://doi.org/10.2118/29110-MS. SPE-29110-MS
Christie, M.A., Blunt, M.J.: Tenth SPE Comparative Solution Project: A Comparison of Upscaling Techniques. SPE Reserv. Eval. Eng. 4, 308–317 (2001). https://doi.org/10.2118/72469-PA
Rwechungura, R., Suwartadi, E., Dadashpour, M., Kleppe, J., Foss, B.: The Norne Field Case-A Unique Comparative Case Study. SPE Intelligent Energy International Conference and Exhibition, vol. All Days (2010). https://doi.org/10.2118/127538-MS. SPE-127538-MS
Schlumberger: ECLIPSE Reservoir Simulation Software: Technical Description. Schlumberger, (2014). Schlumberger
Murphy, K.P.: Machine Learning: A Probabilistic Perspective. MIT Press, Cambridge (2013)
Polyak, B.: Introduction to Optimization. Optimization Software Inc, New York (2010)
Qian, N.: On the Momentum Term in Gradient Descent Learning Algorithms. Neural Networks 12(1), 145–151 (1999). https://doi.org/10.1016/S0893-6080(98)00116-6
Hogg, R., McKean, J., Craig, A.: Introduction to Mathematical Statistics. Pearson, Boston (2019)
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing interest
The authors have no competing interests to declare that are relevant to the content of this article.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Petrosyants, M., Trifonov, V., Illarionov, E. et al. Speeding up the reservoir simulation by real time prediction of the initial guess for the Newton-Raphson’s iterations. Comput Geosci (2024). https://doi.org/10.1007/s10596-024-10284-z
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10596-024-10284-z