Next Article in Journal
Novel Composites of Poly(vinyl chloride) with Carbon Fibre/Carbon Nanotube Hybrid Filler
Next Article in Special Issue
Effect of Chromium Content on the Oxidation Behavior of a Ta Stabilized γ’-Strengthened Polycrystalline Co-30Ni-10Al-4W-4Ti-2Ta Alloy
Previous Article in Journal
The Effect of the Material Periodic Structure on Free Vibrations of Thin Plates with Different Boundary Conditions
Previous Article in Special Issue
Study on Electrical Pitting Prevention Device of a Rotating Shaft Using Automatic Control Potential Balancing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Evaluation of Corrosion Residual Life Prediction Methods for Metal Pipelines

1
National Engineering Laboratory for Pipeline Safety, MOE Key Laboratory of Petroleum Engineering, Beijing Key Laboratory of Urban Oil and Gas Distribution Technology, China University of Petroleum (Beijing), Beijing 102249, China
2
China Waterborne Transport Research Institute, Beijing 100088, China
3
Beijing Gas Group Co., Ltd., Beijing 100035, China
4
National Petroleum and Natural Gas Pipe Network Group Beijing Pipeline Co., Ltd., Beijing 100101, China
*
Author to whom correspondence should be addressed.
Materials 2022, 15(16), 5624; https://doi.org/10.3390/ma15165624
Submission received: 19 May 2022 / Revised: 4 August 2022 / Accepted: 10 August 2022 / Published: 16 August 2022
(This article belongs to the Special Issue Advance in Corrosion and Protection of Metals)

Abstract

:
The analysis of the basic characteristics of various research methods is highly needed to predict the residual life of the pipeline accurately, help managers understand the operational risks, and provide a reference for developing pipeline transportation and maintenance inspection plans and anti-corrosion measures. Based on a comprehensive investigation of the existing research on the residual life of the pipeline, this paper finds that the current mainstream life prediction method, based on historical statistical data, has the shortcomings of inconsistent modeling methods, inconsistent basic data, and a lack of comparative evaluation among methods. Moreover, considering the in-depth study of BP neural network modeling, grey theory modeling, time series modeling, and exponential smoothing modeling, optimal prediction models using different methods based on the same historical data are established. These optimal modeling methods are discussed, and the feasible modeling path for the accurate prediction of the pipeline’s residual life is given by comparing the prediction accuracy of each model. In addition, the findings serve as a guide for developing an anti-corrosion strategy by highlighting the contribution of the prediction results of the residual life to pipeline decision-making. By comparison, it is found that the accuracy of the four prediction models is as follows: the grey theory prediction model, the exponential smoothing prediction model, the BP neural network prediction model, and the time series prediction model, from high to low, respectively.

1. Introduction

