Introduction

Gas-lift is a simple reliable artificial lift method that is commonly used in offshore oil field development (Fleyfel et al. 2004; White et al. 2018; Shedid and Yakoot 2016; Feder 2019). It is considered as one of the industry’s first and foremost choices to develop low-pressure oil fields, with the proviso that there is a sufficient supply of injection gas. The compressed gas is injected down the production casing–tubing annulus, entering the tubing through the gas-lift valves. Sevic and Grubac (2017) show that as the gas enters the tubing, it forms bubbles and lightens the oil by reducing fluid density as well as lowering the flowing bottom hole pressure, creating a depression that allows the fluid to flow into the wellbore.

Flow assurance in oil and gas production is regarded as the ability to produce fluids economically, from the reservoir to the surface over the life of a field and in any conditions.

The gas-lift application can affect flow assurance issues. A principal challenge in many oil industry production situations is paraffin wax. Up to 80% of the world’s oil suffers when wax precipitates out and solidifies in formation pores and fluid flow channels, at the wellbore, on the sidewalls of wells, in the tubing, casings, pump strings, and in processing systems. Wax precipitation may change the flow behavior of the crude oil from Newtonian to non-Newtonian which leads to higher liquid viscosity and consequently leads an increase in energy consumption for pumping as well as a decrease in pumping capacity (Zheng et al. 2016; Zheng et al. 2017; Drozdov and Gorbyleva 2019; Leontaritis et al. 1998; Gabov et al. 2019). Furthermore, wax deposition in well tubing and processing equipment may lead to more frequent shutdowns and operational hazards and as a result cause dramatic reduction in production, equipment failures, loss of storage and transport capacity, and loss of efficiency.

Wax is composed of n-paraffin, i-paraffin, and c-paraffin with carbon numbers from 18 to 65 (Berne-Allen and Work 1938; Lake et al. 2006; White et al. 2018; Rogachev and Strizhnev 2006). Fadairo et al. (2010) showed that waxes are precipitated as solids with the changing thermodynamic equilibrium when the oil temperature cools down lower than the wax appearance temperature (WAT). Berne-Allen suggested that the WAT is one of the main factors, which needs to be taken into account when developing preventative strategies for handling wax deposition in oil wells. Besides, the operating pressure in the wellbore also influences the formation of the organic wax deposits through its effects on the dissolved gas. The dissolved gas can be perceived as a solvent for organic deposits. Thus, as the gas starts being released from liquid form the probability of wax formation increases (Pedersen et al. 1989; Weingarten and Euchner 1988; Hansen et al. 1988; Decker and Sutton 2018).

The availability of accurate, reliable mathematical models of the gas-lift process is vital for the design and operation of a gas-lift system. Conventional models of continuous gas-lift processes applied a black-oil treatment of the hydrocarbon fluids (Carroll et al. 1990; Schou et al. 1991; Mydland et al. 2020; Du et al. 2018; Coutinho et al. 2017; Zhao et al. 2017). Those models are unreliable due to the multiphase flow regime of the oil and gas mixture and consequently, the pressure drop in the wellbore is highly composition dependent. As the mixture flows up the wellbore, the changes in the flow regime are of paramount importance for developing a reliable continuous gas-lift model which is the compositional multiphase model. There are several programs such as PIPESIM, Aspen HYSYS, and OLGA which are developed specifically for simulation and analysis of the complex multiphase system (Mahmudi and Taghi Sadeghi 2013; Aslanov et al. 2019; Aleksandrov et al. 2019).

