Abstract
In this work, we consider algorithms for solving production optimization problems that involve isothermal (constant temperature) and compositional oil production processes. The purpose of production optimization is to compute a long-term production strategy that is economically optimal. We present a thermodynamically rigorous model of isothermal oil production processes. We derive the model from first principles by applying a number of assumptions including the assumption of constant temperature. The model is based on two key principles, namely phase equilibrium and conservation of mass and energy. The conservation equations are expressed as partial differential equations, and we model the phase equilibrium as a VT flash process. It is common to formulate the phase equilibrium conditions in oil reservoir flow models as the fugacities being equal. We describe how to derive that condition from the phase equilibrium conditions from the VT flash problem. The VT flash is an adaption of the second law of thermodynamics, i.e. the entropy of a closed system in equilibrium is maximal, to isothermal systems. The VT flash can therefore be formulated as an inner optimization problem that needs to be solved for each grid cell in the discretized reservoir in the forward simulation of the oil production process. We demonstrate that it is natural to model such isothermal production processes with differential-algebraic equations in a semi-explicit index-1 form. We describe a single-shooting algorithm for solving the production optimization problem efficiently. It is key to the efficiency of such algorithms to compute gradients. For that purpose, we use an adjoint algorithm. We implement the single-shooting algorithm in C/C++ using the open-source software DUNE, the open-source thermodynamic software ThermoLib, and the numerical optimization software KNITRO. Finally, we present a numerical example that involves optimal waterflooding.
Original language | English |
---|---|
Title of host publication | Proceedings of 16th European Conference on the Mathematics of Oil Recovery |
Publisher | European Association of Geoscientists and Engineers |
Publication date | 2018 |
ISBN (Print) | 9789462822603 |
DOIs | |
Publication status | Published - 2018 |
Event | 16th European Conference on the Mathematics of Oil Recovery - World Trade Center Barcelona, Barcelona, Spain Duration: 3 Sept 2018 → 6 Sept 2018 Conference number: 16 https://www.earthdoc.org/content/proceedings/barcelona2018-ecmor |
Conference
Conference | 16th European Conference on the Mathematics of Oil Recovery |
---|---|
Number | 16 |
Location | World Trade Center Barcelona |
Country/Territory | Spain |
City | Barcelona |
Period | 03/09/2018 → 06/09/2018 |
Internet address |