Introduction

The forecasting of oil and gas production rates is a critical activity typically performed during the field development stage and when the field is already producing. In the field development phase, revenue streams are calculated from the hydrocarbon production rates and are further used in economic evaluations [e.g., net present value (NPV)] of relevant development alternatives (Jahn et al. 2008).

Production scheduling consists of defining the production rates of wells and field with time (production profiles). Although to produce as much as possible as early as possible would appear to be the best alternative to early mitigate the development expenses, this is not always true (Haldorsen 1996). Higher production flow rates require bigger processing capacities of production fluids (oil, gas, and water) and injection (e.g., gas injection, water injection, etc.). Bigger processing capacities translate into higher capital expenditures (due to the increase in size and weight of the processing equipment) that might reduce the NPV of the project. This is especially relevant for standalone offshore developments, where capacity of topside facilities directly affect the design, size, and cost of the supporting structures such as platforms and floating vessels.

There are other problems that high production rates could potentially cause in the reservoir, e.g., gas and water coning or cusping, excessive sand production, etc. These problems reduce the ultimate recovery factor of the field, affecting negatively the project value.

Production profiles are usually the result of an iterative process between several disciplines within the company. Initial profiles are generated using reservoir models and taking into consideration factors like drainage area, recovery factor, well productivity, well placement, gas or water coning and sand production, among others. The reservoir models employed have none or very simple models for pressure drop in wells and surface network. Production rates are then validated or corrected by production engineers to account for the pressure drop in wells, artificial lift design, surface network, among others. Facilities engineers perform a pre-design of the processing system, map the requirements and operational constraints. The corrections and modifications are communicated back to the custodian of the reservoir model and the process is repeated.

This procedure is usually labor intensive, time consuming, and performed manually; therefore, it does not normally allow for an exhaustive evaluation of all development alternatives nor a probabilistic and robust assessment of uncertainty. This often leads to unoptimized production scenarios, lower revenues, and suboptimal decision making.

The use of integrated models (i.e., reservoir, wells, network, and facilities) is an alternative to obtain more realistic production profiles. However, it is not easy to implement, primarily because models are built in different tools or simulators, the custodians of the models are usually in separate business units, and the layout and characteristics of the production system are not defined in early development stages. Another important challenge is that the subsurface uncertainty is usually very high.

Coupling of reservoir and surface network models is a topic that has been researched extensively in the past. Barroux et al. (2000) presents a comprehensive review of commonly used coupling methods and approaches and their advantages and disadvantages. This study and others (e.g., Al-Shaalan et al. 2002) also discuss that coupled models provide in general production profiles that are more realistic than those obtained using standalone reservoir simulators. This is especially important in cases, where the back-pressure on the well sand face is significant (e.g., deep offshore projects) or where there is a complex surface network.

Coupling these models, however, can be time consuming and challenging. Some examples of integration are given by Dempsey et al. (1971), Fang and Lo (1996), Hepguler et al. (1997), and Valbuena et al. (2015). Some of the challenges are due to the complexity and non-linearity of the fundamental equations used to describe flow in porous media and in pipes and equipment and the solving strategies employed in each model. Explicit integration strategies limit the exchange of data between the models to a minimum and require fewer modifications to the individual solving algorithms. However, these strategies often exhibit stability problems and oscillations in the solutions (see Zapata et al. 2001). Implicit integration strategies are stable but require significant data transfer and modifications in the solving algorithms of the models thus making them more difficult to maintain and upgrade in the future.

Several papers address the issue of surface network optimization within the coupled model, see Hepguler et al. (1997) and Stanko and Venstad (2016). One recurring issue with network optimization lies in the combination of strongly non-linear behavior (well and flowline performances) and integer variables (routing or disjunctive constraints). When coupled with a reservoir simulation, additional constraints appear with runtime and stability, the network optimization being run at each time step with different reservoir conditions (reservoir pressure, GOR, WC).

