Abstract
Wax deposition occurs frequently in waxy crude oil pipelines when the level of flow decreases, and pigging is needed at regular intervals. An economic pigging model is established in accordance with the objective function based on the sum of thermal costs, power costs, and single piping costs. Thus, by compiling a program, the most economical pigging cycle will be determined. Furthermore, the calculation methods for hydraulic and thermal constraints are given. Taking the example of the distance between the central processing platform and the land terminal external piping line of the M-field cluster, the effects of different inlet temperatures, throughput, and remnant wax thicknesses on the economic pigging cycle will be analyzed. The results show that with an increase in the inlet temperature, the total costs of the pipeline operation increase, while the pigging cycle will prolong. As throughput increases, total costs will decrease, while the pigging cycle also extends. When throughput is fixed, a remnant wax thickness of 0.4 mm helps reduce the total operating costs of the pipeline at different inlet temperatures. While throughput varies, a remnant wax thickness from 0.2 to 0.4 mm can reduce total costs at a fixed inlet temperature.
Keywords
Introduction
According to incomplete statistics, China National Offshore Oil Corporation has laid 315 submarine pipelines (with diameters from 50.8 to 762.0 mm) in China’s seas, with a combined length of approximately 6202 km. 1 As submarine pipelines are buried deep under or flatly laid on the seabed, the factors that should be taken into consideration to design, operate, and maintain them are clearly different from those for terrestrial pipelines. Until now, domestic crude oil was generally manufactured in low volumes and had a high wax content, high freezing point, and high viscosity; consequently, the fluidity of crude oil was poor. 2 Owing to the low temperature on the seabed, the temperature quickly reduces when crude oil flows. Waxy crude oil solidifies when exposed to certain range of low seabed temperature, 3 resulting in the reduction of circulation area, growth of flow stream friction, and a reduction in the delivery capacity of the pipe, thus significantly increasing risks in the delivery capacity of the pipe. 4 The deposition of waxes would lead to gelation, which blocks flow in pipelines and interrupts steady production of oil at offshore fields. 5 According to the United States Department of Energy, the cost of remediation for pipeline blockage in water depths of approximately 400 m can easily reach US$1 million/mile. 6 Therefore, to ensure that a pipeline can be delivered safely, it is necessary to pig the pipeline when it has been operating for a certain amount of time. The costs of a pigging cycle (the total costs) usually include power, thermal, and single pigging costs. That is, with the growth of wax thickness, the effective circulation area of the pipe will reduce, the speed of the oil flow will improve, the resistance will increase, and the power costs will increase. Meanwhile, owing to the increase in the wax thickness, the total heat transfer coefficient of the pipe will reduce; as a result, the thermal costs of the pipe can reduce. It is obvious that while calculating the total cost of the pipeline operation, we should figure out the effect that the thickness of wax has on both, power and thermal. 7
Y Liu et al. 8 determined a pigging cycle by considering the thermal and hydraulic constraints. However, the issue of economy was ignored. W Jiping et al. 7 developed the forecasting procedures for the economic pigging cycle of hot oil pipelines with the goal of minimizing daily operating costs, but neglected the effect that wax thickness would have on an economic pigging cycle. W Yue et al. 9 established a model of economic pigging by contrasting the energy consumption costs of pipelines with and without a wax layer, and using the saved energy costs as an objective function. G-Y Jiang et al., 10 however, created an economic pigging model using traditional methods while carefully considering the effect of remnant wax thickness on the pigging cycle. S Zhou et al. 11 considered the influence of remnant wax thickness and established an optimal pigging cycle model with two independent variables, namely, paraffin cycle and the remnant wax thickness.
All these pigging models cared only about the economic issue of the pigging cycle, while ignoring the impact of the decline in pipeline delivery capacity on the safe operation of the pipeline. Since delivery capacity will decline as the pipeline deposits wax, it is necessary to ensure that the pipeline delivery capacity is within safety limits while solving the economic pigging cycle.
There is no full-scale standard for the pigging cycle in China, and quantitative metrics do not suffice to guide actual production. 12 Industry standard SY/T 5536-2016 for the operation of crude oil pipeline stipulates that 13 the pipelines used for delivery of waxy crude oils should be periodically checked for whether they have deposited wax or not. A rational pigging cycle should be worked out in line with throughput, operating pressure, operating temperature, and oil properties. In addition, pigging operations should be regulated. The Russian standard PII 153-39.4-056-2000 technical regulations for the operation of the pipeline of oil transmission lines stipulates that the pigging cycle shall be determined according to the actual conditions of the oil pipeline and the physical properties of the oil and that the pigging shall be performed no less than once per quarter. When transport capacity reduces by 3% or more, the pipelines should be cleared immediately. 14
This study examines the economic pigging cycle of low-throughput sea waxy crude oil pipelines. Combining theoretical calculation with actual operational data of a pipeline, a pigging model is established by taking the total cost as the objective function in a pigging cycle. The variation law of thermal costs and power costs with running time is analyzed. Under the premise of ensuring the safe operation of the pipeline, the economic pigging cycle of an actual pipeline is determined. These findings can serve as a reference for the formulation of pigging programs and the reduction of oil transportation costs.
Mathematical modeling and techniques
The establishment of a pigging model
In a pigging cycle, as the wax thickness increases, power costs will rise, while the costs of heat will decrease. Meanwhile, the costs of disposable pigging, including the maintenance costs, replacement costs, operation costs, and power costs for driving the pigging, are fixed. Therefore, to take all the above factors into consideration, there exists, in theory, a lowest point that represents the lowest operation costs. The number of days corresponding to this point represents the economic pigging cycle. The relationship is shown in Figure 1.