A great number of statistics show that corrosion defects are the main factors causing pipeline accidents. Corrosion severely restricts pipeline capacity and increases the expenditure of capital. For high-pressure, burnable, and detonatable oil and gas pipelines, once corrosion failure occurs, the consequences are very serious. Therefore, it is of great significance to master the corrosion condition and residual life of pipelines to facilitate transportation, maintenance plans and anticorrosive measures.
In recent years, there has been an increasing emphasis on the prediction of the residual life of corroded pipelines. Current research methods mainly fall into three categories. In category Materials 15 05624 i001, the pipeline corrosion rate is regarded as an uncertain and random value, and the residual life of the corroded pipeline has been predicted by studying the distribution model of the maximum corrosion depth data, which mainly includes GEV distribution, Gumbel distribution, Frechet distribution, and Weibull distribution. Zhang X S et al. [1] established a residual life prediction model of corroded oil and gas pipelines based on improved GEV distribution. Firstly, the Markov Chain Monte Carlo (MCMC) method was used to estimate the parameters of the GEV distribution function and determine the type of extreme value distribution. When the graphic test was found to be reasonable, then the distribution could be used to predict the maximum corrosion depth. Secondly, a corrosion allowance prediction model was established based on the reliability and safety of the pipeline. Finally, according to the data of the maximum corrosion depth, corrosion allowance and annual service life of the pipeline, the relationship index model of the three was established to predict the residual life of the pipeline. Based on Gumbel distribution, Zhang X S et al. [2] processed the maximum corrosion depth data randomly selected from the inspection data of an oil and gas pipeline, established the prediction model of the maximum corrosion depth of the pipeline, and then estimated the value of the parameters of the prediction model with the Markov Chain Monte Carlo (MCMC) method and predicted the possible maximum corrosion depth through the model. Hence, based on the obtained corrosion depth, critical corrosion depth and pipeline service life and other data, the relationship index model between the three was established to predict the residual life of oil and gas pipelines. Wang R et al. [3,4] realized the scientific evaluation and prediction of the corrosion status and operation of offshore oil and gas pipelines by utilizing Frechet extreme value distribution to establish the prediction model of the maximum corrosion depth of offshore oil and gas pipelines, combined it with the Monte Carlo (MC) method to estimate the parameter value of the prediction model and predict the possible maximum corrosion depth, and analyzed and predicted the maximum probability of pipe wall corrosion through the Markov Chain model. Similarly, F. Caleyo et al. [5] used the Monte Carlo simulations to study the probability distributions of external corrosion pit depth and pit growth rate in underground pipelines and combined a predictive pit growth model with the observed distributions of the model variables in a range of soils. Depending on the pipeline age, any of the three maximal extreme value distributions, i.e., Weibull, Fréchet or Gumbel, can arise as the best fit to the pitting depth and rate data.
Category Materials 15 05624 i002 is based on the reliability theory, using the ultimate limit state function to establish the mathematical probability model of pipeline failure, and predict the residual life of the pipeline and the cumulative failure probability at a given time. Shuai J [6] regarded various factors affecting the residual life of pipelines as random variables with different distributions, and established a mathematical probability model to predict pipeline failure. Using this model, the effects of corrosion rate, defect depth, pipe wall thickness, and working pressure on the reliability of the pipeline were studied. The corrosion rate obtained from the analysis can reasonably predict the safety status of the whole pipeline. Yu S R et al. [7] established a probability model for predicting the residual life of pipeline corrosion based on the shell-92 deterministic model. The Monte Carlo method was used to calculate the residual life of the pipeline and its cumulative distribution function, and the parameter sensitivity analysis was carried out. The main parameters affecting the corrosion residual life of the buried pipeline and their variation with the service time were discussed. Alma Valor et al. [8] derived different corrosion rate distributions from various corrosion growth models and used these to perform reliability analyses of underground pipelines. Hu Q F et al. [9] proposed a nonlinear prediction model for the maximum corrosion depth of gas pipelines under different sample independence by using the Bayesian estimation method based on the probability distribution of model parameters, and solved the model by using the MCMC method. Luo J H et al. [10] used the size data of nearly 1000 corrosion overhaul defects of a pipeline over the years to calculate the corrosion rate distribution of the pipeline and establish a probability distribution model of corrosion rate. Based on the reliability theory, the corrosion residual life of the pipeline was predicted by using the limit defect size data determined by the corrosion residual strength evaluation. Additionally, three deterministic and probabilistic models were introduced by Markus R. Dann et al. [11] to account for the sizing bias present in in-line inspection data for corrosion growth analysis.
Category Materials 15 05624 i003 is based on historical statistical data such as corrosion rate and remaining thickness, using different modeling theories and methods to explore the change rules in the historical data, and extrapolating the data in the timeline to predict the residual life of the pipeline. The Modeling methods and theories used in this kind of research mainly include the BP neural network modeling method, gray theory modeling method, exponential smoothing method and time series prediction method. Using the grey theory, Yu X C et al. [12] proposed effectively predicting the corrosion rate via the complex mapping relationship between the corrosion rate and the corrosion influencing factors in the water injection pipeline. At the same time, to improve the prediction accuracy, the standard GM (1,1) model was reasonably improved, in order to predict the change trend of the corrosion rate with time. Wang H T et al. [13] used the cubic exponential smoothing method to establish the prediction model of the pipeline corrosion rate, fitted and predicted the corrosion rate data, and obtained the most reasonable weight coefficient in the prediction model α. Then, through the comparative analysis with the primary exponential smoothing method and the quadratic exponential smoothing method, it was concluded that the cubic exponential smoothing method has higher prediction accuracy and that the predicted value is consistent with the actual value. Kevin S et al. [14] utilized historical excavation and recoat information to identify static defects and quantify systemic bias between inspections. To reduce differences in reporting and the analyst interpretation of the recorded magnetic signals, novel analysis techniques were employed to normalize the data sets against each other. The resulting uncertainty of the corrosion growth rates was then further reduced by deriving and applying a regression model to reduce the effect of the different sizing models and the identified systemic bias. Liu X N [15] established the quantitative relationship between corrosion residual life and corrosion rate, coefficient of variation, corrosion allowance and reliability, and obtained the calculation formula to determine the corrosion residual life. Zhang X S et al. [16] analyzed the feasibility of building a grey theory model, established a GM (1,1) model with optimized parameters, changed the initial conditions of the model, and predicted the corrosion depth of submarine pipelines. According to the predicted corrosion depth, the Markov model was used to quantitatively analyze the future corrosion state of the submarine pipeline and predict its residual life. Xiao W et al. [17] determined the corrosion risk prediction method suitable for the Tahe Oilfield by comparing the application scope, reliability and economy of five common pipeline corrosion risk prediction methods. The classical BP neural network algorithm was optimized with the help of a genetic algorithm, which effectively improves the accuracy and reliability of the BP neural network. Yao Q [18] used the historical data collected on site, combined with the characteristics of the corrosion problem, and adopted the time series model to predict the corrosion rate. On this basis, he used the Monte Carlo method to evaluate the residual life of the equipment, and judged the residual service life of the equipment through the statistics of the corrosion failure probability of the equipment, so as to obtain the residual life of the equipment.
Compared with category Materials 15 05624 i001, category Materials 15 05624 i003 can reflect the relationship of corrosion degree with time more directly. Meanwhile, compared with category Materials 15 05624 i002, category Materials 15 05624 i003 can directly provide the residual life of the pipeline under the current corrosion condition, but not the reliability or failure probability of the residual life. At present, most of the researches who prefer category Materials 15 05624 i003 of methods focus on the selection of modeling methods and theories. However, the lack of comparative studies using the same basic statistical data and different modeling methods and theories makes it challenging to objectively and quantitatively assess the benefits and drawbacks of the prediction accuracy of each method. Based on the same basic statistical data, this study uses a variety of modeling methods and theories to establish residual life prediction models. By comparing the accuracy of the predictions, it then discusses the applicability and reliability of each modeling method and theory.

2. Prediction Method of Residual Life of Metal Pipe