In this paper, this issue was addressed using an MILP formulation of the network optimization problem. The non-linear well and flowline performances are approximated using SOS2 piecewise linear models. This approach is similar to what other authors have presented in the past, e.g., Codas et al. (2012), Codas and Camponogara (2012), Silva and Camponogara (2014), Hulse and Camponogara (2017), and Silva et al. (2015). Hoffmann et al. (2016) successfully apply this technique to optimize downhole diluent injection for an offshore heavy oil field and forecast field production. The work of Kosmidis et al. (2004) is the first one to employ piecewise linear approximations for non-linear functions in the petroleum engineering production problem. Piecewise linear tables are generated using sequentially the existing black-box model for different flow conditions. The formulation of the optimization problem takes considerably more effort and time to set up, but the running time is considerably lower than the traditional non-linear approach. The other advantage lies in the robust handling of integer variables.

This paper proposes an integrated methodology to schedule and forecast production. The approach integrates all elements of the production chain (wells, network and process) into a single integrated model to predict, within a single run, an optimized production profile that (1) honors all constraints throughout the production system and (2) ensures the highest production at each time step. The integrated model can then be used to assess the economical feasibility of different development alternatives.

The proposed methodology is applied on a scaled-down synthetic case consisting of six wells producing from two different reservoirs. The wells are producing into a common surface network and surface process, as shown in Fig. 1. Operational constraints considered are: (1) maximum water production; (2) maximum gas production; (3) maximum gas lift injection; and (4) maximum well pressure drawdown. Reservoirs are modeled using material balance (providing reservoir pressure, GOR and WC predictions for each well) and individual wells have inflow performance relationships (IPR) to represent the deliverability of the reservoir. The material balance is a rather simplistic analysis approach when compared against 3D reservoir simulation. However, it might still be applicable and valid for some cases (as discussed by Ali and Nielsen 1970) or at early stages of the field planning process, where the available information does not allow to build a more complex model.

Fig. 1
figure 1

Production system used in this paper

Production system modeling and optimization

Coupling strategy

The proposed coupling strategy is presented in Fig. 2. In any given time step \(t_i\), reservoir pressure \(p_{\rm R_{i}}\), producing water cut (WC) \(f_{\rm w_{i}}\) and gas oil ratio (GOR) \(R_{\rm p_{i}}\) are transferred to the surface network model as well-boundary conditions. The network model is optimized, and the optimal well rates, choke openings, and gas lift rates are found. The cumulative production for step \(t_i\) is found by summing the rate of all wells and multiplying by the length of the time step \(\varDelta t\). The incremental oil production \(\varDelta N_\mathrm{p}\), the reservoir conditions of the previous time step (\(p_{\rm R_{i}}\) and gas, oil, and water saturations: \(S_{\rm g_{i}}\), \(S_{\rm o_{i}}\), \(S_{\rm w_{i}}\)) and the material balance model are used to calculate reservoir pressure and producing WC and GOR of step \(t_{i+1}\). The process is repeated.

The coupling strategy is explicit, meaning that the cumulative oil production for a given time step is calculated only once by assuming that the production rates calculated in time step \(t_i\) are constant in the interval \(t_i\) to \(t_{i+1}\). This assumption is acceptable for small time steps \(\varDelta t\) (e.g., 1 month).

Fig. 2
figure 2

Proposed coupling workflow

Description of the base case

The field studied in this paper is a small offshore field located in the North Sea.

Reservoir models

The characteristics of the reservoirs are given in Table 1. Both reservoirs are modeled in a commercial material balance application. More details are provided in Appendix A.

Table 1 Reservoir properties

Well performance model

A simple IPR model is used for each well. Above the bubble point, a straight line IPR is used, while the Vogel IPR is used below the bubble point.

Constraints on the reservoir pressure drawdown are applied to avoid sand production:

$$\begin{aligned} p_{{\bar{R}}}^j - p_\mathrm {wf}^j \le \varDelta p_\mathrm {max}^j, \end{aligned}$$
(1)

where \(p_{{\bar{R}}}^j\), \(p_\mathrm {wf}^j\) and \(\varDelta p_\mathrm {max}^j\) are, respectively, the average drainage volume pressure, the bottom-hole pressure and the maximum pressure drawdown of well j.

