Adjoint methods for multicomponent flow simulation

The focus of the present work is on efficient computation of gradients using adjoint methods. In contrast to finite-difference methods, where the number of forward simulations required to estimate the desired derivatives grows linearly with the number of control variables, adjoint techniques provide all the required derivatives of the objective function in a fraction of the computational time of one forward simulation run. However, from an implementation viewpoint they are significantly more involved than, for example, finite-difference methods. This is due to the fact that the computation of gradients through adjoints requires a deep understanding of the simulation code. While the discrete adjoint formulation is most commonly employed in the reservoir simulation community, little is known about the continuous adjoint formulation, which is usually preferred in aerodynamics. Both continuous and discrete adjoint formulations are discussed in this work, and implemented for a compositional reservoir simulator. They are applied to several optimization problems of practical interest and compared with respect to their efficiency and the quality of the gradients they provide. The computed gradients are then forwarded to standard optimization software packages to determine optimal well settings for maximizing any specified objective function, as the net present value.

[1]  Yannis C. Yortsos,et al.  Optimization of Displacements in Porous Media Using Rate Control , 2001 .

[2]  Michael A. Saunders,et al.  SNOPT: An SQP Algorithm for Large-Scale Constrained Optimization , 2002, SIAM J. Optim..

[3]  O. Pironneau Optimal Shape Design for Elliptic Systems , 1983 .

[4]  Lorenz T. Biegler,et al.  On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming , 2006, Math. Program..

[5]  Jan Dirk Jansen,et al.  Dynamic Optimization of Waterflooding With Smart Wells Using Optimal Control Theory , 2004 .

[6]  A. Jameson,et al.  Aerodynamic shape optimization techniques based on control theory , 1998 .

[7]  W. Fred Ramirez Application of Optimal Control Theory to Enhanced Oil Recovery , 2012 .

[8]  Antony Jameson,et al.  Control theory based airfoil design using the Euler equations , 1994 .

[9]  K. Aziz,et al.  Petroleum Reservoir Simulation , 1979 .

[10]  Antony Jameson,et al.  Aerodynamic design via control theory , 1988, J. Sci. Comput..

[11]  Michael A. Saunders,et al.  USER’S GUIDE FOR SNOPT 5.3: A FORTRAN PACKAGE FOR LARGE-SCALE NONLINEAR PROGRAMMING , 2002 .

[12]  Louis J. Durlofsky,et al.  Production Optimization With Adjoint Models Under Nonlinear Control-State Path Inequality Constraints , 2008 .

[13]  Antony Jameson,et al.  Optimum Shape Design for Unsteady Flows with Time-Accurate Continuous and Discrete Adjoint Methods , 2007 .

[14]  Kyriakos C. Giannakoglou,et al.  Continuous and discrete adjoint approaches for aerodynamic shape optimization with low Mach number preconditioning , 2008 .

[15]  O. Schenk,et al.  ON FAST FACTORIZATION PIVOTING METHODS FOR SPARSE SYMMETRI C INDEFINITE SYSTEMS , 2006 .