The WAT is contingent on the composition of the wax-containing fluid and consequently on the amount of gas dissolved in the oil (Lira-Galeana et al. 1996; Ravindran and Horne 1993). During the production of a gas-lift well, the presence of multiple phases considerably complicates the study of wax precipitation process given the fact that the properties of each fluid present, as well as the compressed gas injected into production tubing must be taken into account. Furthermore, the interactions between each phase must be considered. Mixture properties must be used, and accordingly, the gas volume fractions throughout the pipe need to be determined. Won et al. (1986) and Zhao et al. (2017) show that the WAT prediction methods are based on the thermodynamic phase equilibrium relations. In these methods, the fugacities must be counted. Moreover, the WATs are the same for a pure substance, whereas it is vastly different for a mixture. The well-known methods to study the wax formation process during the production in a gas-lift well have overlooked the effects of the compressed injected gas on the WAT subsequently it leads to a significant error and creates many operational hazards for the development of the oil field. Hence, it is crucial to develop a highly accurate mathematical model to study the wax formation process during the production of a gas-lift well in order to remediate the occurrence of the wax deposits and as a result improve the efficiency of the gas-lift well production.

The novelty of this paper is to provide a detailed study of the wax formation process in a gas-lift well. Taking into account changes in the oil component composition during gas injection, the depth of wax formation has been determined by utilizing a developed algorithm. The optimal operating regime of a gas-lift well (flow rate and the injection pressure of produced gas) has been determined using the compositional multiphase model.

Materials and methods

In this work, we used the results of laboratory studies of the physicochemical properties of the high-wax oil in the Dragon field in Vietnam, as well as the results from modeling the movement of the specified high-wax oil along the wellbore of a gas-lift well through the Schlumberger PIPESIM software package.

Results and discussion

Initial data

The object of the study is a production gas-lift well operating under conditions of intensive organic wax deposit formation in the Dragon field.

The Dragon field is located off the southern coast of Vietnam, 120 km from Vung Tau city. Igneous and metamorphic rocks of the basement and sedimentary deposits represent the geological cross section of Dragon field. The pressure for the basement reservoir is 19.4 MPa, and the current reservoir temperature is 137 °C. The pressure at the bubble point is 13.8 MPa. Physicochemical properties of degassed oil of the basement formation of the Dragon field are presented in Table 1.

Table 1 Physical and chemical properties of degassed oil from the basement formation in Dragon field

These oils of the basement formation can be described as belonging to the high-wax type (wax content is 24.3% by mass) and are resinous with a high pour point.

Method to determine changes in the component composition of oil in a gas-lift well during the injection of produced petroleum gas

The WAT is subject to fluid composition and consequently, the amount of gas dissolved in the oil. During the production of a gas-lift well, the presence of multiple phases considerably complicates the study of wax precipitation given the fact that the properties of the fluid as well as the compressed gas injected into production tubing must be taken into account. Furthermore, the interactions between each phase must be considered. Mixture properties must be used, and accordingly, the gas volume fractions throughout the pipe need to be determined. Moreover, The WAT prediction methods are based on thermodynamic phase equilibrium relations. In these methods, the fugacities must be counted. Furthermore, the WATs are the same for a pure substance, whereas it is vastly different for a mixture. Well-known methods to study the wax precipitation process during the production in a gas-lift well have overlooked the effects of compressed injected gas on the WAT which subsequently leads to a significant error and creates many operational hazards for the development of oil field. Hence, it is crucial to develop a highly accurate mathematical model to study the wax formation process during the production of a gas-lift well in order to remediate the occurrence of wax deposits and as a result improve the efficiency of the gas-lift well production. The main properties of reservoir oil and injected produced gas are given in Table 2.

Table 2 Blend composition of the reservoir oil and injected produced gas (mole fraction,  %)

If the data of the component composition of the reservoir fluid are not divided into separate hydrocarbon components, then it is necessary to redistribute these components into separate pseudo-components according to the Katz method:

$$\sum\nolimits_{n = 7}^{n + } {z_{n} = } z_{{C_{7 + } }}$$
(1)
$$z_{n} = 1.269831z_{{C_{7 + } }} exp( - 0,26721n) + 0.0060884z_{{C_{7 + } }} + 10.425 \cdot 10^{ - 6}$$
(2)
$$M_{n + } = \frac{{z_{{C_{7 + } }} M_{{C_{7 + } }} - \sum\nolimits_{n = 7}^{n + - 1} {\left[ {z_{n} M_{n} } \right]} }}{{z_{n + } }}$$
(3)
$$\gamma_{n + } = \frac{{z_{n + } M_{n + } }}{{\frac{{z_{{C_{7 + } }} M_{{C_{7 + } }} }}{{\gamma_{{C_{7 + } }} }} - \sum\nolimits_{n = 7}^{n + - 1} {\left[ {\frac{{z_{n} M_{n} }}{{\gamma_{n} }}} \right]} }}$$
(4)