Well performance is modeled with vertical lift performance tables that depict required bottom-hole pressure as a function of oil rate, wellhead pressure, gas lift rate, and WC. Wells are naturally flowing in the early stage of the field and are boosted with gas lift injection in the later phase. Vertical lift performance (VLP) models are built in a commercial black-oil steady-state simulator.

Well characteristics, layout, and configuration are provided in Appendix A.

Network model

In the surface network, the pipeline between manifolds A and B is 7.5 km long and has an inner diameter of \(8^{\prime \prime }\). The pipeline between manifold B and the production separator is 12 km long and has an inner diameter of \(12^{\prime \prime }\). The flowlines that connect the wellhead to manifolds A and B are short and have an inner diameter of \(8^{\prime \prime }\).

The network model is built in a commercial steady-state simulator.

Surface process

The production separator is operated at a constant pressure of 200 psia.

Network optimization

Non-linear formulation

For some given reservoir conditions (reservoir pressure, GOR, WC) at a given time, the objective function is to maximize the field oil production:

$$\begin{aligned} \max q_o^\mathrm {tot}, \end{aligned}$$
(2)

by changing choke openings and the gas lift allocated to each well j. The optimization problem is subject to the following field constraints:

$$\begin{aligned} q_\mathrm {liq}^\mathrm {tot} \le q_\mathrm {liq}^\mathrm {max} , \end{aligned}$$
(3)

due to constraints in the production separator, and

$$\begin{aligned} q_\mathrm {gl}^\mathrm {tot} \le q_\mathrm {gl}^\mathrm {max}, \end{aligned}$$
(4)

due to gas lift injection capacity. Note that in the early phase of the field, gas lift is not available, and therefore, \(q_\mathrm {gl}^\mathrm {max}\) is set to 0.

In addition, each well j is subject to an operational constraint to avoid sand production:

$$\begin{aligned} q_\mathrm {o}^j \le q_\mathrm {o}^{\mathrm {max}}, \end{aligned}$$
(5)

with \(q_\mathrm {o}^{\mathrm {max}}\) = 10000 stb/day.

Linear formulation

The optimization problem has been reformulated as a mixed integer linear problem, to speed up the optimization runtime. To do so, all dependencies have to be explicitly expressed. This is a major difference compared to traditional non-linear black-box optimization, where part of the calculation (e.g., the well performance) are totally invisible to the solver. In particular, the network has to be modeled and solved within the optimization formulation. This is achievable by fist splitting the network model into smaller independent elements. An independent element is defined by an inlet and an outlet with a constant GOR, WC, and mass rate.

Well modeling

Wells are modeled with a collection of points that depicts oil production as a function of wellhead pressure and gas lift injected. For well j:

$$\begin{aligned} q_\mathrm {o}^j = q_\mathrm {o}^j ( p_\mathrm {wh}^j, q_\mathrm {gl}^j ). \end{aligned}$$
(6)

These functions are created by executing the commercial black-box simulator with several combinations of input \((p_\mathrm {wh}, q_\mathrm {gl} )\). The WC and GOR of the well are assumed to be constant during the simulation. WC, GOR, and reservoir pressure are then varied in the simulator and new well tables are generated to take into account the effect of reservoir depletion. Figure 3 shows an example of such a function for a well of reservoir A.

Fig. 3
figure 3

Example of a well performance model for a well of reservoir A with a reservoir pressure of 3500 psia, producing GOR of 800 scf/stb and WC of 30%

Flowline modeling

Flowlines are modeled as a collection of points that depicts pressure drops (\(\varDelta p\)) as a function of liquid rate (\(q_\mathrm {liq}\)), producing WC (\(f_\mathrm {w}\)), total GOR (\(R_\mathrm {p}\)) and inlet pressure \(p_\mathrm {in}\):

$$\begin{aligned} \varDelta p = \varDelta p (q_\mathrm {liq}, f_\mathrm {w}, R_\mathrm {p}, p_\mathrm {in} ). \end{aligned}$$
(7)

The total GOR \(R_\mathrm {p}\) is given by

$$\begin{aligned} R_\mathrm {p} = \frac{q_\mathrm {g}^\mathrm {res} + q_\mathrm {gl}}{q_\mathrm {o}}. \end{aligned}$$
(8)

