Abstract
Research on short-term steady-sate production optimization of oilfields led to the development of models and solution methods, several of which have found their way into practice. Early models considered satellite wells that operate with a fixed topside pressure and gas-lift injection, while recent approaches address distinct types of artificial lifting, pressure control, and processing equipment. By integrating existing approaches, this work presents a flexible model for production optimization that considers new features, including flow assurance constraints and smart selection of artificial lifting operating modes (gas-lift with multiple valves, electrical submersible pumping, and dual completion). Given that the proposed model is conceptual, piecewise-linear functions are obtained from field and simulation process data to approximate nonlinear relations. This way, the methodology decides the best combinations of routing and operation modes to maximize production gains. Simulated results are reported considering a representative asset that illustrates complex behavior.
Similar content being viewed by others
Availability of data and material
The experiments performed for this research used data from real platforms and oil wells owned by Petróleo Brasileiro S.A. The authors do not have permission to share the data.
Code availability
The authors do not have permission to share the data.
Notes
Notice that \(\epsilon\) is a small parameter of the order of \(10^{-6}\) which is introduced in the cascading formulation to prevent numerical difficulties.
We assume that every combination of artificial lift method and routing scheme is possible, and define the set of wells with a particular lift method and routing scheme with the notation \({\mathcal {N}}_{ \{r\},\{l\}}\), where \({ r} \in \{\mathrm{sat, man}\}\) is a routing scheme and \({ l} \in \{\mathrm{GL}, \, \mathrm{ESP}, \, \mathrm{GL-ESP}, \, \mathrm{GL}^{\star }, \, \mathrm{ESP}^{\star }\}\) is a lift method. For instance: \({\mathcal {N}}_{\mathrm{sat,ESP}} = {\mathcal {N}}_{\mathrm{sat}} \cap {\mathcal {N}}_{\mathrm{ESP}}\).
By operating conditions, we mean the uncontrollable inputs and disturbances that characterize the system. For instance, the compression capacity may be below the nominal rating, a well may be connected to a test separator, the routing of specific wells, manifolds and separators may be fixed, among others.
References
Alarcón GA, Torres CF, Gomez LE (2002) Global optimization of gas allocation to a group of wells in artificial lift using nonlinear constrained programming. J Energy Resour Technol 124(4):262–268. https://doi.org/10.1115/1.1488172
Arora JS (2017) Multi-objective optimum design concepts and methods, chapter 18. In: Arora JS (ed) Introduction to optimum design, 4th edn. Academic Press, Boston, pp 771–794. https://doi.org/10.1016/B978-0-12-800806-5.00018-4
Beale EML (1980) Branch and bound methods for numerical optimization of non-convex functions. Proc Comput Stat (COMPSTAT) 80:11–20
Beale EML, Tomlin JA (1970) Special facilities in a general mathematical programming system for non-convex problems using ordered sets of variables. In: Lawrence J (ed) Proceedings of the fifth international conference on operational research, pp 447–454
Camponogara E, Plucenio A, Teixeira AF, Campos SRV (2010) An automation system for gas-lifted wells: model identification, control, and optimization. J Pet Sci Eng 70(3–4):157–167. https://doi.org/10.1016/j.petrol.2009.11.003
Codas A, Camponogara E (2012) Mixed-integer linear optimization for optimal lift-gas allocation with well-separator routing. Eur J Oper Res 217(1):2221–231. https://doi.org/10.1016/j.ejor.2011.08.027
Codas A, Campos SRV, Camponogara E, Gunnerud V, Sunjerga S (2012) Integrated production optimization of oil fields with pressure and routing constraints: the Urucu field. Comput Chem Eng 46:178–189. https://doi.org/10.1016/j.compchemeng.2012.06.016
de Sousa Santos L, de Souza KMF, Bandeira MR, Ahón VRR, Peixoto FC, Prata DM (2018) Dynamic optimization of a continuous gas lift process using a mesh refining sequential method. J Pet Sci Eng 165:161–170. https://doi.org/10.1016/j.petrol.2018.02.019
Foss BA, Jensen JP (2011) Performance analysis for closed-loop reservoir management. SPE J 16(1):183–190. https://doi.org/10.2118/138891-PA
Foss B, Knudsen BR, Grimstad B (2018) Petroleum production optimization—a static or dynamic problem? Comput Chem Eng 114:245–253. https://doi.org/10.1016/j.compchemeng.2017.10.009
Gamboa C, Silva T, Valladão D, Pagnoncelli BK, Homem-de Mello T, Vieira B, Teixeira A (2020) A stochastic optimization model for short-term production of offshore oil platforms with satellite wells using gas lift. TOP 28:549–574. https://doi.org/10.1007/s11750-020-00547-0
GD Corporation (2019) General Algebraic Modeling System (GAMS) Release 27.1.0. Washington, DC. http://www.gams.com/
Grimstad B, Andersson H (2019) ReLU networks as surrogate models in mixed-integer linear programs. Comput Chem Eng 131:106580. https://doi.org/10.1016/j.compchemeng.2019.106580
Grimstad BA, Foss BA, Heddle R, Woodman M (2016) Global optimization of multiphase flow networks using spline surrogate models. Comput Chem Eng 84:237–254. https://doi.org/10.1016/j.compchemeng.2015.08.022
Gunnerud V, Foss B (2010) Oil production optimization—a piecewise linear model, solved with two decomposition strategies. Comput Chem Eng 34(11):1803–1812. https://doi.org/10.1016/j.compchemeng.2009.10.019
Gunnerud V, Foss B, Torgnes E (2010) Parallel Dantzig–Wolfe decomposition for real-time optimization-applied to a complex oil field. J Process Control 20(9):1019–1026. https://doi.org/10.1016/j.jprocont.2010.06.003
Hoffmann A, Stanko M (2017) Short-term model-based production optimization of a surface production network with electric submersible pumps using piecewise-linear functions. J Pet Sci Eng 158:570–584. https://doi.org/10.1016/j.petrol.2017.08.063
Huang Z, Zheng S, Fogler HS (2015) Wax deposition: experimental characterizations, theoretical modeling, and field practices. CRC Press, Boca Raton
Hülse EO, Silva TL, Camponogara E, Rosa VR, Vieira BF, Teixeira AF (2020) Introducing approximate well dynamics into production optimization for operations scheduling. Comput Chem Eng 136:106773. https://doi.org/10.1016/j.compchemeng.2020.106773
IBM (2017) IBM ILOG CPLEX 12.7 User’s Manual. IBM ILOG CPLEX Division, Incline Village. http://www.cplex.com
Isermann H (1982) Linear lexicographic optimization. OR Spektrum 4:223–228. https://doi.org/10.1007/BF01782758
Jahanshahi E, Krishnamoorthy D, Codas A, Foss B, Skogestad S (2020) Plantwide control of an oil production network. Comput Chem Eng 136:106765. https://doi.org/10.1016/j.compchemeng.2020.106765
Kosmidis VD, Perkins JD, Pistikopoulos EN (2004) Optimization of well oil rate allocations in petroleum fields. Ind Eng Chem Res 43(14):3513–3527. https://doi.org/10.1021/ie034171z
Kosmidis VD, Perkins JD, Pistikopoulos EN (2005) A mixed integer optimization formulation for the well scheduling problem on petroleum fields. Comput Chem Eng 29(7):1523–1541. https://doi.org/10.1016/j.compchemeng.2004.12.003
Mavrotas G (2009) Effective implementation of the \(\epsilon \)-constraint method in multi-objective mathematical programming problems. Appl Math Comput 213(2):455–465. https://doi.org/10.1016/j.amc.2009.03.037
Rashid K, Bailey W, Couët B (2012) A survey of methods for gas-lift optimization. Model Simul Eng 2012:516807. https://doi.org/10.1155/2012/516807
Ray T, Sarker R (2007) Genetic algorithm for solving a gas lift optimization problem. J Pet Sci Eng 59(1–2):84–96. https://doi.org/10.1016/j.petrol.2007.03.004
Seman LO, Miyatake LK, Camponogara E, Giuliani CM, Vieira BF (2020) Derivative-free parameter tuning for a well multiphase flow simulator. J Pet Sci Eng 192:107288. https://doi.org/10.1016/j.petrol.2020.107288
Silva TL, Camponogara E, Teixeira AF, Sunjerga S (2015) Modeling of flow splitting for production optimization in offshore gas-lifted oil fields: simulation validation and applications. J Pet Sci Eng 128:86–97. https://doi.org/10.1016/j.petrol.2015.02.018
Song S, Shi B, Yu W, Ding L, Liu Y, Li W, Gong J (2019) Study on the optimization of hydrate management strategies in deepwater gas well testing operations. J Energy Resour Technol 142(3). https://doi.org/10.1115/1.4045168
Vielma JP, Ahmed S, Nemhauser G (2010) Mixed-integer models for nonseparable piecewise-linear optimization: unifying framework and extensions. Oper Res 58(2):303–315. https://doi.org/10.1287/opre.1090.0721
Willersrud A, Imsland L, Hauger SO, Kittilsen P (2013) Short-term production optimization of offshore oil and gas production using nonlinear model predictive control. J Process Control 23(2):215–223. https://doi.org/10.1016/j.jprocont.2012.08.005
Williams HP (2013) Model building in mathematical programming. Wiley, New York
Funding
The research leading to this paper was funded in part by Petróleo Brasileiro S.A. and CAPES under Program PrInt #698503P.
Author information
Authors and Affiliations
Contributions
ERM: software; investigation; writing—original draft. EC: investigation; project administration; writing—review and editing. LOS: formal analysis; writing—review and editing. EOH: software; investigation; writing—original draft. BFV: validation; resources; conceptualization. LKM: validation; resources; conceptualization. AFT: validation; resources; conceptualization.
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix A: Piecewise-linear approximation
Appendix A: Piecewise-linear approximation
The piecewise-linear approximations are achieved by studying the behavior of these relations through tests or simulation runs, which aim to define breakpoints between which the relation is considered to be linear. Several binary variables and SOS2 constraints are employed to define the operational region for each such constraint—i.e., they define the active boundaries for a region in the state space in which the function approximation is linear. Informally, this can be thought of as a continuous region of the piecewise linearization.
SOS2 stands for specially ordered sets of type 2 (Beale and Tomlin 1970), which means that at most two elements of the ordered set can assume nonzero values, in which case they must be consecutive in the order.
In order for us to obtain a practical model, relations must be properly defined for the initial model to express oil production (\({\widehat{q}}_{\mathrm{o, GL}}^{\,n}\), \({\widehat{q}}_{\mathrm{o, ESP}}^{\,n}\) and \({\widehat{q}}_{\mathrm{o, surg}}^{\,n}\)), lift-gas injection (\({\widehat{q}}_{\mathrm{gl}}^{\,n}\)), pressure drop (\(\widehat{\varDelta {p}}_{\mathrm{fl}}^{m,h}\)), downthrust and upthrust bounds for ESP pumps (\({\widehat{q}}^{\min , n}_{\mathrm{l}}\), \({\widehat{q}}^{\max , n}_{\mathrm{l}}\)), hydrate envelope (\({\widehat{\tau }}_{\mathrm{env-hyd}}^{n}\)) and pressure and temperature along the pipeline (\(p_{\mathrm{hyd, gl}}\), \(p_{\mathrm{hyd, esp}}\), \(\tau _{\mathrm{hyd, gl}}\), \(\tau _{\mathrm{hyd, esp}}\)).
Analytical functions that accurately model these relations are either unknown or very complex, resulting in non-linear formulations. Fortunately, values for these relations can be obtained for a given combination of inputs through experimentation (either by performing simulations or field tests) (Gunnerud and Foss 2010). This process can be repeated for several different inputs, for each well and manifold. As a result, for each such function, we can obtain a set of points in the domain for which the value of the function is known. These points can then be used to define a piecewise-linear approximation by assuming that the function is linear in each polytope defined by the adjacent known points.
Among the various formalisms that could be used to express a piecewise-linear function (Vielma et al. 2010), we chose to use a SOS2 model (Beale 1980). SOS2 constraints are natively supported by several commercial solvers and have some properties that allow them to be handled more efficiently by a branch-and-bound procedure.
Generically, let \(f:{\mathcal {D}} \rightarrow {\mathbb {R}}\) be a piecewise function that maps from domain \({\mathcal {D}}\) to the real numbers, and let \({\mathcal {D}}' \subset {\mathcal {D}}\) be an ordered set of points \(d \in {\mathcal {D}}'\) for which f(d) is known, i.e., \(d \in {\mathcal {D}}'\) are the vertices of the function domain, which we call the breakpoints of f.
A weighting variable \(\lambda ^{d}\) can be assigned to each d, in order to express how much that breakpoint contributes to the value of the function for a given input. For any given \(x \in {\mathcal {D}}\), \(x = \sum _{d \in {\mathcal {D}}'} d \cdot \lambda ^{d}\) and \(f(x) = \sum _{d \in {\mathcal {D}}'} f(d) \cdot \lambda ^{d}\), with \(\lambda ^{d}\) being SOS2 variables, i.e., only the breakpoints corresponding to the vertices of the polytope that contains x should be active. Formally:
-
\(\lambda ^{d} \ge 0, \ \forall \ d \in {\mathcal {D}}'\);
-
\(\sum \nolimits _{d \in {\mathcal {D}}'} \lambda ^{d} = 1\);
-
Only two adjacent variables \(\lambda ^{d}\) can be nonzero.
SOS2 constraints can be extended to multidimensional piecewise-linear functions (Beale 1980) by limiting convex combinations to be inside a hypercube of the function domain and using a linked chain of SOS2 constraints, one for each dimension of the domain (Williams 2013).
Due to space considerations, the piecewise-linear model is not entirely shown. Instead, parts of the model are presented to highlight how it can be linearized. Following, we show how SOS2 constraints can be used for a piecewise-linear approximation of the oil production \(q_{\mathrm{o}}^n\) of satellite well n, operated with ESPs.
1.1 A.1 Oil production in satellite ESP wells
Recall Eq. (6a). For simplicity, let us consider only satellite wells that produce using ESP or naturally, namely wells \(n\in {\mathcal {N}}_{\mathrm{ESP}}^{\star }\). In this case, Eq. (6a) reduces to:
We model the relation expressed by (20) with the following piecewise-linear approximation, accounting for the possibility of multiple production lines (which is not explicitly stated in the initial model):
where:
-
\(q_{\mathrm{o}}^{n,c}\) is the oil production of well n routed to production line c.
-
\({\mathcal {K}}_{\mathrm{ESP}}\) is the set of breakpoints for ESP frequency, for wells operating with ESP.
-
\({\mathcal {J}}_{\mathrm{ESP}}\) is the set of breakpoints for wellhead pressure, for wells operating with ESP.
-
\(\theta ^{n, c}_{k, j}\) is the convex combination variable for oil production of a well operating with ESP, for well n, production line c, ESP frequency k and wellhead pressure j.
-
\(\theta ^{n, c}_{ j}\) is the convex combination variable for oil production of a well operating with surgence, for well n, production line c and wellhead pressure j.
-
\(q^{n, k, j}_{\mathrm{o}}\) is the value of oil production for a well operating with ESP, corresponding to breakpoint (n, k, j), for any production line.
-
\(q^{n, j}_{\mathrm{o}}\) is the value of oil production for a well operating without artificial lifting corresponding to breakpoint (n, j), for any production line.
-
\(t^{n,c}_{\mathrm{esp}}\) is a binary variable that assumes the value 1 if and only if well n is active, routed to production line c, and producing using an ESP.
-
\(t^{n,c}_{\mathrm{surg}}\) is a binary variable that assumes the value 1 if and only if well n is active, routed to production line c, and producing by surgence.
-
\(\eta _{j}^{n}\), \(\eta _{k}^{n}\) and \(\nu _{j}^{n}\) are SOS2 variables used to model the condition that only one polytope of the piecewise linearization can be active.
Equation (21a) states that the total oil produced by a well equals the sum of the oil routed from that well to each production line. In practice, a well will be routed to at most one production line, so \(q_{\mathrm{o}}^{n,c}\) will be nonzero for at most one value of c. Equation (21b) approximates oil production with a piecewise linear function. Oil produced depends on the weight variables \(\theta ^{n, c}_{k, j}\) for ESP (or \(\theta ^{n, c}_{j}\) for a surging well) and the corresponding production values \(q^{n, k, j}_{\mathrm{o}}\) (or \(q^{n, j}_{\mathrm{o}}\) for a surging well) obtained experimentally. Equations (21c) to (21e) associate an array of SOS2 variables to each dimension of the weighting variables. This guarantees that at most one polytope of the piecewise-linear approximation has the associated weights greater than zero. Equations (21f) and (21g) enforce the sum of the weighting variables corresponding to well n and production line c to assume value 1 if well n is active and routed to production line c; and 0 otherwise.
Equations (21h) to (21j) guarantee that a well can be routed to only one production line and be active in at most one operation mode (in this case, either ESP or surgency).
1.2 A.2 Liquid flow at ESP wells
Recall Eq. (6i), which states that the total liquid flow in wells operated by ESP is bounded by a minimum and a maximum flow, which in turn are functions of the ESP frequency. These frequency-dependent bounds can be approximated by piecewise-linear functions for all \(n \in {\mathcal {N}}_{\mathrm{ESP}}\) as follows:
where \(q_{\mathrm{l},\min }^{n}\) and \(q_{\mathrm{l},\max }^{n}\) are the minimum and maximum bounds, respectively, for liquid flow from well n as a function of the ESP frequency, and \(\lambda ^{n,k}\) is a weighting variable for the convex combination of frequencies. The set of \(\lambda ^{n,k}\) variables is SOS2.
Equation (22a) is the piecewise-linear approximation of Eq. (6i) that imposes the limits on the liquid flow. Equations (22b) and (22c) define the bounds as a linear combinations of weight coefficients \(\lambda ^{n,k}\), with breakpoints \((q_{\mathrm{l},\min }^{n,k},\) \(q_{\mathrm{l},\max }^{n,k}\)) obtained by simulation. Eqs. (22d) and (22e) ensure that the operating frequency given by this linear combination is the same as the one used in other equations of the model and that this frequency is nonzero only if the corresponding well is active and operating with ESP.
Rights and permissions
About this article
Cite this article
Müller, E.R., Camponogara, E., Seman, L.O. et al. Short-term steady-state production optimization of offshore oil platforms: wells with dual completion (gas-lift and ESP) and flow assurance. TOP 30, 152–180 (2022). https://doi.org/10.1007/s11750-021-00604-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11750-021-00604-2
Keywords
- Short-term production optimization
- Steady-state optimization
- Dual well completion
- Flow assurance
- Mixed-integer optimization