This study evaluates the application effects of the BP neural network method, grey theory method, exponential smoothing method and time series prediction methods in metal pipeline corrosion. The research ideas can be described as follows: establishing the prediction model by using each modeling method, then optimizing the parameters of each model based on the same basic statistical data, and finally getting the optimal prediction model under each modeling method. The optimal prediction model is used for prediction, and the prediction results are compared with the measured values to evaluate the applicability and reliability of each method. Then, the application strategy of corrosion life prediction results in corrosion prevention is discussed (Figure 1).
For a given metal pipe, its corrosion depth in the i-th period can be expressed by the average corrosion rate:
V i = δ i T i = d i , 1 d i , 2 T i
where V i is the average corrosion rate in the i-th period, mm/a; δ i is the corrosion depth in the i-th period, mm; Ti is the length of the i-th period, a; d i , 1 is the pipe wall thickness at the beginning of the i-th period, mm; and d i , 2 is the pipe wall thickness at the end of the i-th period, mm.
After corrosion for a long time (N time cycles), the remaining wall thickness (d) of the pipeline is:
d = d 0 i = 1 N δ i = d 0 i = 1 N ( V i T i )
where d0 is the initial wall thickness of the pipeline, mm.
As can be seen from Equation (2), the following two routes can be used to predict the residual life of corroded pipelines under the condition that the minimum allowable thickness of pipelines is determined (which can be calculated by the ultimate bearing capacity and other methods [10]).
Method of predicting residual wall thickness: By obtaining the remaining pipe wall thickness at fixed periodic points, such as the routine inspection of the pipe wall’s thickness once a year, modeling methods and theories are further used to establish a prediction model to predict the change value of the wall thickness in subsequent cycles, and the calculation results are compared with the minimum allowable thickness of the pipe to determine the residual life of the corroded pipe [15].
Method of predicting average corrosion rate: According to Equations (1) and (2), it can be seen that there is a definite relationship between the corrosion depth and the average corrosion rate in a certain period. Using a method similar to the prediction of residual wall thickness, the average corrosion rate within a fixed period is taken as the prediction object, and the corrosion depth and residual corrosion thickness are obtained through transformation. The residual life of the corroded pipeline is obtained after comparing it with the minimum allowable thickness of the pipeline [12,17,18].
The above two methods are similar. The method of predicting the average corrosion rate is selected in this study—that is, to predict the change rule of the average corrosion rate in each period of the corrosion pipeline in the subsequent operation. Therefore, the main factors determining the prediction accuracy are the applicability and accuracy of modeling methods and theories.

3. Modeling Methods and Theories

3.1. The BP Neural Network Modeling

Among the many neural networks, the multilayer perceptron neural network is one of the most popular ones. Such networks typically consist of one input layer, one or more hidden layers, and one output layer (Figure 2). Each layer contains multiple neurons, and the input layer receives input signals x1, x2, …, xc, while the output layer returns the output result y.
In the multi-layer perceptron neural network, each neuron is a signal transmission node and can receive multiple input signals a 1 , a 2 ,…, a n . For neuron j, the weight of signal ak is wkj. The weighted results are summed and the threshold b j is added as the total input of the neuron (Figure 3). Finally, the transfer function h is applied to the total input to obtain the neuron’s output OTj:
O T j = h ( k w k j a k + b j )
where h is the transfer function, which is used to establish the relationship between the neuron input and output.
The transfer function can introduce nonlinear factors into neurons, so the neural network can approximate any nonlinear function. Thus, this neural network can be applied to nonlinear models. In practical applications, there are many optional transfer functions, and the sigmoid function is more commonly used:
h ( S j ) = 1 1 + e S j
where S j = k w k j a k + b j is the total input of neuron j.
When the ownership value and threshold value of each neuron in the neural network are determined, the functional relationship between the total input of the neural network x 1 , x 2 ,…, x c and the final output y is uniquely determined, which is the mapping relationship between input and output determined by the neural network:
y = l ( x 1 , x 2 , , x c )
where l is the mapping relationship between total input x 1 , x 2 ,… , x c and output y.
The implementation steps of the BP neural network algorithm are as follows:
Step 1: set the number of nodes, transfer function, weight and threshold of each neuron in the input layer, hidden layer and output layer.
Step 2: input training samples and calculate the results of the hidden layer units and output layer units.
Step 3: calculate the network output error, and then back propagate to the input layer by layer through the hidden layer, and allocate the error to all units of each layer.
Step 4: adjust the weight and threshold of each unit of each layer according to the error signal back propagated.
Step 5: check whether the total error of the network meets the accuracy requirements. If so, the training ends; If not, return to step 2.

3.2. The Grey Theory Modeling