Figures 4, 5 and 6 show an example of such a function for pipeline A.

Fig. 4
figure 4

Influence of the producing WC on the performance curve of pipeline A. The GOR is held constant and equal to 700 scf/stb and the inlet pressure is equal to 700 psia

Fig. 5
figure 5

Influence of the producing GOR on the performance curve of pipeline A. The WC is held constant and equal to 45% and the inlet pressure is equal to 700 psia

Fig. 6
figure 6

Influence of the inlet pressure on the performance curve of pipeline A. The WC and GOR are held constant and equal to 45% and 1800 scf/stb respectively

Network equilibrium modeling

The network hydraulic flow equilibrium is modeled as part of the optimization formulation using equality constraints at each junction between two independent elements. On the example of Fig. 7, the flow equilibrium in the node is modeled as follows:

$$\begin{aligned}&p_1^\mathrm {out} = p_2^\mathrm {out} = p_3^\mathrm {out} = p_4^\mathrm {in}, \end{aligned}$$
(9a)
$$\begin{aligned}&q_4 = q_1 + q_2 + q_3. \end{aligned}$$
(9b)

Additional fluid properties can be calculated. For instance, the WC in pipe 4 can be obtained from the WC of the other pipes:

$$\begin{aligned} f_\mathrm {w}^{(4)} = \frac{q_1 \cdot f_\mathrm {w}^{(1)} + q_2 \cdot f_\mathrm {w}^{(2)} + q_3 \cdot f_\mathrm {w}^{(3)}}{q_1 + q_2 + q_3}. \end{aligned}$$
(10)
Fig. 7
figure 7

Modeling of flow equilibria in a production network (after Hoffmann and Stanko 2017)

SOS2 piecewise linear approximation

The well and pipeline flow functions described above are strongly non-linear. They are approximated using linear segments (as shown in Fig. 8). Interpolating between the breakpoints is achieved using SOS2 models, see Fig. 8. An SOS2 is an ordered set of non-negative variables, of which at most two can be non-zero, and if two are non-zero these must be consecutive in their ordering. For example, the SOS2 piecewise linear approximation of a one-dimensional function f can be written as follows:

$$\begin{aligned} {\widetilde{f}}(x) = \sum _{i=1}^N \lambda _i \cdot f(x_i), \end{aligned}$$
(11)

where \((\lambda _i)_{1\le i \le N}\) is a set of positive weighting factors. Additionally, the independent variable x is also expressed as a function of \(\lambda _i\):

$$\begin{aligned} x = \sum _{i=1}^N \lambda _i \cdot x_i. \end{aligned}$$
(12)

The SOS2 model imposes the set of weighting coefficients \((\lambda _i)_{1\le i \le N}\) to be a SOS2. In addition

$$\begin{aligned} \sum _{i=1}^N \lambda _i = 1. \end{aligned}$$
(13)

In the case shown in Fig. 8, \(\lambda _1= \lambda _2=0\), \(\lambda _3\ne 0\), \(\lambda _4\ne 0\) and \(\lambda _3+ \lambda _4=1\).

Fig. 8
figure 8

SOS2 models in one dimension

Note that in an MILP optimization formulation, the weighting factors \((\lambda _i)_{1\le i \le N}\) are variables and Eqs. (11), (12) and (13) are constraints.

The difference between f(x) and its piecewise approximation \({\widetilde{f}}(x)\) can be minimized by increasing the number of breakpoints \(x_i\). More breakpoints mean more weighting factors \(\lambda _i\); therefore, more variables in the optimization problem and ultimately longer optimization runtime. Consequently, there is a balance to find between accuracy and runtime.

Resulting mixed integer linear program

The non-linear optimization problem can be reformulated into a Mixed Integer Linear Program (MILP) by piecewise linearising all performance functions using SOS2 models. The integer variables (in fact, binary variables) are consequences of the usage of SOS2 models. Appendices B and C give the complete details of MILP formulation of the problem.

In this paper, we use the simplex with the branch and cut algorithm implemented in a commercial solver. Default solver settings are used.

Results

Production forecast

In this section, we show the benefits of using a coupled method compared to traditional “silo approach. We defined a reference case, see Table 2.