The relationship among several operating costs within a pigging cycle.
If the pigging cycle is assumed as Z days, the total operating costs should be
In this formula, S represents the total costs of Z days’ pigging cycle, RMB of yuan (yuan/(t km)); SP stands for the costs of power on tth day (yuan/(t km)), that is, electricity costs of the pump unit; SR represents the thermal costs on tth day, namely, the fuel costs of the heating station (yuan/(t km)); SC refers to the unit pigging costs within Z days (yuan/(t km)); t is the number of days after pigging, which can be 1, 2, …, Z:
The power costs.
The input power of the pump unit on the tth day after pigging should be
The power consumption of the pump unit on tth day is
Thus, the power costs should be
In this formula
Here, Nt refers to the input power of the pump unit on the tth day (kW);
The wax thickness
2. The thermal costs
In this formula, SR is the thermal cost on the tth day (yuan/(t km)), cy is the heat absorption capacity of crude oil
The overall coefficient of heat transfer of a waxy pipe should be
In this formula, K is the overall coefficient of heat transfer of the non-waxed pipe
3. Unit pigging costs
In the formula, ec is the cost of the single cleaning (yuan).
Constraint conditions
The reduction in the delivery capacity of the pipeline can be calculated using the following formula:
Before waxing
After waxing
In the formula,
2. Hydraulic condition.
Industry standard SY/T 5536-2016 for the operation of crude oil pipeline stipulates that the maximum operation pressure of each point of the running pipeline should not exceed the maximum design pressure. For the transfer stations with different pressure levels, the maximum outbound and inbound pressures of the pipeline should be determined. There is no intermediate station along submarine pipelines, and the outlet pressure of pipelines is usually fixed, and therefore, inlet pressure should satisfy
Here,
3. Thermal condition.
Theoretically, when the inlet temperature is fixed, the process of heating from the pipeline medium to the soil environment, that is, the forced convection from the oil stream to the pipe wall, involves three steps: the heat conduction of the steel tube wall, the asphalt insulating layer or the insulation layer, and natural convection from ectooecium of the pipe to the soil environment. A waxy layer will form on the inner wall after a period of operation, which means that the insulating layer will be strengthened and heat resistance will grow. Consequently, the total heat transfer coefficient decreases.
8
Compared to the non-waxed pipe, the outlet temperature of the waxy pipe will be higher than its counterpart. It can be concluded that on the condition of thermal constraints, the outlet temperature should be set at a higher level than the solidifying point of crude oil. That is to say,
Before the pipe waxes, numerous sections will be divided, each of whose length shall be assumed as dx, and the thermal balance relationship of each section should be 20
In this formula,
In this equation,
The solution of the model
To take safe operation of the pipeline into consideration, when its throughput declines by 3%, the corresponding cleaning time represents the maximum cycle. However, wax thickness somewhat affects the total cost; different thicknesses correspond to different economic pigging cycles, and therefore, the optimal cycle tmax with a different thickness should be determined before we solve the model. According to the figure tmax, this will yield a different cycle. The steps to solve the model are as follows:
Step 1. Fix different wax thicknesses and calculate the maximum pigging cycle tmax.
Step 2. Find an economic pigging cycle among those maximum figures. The detailed calculation is shown in Figure 2.