Grey theory refers to the fuzziness, randomness and uncertainty of a system. The establishment model of grey theory system is called grey theory model, which is called the GM model for short. GM model can reveal the characteristics and the laws of continuous development and change hidden in the system. The grey theory prediction model generally refers to the GM (1,1) model. x ( 0 ) = [ x ( 0 ) ( 1 ) , x ( 0 ) ( 2 ) , , x ( 0 ) ( n ) ] ; x ( 1 ) is the 1-AGO sequence of x ( 0 ) .
x ( 1 ) = [ x ( 1 ) ( 1 ) , x ( 1 ) ( 2 ) , , x ( 1 ) ( n ) ]
The relationship between x ( 0 ) and x ( 1 ) is:
x ( 1 ) ( p ) = m = 1 p x 0 ( m )
GM (1,1) model is defined as:
x ( 0 ) ( p ) + u z ( 1 ) ( p ) = f
where z ( 1 ) ( p ) is the background value of GM (1,1) model.
The whitening differential equation of GM (1,1) model is:
d x ( 1 ) ( t ) d t + u x ( 1 ) ( t ) = f
The integration of Equation (9) on the interval [p−1, p] can be obtained as follows:
p 1 p d x ( 1 ) ( t ) d t d t + u p 1 p x ( 1 ) ( t ) d t = f
x ( 1 ) ( p ) x ( 1 ) ( p 1 ) + u p 1 p x ( 1 ) ( t ) d t = f
x ( 0 ) ( p ) + u p 1 p x ( 1 ) ( t ) d t = f
According to the second mean value theorem of integration, if f is monotonic on [a, b], ξ , st a b f ( x ) g ( x ) d x = f ( a ) a ξ g ( x ) d x + f ( b ) ξ b g ( x ) d x
p 1 p x ( 1 ) ( t ) d t = x ( 1 ) ( p 1 ) ( ξ ( p 1 ) ) + x ( 1 ) ( p ) ( p ξ ) = α x ( 1 ) ( p 1 ) + ( 1 α ) x ( 1 ) ( p )
In Equation (13), α = ξ ( p 1 )
Take α = 0.5 , then z ( 1 ) ( p ) = p 1 p x ( 1 ) ( t ) d t = 1 2 x ( 1 ) ( p 1 ) + 1 2 x ( 1 ) ( p )
Furthermore, Equation (12) can be reduced to x ( 0 ) ( p ) + u z ( 1 ) ( p ) = f , that is, u z ( 1 ) ( p ) + f = x ( 0 ) ( p )
It can be obtained by the least square method that:
u = p = 2 n z ( 1 ) ( p ) p = 2 n x ( 0 ) ( p ) ( n 1 ) p = 2 n z ( 1 ) ( p ) x ( 0 ) ( p ) ( n 1 ) p = 2 n z ( 1 ) ( p ) 2 ( p = 2 n z ( 1 ) ( p ) ) 2
f = p = 2 n x ( 0 ) ( p ) p = 2 n z ( 1 ) ( p ) 2 p = 2 n z ( 1 ) ( p ) k = 2 n z ( 1 ) ( p ) x ( 0 ) ( p ) ( n 1 ) p = 2 n z ( 1 ) ( p ) 2 ( p = 2 n z ( 1 ) ( p ) ) 2
From Equation (9), the form of the solution of the albino differential equation is:
x ( 1 ) ( t ) = C e u ( t 1 ) + f u
The initial value condition is: x ( 1 ) ( 0 ) = x ( 0 ) ( 1 ) = x ( 1 ) ( 1 ) . By substituting the initial value condition into Equation (16), we obtain:
x ( 1 ) ( t ) = ( x ( 0 ) ( 1 ) f u ) e u ( t 1 ) + f u
The discrete solution of the differential equation is:
x ( 1 ) ( p + 1 ) = ( x ( 0 ) ( 1 ) f u ) e u p + f u
The x ^ ( 1 ) sequence can be obtained by substituting calculations u and f into Equation (18), and the reduced value (predicted value) x ^ ( 0 ) sequence can be obtained by further using Equation (7).

3.3. The Time Series Prediction Modeling

A time series refers to a group of observed or recorded data arranged in chronological order, commonly represented as X1, X2,…, Xn. A sequence contains all information about the historical behavior of the system that produced the sequence. The basic idea of the time series prediction method is to establish a mathematical model which can accurately reflect the dynamic dependence relationship contained in the time series and predict the future behavior of the system based on the finite length of operation records (observation data). The moving average method is a common method among time series methods, mainly including the primary moving average method and secondary moving average method.
The moving average method refers to the average of a fixed number of data each time, in chronological order step by step. For each period, the data of the previous period should be discarded and the data of a new period should be added, and then the average should be carried out. In other words, use (xt + xt−1 + … + xtN+1)/N to predict xt+1. To obtain the best prediction accuracy, the MSE of past data prediction is often used as the criterion to select the number of terms N in the first moving average method:
MSE = 1 K N t = N + 1 K ( Y t Y ^ t ) 2
The second moving average is a moving average of the actual value based on a moving average. The quadratic moving average can establish the linear trend prediction model:
X t + T = A t + B t T
A t = 2 M t ( 1 ) M t ( 2 )
B t = 2 ( M t ( 1 ) M t ( 2 ) ) N 1
where T is the predicted time point in the future; X t is the predicted value at time point t; M t ( 1 ) is the primary moving average at time t, M t ( 1 ) = 1 N j = 0 N 1 X t j ; and M t ( 2 ) is the quadratic moving average at time t, M t ( 2 ) = 1 N j = 0 N 1 M t j (1) . By solving Equations (21) and (22) and substituting them into Equation (20), the predicted value can be obtained.

3.4. The Exponential Smoothing Method Modeling

The exponential smoothing method is a suitable method for simple time series analysis and short- and medium-term forecasts. According to the different smoothing times, it can be divided into primary exponential smoothing, secondary exponential smoothing, cubic exponential smoothing and high-order exponential smoothing. High-order exponential smoothing is rarely used. According to [13], compared with the primary and secondary exponential smoothing methods, the cubic exponential smoothing method has a higher accuracy in pipeline corrosion rate prediction. The cubic exponential smoothing method is mainly used in this study.
Cubic exponential smoothing is an exponential smoothing method based on quadratic exponential smoothing. Regarding the calculation of the primary exponential smoothing value and the quadratic exponential smoothing value, the cubic exponential smoothing value is calculated by the following formula:
V d ( 3 ) = α V d ( 2 ) + ( 1 α ) V d 1 ( 3 )
If the time series has a conic trend change and the future is predicted to change according to this trend, the conic trend prediction model can be established:
X d + D = β d + γ d D + δ d D 2
β d = 3 V d ( 1 ) 3 V d ( 2 ) + V d ( 3 )
γ d = α 2 ( 1 α ) 2 [ ( 6 5 α ) V d ( 1 ) 2 ( 5 4 α ) V d ( 2 ) + ( 4 3 α ) V d ( 3 ) ]
δ d = α 2 2 ( 1 α ) 2 [ V d ( 1 ) 2 V d ( 2 ) + V d ( 3 ) ]
where V d ( 1 ) , V d ( 2 ) and V d ( 3 ) are the first-, second- and third-order smoothing index values, respectively; α is the smoothing coefficient, 0 < α < 1; D is the predicted time point in the future; and X d is the predicted value at time point d.
By calculating Equations (25)–(27), β d , γ d and δ d are calculated and substituted into Equation (24) to obtain the predicted value.

4. Case Analysis

4.1. Data Sources