Table 2 Parameters used in the reference case

Figures 9 and 10 compare the field production rate and cumulative production profile using three different methods:

  1. 1.

    Silo approach: material balance simulators with capacity constraints and minimum WHP as boundary conditions (400 psia for wells of reservoir A and 300 psia for wells of reservoir B);

  2. 2.

    IAM without gas lift;

  3. 3.

    IAM with gas lift optimization at each time step.

Results show that using a coupled approach significantly impacts the production forecast and, therefore, the project value. There is a difference of 12 MMstb in cumulative oil produced between the silo approach (minimum WHP) and the IAM with gas lift optimization.

Figure 11 shows that the optimization solution only injects the optimal quantity of gas lift which can be below the gas lift capacity.

Fig. 9
figure 9

Comparison of three production forecasts: (1) isolated approach with minimum WHP as boundary condition; (2) integrated approach without gas lift; and (3) integrated approach with gas lift optimization

Fig. 10
figure 10

Comparison of cumulative production for three production forecasts: (1) isolated approach with minimum WHP as boundary condition, (2) integrated approach without gas lift and (3) integrated approach with gas lift optimization

Fig. 11
figure 11

Optimal field gas lift rate as a function of time

The integrated solution approximately takes 20 min to generate one production forecast on an Intel© Core i7-5600U CPU (2.60 GHz). In average, it takes around 7.5 s per time step. The execution bottleneck in the proposed solution is the network optimizer, see Fig. 12. Note that the runtime of the network optimization using the proposed MILP formulation is approximately 2–3 times faster than traditional non-linear surface network optimizer, which leads to considerably reduced runtime for the coupled solution. A lower execution runtime allows the user to run more scenarios, assessing more development alternatives and uncertainty.

Fig. 12
figure 12

Execution time of the solution for a single time step

Economical analysis and field development

Economical data

The NPV of a typical oil and gas project is normally defined by

$$\begin{aligned} \mathrm {NPV} = \sum _{y=0}^{N_\mathrm {years}} \frac{R_y}{(1+i)^y} - E_\mathrm {cap}, \end{aligned}$$
(14)

where \(R_y\) is the net revenue of year y (lumped revenue from oil minus operational expenses), \(E_\mathrm {cap}\) is the capital expenditure (assumed to be concentrated at time 0) and \(N_\mathrm {years}\) the life time (in years) of the field.

In this paper, the CAPEX is split into two: (1) initial CAPEX including installation of the platform, flowlines, and surface equipment and drilling of wells and (2) additional CAPEX related to installation of gas lift equipment (well completion, gas lift distribution system, and topside gas lift injection facilities). Thus, Eq. (14) becomes

$$\begin{aligned} \mathrm {NPV} = \sum _{y=0}^{N_\mathrm {years}} \frac{R_y}{(1+i)^y} - E_\mathrm {cap}^\mathrm {init} - \frac{E_\mathrm {cap}^\mathrm {gl}}{(1+i)^{y_\mathrm {gl}}}, \end{aligned}$$
(15)

where \(E_\mathrm {cap}^\mathrm {init}\) is the initial CAPEX, \(E_\mathrm {cap}^\mathrm {gl}\) is the CAPEX related to gas lift and \(y_\mathrm {gl}\) is the year when the gas lift system is deployed.

After each run of the coupled solution, the NPV can be calculated:

  1. 1.

    The revenue of a given year y is given by

    $$\begin{aligned} R_y = P_\mathrm {o} \cdot V_{\mathrm {o}y} - E_\mathrm {op}, \end{aligned}$$
    (16)

    where \(P_\mathrm {o}\) is the current oil price, \(V_{\mathrm {o}y}\) is the volume of oil produced during year y, and \(E_\mathrm {op}\) is the operational expenditure. We assume here that gas does not generate any revenue (flared, re-injected or used as gas lift).

  2. 2.

    The CAPEX \(E_\mathrm {cap}^\mathrm {init}\) depends on the initial surface installations (e.g., treatment capacity).

  3. 3.

    The CAPEX \(E_\mathrm {cap}^\mathrm {gl}\) depends on the surface installation size related to gas lift.