where \(z_{{C_{7 + } }}\)—mole fraction of C7+; n—number of carbon atoms; zn—mole fraction of the pseudo-component with n carbon atoms; n+—the last hydrocarbon group in the C7+ group with n carbon atoms, for example 12+; \(M_{{C_{7 + } }} ,\gamma_{{C_{7 + } }}\)—measured molecular weight and specific gravity of C7+; \(M_{n} ,\gamma_{n}\)—molecular weight and specific gravity of the pseudo-component with n carbon atoms.

Based on the known component composition of the hydrocarbon system at a specific pressure and temperature, calculations are performed to determine the molar fraction of the gas \(n_{v}\) and liquid phases \(n_{L}\) in the mixture, as well as the component composition of the liquid xi and gas phases yi.

The flash calculation for determining \(n_{L}\), \(n_{v}\), yi and xi of a hydrocarbon mixture with a known general composition zi and characterized by a set of equilibrium relations Ki are summarized in the following steps:

Step 1 Determination of the molar fraction of the gas phase \(n_{v}\).

Suppose \(n_{v}\) is determined by following the equation:

$$n_{v} = \frac{M}{M + N}$$
(5)
$${\text{where}}\quad M = \sum\nolimits_{i} {\left[ {z_{i} \left( {K_{i} - \frac{1}{2}} \right)} \right]}$$
(6)
$$N = \sum\nolimits_{i} {\left[ {z_{i} \left( {\frac{1}{{K_{i} + 1}} - \frac{1}{2}} \right)} \right]}$$
(7)
$$f(n_{v} ) = \sum\nolimits_{i} {\frac{{z_{i} (K_{i} - 1)}}{{n_{v} (K_{i} - 1) + 1}}}$$
(8)
$$f'(n_{v} ) = - \sum\nolimits_{i} {\frac{{z_{i} (K_{i} - 1)^{2} }}{{\left[ {n_{v} (K_{i} - 1) + 1} \right]^{2} }}}$$
(9)
$$(n_{v} )_{new} = n_{v} - \frac{{f(n_{v} )}}{{f'(n_{v} )}}$$
(10)

where \((n_{v} )_{new}\)—is the new value of \(n_{v}\), which will be used for the next iteration. This procedure is repeated with the new \(n_{v}\) value until convergence is reached:

$$\left| {(n_{v} )_{new} - n_{v} } \right| < eps$$
(11)

where \(eps = 10^{ - 7}\)

Step 2 Determination of the molar fraction of the liquid phase \(n_{L}\):

$$n_{L} = 1 - n_{v}$$
(12)

Equilibrium ratio (Standing correlation):

$$K_{i} = \frac{1}{P}10^{{(a + cF_{i} )}}$$
(13)
$$a = 1.2 + 0.00045P + 15 \cdot 10^{ - 8} P^{2}$$
(14)
$$c = 0.89 + 0.00017P - 3.5 \cdot 10^{ - 8} P^{2}$$
(15)

Characterization parameters:

$$F_{i} = b_{i} \left[ {\frac{1}{{T_{bi} }} - \frac{1}{T}} \right]$$
(16)
$$b_{i} = \frac{{\log (p_{ci} /14.7)}}{{\left[ {\frac{1}{{T_{bi} }} - \frac{1}{T}} \right]}}$$
(17)

where Tbi, Pci—reference values of critical pressures and boiling points of i—component

Step 3 Determination of the component composition of the liquid phase «xi»

Given \(n_{v}\) and \(n_{L}\), we calculate the composition of the liquid phase according to the following equation:

$$x_{i} = \frac{{z_{i} }}{{n_{L} + n_{v} K_{i} }}$$
(18)

Step 4 Determination of the component composition of the gas phase «yi»:

$$y_{i} = x_{i} K_{i}$$
(19)

When injecting the produced gas into a well with a specific gas rate Rg and planned liquid flow rate QL, gas flow through the gas-lift valve is calculated using the following formula:

$$V_{g} = R_{g} Q_{L} /86400,m^{3} /c$$
(20)

The number of moles of produced gas injected through the gas-lift valve is calculated with the formula:

$$PV_{g} = zn_{g} RT$$
(21)

where z—compressibility coefficient of the real gas, z ≈ 1(This parameter can be determined graphically from known reduced pressures and temperatures using the Standing-Katz plot); ng—moles of the injected produced gas; P—the pressure at the injection depth, atm; Vg—volume of the injected gas, l; T—Temperature at the injection depth, K; R—gas constant (0,0821 l atm/mol K).

The temperature and pressure values for calculating the amount of injected gas are obtained from the results of the analysis of the P–T profile through the PIPESIM program.

Step 5 Determination of the new component composition of the gas phase:

We receive m—the ratio of moles of injected gas to moles of oil per unit time:

$$y_{i}^{*} = \frac{{y_{i(g)} m + y_{i} n_{v} }}{{(n_{v} + m)}}$$
(22)

where \(y_{i}^{*}\)—the new component composition of the gas phase of i—component taking into account the injected produced gas; \(y_{i(g)}\)—component composition of the gas phase of i—component included in the injected produced gas. The calculation result is presented in Table 3.

Table 3 The calculation result of the component composition of the gas–liquid mixture at various pressures

Using the obtained results, for which the change in the component composition of the gas–liquid mixture was calculated taking into account the influence of the injected produced gas, the change in the WAT was determined by using the Multiflash 6.1 software product (Table 4).

Table 4 Dependence of the wax appearance temperature on pressure

As a result of the analysis, it was observed that with a decrease in pressure along the wellbore, the WAT decreases. It can be explained that when the pressure drops below the bubble point the light ends start being released from the oil. The effect of changes in the component composition of the studied oil on the WAT, when dissolved gas started being released from the oil, is directly correlated with the results highlighted in the article (Aleksandrov et al. 2019). In this work, the authors have proven that an increase in the content of hydrocarbon gases (methane, ethane, and propane) might lead to an earlier transition of wax to the solid phase. The remaining hydrocarbon components from butane to nonane, on the contrary, act as solvents, slowing down the process of wax formation.

Determination of the optimal operating regime of the gas-lift well

The availability of accurate, reliable mathematical models of the gas-lift process is vital for the design and operation of a gas-lift system. The standard black-oil model is utilized in almost all prior studies of gas-lift well performance. Conventional studies assume that the hydrocarbon fluid system has a consistent composition. Therefore, most of the studies are performed based on the reduced black-oil model, in which it is alleged that the oil and gas phases are identified by oil and gas specific gravities that are regarded as constants during the production. In a standard black-oil model, PVT properties of hydrocarbon phases are described as a single function of pressure and temperature. Consequently, oil and gas properties such as viscosity, density, as well as specific volume are calculated by experimental correlations at a specific pressure and temperature (Mahmudi and Taghi Sadeghi 2013). Besides, the effect of compositions on pressure and temperature is omitted in the standard black-oil model. In reality, the effect of compositions on pressure profile and fluid flow properties should be considered when studying fluid behavior in a gas-lift well. There are several programs such as PIPESIM, Aspen HYSYS, and OLGA which are developed specifically for simulation and analysis of the complex multiphase system (Fig. 1).

Fig. 1
figure 1

Dependence of the wax appearance temperature on pressure

The compositional multiphase model can be employed to predict the gas-lift well performance and select the optimal operating regime for the well the results of which is highly accurate compared to the conventional black-oil model. In this paper, we use the compositional multiphase high-wax model through the PIPESIM software product to study the performance of the gas-lift under conditions of intensive organic wax formation. The parameters of the basement formation wells are given in Table 5.

Table 5 Well parameters

During production, the initial reservoir pressure declines to 19.4 MPa. To provide the well with sufficient energy to lift the fluid to the surface and achieve the planned flow rate (100 m3/day), it is necessary to use artificial lift methods for operating the well, in this case, the gas-lift method implemented. Figure 2 shows the characteristics of the reservoir–well system of a gas-lift well. The planned flow rate for liquid (100 m3/day) is ensured with the injection pressure 10 MPa and gas flow rate 20,000 m3/day. The graph shows the line corresponding to the pressure of saturation of oil with gas (the bubble point).

Fig. 2
figure 2

Characteristics of the reservoir–well system of a gas-lift well

Having created models of a gas-lift well and the flow of high-wax oil, we could simulate various hypothetical scenarios of well performances, such as pressure drops along the wellbore, an increase in water cut, etc., and subsequently, estimate the most effective options for the gas-lift well-operating regime. Table 6 and Fig. 3 show the effect of an increase in water cut on the change in the liquid flow rate of the gas-lift well.

Table 6 The results from water cut effect analysis
Fig. 3
figure 3

The effect of an increase in water cut on the change in the liquid flow rate of the gas-lift well

It was perceived that with an increase in water cut to the phase inversion point (in the range from 50 to 60% water cut), an increase in the viscosity of the oil–water emulsion is observed, which leads to a decrease in the liquid flow rate of the gas-lift well. With a water cut of over 60%, an increase in well production is obtained.

Using the system analysis function to evaluate the effect of changes in the gas rate of the injected produced gas on the liquid flow rate of the gas-lift well allows us to determine the effective regime of the well operation with an increase in water cut. Figure 4 shows the results of choosing the optimal operation regime of the gas-lift well during the production of water contained products.

Fig. 4
figure 4

Choosing the optimal operation regime of the gas-lift well

Using results obtained by choosing the optimal regime of the gas-lift well during the production of water contained products, it was established that the liquid flow rate of the well increases with an increase in the gas injection rate to a point after which the liquid flow rate of the well plateaus (Table 7).

Table 7 Determination of optimal compressed gas injection rate for various water cuts

Determination the depth of wax formation

The wax appearance temperature in the gas-lift well is a function that depends on pressure, fluid temperature, oil component composition, liquid flow rate and component composition of injected petroleum gas. In this paper, the pressure and flow temperature distribution curves are obtained from the analysis of the P–T profile in the PIPESIM program. The wax deposits start crystalizing when the temperature of the flow falls below the WAT, so the depth of the onset of wax formation corresponds to the intersection of the distribution of the flow temperature curve and the WAT curve obtained by using the developed algorithm (Fig. 5).

Fig. 5
figure 5

Determination of wax formation depth in the gas-lift well

According to the results, by applying the compositional multiphase model, it is established that the depth corresponding to the onset of the formation of wax deposits in the gas-lift well is from 350 to 360 m from the wellhead compared to 290–310 m which observed by using reduced black-oil model.

Conclusions

As a result of the study using the developed algorithm, taking into account the effect of the injected gas, it was observed that when the pressure decreases during the lifting of the fluid along the wellbore, the wax appearance temperature decreases.

The results from the modeling where the highly accurate compositional multiphase high-wax model was applied show that with an increase in water cut to the phase inversion point (in the range from 50 to 60% water cut), an increase in the viscosity of the oil–water emulsion is observed, leading to a decrease in the liquid flow rate of the gas-lift well. With a water cut of over 60%, an increase in well production is obtained. The optimal well operation mode was determined by interpreting the well system analysis, which shows that the liquid flow rate of the well increases with an increase in the gas injection rate to a point after which the liquid flow rate of the well plateaus.

The results from determination the depth of wax formation by applying the compositional multiphase model show that the depth corresponding to the onset of the formation of wax deposits in the gas-lift well is from 350 to 360 m from the wellhead compared to 290–310 m which is observed by using the reduced black-oil model.