Block diagram of the calculation of the economic pigging cycle with different wax thicknesses.
Examples analysis
Overview of the outbound pipeline from the central processing platform to the terrestrial terminal in the M Oilfield Group
The output of crude oil in the M Oilfield Group has been rapidly decreasing in the recent years. As a result, the throughput of outbound pipeline is 50% lower than projected. These pipelines have been deteriorating and transporting low volumes. If the volumes are so small that pipelines will work unstably, and the operation pressure will continuously increase while throughput decreases constantly, the entire line may stop functioning. Even worse, wax content of crude oil in this field accounts for 23.142%. Wax deposition will reduce the flow area of the pipe. If the pipe is not cleaned for a long time, serious wax deposition will occur in the pipe at a local position, resulting in the plugging of the pig during pigging. Therefore, it is necessary to determine a reasonable and reliable economic clean-up cycle for the pipeline.
The external pipeline from the central processing platform of the M Oilfield Group to the land terminal is composed of two parts, namely, a subsea buried pipeline and a land-suspended pipeline. The basic parameters of the pipeline are shown in Table 1.
Basic parameters of the pipelines from the center processing platform to the onshore terminal of the M Oilfield Group.
Prediction of wax deposition characteristics in the M Oilfield Group Center treatment platform to overland terminal pipeline
To calculate the economic pigging cycle, the first step we should take is to figure out the law of the wax deposition in the pipeline. 21 In this article, the Q Huang et al.’s 17 pervasive wax model is used to calculate the thickness of wax. According to the actual operating parameters of the external pipeline from the M Oilfield Group Center treatment platform to the land terminal, the wax deposition model should be computed using this formula
Based on this model, the MATLAB software is used to formulate the program to calculate the waxing of the pipeline from the M Oilfield Group Center treatment platform to the land terminal. When the flow rate is 146.37 m3/h, wax deposition conditions at different inlet temperatures are shown in Figure 3, and the corresponding outlet temperature is shown in Figure 4. This lays the foundation for calculating the pigging cycle.

When the transportation amount is 146.37 m3/h, the variation in wax deposition thickness along the pipeline with different inlet temperatures: (a) thickness of the paraffin wax at the inlet temperature of 70°C, (b) thickness of the paraffin wax at the inlet temperature of 65°C, (c) thickness of the paraffin wax at the inlet temperature of 60°C, and (d) thickness of the paraffin wax at the inlet temperature of 55°C.

At different inlet temperatures, the outlet temperature changes with the running time.
Influence of the pipeline inlet temperature on the economic pigging cycle
To calculate the economic pigging cycle of pipelines under different operating conditions, the first step we need to take is to figure out the operating costs and other parameters of the pipeline (Tables 2 and 3). The operating costs and parameters of the pipelines from the center processing platform to the onshore terminal of the M Oilfield Group are shown in Table 2.
Operating parameters of the pipelines from the central processing platform to the onshore terminals in the M Oilfield Group.
The operating parameters of the pipeline of the M Oilfield Group Center.
The electricity price of 0.9 yuan/(kW h) is equivalent to approximately US$139.6 (US$/MW h).
An observation of the operation reveals that the maximum operating pressure is 7.2 MPa, the outlet pressure of the pipeline is 0.8 MPa, and the operating temperature is 70°C. This article will pick up 70°C, 65°C, 60°C, and 55°C for individual analysis. According to the data in Table 3, the effect of the inlet temperature on the pigging cycle will be analyzed. When the flow rate is 146.37 m3/h, the average wax thickness of the pipeline is shown in Figure 5.

The average wax thickness of pipeline with different inlet temperatures.
From Figure 5, it is clear that, with time, the average wax thickness of the pipeline increases linearly. When the flow stays stable, the higher the inlet temperature of the pipeline is, the lower the average wax thickness is. After calculation, we can see that when the pipeline transport capacity reduces by 3%, the average thicknesses of the wax corresponding to different inlet temperatures of 70°C, 65°C, 60°C, and 55°C are 1.49, 1.54, 1.58, and 1.62 mm, respectively. The corresponding economic pigging cycle is shown in Figure 6.

The economic pigging cycle with different inlet temperatures.
From Figure 6, we can see that as the pipeline keeps working, the total costs of pipeline operations continue to decrease. When the volume is fixed, the higher the inlet temperature is, the higher the total costs of the pipeline are, which results from the increase in the thermal costs. It can be concluded in Figure 3 that, as it has operated for 40 days, the thickness of the local wax has reached 10 mm, and throughput efficiency has declined to 3%. However, there exists no theoretical minimum cost, because of low waxy efficiency. When the inlet temperatures are 70°C, 65°C, 60°C, and 55°C, the corresponding pigging cycles are 33, 32, 31, and 30 days.
The effect of throughput on the period of economic pigging
When the inlet temperature is 70°C, the average wax thickness of pipelines with different transportation amounts is shown in Figure 7 and the economic pigging cycles with different transportation amounts is shown in Figure 8.