In this paper, we assume the oil price \(P_\mathrm {o}\) to be constant over the lifetime of the field. \(E_\mathrm {op}\) and \(E_\mathrm {cap}\) are assumed to be solely a function of the liquid capacity and gas lift capacity. Numerical data used in the study are presented in Table 3. Figures 13, 14 and 15 give the profile of CAPEX and OPEX as a function of liquid capacity and gas lift injection capacity. In this paper, we assume that CAPEX is distributed during 3 years before start-up of production (25\(\%\), 25\(\%\) and 50\(\%\)).

Table 3 Numerical values of key field development parameters
Fig. 13
figure 13

Initial CAPEX as a function of liquid capacity. The gas lift system is not included in this CAPEX

Fig. 14
figure 14

CAPEX related to the gas lift system installation as a function of gas lift injection capacity

Fig. 15
figure 15

Yearly OPEX as function of liquid capacity and gas lift injection capacity

Application to the reference case

Table 4 gives the main results when applying the economical data to the reference production profile. Figure 16 shows the cash flow analysis.

Table 4 Main economical results for the reference case
Fig. 16
figure 16

Cash flow analysis for the reference case of Table 2

Figure 17 shows that the revenues stream have the greatest impact on the project NPV. Revenue streams depend on (1) a good estimation of the future oil price and (2) an accurate production forecast.

Fig. 17
figure 17

Impact of each parameter on the project NPV

Field development optimization

We used the proposed solution to optimize three field design parameters: (1) the liquid capacity; (2) the gas lift capacity; and (3) the gas lift start-up. Figures 18 and 19 and Table 5 give the impact of liquid and gas lift capacity on the project NPV (the gas lift start-up date is held constant and equal to 48 months). The base case NPV can be increased by up to 75 millions USD compared to the base case by choosing a proper combination of liquid capacity and gas lift capacity.

Fig. 18
figure 18

NPV as a function of liquid and gas lift capacities. The red square indicates the sweet zone to be further investigated for optimization

Fig. 19
figure 19

NPV as a function of liquid and gas lift capacities limited to the sweet zone of Fig. 18

Table 5 NPV (in 1E8 USD) as a function of liquid rate and gas lift capacities

We also studied the effect of the gas lift start-up date on the project NPV, see Fig. 20. Results show that for the case studied, it is most convenient to start gas lift as early as possible. In this paper, we did not account for constraints related to logistics (hardware delivery, installation, rig availability, etc.) which can have a great impact on the field development planning.

Fig. 20
figure 20

NPV as a function of gas lift start-up date

Conclusions

  • A methodology to perform field production forecasting and scheduling is presented and discussed. The methodology successfully maximizes oil production in each depletion step by varying gas lift rate and honoring multiple operational constraints.

  • The running times of the proposed methodology are low and might be suitable for early field development studies that require to perform multiple sensitivity studies and uncertainty analysis.

  • The methodology was then used to optimize field design. Optimum ranges for liquid processing capacity and gas lift capacity were determined by brute force exploration of NPV function. The difference between the minimum and maximum NPV in the explored space is substantial.

  • Optimal gas lift start-up was also determined in the same manner. It seems it is best to start gas lift from field production start-up.

Further work

The methodology presented in this paper should be applied to other use cases with more wells. Good candidates are systems with routing issues (e.g., HP/LP lines or routing between platforms). This work has employed a material balance model to represent the reservoir. It should be extended for cases with a 3D reservoir simulation.


Unit conversion

Field

Conversion

S.I.

1 psi

= 6.894757

Pa

1 ft

= 0.3048

m

1 in

= 0.0254

m

1 bbl

= 0.1589873

m\(^3\)

1 cf

= 0.028316846592

m\(^3\)

1 BTU

= 1055.06

J

1 lb

= 0.453592

kg

\(^\circ \hbox {API}\)

\(\rho = 141.5/(131.5 + \gamma _\mathrm {API})\)

g/cm\(^3\)

\(^\circ \hbox {F}\)

\(^\circ \text {C} = (^\circ \text {F} - 32) / 1.8\)

\(^\circ \hbox {C}\)