In this study, the corrosion life prediction is indirectly given by predicting corrosion rate. To compare the prediction accuracy of different modeling methods, the measured corrosion data of metal pipelines in an oil field in [12] (Figure 4 and Table 1) are selected for discussion and research.
Table 1 shows a total of 20 groups of measured corrosion data of an oil field pipeline from 1 January 1999 to 1 August 2000. The types of data detected include the test time, dissolved oxygen content, pH value of transmission medium, operating temperature, operating pressure, dissolved CO2 content, the flow rate of the transmission medium and the measured corrosion rate. Based on the measured corrosion rate, this paper compares and analyzes the accuracy of four different corrosion life prediction models.
Figure 4 clearly shows that dissolved oxygen content, material pressure, dissolved CO2 content and velocity of flow are positively correlated with correlation rate, material pH is negatively correlated with correlation rate, and material temperature has no significant correlational trend with correlation rate.

4.2. The BP Neural Network Modeling Optimization and Prediction

A prediction model of corrosion rate is established by using a multi-layer sensory neural network. Six parameters including dissolved oxygen content, material pH value, material temperature, material pressure, dissolved CO2 content and flow rate are taken as the input variables of the model, and corrosion rate is taken as the output of the model. Therefore, the neural network has six nodes in the input layer and one node in the output layer.
The prediction accuracy of the multilayer neural network model is affected by the number of hidden layers, nodes of hidden layers, transfer function and training algorithm. To obtain the optimal neural network model with the highest prediction accuracy, a trial calculation method is adopted to determine the optimal choice. In the trial calculation, the first 15 groups of data in Table 1 are taken as the training set of the model, and the last 5 groups of data are taken as the verification set. The MSE of the predicted corrosion rate and the measured corrosion rate of the verification set are calculated to determine the optimal neural network prediction model. Two kinds of neural networks, either with one hidden layer and two hidden nodes or one hidden layer and four hidden nodes, are selected for trial calculation, and the Levenberg-Marquardt BP (L-MBP for short) and Bayers normalized BP algorithm are applied to each algorithm, respectively. The transfer function is double tangent S-type and S-type.
MATLAB programming modeling is used to predict the validation set (Table 2 and Table 3). It can be seen that when the BP neural network uses one hidden layer and four hidden nodes, the training algorithm uses L-MBP and the transfer function is S-type, the prediction accuracy of the model is the highest. The mean square error (MSE) of the BP neural network predicted value and measured value is 0.000299.

4.3. The Grey Theory Modeling and Prediction

Based on the first 15 groups of measured data in Table 1, the measured time interval is one month, and the original corrosion rate data are calculated first:
x ( 0 ) = [ x ( 0 ) ( 1 ) , x ( 0 ) ( 2 ) , , x ( 0 ) ( 15 ) ]
Then, the original data column are accumulated once to generate
x ( 1 ) = [ x ( 1 ) ( 1 ) , x ( 1 ) ( 2 ) , , x ( 1 ) ( 15 ) ]
Further calculate the MEAN sequence:
z ( 1 ) = [ z ( 1 ) ( 2 ) ,   z ( 1 ) ( 3 ) , , z ( 1 ) ( n ) ]
Substitute the above x ( 0 ) , x ( 1 ) and z ( 1 ) into Equation (14) and Equation (15) to obtain u and f; Further substitute the obtained u and f into Equation (18), and the simulation calculation value can be obtained through calculation:
{ x ^ ( 1 ) ( k ) } = [ x ^ ( 1 ) ( 1 ) , x ^ ( 1 ) ( 2 ) , , x ^ ( 1 ) ( 20 ) ] = ( 0.065 , 0.0773 , 0.0821 , 0.0908 , 0.0112 , 0.1177 , 0.1221 , 0.1335 , 0.1399 , 0.1421 , 0.1467 , 0.1489 , 0.1500 , 0.1594 , 0.1645 , 0.1833 , 0.1900 , 0.2149 , 0.2311 , 0.2557 )
The mean square error (MSE) between the predicted value and the measured value is 0.000135.

4.4. Modeling Optimization and Prediction of Time Series Prediction Method

The time series prediction method can adopt the first moving average method and the second moving average method, and the second moving average method is suitable for the multi-series continuous prediction in this example. In the calculation of the quadratic moving average method, it is necessary to calculate the prediction results when N = 3, N = 5 and N = 7, and select the optimal N value and prediction model according to the comparison of the mean square error between the prediction results and the measured values. The specific method is to calculate M t ( 1 ) and M t ( 2 ) according to the value of N, then use Equations (21) and (22) to calculate A t and B t (the first 15 groups of data are used for modeling, the last five groups of data are used for verification and comparison, and the value of T is 15), and finally substitute it into Equation (20) to calculate the predicted value (Table 4). It can be seen that when N = 3, the prediction accuracy of the established time series prediction model is the highest, and the mean square error between the predicted value and the measured value is 0.003744.

4.5. Exponential Smoothing Modeling Optimization and Prediction

According to [13], compared with the primary and secondary exponential smoothing methods, the cubic exponential smoothing method has a higher accuracy in pipeline corrosion rate prediction. Thus, only the cubic exponential smoothing method is studied. The main parameter affecting the prediction accuracy is the smoothing coefficient α . To obtain the optimal prediction model, α is set as 0.3, 0.5 and 0.7 for trial calculation, and the optimal value of α and the prediction model are selected according to the comparison between the prediction result of the model and the measured value of the mean square error. The specific method is to calculate V d ( 1 ) , V d ( 2 ) and V d ( 3 ) according to the value of α ; Equations (25) to (27) are used to calculate β t , δ t and γ t (the first 15 groups of data are used for modeling, the last 5 groups of data are used for verification and comparison, and t is set to 15). Then, substitute it into Equation (24) to calculate the predicted value (Table 5). It can be seen that when α = 0.7, the cubic exponential smoothing model has the highest prediction accuracy, and the mean square error (MSE) between the predicted value and the measured value is 0.000241.

