Abstract
The adjoint gradient method is well recognized for its efficiency in large-scale production optimization. When implemented in a sequential quadratic programming (SQP) algorithm, adjoint gradients enable the construction of a quadratic approximation of the objective function and linear approximation of the nonlinear constraints using just one forward and one backward simulation (with multiple right-hand sides). In this work, the focus is on the performance of the adjoint gradient method with respect to the adaptive time step refinement generated in the underlying forward simulations. First, we demonstrate that the mass transfer in reservoir simulation and, as a consequence, the net-present value (NPV) function are more sensitive to the degree of the time step refinement when using production bottom-hole pressure (BHP) controls than when using production rate controls. Effects of this sensitivity on optimization process are studied using six examples of uniform time stepping with different degrees of refinements. By comparing those examples, we show that corresponding optimal solutions for target production BHPs deviate at early stages of the optimization process. It indicates an inconsistency in the evaluation of the adjoint gradients and NPV function for different time step refinements. Next, we investigate the effects of this inconsistency on the results of a constrained production optimization. Two strategies of nonlinear constraints are considered: (i) nonlinear constraints handled in the optimization process and (ii) constraints applied directly in forward simulations with a common control switch procedure. In both strategies, we observe that the progress of the optimization process is greatly influenced by the degree of the time step refinement after control update. In the case of constrained simulations, the presence of control switches combined with large time steps after control update forces adaptive refinement to vary the time step size significantly. As a result, the inconsistency of the adjoint gradients and NPV values provoke an early termination of the SQP algorithm. In the case of constrained optimization, the inconsistencies in gradient evaluations are less significant, and the performance of the optimization process is governed by a satisfaction of nonlinear constraints in SQP algorithm.
Article PDF
Similar content being viewed by others
Avoid common mistakes on your manuscript.
References
Brouwer, D., Jansen, J.D.: Dynamic optimization of waterflooding with smart wells using optimal control theory. SPE J. 9(4), 391–402 (2004)
Bukshtynov, V., Volkov, O., Durlofsky, L., Aziz, K.: Comprehensive framework for gradient-based optimization in closed-loop reservoir management. Comput. Geosci. 19(4), 877–897 (2015)
Cao, H.: Development of techniques for general purpose simulators. PhD Thesis, Stanford University (2002)
Carter, R.: Numerical experience with a class of algorithms for nonlinear optimization using inexact function and gradient information. SIAM J. Sci. Comput. 14, 368–388 (1993)
Christie, M., Blunt, M.: Tenth SPE comparative solution project: a comparison of upscaling techniques, SPE72469-PA. SPE Reserv. Eval. Eng. 4(4), 308–316 (2001)
Coats, K.: An equation of state compositional model. SPE J. 20(5), 363–376 (1980)
Geoquest: Eclipse Technical Description 2005A. Schlumberger (2005)
Gill, P.E., Murray, W., Saunders, M.: SNOPT: an SQP algorithm for large-scale constrained optimization. SIAM J. Optim. 12(4), 979–1006 (2002)
Griesse, R., Walther, A.: Evaluating gradients in optimal control: Continuous adjoints versus automatic differentiation. J. Optim. Theory Appl. 122(2), 63–86 (2004)
Gunzburger, M.: Perspectives in flow control and optimization. SIAM, Philadelphia (2003)
Iranshahr, A., Voskov, D., Tchelepi, H.A.: Tie-simplex parameterization for eos-based thermal compositional simulation. SPE J. 15(2), 537–548 (2010)
Jiang, Y.: Techniques for modeling complex reservoirs and advanced wells. PhD Thesis, Stanford University (2007)
Karush, W.: Minima of functions of several variables with inequalities as side conditions. In: M.Sc. Dissertation, University of Chicago, Chicago, Chicago, IL, USA (1939)
Kourounis, D., Durlofsky, L., Jansen, J., Aziz, K.: Adjoint formulation and constraint handling for gradient-based optimization of compositional reservoir flow. Comput. Geosci. 18(2), 117–137 (2014)
Kourounis, D., Voskov, D., Aziz, K.: Discrete and continuous adjoint formulations for optimization of compositional flow. In: Proceedings of ECMOR XII European Conference on the Mathematics of Oil Recovery (2010)
Kraaijevanger, J., Egberts, P., Valstar, J., Buurman, H.: Optimal waterflood design using the adjoint method, SPE105764-MS. In: Proceedings of SPE Reservoir Simulation Symposium (2007)
Muskat, M., Wyckoff, R.: The flow of homogeneous fluids through porous media. J.W. Edwards Inc., Ann Arbor, Michigan (1946)
Nocedal, J., Wright, S.J.: Numerical optimization, 2nd edn. Springer, New York (2006)
Polyak, R.: Smooth optimization methods for minimax problems. SIAM J. Control. Optim. 26(6), 1274–1286 (1988)
Sarma, P., Durlofsky, L.J., Aziz, K., Chen, W.H.: Efficient real-time reservoir management using adjoint-based optimal control and model updating. Comput. Geosci. 10(1), 3–36 (2006)
Süli, E., Mayers, D.: An introduction to numerical analysis. Cambridge University Press, New York (2003)
Tchelepi, H., Zhou, Y.: Multi-GPU parallelization of nested factorization for solving large linear systems, SPE163588-MS. In: Proceedings of SPE Reservoir Simulation Symposium (2013)
Van Essen, G., Zandvliet, M., Van Den Hof, P., Bosgra, O., Jansen, J.: Robust waterflooding optimization of multiple geological scenarios. SPE J. 14(1), 202–210 (2009)
Volkov, O., Kourounis, D.: Optimization module of AD-GPRS. Technical documentation, Department of Petroleum Engineering, Stanford University (2013)
Volkov, O., Voskov, D.: Advanced strategies of forward simulation for adjoint-based optimization, SPE163592-MS. In: Proceedings of SPE Reservoir Simulation Symposium (2013)
Voskov, D., Zhou, Y.: Technical description of AD-GPRS (2012). https://pangea.stanford.edu/researchgroups/ supri-b/research/research-areas/gprs
Voskov, D.V., Tchelepi, H.A.: Compositional nonlinear solver based on trust regions of the flux function along key tie-lines, SPE141743-MS. In: Proceedings of SPE Reservoir Simulation Symposium (2011)
Voskov, D.V., Tchelepi, H.A.: Comparison of nonlinear formulations for two-phase multi-component EoS based simulation. J. Pet. Sci. Eng. 82-83, 101–111 (2012)
Wallis, J.: Incomplete gaussian elimination as a preconditioning for generalized conjugate gradient acceleration, SPE12265-MS. In: Proceedings of SPE Reservoir Simulation Symposium (1983)
Wang, X.: Trust-Region Newton Solver for Multiphase Flow and Transport in Porous Media. PhD Thesis, Stanford University (2012)
Younis, R.: Modern advances in software and solution algorithms for reservoir simulation. PhD Thesis, Stanford University (2011)
Younis, R., Tchelepi, H., Aziz, K.: Adaptively localized continuation-newton method–nonlinear solvers that converge all the time. SPE J. 15(2), 526–544 (2010)
Zaydullin, R., Voskov, D., James, S., Lucia, A.: Fully compositional and thermal reservoir simulation. Comput. Chem. Eng. 63, 51–65 (2014)
Zaydullin, R., Voskov, D.V., Tchelepi, H.A.: Nonlinear formulation based on an equation-of-state free method for compositional flow simulation. SPE J. 18(2), 264–273 (2012)
Zhou, Y.: Parallel general-purpose reservoir simulation with coupled reservoir models and multi-segment wells. PhD Thesis, Stanford University (2012)
Zhou, Y., Tchelepi, H., Mallison, B.: Automatic differentiation framework for compositional simulation on unstructured grids with multi-point discretization schemes, SPE141592-MS. In: Proceedings of SPE Reservoir Simulation Symposium (2011)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Volkov, O., Voskov, D.V. Effect of time stepping strategy on adjoint-based production optimization. Comput Geosci 20, 707–722 (2016). https://doi.org/10.1007/s10596-015-9528-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10596-015-9528-1