Abstract

Automatic differentiation is a technique for computing derivatives accurately and efficiently with minimal human effort. The calculation of derivatives of numerical models is necessary for gradient-based op­ timization of reservoir systems to determine optimal sizes for reservoirs. The writers report on the use of automatic differentiation and divided difference approaches for computing derivatives for a single- and multiple­ reservoir yield model. In the experiments, the AD1FOR (Automatic Differentiation of Fortran) tool is employed. The results show that, for both the single- and the multiple-reservoir model, automatic differentiation computes derivatives exactly and more efficiently than the divided difference implementation. Postoptimization of the ADIFOR-generated derivative code by exploiting the model structure is also discussed. The writers observe that the availability of exact derivatives significantly benefits the convergence of the optimization algorithm: the solution of the muItireservoir problem, which took 10.5 hours with divided difference derivatives, is decreased to less than two hours with ADIFOR out of the box derivatives, and to less than an hour using the postop­ timized ADIFOR derivative code.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.