4.6. Comparison and Analysis of Prediction Models

From the above calculation, the optimal prediction models of each modeling method can be obtained. When the prediction results are compared to the measured values (Figure 5 and Table 6), it is clear that the prediction accuracy of the grey theory model is higher than that of other modeling methods, and this method is more accurate in predicting the corrosion rate of the corroded pipeline in the subsequent operation. According to the predicted corrosion rate, the annual corrosion depth and remaining wall thickness are calculated, which are compared with the minimum allowable thickness of the pipeline to determine the residual life of the pipeline.

4.7. Summary

The grey theory model was used to predict the corrosion rate of the corroded pipeline during the subsequent operation process. Hence, the annual corrosion depth and residual wall thickness were calculated, which were compared with the minimum allowable thickness of the pipeline to determine its residual life. When developing a corrosion repair strategy, the enterprise should not only focus on the pipeline’s residual life, but also on the required operation time, the cost and technical difficulty of anticorrosion repair, the repair effect and stability, and the use environment of the pipeline [19,20,21,22,23,24,25].
For corroded pipelines, enterprises need to consider the following repair strategies: decide whether to repair, determine the best time node for repairing, and adopt a repair plan. Common repair solutions include direct replacement, external card maintenance, HDPE composite structure pipeline repair technology, pipeline welding reinforcement technology [19], pipeline carbon fiber reinforcement technology, flip lining repair technology, etc. Regarding the above-mentioned prediction results of the residual life of the corroded pipeline, as well as the daily inspection and the publicity along the pipeline, one or more of the above-combined repair strategies can be considered to reduce the cost and process of pipeline repair while achieving smooth operation under the premise of satisfying safety measures.

5. Conclusions

Regarding the comprehensive investigation of the existing residual life of corroded pipelines, the advantages and disadvantages of modeling prediction methods based on historical statistical data are compared and evaluated.
(1)
The existing modeling methods, each with their own benefits and drawbacks, can be used to predict the residual life of corroded pipelines. However, the neural network modeling method can intuitively reflect the relationship between corrosion rate and corrosion influencing factors, and the established model’s basic theory is more reasonable.
(2)
The grey theory prediction model is suitable for short-, medium-, and long-term prediction and has the advantages of small samples, lack of sample regularity, low computational workload, and high accuracy. It can fully mine the internal information in a small amount of data and produce a more reasonable prediction from fewer data. Comparative analysis reveals that the grey theory method has good applicability and reliability.
(3)
The goal of the time series prediction method is to establish a mathematical model in a way that, given the system’s finite number of operation records (observation data) accurately captures the time series’ dynamic dependencies. The prediction value always remains at its previous level, but it sometimes struggles to accurately predict the future trend. As a result, the accuracy is lower when compared to other prediction models.
(4)
The exponential smoothing prediction model is easy to predict, and it only needs to select one model parameter α, and can automatically identify and adjust changes in data patterns. It has a better short-term prediction effect following the gray theory prediction method.

Author Contributions

