The flow of crude oil, water, and gas from the reservoirs through the wellheads results in its deterioration. This deterioration which is due to the impact of turbulence, corrosion, and erosion significantly reduces the integrity of the wellheads. Effectively managing the wellheads, therefore, requires the knowledge of the extent to which these factors contribute to its degradation. In this paper, the contribution of some operating parameters (temperature, CO2 partial pressure, flow rate, and pH) on the corrosion rate of oil and gas wellheads was studied. Field data from onshore oil and gas fields were analysed with multiple linear regression model to determine the dependency of the corrosion rate on the operating parameters. ANOVA, value test, and multiple regression coefficients were used in the statistical analysis of the results, while in previous experimental results, de Waard-Milliams models and de Waard-Lotz model were used to validate the modelled wellhead corrosion rates. The study shows that the operating parameters contribute to about 26% of the wellhead corrosion rate. The predicted corrosion models also showed a good agreement with the field data and the de Waard-Lotz models but mixed results with the experimental results and the de Waard-Milliams models.

1. Introduction

Corrosion of materials is a major challenge to maintaining the integrity of equipment in the industry. Mobile and static mechanical equipment like pipelines, vessels, tanks, compressors, turbines, and so forth have been periodically subjected to degradation and failure due to corrosion. According to reports [1], the cost of corrosion in the US will hit 6.2% of GDP in 2012, making it the most expensive single venture in the economy. The impact of corrosion in the oil and gas industry significantly contributes to the nonproductive time (NPT) of 20–30% lost from exploration to production [2]. Corrosion of pipeline accounts for about 35% of failures associated with pipeline leakage and bursting in Canada [3], while 50% of the loss of containment hazard in Europe between 1980 and 2006 was a result of the ageing plant mechanism [4] triggered by corrosion-related fatigue cracking and erosion. Corrosion also ranks second to the highest most frequent initiating factor leading to loss of containment in UK [4, 5]. While external corrosion, stress corrosion cracking, and microbiologically influenced corrosion have significantly resulted in pipeline failures, failure attributable to sour and sweet corrosion which results from activities of CO2 and H2S has contributed to over 50% of all pipeline failures [3].

Over the decades, experts have worked to combat the menace of corrosion with varying degree of success. They have used many techniques that include use of alternative materials, modification of microstructures, addition of new elements to existing alloys of metals, use of chemical inhibitors, and linings; however, the act of corrosion has not been prevented from occurring. Corrosion has just continued to occur because materials are continually trying to return to the original energy state via lowering of their Gibb’s energy [6].

Considering the overwhelming importance of pipelines in the oil and gas industry, the contribution of experts in combating the corrosion problem cannot be overemphasized. This is pertinent to the safeguarding of the environment, personnel, and cost associated with oil and gas production. The growth in the demand of oil and gas around the world has increased the need of exploration in unfriendly terrains like deep waters and the Antarctica. This has increased the pressure on the exploration equipment and consequently the pipeline which plays a major role in the transportation from the oil and gas reservoirs. The consequences of this pressure on pipelines and other equipment are overutilization, reduction in life cycles, and failures [7, 8].

To reduce the problem of corrosion and enhance pipeline integrity, corrosion experts have worked on different corrosion prediction models in a bid to identify the best way to determine corrosion in pipelines. Many authors have investigated the corrosion problem in oil and gas pipelines using electrochemical, mechanistic, semiempirical, empirical, hybrid, and probabilistic methods and so forth [916]. Their works have focused on knowing the contribution of different operating parameters in the oil and gas such as CO2, H2S, temperature, bacteria, and so forth on the entire corrosion process. Others investigated the impact of the mechanical process of fluid flow and associated effects of turbulence on corrosion of pipelines, well tubing, vessels, tanks, and so forth [1719]. Despite the enormity of the work on corrosion, it is difficult to summarily prescribe a holistic solution to the corrosion process. This is because of the complex electrochemical and physical processes involved. The most important parameters that can enhance the result of corrosion prediction are those related to the steel properties, water chemistry, flow pattern, oil-versus-water wetting, and operating conditions [20]. This is why the works of numerous authors focused on them [7, 8, 10, 11, 15, 1922].

Corrosion prediction models that were aimed at the multiphase flow regime, pH, H2S, CO2, and so forth were used by some authors [2022] to establish the extent of internal corrosion of pipelines at different operating conditions. This helped to establish the point where mitigation is necessary in order to reduce the level of risk that corrosion poses on the pipeline. Chemical inhibitors are injected in most instances to mitigate the effect of the corrodents; while in extreme cases, more severe measures like replacement of the pipeline with more resistant materials are considered. A lot of authors have numerous corrosion experimental results [11, 15, 16, 21, 22] that were not verified with field conditions; this resulted in numerous laboratory results not having good practical relevance in the field. It is, therefore, important to understand the trend thatcorrosion field data follows with respect to the operating condition in order to enhance the acquisition of corrosion prediction results that will have high practical relevance. Though the works of the utilization of case-based reasoning (CBR) [23], and stochastic modelling for CO2 corrosion via metal loss and precipitation process [24] were excellent works, they have limited validation with field data. This made to have little application in the industry.

Many pipeline corrosion models failed to recognize the contribution of H2S, organic acids, and microorganisms in the corrosion process; however, some authors [25] built a comprehensive integrated CO2/H2S corrosion multiphase flow model. The interaction of the experimental results with the field data made it possible for the authors to predict the critical velocity for entraining free water by the flowing oil. This result shows a good practical relevance for corrosion prediction of pipelines. In a bid to show the contribution of gas flow in pipeline corrosion, another researcher [26] applied a mechanistic model to predict the corrosion damage rate of distribution observed in oil wells operating within mature oil field. The work showed that CO2 can be quantitatively determined for a uniform corrosion in pipeline that resulted in localized attack.

Many other experimental results about the impact of CO2, H2S, temperature, O2, acetic acid, and bacteria on corrosion of carbon steel are found readily in the literature [913, 27, 28]. Temperature increase has been shown to increase corrosion rate until a particular threshold when the increase stops to affect corrosion [22, 29]. The presence of O2 enhances the corrosion process, while H2S has been shown to cause localized pitting corrosion in pipelines [27]. Acetic acid and other organic and inorganic acids also aid in the increasing of corrosion rate and initiation of localized corrosion and pitting [30, 31]. Other authors utilized mechanistic modelling to predict corrosion rate in steel surfaces. This approach which involved homogenous chemical reaction, electrochemical reaction at the steel surface, and transportation of specie in the bulk solution was utilized by many authors in their prediction of CO2 corrosion rate [11, 21, 32].

Due to the importance of wellheads in the transportation of oil and gas from the reservoir to the pipelines, it is necessary to maintain the integrity at all times; however, due to turbulence, corrosion, erosion, and other factors, they are continuously deteriorating in operation. To be able to understand more about this deterioration as a result of corrosion, the effect of certain operating parameters on the wellhead corrosion rates was studied.

In this study, historic field data of wellhead corrosion rates measured with ultrasonic thickness measurement (UTM) technique, temperature, CO2 partial pressure, flow velocity of crude oil, mixed flow velocity, and pH were used. The main objective of this research is to establish to which extent these operating parameters affect wellhead corrosion rate.

2. Research Methodology

Historical data from the company operating the Nigerian oil mining license (OML61) were obtained from the organization’s historical records. The wellhead corrosion rates were determined by using the ultrasonic thickness measurement (UTM) technique, while the temperature, operating pressure, pH, CO2 content, and production rates of oil, gas, and water were obtained as a routine well monitoring procedure. The flow rates of the fluids were obtained through calculation using the information from the parameters obtained. The summary of the data obtained is shown in Tables 1 and 2.

2.1. Model Development

The wellhead corrosion rate can be expressed as a function of the operating parameters of the production well according to the following: where = wellhead corrosion rate (mm/yr), = temperature (°C), = CO2 partial pressure (mpa), = mixed velocity of fluid flowing through the wellhead (m/s), and = flow velocity of the crude oil (m/s).

To model the effect of the listed operating parameters on the corrosion rate of the wellhead, a linear regression model is adopted. The regression equation that is used to predict the impact of the operating parameters on the wellhead corrosion rate (due to the combination of these operating parameters) is shown in : where and are the normal and slope coefficients due to the operating parameters ( , , , , and )

Equations can be written as a single matrix equation as shown in (1). Consider where , is a vector of measured wellhead corrosion rates at different levels of the operating parameters ( variables).

The matrix form of the operating parameters is shown to be in the form of and contains the regression coefficients due to the operating parameters.

Solving for the residual sum of squares by introducing an error factor ( ) to , a normal least equation of the form shown in (3) is obtained as follows: The solution of the normal equation (3) gives the solution of the independent coefficients of the operating parameters. This is given as follows:

Multiple regression and analysis of variance (ANOVA) test was performed at 95% confidence level to examine the combined effect of temperature, CO2 partial pressure, flow velocity, and pH on wellhead corrosion rate of the studied oil fields.

2.2. Validation of the Model

To test the accuracy of these models, three out of the thirty-three field data obtained from OML61, de Waard and Milliams model (DM) [13], modified de Waard and Milliams model (MDM) [9], de Waard and Lotz model (DL) [12], and experimental results of Zhou and Jepson (1993), Jepson and Menezes (1994), and Bhongale et al. (1996) from the NSF/IUCRC multiphase system centre (as reported by Zhang et al. (1997) [21]) were used.

2.3. De Waard and Milliams Model

This is one of the oldest known mechanistic models for predicting CO2 corrosion. This model is based on the electrochemical studies carried out by de Waard and Milliams to show the correlation between temperature (°C), CO2 partial pressure, and corrosion rate (mm/yr). The equation for the CO2 corrosion rate is shown as follows: where: = corrosion rate (mm/yr), = temperature (°C), = CO2 partial pressure (mpa).

De Waard and Milliams revised the constants of the formula in (7) based on the experimental results of Dugstad et al. (1994) [10] and obtained the following expression: To further validate this model, de Waard and Lotz modelled corrosion rate with respect to velocity in the absence of surface scale with a parallel resistance model [12]. The result of their experimental analysis is summarized in (9) the following: where = corrosion rate, = flow-independent contribution denoting the reaction rate, and = flow-dependent contribution denoting the mass transfer rate as follows: where = temperature (°C), and = CO2 partial pressure (mpa). Consider where = liquid flow rate (m/s), and = hydraulic diameter of the pipe.

3. Results and Discussions

The correlation results of the corrosion rate in the wellhead as a dependent variable and the operating parameters ( , and ) are shown in Table 3.

The correlation coefficient ranges from 0.168 to 0.336, while the adjusted ranges from 0.106 to 0.259. This result implies that only 10.6% of the effect of temperature and CO2 partial pressure contributed to the corrosion rate on the oil field wellheads when the corrosion rate was determined as a function of only the two parameters, while 25.9% of wellhead corrosion was caused by the combined effect of temperature, CO2 partial pressure, oil flow rate, and pH of the associated formation of water in the mixture.

The field data showed significance at values of 0.045, 0.013, and 0.026 for wellhead corrosion rates with the following combination of operating parameters: , , and , while is not significant at 0.083 for ( ) at 95% confidence level as shown in Table 4.

This could imply that only the corrosion rate determined using temperature and CO2 partial pressure is not statistically significant; however, the result shown in Table 3 for adjusted square of correlation coefficient shows that none of the combinations is statistically significant due to the low effects of the operating parameters on the wellhead corrosion rate.

The value of the variables shows that the coefficients of the operating parameters have values higher than the 0.05 for all the variables as shown in Table 5.

This is a further proof that the test is not statistically significant. Though some of the studied operation parameters , , and were statistically significant with the result of ANOVA in Table 4, the value and square of correlation coefficient ( ) show statistical insignificance. This result could imply that the effect of other electrochemical, chemical, and mechanical activities associated with the flow of the fluid might have also affected the corrosion rate. The activities of bacteria and the organic and inorganic compounds could have also affected the corrosion rate as was pointed by some of these authors [30, 3335]. Another possible cause of minimal effect of the operating parameters on the wellhead corrosion rate is the bubbles production effect of multiphase flow system due to turbulence in the flow regime. This is supported by the research on the effect of bubbles on mass transfer in multiphase flow [32].

The coefficients of the operating parameters in Table 5 were used to develop the set of linear regression equations in (12)–(15) for wellhead corrosion rate as follows: The modeled result for wellhead corrosion rate due to temperature, CO2 partial pressure, pH, and mixed flow rate (see (12)) was compared with field data, and the result is shown in Figure 1.

The result shows that there are some similarities between the modelled result and field data. Whereas the field data ranges from 0.06 to 0.51 mm/yr, the modelled result ranged from 0.13 to 0.38 mm/yr. This result shows that there is a reasonable degree of agreement between the field data and the modelled prediction results.

The result of wellhead corrosion rate as a function of temperature, CO2 partial pressure, and mixed flow velocity of the fluid (see (13)) was compared with experimental results of Zhou and Jepson (1993), Jepson and Menezes (1994), Bhongale et al. (1996). This result was reported by Zhang et al. [21]. The summary of the results comparison is shown in Table 6.

The result shows that there is variation between the experimental results and the prediction model across the range of mixed velocity and CO2 partial pressure.

The same set of experimental results reported by Zhang et al. (1997) [21] was used to compare the result of the model using (14) in Table 7. The result shows that the modelled results and the experimental results have a mixed relationship across the various CO2 partial pressure and oil flow velocity.

The model reasonably predicted the corrosion rate with a small degree of variance at lower CO2 partial pressure and higher flow velocity with modelled corrosion rate higher than the experimental corrosion rate at  mpa and = 1–1.8 m/s. The prediction was much lower than the experimental values at lower velocity and higher CO2 partial pressure. The result of the model equation (14) also showed a good agreement with de Waard-Lotz model [12] as shown in Figure 2.

For temperature between 30–80°C, 0.1 MPA, and velocity of 1 m/s, the predicted model gave a corrosion rate that is generally slightly higher than that predicted with the de Waard-Lotz model, while at 20°C, the corrosion rate predicted by de Waard-Lotz model is slightly higher than that predicted by the predicted model. The range of prediction for the prediction model is 1.15–3.61 mm/yr, while that of de Waard-Lotz model is 1.34–2.16 mm/yr.

Figure 3 shows that as the temperature increases, the predicted wellhead corrosion model (see (15)) increases as both well as de Waard-Milliams model [13] and the modified de Waard and Milliams model [12]. At temperature of 20–80°C, the predicted wellhead corrosion rate ranges from 0.253–0.561 mm/yr, the de Waard-Milliams model ranges from 0.448 to 0.469 mm/yr, while the modified de Waard-Milliams model shows a range of 0.391–1.077 mm/yr.

4. Conclusion

The effect of the operating parameters (temperature, CO2 partial pressure, pH, and flow rate) on the rate of corrosion of oil and gas wellheads was studied using regression modelling of historical field data. The study shows that about 26% of wellhead corrosion is caused by these operating parameters. Other factors that could have an impact on wellhead corrosion rate are organic and inorganic acids, bacteria, turbulence, erosion, erosion-corrosion, bubbles formation, and condensation resulting from the flow of the oil and gas [18, 32, 3437].

The predicted corrosion model was validated with field data, experimental results, and de Waard-Milliams corrosion models. The result showed a good agreement between the field data and mixed results of both the experimental and de Waard-Milliams models.