The average wax thickness of pipeline with different transportation amounts.

The economic pigging cycle with different transportation amounts.
As shown in Figure 7, as days pass, the average wax thickness in the pipeline increases linearly. When the inlet temperature is fixed, the greater the volume is, the lower the average wax thickness is. We can calculate that when throughput is reduced by 3%, the average thicknesses of the wax corresponding to 146.37, 138.24, 130.11, and 121.98 m3/h for different transmission volumes are 1.49, 1.45, 1.40, and 1.34 mm. The pigging cycles are shown in Figure 8.
As shown in Figure 8, we can see that as days pass, the total costs of pipeline operations are decreasing. The reason is that the wax thickness becomes larger and the total heat transfer coefficient of the pipe decreases. As a result, the thermal costs decline. When the inlet temperature stays at 70°C, the corresponding pigging cycles of 146.37, 138.24, 130.11, and 121.98 m3/h are, respectively, 33, 31, 29, and 27 days.
The influence of the thickness of residual wax on the period of economic pigging
Figures 9 and 10 show, respectively, the total operating costs and the economic pigging cycle for different thicknesses of residual wax at different inlet temperatures of the pipeline when throughput is maintained at 146.37 m3/h. It is shown in Figure 9 that when throughput remains fixed, operation costs will increase as the inlet temperature increases because growing thermal costs will increase the total cost. When the remnant wax thickness is 0.4 mm, the total costs of the pipeline are the lowest. Therefore, while pigging, wax thickness should be maintained at 0.4 mm. At the same time, it can be concluded from Figure 10 that, with an increase in the wax thickness, the gap between pigging cycles at different inlet temperatures grows. The reason is that wax plays a role in heating the pipeline, which is helpful in postponing the temperature of the oil flow, in slowing down the wax deposition rates, and in reducing the delivery efficiency.

The total operating costs with different inlet temperatures and different remnant wax thicknesses.

The economic pigging cycle with different inlet temperatures and different remnant wax thicknesses.
Figures 11 and 12 show, respectively, the total operating cost and the pigging cycle for different thicknesses of residual wax at different transportation amounts when the inlet temperature is 70°C. As shown in Figure 11, when the inlet temperature is fixed, the larger the throughput is, the less the total cost is. When throughput increases, the total capacity grows, too. However, on the condition of stable inlet oil temperature and environmental temperature, the loss of thermality along the pipeline is constant—that is to say, the proportion of thermal loss is reduced. In addition, as throughput increases, friction increases and plays a role in heating pipelines; consequently, thermal costs reduce. When remnant wax thickness is maintained at 0.2–0.4 mm, the total cost is the lowest. From Figure 12, as wax thickness increases, the gap between cycles will grow.

The total operating cost with different transportation amounts and different remnant wax thicknesses.

The economic pigging cycle with different transportation amounts and different remnant wax thicknesses.
Overall, a 3%-drop in delivery capacity can be a safety limit when calculating a pigging cycle. The result conforms to results from previous experiences and makes the cost the lowest. If we calculate the economic pigging cycle according to the general method, it can be seen from Figure 1 that the pigging period is close to 1000 days. Combined with the analysis of Figure 3, the local wax deposit thickness of the pipeline has caused serious hidden trouble, or even a blockage, to the actual pipeline operation.
Conclusion
The economic pigging model established in this article can almost accurately predict an economic cycle when sea pipelines work at a low volume. Theoretically, the lowest cost exists. However, since each pipeline works differently, the lowest cost may not appear until it has been in operation for a long time and/or when delivery capacity has exceeded the security limit. Therefore, when establishing the economic cycle, it is necessary to take both delivery capacity and economy into consideration.
When throughput is fixed, the lower the inlet temperature and total costs are, the shorter the relevant cycle is. When the inlet temperature stays stable, the throughput is larger, the total costs are at the lowest, and the cycle is longer. Wax thickness has a certain effect on operation costs. Keeping a reasonable thickness helps cut down total costs.
The gelation mechanism increases and then decreases with decreasing bulk fluid temperature, which will have a certain effect on the wax deposition process. However, these effects are missing in this article. Future research should include the gelation process.
Footnotes
Handling Editor: Roslinda Nazar
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the Sichuan Provincial Key Discipline Construction Foundation of China (No. SZD0426).