Conceptualization, L.Z. and C.Z.; methodology, L.Z.; software, C.Z.; validation, X.H.; formal analysis, C.Z.; investigation, L.Z.; resources, Y.Z.; data curation, C.Z.; writing—original draft preparation, S.D.; writing—review and editing, S.D. and F.F.; visualization, Y.Z. and F.F.; supervision, L.Z.; project administration, X.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by CNPC Innovation Fund Project grant number 2020D-5007-0504. This research was also funded by Youth Science and Technology Innovation Project of Water Transport Research Institute of Ministry of Transport grant number WTI-41906.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Restrictions apply to the availability of these data. Data was obtained from CNKI (China national knowledge internet) and are available [https://kns.cnki.net/kcms/detail/detail.aspx?dbcode=CJFD&dbname=CJFD2003&filename=FSYF200302001&uniplatform=NZKPT&v=Radetct_Cp3NgIrtYlV8aEY1ZYZPw0BjQw-Wi6z8TdXybk8PUgxXymeujCmfX10S, accessed on 18 May 2022] with the permission of CNKI.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhangx, S.; Xiz, S.; Wangj, Y.; Yangs, T. The prediction on residual life of corroded oil and gas pipeline based on modified GEV distribution. Oil Gas Storage Transp. 2019, 38, 635–641. [Google Scholar]
  2. Zhangx, S.; Cao, N.; Wangx, W. Residual life prediction of oil and gas pipeline based on Gumbel distribution. China Saf. Sci. J. 2015, 25, 96–101. [Google Scholar]
  3. Wang, R. Research on Corrosion Failure Prediction of Offshore Oil and Gas Pipeline; XI’AN University of Architecture and Technology: Xi’An, China, 2017; pp. 25–33. [Google Scholar]
  4. Wang, X.W.; Luo, Z.S.; Wang, R. Study of F-MC method on offshore oil and gas pipelines point corrosion depth forecast. Xi’an University. of Architecture & Technology. Nat. Sci. Ed. 2017, 49, 443–448. [Google Scholar]
  5. Caleyo, F.; VeLazquez, J.C.; Valor, A.; Hallen, J.M. Probability distribution of pitting corrosion depth and rate in underground pipelines: A Monte Carlo study. Corros. Sci. 2009, 51, 1925–1934. [Google Scholar] [CrossRef]
  6. Shuai, J. Prediction method for remaining life of corroded Pipeline. J. Univ. Pet. China Ed. Nat. Sci. 2003, 27, 91–93. [Google Scholar]
  7. Yu, S.R.; Li, J.H.; Li, S.X.; Iang, R. Probability model for the prediction of corrosion remaining life of underground pipelines. China Saf. Sci. J. 2008, 18, 11–15. [Google Scholar]
  8. Valor, A.; Caleyo, F.; Hallen, J.M.; Velázquez, J.C. Reliability assessment of buried pipelines based on different corrosion rate models. Corros. Sci. 2013, 66, 78–87. [Google Scholar] [CrossRef]
  9. Hu, Q.F.; Sun, T.; Wang, F.; Ning, C.L.; Zhang, L.B. A method for corrosion depth prediction of gas pipeline based on Bayesian estimation. Oil Gas Storage Transp. 2019, 38, 1219–1226. [Google Scholar]
  10. Luo, J.H.; Zhao, X.W.; Bai, Z.Q.; Lu, M.X. Prediction of residual life of oil pipe corrosion. China Pet. Mach. 2000, 28, 30–32. [Google Scholar]
  11. Dann, M.R.; Huyse, L. The effect of inspection sizing uncertainty on the maximum corrosion growth in pipelines. Struct. Saf. 2018, 70, 71–81. [Google Scholar] [CrossRef]
  12. Yu, X.C.; Zhao, J.Z.; Wu, Y.L.; Hu, Y.Q.; Ji, L.J. Using Gray model to predict corrosion rate variation with time in injecting pipeline. Corros. Prot. 2003, 24, 51–54. [Google Scholar]
  13. Wang, H.T.; Kong, M.H. Application of cubic exponential smoothing method to pipeline corrosion rate forecasting. Corros. Prot. 2016, 37, 8–11. [Google Scholar]
  14. Spencer, K.; Kariyawasam, S.; Tetreault, C.; Wharf, J. A practical application to calculating corrosion growth rates by comparing successive ILI runs from different ILI vendors. In Proceedings of the International Pipeline Conference, Calgary, AB, Canada, 27 September–1 October 2010. [Google Scholar]
  15. Liu, X.N. Reliability prediction of corrosion residual life of steel pressure vessel and pipeline CPM. China Pet. Mach. 2005, 33, 35. [Google Scholar]
  16. Zhang, X.S.; Cao, X.; Han, W.C.; Chen, P.X. Prediction of submarine pipeline corrosion based on parameter optimized GM-Markov model. Oil Gas Storage Transp. 2020, 39, 953–960. [Google Scholar]
  17. Xiao, W.W.; Li, J.; Liang, T.T.; Gao, S.Z.; Hu, Y.P.; Wang, Z. Application of BP Neural Network Model in Intelligent Prediction of Pipeline Corrosion Risk. Pet. Tubul. Goods Instrum. 2021, 7, 56–61. [Google Scholar]
  18. Yao, Q. Research and Implementation of Refinery Equipment Corrosion Prediction Technology; Northeastern University: Shenyang, China, 2014; pp. 29–37. [Google Scholar]
  19. Ma, M.L. Research on Evaluation of Corrosion Defects and Reinforcing Technology for Qing-Ha Oil Pipeline; Northeast Petroleum University: Daqing, China, 2011. [Google Scholar]
  20. Wang, S.P. Repairing corrosion defects of sub-sea pipe and the availability of repair method. Oil Gas Storage Transp. 2011, 30, 949–950. [Google Scholar]
  21. Jiang, Y.W.; Huang, G.Q.; Li, F.F.; Liu, W.H.; Liu, M.; Gai, J.N. Repair technology of anti-corrosion and thermal insulation coating for buried thermal insulation pipeline. Corros. Prot. 2018, 39, 957–961. [Google Scholar]
  22. Ba, Z.N.; Wang, Z.K.; Liang, J.W.; Han, Y.X.; Wang, M.S. Corrosion risk assessment of gas pipeline network in Suzhou Industrial Park. Oil Gas Storage Transp. 2021, 40, 828–833. [Google Scholar]
  23. Arruda, M.E.; Li, K.Y. Framework of policies, institutions in place to enable China to meet its soaring oil, gas demand. Oil Gas J. 2004, 102, 20. [Google Scholar]
  24. Zhang, X.S.; Chang, Y.G. Prediction of external corrosion rate of offshore oil and gas pipelines based on FA-BAS-ELM. China Saf. Sci. J. 2022, 32, 99–106. [Google Scholar]
  25. Xu, G.X.; Xie, R.J.; Wu, Y.; Yin, Q.S. Prediction Method of Residual Strength of Casing with Different Corrosion Defects. China Pet. Mach. 2019, 47, 122–127. [Google Scholar]
Figure 1. Technical route of residual life prediction method for metal pipelines.
Figure 1. Technical route of residual life prediction method for metal pipelines.
Materials 15 05624 g001
Figure 2. Structure diagram of multilayer perceptron neural network.
Figure 2. Structure diagram of multilayer perceptron neural network.
Materials 15 05624 g002
Figure 3. Input and output schematic diagram of neuron j.
Figure 3. Input and output schematic diagram of neuron j.
Materials 15 05624 g003
Figure 4. (a) Dissolved oxygen content; (b) Material pH; (c) Material temperature; (d) Material pressure; (e) Dissolved CO2 content; (f) Velocity of flow Relationship between various data and corrosion rate in oil field.
Figure 4. (a) Dissolved oxygen content; (b) Material pH; (c) Material temperature; (d) Material pressure; (e) Dissolved CO2 content; (f) Velocity of flow Relationship between various data and corrosion rate in oil field.
Materials 15 05624 g004aMaterials 15 05624 g004b
Figure 5. Comparison curves of predicted and measured values of each model.
Figure 5. Comparison curves of predicted and measured values of each model.
Materials 15 05624 g005
Table 1. Measured values of pipeline corrosion data in an oil field.
Table 1. Measured values of pipeline corrosion data in an oil field.
Serial NumberTest TimeDissolved Oxygen Content
(mg·L−1)
Material pHMaterial Temperature
°C
Material Pressure
MPa
Dissolved CO2 Content
(mg·L−1)
Velocity of Flow
(m·s−1)
Measured Corrosion Rate
(mm·a−1)
11 January 19990.0237.1461.410.192.431.0430.065
21 February 19990.0657.4559.810.482.651.0760.078
31 March 19990.1046.7354.510.853.231.0980.084
41 April 19990.1436.6655.0311.243.981.1250.092
51 May 19990.2546.6054.2311.754.231.2550.099
61 June 19990.4566.5856.7611.964.561.2670.106
71 July 19990.9876.5555.6712.544.781.2690.109
81 August 19991.3456.5057.3412.975.341.2780.1134
91 September 19991.6546.4661.3413.655.651.2880.1167
101 October 19992.0546.4158.9714.435.691.2950.1195
111 November 19992.1246.4056.7814.985.981.3080.1213
121 December 19992.3456.3557.8715.236.071.3030.1234
131 January 20002.7536.3255.3415.876.121.3290.1279
141 February 20002.9876.2953.2216.056.341.3430.1326
151 March 20003.0576.1755.1216.346.671.3450.1506
161 April 20003.1256.0550.4516.986.981.3570.1745
171 May 20003.4925.9555.917.377.091.3650.1942
181 June 20003.6825.6556.7817.877.231.3870.2259
191 July 20003.7695.3462.3418.547.451.3880.2419
201 August 20004.2085.3063.7618.987.761.3920.2742
Table 2. Results of the neural network with 1 hidden layer and 2 hidden nodes.
Table 2. Results of the neural network with 1 hidden layer and 2 hidden nodes.
Training AlgorithmTransfer FunctionTrial Calculation Results (mm·a−1)Mean Square Error between Predicted value and Measured Value
1 April 20001 May 20001 June 20001 July 20001 August 2000
L-M BPDouble tangent S-type0.18450.20420.21330.27880.29320.000416
S-type0.16110.17830.20110.22220.24880.000416
Bayers normalized BPDouble tangent S-type0.15330.17120.29220.23560.28670.001114
S-type0.15950.17320.20110.22070.25110.000453
Table 3. Experimental results of the neural network with 1 hidden layer and 4 hidden nodes.
Table 3. Experimental results of the neural network with 1 hidden layer and 4 hidden nodes.
Training AlgorithmTransfer FunctionTrial Calculation Results (mm·a−1)Mean Square Error between Predicted Value and Measured Value
1 April 20001 May 20001 June 20001 July 20001 August 2000
L-M BPDouble tangent S-type0.14430.15740.19580.21140.24440.000998
S-type0.19460.20330.23650.26770.28930.000299
Bayers normalized BPDouble tangent S-type0.18550.21330.24840.27090.30210.000522
S-type0.14560.16380.20990.22330.26580.000486
Table 4. Time series prediction modeling results.
Table 4. Time series prediction modeling results.
NParameterPredictive Value (mm·a−1)MSE
M 15 ( 1 ) M 15 ( 2 ) A 15 B 15 1 April 20001 May 20001 June 20001 July 20001 August 2000
30.1370330.1297330.1443330.0073000.15160.15950.16620.17350.18080.003744
50.1311600.1225400.1397800.0043100.14410.14840.15270.15700.16130.005665
70.1274290.1152630.1395940.0040550.14360.14770.15180.15580.15990.005819
Table 5. Exponential smoothing prediction modeling results.
Table 5. Exponential smoothing prediction modeling results.
αParameterPredictive Value (mm·a−1)MSE
S t ( 1 ) S t ( 2 ) S t ( 3 ) a 15 b 15 c 15 1 April 20001 May 20001 June 20001 July 20001 August 2000
0.30.1317780.1200230.1100640.1453280.0067420.0001650.15220.15950.16700.17490.18320.003588
0.50.1395690.1322550.1268840.1488250.012170.0009710.16200.17710.19410.21300.23400.000783
0.70.1446310.1399260.1361470.1502610.0178140.0025190.17060.19600.22640.26180.30230.000241
Table 6. The predicted value and measured value of each model and their mean square error.
Table 6. The predicted value and measured value of each model and their mean square error.
ModelPredictive Value (mm·a−1)Absolute Error (mm·a−1)MSE
1 April 20001 May 20001 June 20001 July 20001 August 20001 April 20001 May 20001 June 20001 July 20001 August 2000
BP neural network optimization model0.19460.20330.23650.26770.28930.02010.00910.01060.02580.01510.000299
Grey theory model0.18330.19000.21490.23110.25570.00880.00420.01100.01080.01850.000135
Time series optimization prediction model0.15160.15890.16620.17350.18080.02290.03530.05970.06840.09340.003744
Exponential smoothing optimization model0.17060.19600.22640.26180.30230.00390.00180.00050.01990.02810.000241
Measured value/(mm·a−1)0.17450.19420.22590.24190.2742//////
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zuo, L.; Zeng, C.; Hu, X.; Du, S.; Zhao, Y.; Fei, F. Evaluation of Corrosion Residual Life Prediction Methods for Metal Pipelines. Materials 2022, 15, 5624. https://doi.org/10.3390/ma15165624

AMA Style

Zuo L, Zeng C, Hu X, Du S, Zhao Y, Fei F. Evaluation of Corrosion Residual Life Prediction Methods for Metal Pipelines. Materials. 2022; 15(16):5624. https://doi.org/10.3390/ma15165624

Chicago/Turabian Style

Zuo, Lili, Chunlei Zeng, Xingqiao Hu, Shengjie Du, Yun Zhao, and Fan Fei. 2022. "Evaluation of Corrosion Residual Life Prediction Methods for Metal Pipelines" Materials 15, no. 16: 5624. https://doi.org/10.3390/ma15165624

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop