Comprehensive prediction method and device for corrosion of refining pipelines based on local detection

Through the analysis of local detection data and model construction, the remaining life of the refining pipeline is predicted, which solves the problem that underground pipelines cannot be inspected in full line, and achieves full coverage and safety guarantees for corrosion evaluation.

CN113761476BActive Publication Date: 2024-11-08CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010483481.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-01
Publication Date
2024-11-08
Estimated Expiration
2040-06-01

AI Technical Summary

Technical Problem

The underground pipelines of refining and chemical companies cannot conduct full-line coverage inspection, resulting in incomplete corrosion evaluation, increasing pipeline operation risks and safety hazards.

Method used

Using the comprehensive corrosion prediction method of refining pipelines based on local detection, the corrosion depth data of local detection points in the same batch and different batches is obtained, and the maximum corrosion depth model of extreme value I distribution and the relationship model of corrosion depth change and service time is constructed. , predict the remaining life of the pipeline.

Benefits of technology

It has achieved full coverage of corrosion evaluation of refining and chemical pipelines under existing conditions, provided technical support for maintenance decisions, ensured the safety of pipelines and reduced inspection costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113761476B_ABST
    Figure CN113761476B_ABST
Patent Text Reader

Abstract

The present invention discloses a comprehensive prediction method and device for corrosion of a refining pipeline based on local detection, the method comprising: obtaining corrosion depth data of local detection points of the same batch under the spatial distribution law of corrosion; constructing a maximum corrosion depth model based on extreme value type I distribution to calculate the maximum corrosion depth of the pipeline; predicting the remaining life based on the maximum corrosion depth according to the maximum corrosion depth combined with the minimum allowable wall thickness of the pipeline; obtaining corrosion depth data of local fixed-point detection points of different batches under the temporal distribution law of corrosion; constructing a relationship model between corrosion depth change and pipeline service time; and predicting the remaining life based on variable-speed corrosion in combination with the minimum allowable wall thickness of the pipeline. The present invention predicts the remaining life from the two dimensions of spatial distribution and temporal distribution of corrosion, avoiding the inability to fully grasp the corrosion status of the pipeline due to local detection, while taking into account the corrosion changes of key corrosion focus points, and achieving full coverage of corrosion evaluation based on local detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of pipeline corrosion evaluation, and in particular to a method and a device for comprehensive prediction of refinery pipeline corrosion based on local detection. Background Art

[0002] There are many types of underground pipelines in refining and chemical enterprises, such as oil pipelines between oil depot tank areas, crude oil pipelines from tank areas to refining and chemical units, circulating water pipelines, water supply pipelines, oily sewage pipelines, and purge pipelines for underground dirty oil tanks. Most underground pipelines are laid between various refining and chemical units, and it is impossible to effectively carry out internal and external inspection and evaluation work, which brings hidden dangers to the operation of underground pipelines in refining and chemical enterprises. Although in recent years, through the transformation of underground pipeline networks, some underground pipelines have been changed to overhead pipelines on the ground, which is convenient for inspection and maintenance, and reduces the risk of pipeline operation. However, some pipelines are still laid underground, and due to the long time span, the pipeline information can no longer be found, and the route of the pipeline cannot be clearly identified, which brings great hidden dangers to the production and operation of refining and chemical enterprises. Carrying out corrosion evaluation on pipelines that transport oil and gas can improve the level of pipeline integrity management, reduce pipeline operation risks, and ensure safe production.

[0003] The basis of pipeline corrosion evaluation is to obtain accurate and comprehensive corrosion detection data. However, at present, it is impossible to carry out internal inspection of underground pipelines in refineries to achieve full coverage of the inspection, and only local characteristics of pipeline corrosion can be reflected. If all pipelines are excavated, the cost of inspection will be extremely high and affect the operation of refineries. Summary of the invention

[0004] In view of the problems existing in the prior art, the embodiments of the present invention provide a method and device for comprehensive prediction of corrosion of a refinery pipeline based on local detection.

[0005] Specifically, the embodiment of the present invention provides the following technical solutions:

[0006] In a first aspect, an embodiment of the present invention provides a comprehensive prediction method for corrosion of a refinery pipeline based on local detection, comprising:

[0007] S1. Under the spatial distribution law of corrosion, obtain the corrosion depth data of local detection points in the same batch;

[0008] S2. According to the corrosion depth data of local detection points in the same batch, a maximum corrosion depth model based on extreme value type I distribution is constructed to calculate the maximum corrosion depth of the pipeline;

[0009] S3. According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on the maximum corrosion depth is predicted;

[0010] S4. Obtain corrosion depth data of local fixed-point detection points of different batches under the time distribution law of corrosion;

[0011] S5. Based on the corrosion depth data of local fixed-point detection points in different batches, a relationship model between the corrosion depth change and the pipeline service time is constructed and the model parameters are obtained;

[0012] S6. Based on the relationship model between the change in corrosion depth and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on variable-rate corrosion is predicted.

[0013] Furthermore, S2 constructs a maximum corrosion depth model based on extreme value type I distribution according to the corrosion depth data of local detection points in the same batch, and calculates the maximum corrosion depth of the pipeline, specifically including:

[0014] The probability distribution of the maximum corrosion depth is locally expressed using the extreme value type I distribution, which is expressed as the first relationship model:

[0015]

[0016] Among them, F(x) is the cumulative probability that the maximum corrosion depth does not exceed x; x is the random variable of the corrosion depth; λ is a statistical parameter, which represents the depth of the corrosion point with the largest probability density; α is a statistical variable, which represents the average value of the corrosion point depth; the values ​​of λ and α are obtained by linear fitting, and (x-λ) / α=y is set, then the first relationship model is transformed into the second relationship model:

[0017] F(x)=exp[-exp(-y)]

[0018] The second relational model is further transformed to obtain the third relational model:

[0019] y=-ln[-lnF(x)]=(x-λ) / α

[0020] If n corrosion points are detected in the same batch, the corrosion depth of the i-th point is x i , these corrosion depths are randomly distributed on the same pipeline. The corrosion depths of n points are sorted in order from small to large, then the sequence of samples is X = {x 1 ,x 2 ,…,x i ,…,x n}, where the statistical probability of the i-th point is expressed as the fourth relational model:

[0021]

[0022] Introduce the concept of return period, that is, return period T n Expressed as the maximum corrosion depth x maxThe ratio of the maximum area to be measured to the local measurement area is the fifth relationship model:

[0023] T n =S / s

[0024] Among them, S is the area of ​​the entire pipeline, and s is the local measurement area. Because the corresponding spatial relationship of the underground pipeline of the refinery is a length relationship, the fifth relationship model is transformed into the sixth relationship model:

[0025] T n =L / l

[0026] Where, L is the length of the entire corroded pipeline; l is the local measurement length;

[0027] Among them, the return period T n It also means that the random variable x that satisfies the extreme value distribution exceeds the maximum value x max The number of samples required, the regression period T n and the cumulative probability F(x max ) is the seventh relationship model:

[0028] T n =1 / [1-F(x max )]

[0029] According to the obtained F(x max ) value calculation y max value, and y max Substituting the value into y = (x-λ) / α, we can get the predicted value x of the maximum corrosion depth of the pipeline section with a length of L. max for:

[0030] x max =α·y max +λ.

[0031] Furthermore, S3 predicts the remaining life based on the maximum corrosion depth according to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, and specifically includes:

[0032] According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, assuming that the corrosion rate is uniform, the remaining life SM based on the maximum corrosion depth is predicted according to the eighth relationship model. 1 , where the eighth relational model is:

[0033] SM 1 =(tx max -t min ) / R=Time·(tx max -t min ) / x max

[0034] Where Time is the service time of the pipeline, years; t is the designed wall thickness of the pipe, mm; t min is the minimum wall thickness allowed for the pipeline, mm; R is the corrosion rate of the pipe wall, mm / s.

[0035] Furthermore, S5 constructs a relationship model between corrosion depth change and pipeline service time and obtains model parameters based on the corrosion depth data of local fixed-point detection points of different batches, which specifically includes:

[0036] According to the corrosion depth data of local fixed-point detection points in different batches, the relationship between the corrosion depth change and the service life of the pipeline is expressed by the exponential function as the ninth relationship model:

[0037] x=m·Time n

[0038] Where x is the corrosion depth of the pipe wall, mm; Time is the service time of the pipeline, years; m and n are constants, and the method for determining the constants m and n is:

[0039] Taking the logarithm of both sides of the above equation, we have:

[0040] logx=logm+n·logTime

[0041] Assume: logx = y; logm = a 0 ; n = a 1 ; logTime = x, then we get:

[0042] y=a 0 +a 1 x

[0043] According to the historical pipeline corrosion depth data, a is calculated by linear fitting method. 0 and a 1 , and then calculate the constants m and n.

[0044] Furthermore, S6 predicts the remaining life based on variable rate corrosion according to the relationship model between the corrosion depth change and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, and specifically includes:

[0045] According to the relationship model between corrosion depth change and pipeline service life, combined with the minimum allowable wall thickness of the pipeline, the tenth relationship model is used to predict the remaining life SM based on variable rate corrosion. 2 ; Among them, the tenth relationship model is:

[0046]

[0047] Where T is the current service time of the pipeline, years.

[0048] In a second aspect, an embodiment of the present invention further provides a comprehensive prediction device for corrosion of a refinery pipeline based on local detection, comprising:

[0049] The first acquisition module is used to obtain the corrosion depth data of the local detection points of the same batch under the spatial distribution law of corrosion;

[0050] The first construction module is used to construct a maximum corrosion depth model based on extreme value type I distribution according to the corrosion depth data of local detection points in the same batch, and calculate the maximum corrosion depth of the pipeline;

[0051] The first prediction module is used to predict the remaining life based on the maximum corrosion depth according to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline;

[0052] The second acquisition module is used to obtain the corrosion depth data of local fixed-point detection points of different batches under the time distribution law of corrosion;

[0053] The second construction module is used to construct a relationship model between corrosion depth change and pipeline service time and obtain model parameters based on the corrosion depth data of local fixed-point detection points in different batches;

[0054] The second prediction module is used to predict the remaining life based on variable-rate corrosion according to the relationship model between the corrosion depth change and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline.

[0055] Furthermore, the first building module is specifically used to:

[0056] The probability distribution of the maximum corrosion depth is locally expressed using the extreme value type I distribution, which is expressed as the first relationship model:

[0057]

[0058] Among them, F(x) is the cumulative probability that the maximum corrosion depth does not exceed x; x is the random variable of the corrosion depth; λ is a statistical parameter, which represents the depth of the corrosion point with the largest probability density; α is a statistical variable, which represents the average value of the corrosion point depth; the values ​​of λ and α are obtained by linear fitting, and (x-λ) / α=y is set, then the first relationship model is transformed into the second relationship model:

[0059] F(x)=exp[-exp(-y)]

[0060] The second relational model is further transformed to obtain the third relational model:

[0061] y=-ln[-lnF(x)]=(x-λ) / α

[0062] If n corrosion points are detected in the same batch, the corrosion depth of the i-th point is x i, these corrosion depths are randomly distributed on the same pipeline. The corrosion depths of n points are sorted in order from small to large, then the sequence of samples is X = {x 1 ,x 2 ,…,x i ,…,x n}, where the statistical probability of the i-th point is expressed as the fourth relational model:

[0063]

[0064] Introduce the concept of return period, that is, return period T n Expressed as the maximum corrosion depth x max The ratio of the maximum area to be measured to the local measurement area is the fifth relationship model:

[0065] T n =S / s

[0066] Among them, S is the area of ​​the entire pipeline, and s is the local measurement area. Because the corresponding spatial relationship of the underground pipeline of the refinery is a length relationship, the fifth relationship model is transformed into the sixth relationship model:

[0067] T n =L / l

[0068] Where, L is the length of the entire corroded pipeline; l is the local measurement length;

[0069] Among them, the return period T n It also means that the random variable x that satisfies the extreme value distribution exceeds the maximum value x max The required number of samples, regression period T n and the cumulative probability F(x max ) is the seventh relationship model:

[0070] T n =1 / [1-F(x max )]

[0071] According to the obtained F(x max ) value calculation y max value, and y max Substituting the value into y = (x-λ) / α, we can get the predicted value x of the maximum corrosion depth of the pipeline section with a length of L. max for:

[0072] x max =α·y max +λ.

[0073] Furthermore, the first prediction module is specifically used to:

[0074] According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, assuming that the corrosion rate is uniform, the remaining life SM based on the maximum corrosion depth is predicted according to the eighth relationship model. 1 , where the eighth relational model is:

[0075] SM 1 =(tx max -t min ) / R=Time·(tx max -t min ) / x max

[0076] Where Time is the service time of the pipeline, years; t is the designed wall thickness of the pipe, mm; t min is the minimum wall thickness allowed for the pipeline, mm; R is the corrosion rate of the pipe wall, mm / s.

[0077] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the comprehensive prediction method for corrosion of refining pipelines based on local detection as described in the first aspect is implemented.

[0078] In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the comprehensive prediction method for corrosion of refining pipelines based on local detection as described in the first aspect.

[0079] It can be seen from the above technical scheme that the comprehensive prediction method, device, electronic device and storage medium for corrosion of refining pipelines based on local detection provided by the embodiment of the present invention obtains the corrosion depth data of the local detection points of the same batch under the spatial distribution law of corrosion; according to the corrosion depth data of the local detection points of the same batch, a maximum corrosion depth model based on the extreme value type I distribution is constructed to calculate the maximum corrosion depth of the pipeline; according to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on the maximum corrosion depth is predicted; under the time distribution law of corrosion, the corrosion depth data of local fixed-point detection points of different batches are obtained; according to the corrosion depth data of local fixed-point detection points of different batches, a relationship model between the change of corrosion depth and the service time of the pipeline is constructed and the model parameters are obtained; according to the relationship model between the change of corrosion depth and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on variable-speed corrosion is predicted. It can be seen that the embodiment of the present invention combines the detection data of the same batch and different batches to construct a corrosion spatial distribution and time distribution model, predict the remaining life of the entire pipeline under a uniform corrosion rate and the remaining life of the corrosion-prone point under an uneven corrosion rate, thereby forming a comprehensive corrosion evaluation method. The embodiment of the present invention takes the pipeline detection data of the refinery enterprise as the starting point, conducts in-depth data mining, and conducts corrosion evaluation in full combination with the enterprise detection work under existing conditions; from the two dimensions of spatial distribution and temporal distribution of corrosion, it avoids the inability to fully grasp the pipeline corrosion status due to local detection, while considering the corrosion changes of key corrosion focus points, and realizes full coverage of corrosion evaluation based on local detection; through the remaining life prediction of two dimensions, it provides technical support for the formulation of the enterprise's repair and maintenance decisions, and effectively guarantees the inherent safety of the refinery pipeline. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0081] Figure 1 It is a flow chart of a comprehensive prediction method for corrosion of a refinery pipeline based on local detection provided by an embodiment of the present invention;

[0082] Figure 2 It is a structural schematic diagram of a comprehensive prediction device for corrosion of a refinery pipeline based on local detection provided by an embodiment of the present invention;

[0083] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0084] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0085] In the embodiments of the present invention, it should be noted that the basis of pipeline corrosion evaluation is to obtain accurate and comprehensive corrosion detection data. However, at present, it is impossible to carry out internal detection of underground pipelines of refining and chemical enterprises to achieve full coverage detection, and only local characteristics of pipeline corrosion can be reflected. If all pipelines are excavated, the cost of detection is extremely high and affects the operation of refining and chemical enterprises. Compared with long-distance pipelines, it is difficult to obtain more comprehensive and quantitative detection data. The existing technology only predicts the spatial distribution law of all corrosion conditions with local corrosion samples, but cannot track the conditions of corrosion-prone points in real time, making it difficult to fully grasp the safety status of the pipeline. Therefore, on the basis of the existing technology, the embodiments of the present invention combine the detection data, analyze the data obtained from local detection from the spatial distribution law and time distribution law of corrosion, comprehensively evaluate the corrosion status of the pipeline, and predict the remaining life of the pipeline at uniform corrosion rate and uneven corrosion rate respectively. The following will give a detailed description of the comprehensive prediction method and device for corrosion of refining and chemical pipelines based on local detection provided by the present invention through specific embodiments.

[0086] Figure 1 A flowchart of a comprehensive prediction method for corrosion of a refinery pipeline based on local detection provided by an embodiment of the present invention is shown. Figure 1 As shown, the comprehensive prediction method for corrosion of a refinery pipeline based on local detection provided by an embodiment of the present invention specifically includes the following contents:

[0087] Step 101: Under the spatial distribution law of corrosion, obtain corrosion depth data of local detection points in the same batch.

[0088] In this embodiment, for underground pipelines, the abnormal points are determined by trenchless detection of underground pipelines, and then the abnormal points are excavated for verification, and contact quantitative detection is carried out using technologies such as ultrasonic, C-scan, ultrasonic phased array, and ultrasonic diffraction time difference, so as to obtain local detection data of pipelines in the same batch. For above-ground pipelines, vulnerable points are selected based on historical failure data and management experience, and detection is carried out directly using technologies such as ultrasonic, C-scan, ultrasonic phased array, and ultrasonic diffraction time difference to obtain the corrosion depth of each detection point.

[0089] In this embodiment, a comprehensive inspection was carried out on the above-ground gasoline pipeline of a refinery. The pipeline specification was 450mm×14mm. Ultrasonic technology was used to select 10 corrosion-prone points for wall thickness detection, and the corrosion depth data of each point were obtained: W1: 1.05, W2: 1.26, W3: 0.91, W4: 2.14, W5: 1.56, W6: 1.77, W7: 1.39, W8: 0.62, W9: 1.32, W10: 1.20, in mm.

[0090] Step 102: Based on the corrosion depth data of the local detection points in the same batch, a maximum corrosion depth model based on extreme value type I distribution is constructed to calculate the maximum corrosion depth of the pipeline.

[0091] In this embodiment, the probability distribution of the maximum corrosion depth is locally expressed using the extreme value type I distribution, which is expressed as:

[0092]

[0093] Among them, F(x) is the cumulative probability that the maximum corrosion depth does not exceed x; x is the random variable of corrosion depth; λ is a statistical parameter, which represents the depth of the corrosion point with the largest probability density; α is a statistical variable, which represents the average value of the corrosion point depth; the values ​​of λ and α can be obtained by linear fitting. Assuming (x-λ) / α=y, the above formula becomes:

[0094] F(x)=exp[-exp(-y)]

[0095] Change the above formula:

[0096] y=-ln[-lnF(x)]=(x-λ) / α

[0097] Assume that n corrosion points are detected in the same batch, and the corrosion depth of the i-th point is x i , these corrosion depths are randomly distributed on the same pipeline. The corrosion depths of n points are sorted in order from small to large, then the sequence of samples is X = {x 1 ,x 2 ,…,x i ,…,x n}, where the statistical probability of the i-th measurement value is:

[0098]

[0099] Introduce the concept of return period, that is, return period T n Expressed as the maximum corrosion depth x max The ratio of the maximum area to be measured to the local measurement area is:

[0100] T n =S / s

[0101] Where S is the area of ​​the entire pipeline; s is the local measurement area.

[0102] Because the corresponding spatial relationship between the small sample and the large sample of the underground pipeline of the refinery is a length relationship, it can be converted into:

[0103] T n =L / l

[0104] Where, L is the length of the entire corroded pipeline; l is the local measurement length.

[0105] Return period T n It can also be expressed as a random variable x that satisfies the extreme value distribution and exceeds the maximum value x max The required number of samples. The regression period T n and the cumulative probability F(x max ) is:

[0106] T n =1 / [1-F(x max )]

[0107] According to the obtained F(x max ) value calculation y max value; finally, y max Substituting the value into y = (x-λ) / α, we can get the predicted value x of the maximum corrosion depth of the pipeline section with a length of L. max for:

[0108] x max =α·y max +λ

[0109] In this embodiment, the corrosion depths of the various measurement points are sorted in ascending order, and the sample sequence is X={x 1 ,x 2 ,…,x 10}={0.62,0.91,1.05,1.20,1.26,1.32,1.39,1.56,1.77,2.14}, thus the statistical probability of the measured value is F(X)={0.091,0.182,0.273,0.364,0.455,0.545,0.636,0.727,0.818,0.909}, and y={-0.874,-0.532,-0.261,-0.011,0.239,0.499,0.793,1.143,1.605,2.350}. According to the relationship between x and y, through linear fitting, the value of λ is 1.110 and the value of α is 0.428.

[0110] In this embodiment, the pipeline length is 1.2 km, the length of the detected pipe section is 20 m, and the regression period T is obtained. n =0.667, thus we get F(x max )=0.333,y max =0.367, so the predicted value x of the maximum corrosion depth of the pipeline is obtained max It is 4.086mm.

[0111] Step 103: According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on the maximum corrosion depth is predicted.

[0112] In this embodiment, the minimum allowable wall thickness of the pipeline is obtained based on the strength analysis results. Combined with the maximum corrosion depth and the service life of the pipeline, assuming that the corrosion rate is uniform, the remaining life SM based on the maximum corrosion depth is obtained. 1 :

[0113] SM 1 =(tx max -t min ) / R=Time·(tx max -t min ) / x max

[0114] Where Time is the service time of the pipeline, years; t is the designed wall thickness of the pipe, mm; t min is the minimum wall thickness allowed for the pipeline, mm; R is the corrosion rate of the pipe wall, mm / s.

[0115] In this example, the service life of the pipeline is 6 years, the minimum wall thickness allowed for the pipeline is 8 mm, and the remaining life SM based on the maximum corrosion depth is obtained. 1 It is 2.8a.

[0116] It should be noted that the present step 103 predicts the remaining life of the entire pipeline at a uniform corrosion rate.

[0117] Step 104: Under the time distribution law of corrosion, corrosion depth data of local fixed-point detection points of different batches are obtained.

[0118] In this embodiment, due to the diverse media in the pipelines of the refinery and the complex atmospheric environment, the elbows, valves, branches, tees and access points of the pipelines are susceptible to corrosion and become the key detection objects of the annual detection and comprehensive inspection of the enterprise. The detection technologies used include: ultrasonic, C-scan, ultrasonic phased array, ultrasonic diffraction time difference, etc. In this embodiment, the detection data of the key corrosion points in previous years are collected, mainly based on the wall thickness data or corrosion depth data in previous years.

[0119] In this embodiment, the service life of the pipeline is 6 years. Starting from the second year of operation, the pipeline is subject to annual inspection and comprehensive testing. Ultrasonic corrosion testing is performed on a certain elbow year by year, and the corrosion depths obtained are: 0.23 in the second year, 0.41 in the third year, 0.76 in the fourth year, 1.29 in the fifth year, and 1.77 in the sixth year, in mm.

[0120] Step 105: Based on the corrosion depth data of local fixed-point detection points in different batches, a relationship model between the corrosion depth change and the pipeline service time is constructed and the model parameters are obtained.

[0121] In this embodiment, an exponential function is used to approximate the relationship between the corrosion depth change and the service life of the pipeline, thereby constructing an engineering empirical formula:

[0122] x=m·Time n

[0123] Where x is the corrosion depth of the pipe wall, mm; Time is the service time of the pipeline, years; m and n are constants, and the determination method of constants m and n is as follows:

[0124] Taking the logarithm of both sides of the above equation, we have:

[0125] logx=logm+n·logTime

[0126] Assume: logx = y; logm = a 0 ; n = a 1 ; logTime = x. So we get:

[0127] y=a 0 +a 1 x

[0128] According to the pipeline corrosion depth data detected in previous years, a is calculated using the linear fitting method. 0 and a 1 , and thus the constants m and n can be calculated.

[0129] In this embodiment, the set of pipe wall corrosion depths x = {0.23, 0.41, 0.76, 1.29, 1.77}, and the pipeline service time Time = {2, 3, 4, 5, 6}, so we get a 0 is -1.247, a 1 is 1.908, so m is 0.057 and n is 1.908.

[0130] Step 106: Based on the relationship model between the corrosion depth change and the service life of the pipeline and the minimum allowable wall thickness of the pipeline, the remaining life based on variable rate corrosion is predicted.

[0131] In this embodiment, according to the relationship between the corrosion depth change and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life SM based on variable rate corrosion is obtained. 2 :

[0132]

[0133] Where T is the current service time of the pipeline, years.

[0134] In this example, the current service life of the pipeline is 6 years, and the minimum wall thickness allowed for the pipeline is 8 mm. Therefore, the remaining life SM based on variable rate corrosion is obtained: 2 It is 5.5 years.

[0135] It should be noted that step 106 predicts the remaining life of the corrosion-prone points under non-uniform corrosion rates.

[0136] It can be seen that this embodiment predicts the remaining life of the entire pipeline under a uniform corrosion rate and the remaining life of the corrosion-prone points under a non-uniform corrosion rate, thereby forming a comprehensive corrosion evaluation method.

[0137] It can be seen that in this embodiment, starting from the two dimensions of spatial distribution and temporal distribution of corrosion, the remaining life based on the maximum corrosion depth and the remaining life based on variable speed corrosion are obtained at the same time, which avoids the inability to fully grasp the pipeline corrosion status due to local detection, while taking into account the corrosion changes of key corrosion focus points, and achieving full coverage of corrosion evaluation based on local detection. Through the remaining life prediction in two dimensions, technical support is provided for the formulation of enterprise maintenance decisions, and the inherent safety of refining pipelines is effectively guaranteed.

[0138] It can be seen that this embodiment has established a comprehensive prediction model for corrosion of refining and chemical pipelines based on local detection. Based on the distribution law of corrosion space and time, it predicts the remaining life of the pipeline based on the maximum corrosion depth and based on fixed-point variable-speed corrosion, breaking the barriers of existing technologies, which is conducive to optimizing the pipeline inspection and maintenance cycle and achieving the management goal of reducing costs and increasing efficiency on the basis of ensuring pipeline safety.

[0139] It can be seen from the above technical scheme that the comprehensive prediction method for corrosion of refining pipelines based on local detection provided by the embodiment of the present invention obtains the corrosion depth data of the local detection points of the same batch under the spatial distribution law of corrosion; according to the corrosion depth data of the local detection points of the same batch, a maximum corrosion depth model based on the extreme value type I distribution is constructed to calculate the maximum corrosion depth of the pipeline; according to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on the maximum corrosion depth is predicted; under the time distribution law of corrosion, the corrosion depth data of local fixed-point detection points of different batches are obtained; according to the corrosion depth data of local fixed-point detection points of different batches, a relationship model between the change of corrosion depth and the service time of the pipeline is constructed and the model parameters are obtained; according to the relationship model between the change of corrosion depth and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on variable-speed corrosion is predicted. It can be seen that the embodiment of the present invention combines the detection data of the same batch and different batches to construct a corrosion spatial distribution and time distribution model, predict the remaining life of the entire pipeline under a uniform corrosion rate and the remaining life of the corrosion-prone point under an uneven corrosion rate, thereby forming a comprehensive corrosion evaluation method. The embodiment of the present invention takes the pipeline detection data of the refinery enterprise as the starting point, conducts in-depth data mining, and conducts corrosion evaluation in full combination with the enterprise detection work under existing conditions; from the two dimensions of spatial distribution and temporal distribution of corrosion, it avoids the inability to fully grasp the pipeline corrosion status due to local detection, while considering the corrosion changes of key corrosion focus points, and realizes full coverage of corrosion evaluation based on local detection; through the remaining life prediction of two dimensions, it provides technical support for the formulation of the enterprise's repair and maintenance decisions, and effectively guarantees the inherent safety of the refinery pipeline.

[0140] Based on the contents of the above embodiments, in this embodiment, the S2 constructs a maximum corrosion depth model based on extreme value type I distribution according to the corrosion depth data of local detection points of the same batch, and calculates the maximum corrosion depth of the pipeline, specifically including:

[0141] The probability distribution of the maximum corrosion depth is locally expressed using the extreme value type I distribution, which is expressed as the first relationship model:

[0142]

[0143] Among them, F(x) is the cumulative probability that the maximum corrosion depth does not exceed x; x is the random variable of the corrosion depth; λ is a statistical parameter, which represents the depth of the corrosion point with the largest probability density; α is a statistical variable, which represents the average value of the corrosion point depth; the values ​​of λ and α are obtained by linear fitting, and (x-λ) / α=y is set, then the first relationship model is transformed into the second relationship model:

[0144] F(x)=exp[-exp(-y)]

[0145] The second relational model is further transformed to obtain the third relational model:

[0146] y=-ln[-lnF(x)]=(x-λ) / α

[0147] If n corrosion points are detected in the same batch, the corrosion depth of the i-th point is x i , these corrosion depths are randomly distributed on the same pipeline. The corrosion depths of n points are sorted in order from small to large, then the sequence of samples is X = {x 1 ,x 2 ,…,x i ,…,x n}, where the statistical probability of the i-th point is expressed as the fourth relational model:

[0148]

[0149] Introduce the concept of return period, that is, return period T n Expressed as the maximum corrosion depth x max The ratio of the maximum area to be measured to the local measurement area is the fifth relationship model:

[0150] T n =S / s

[0151] Among them, S is the area of ​​the entire pipeline, and s is the local measurement area. Because the corresponding spatial relationship of the underground pipeline of the refinery is a length relationship, the fifth relationship model is transformed into the sixth relationship model:

[0152] T n =L / l

[0153] Where, L is the length of the entire corroded pipeline; l is the local measurement length;

[0154] Among them, the return period T n It also means that the random variable x that satisfies the extreme value distribution exceeds the maximum value x max The number of samples required, the regression period T n and the cumulative probability F(x max ) is the seventh relationship model:

[0155] T n =1 / [1-F(x max )]

[0156] According to the obtained F(x max ) value calculation y max value, and y max Substituting the value into y = (x-λ) / α, we can get the predicted value x of the maximum corrosion depth of the pipeline section with a length of L. max for:

[0157] x max=α·y max +λ.

[0158] In this embodiment, a specific implementation method for calculating the maximum corrosion depth of the pipeline based on the corrosion depth data of local detection points in the same batch is given, and a maximum corrosion depth model based on extreme value type I distribution is constructed, so that the maximum corrosion depth of the pipeline can be obtained, which facilitates the subsequent prediction of the remaining life based on the maximum corrosion depth.

[0159] Based on the content of the above embodiment, in this embodiment, the S3 predicts the remaining life based on the maximum corrosion depth according to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, and specifically includes:

[0160] According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, assuming that the corrosion rate is uniform, the remaining life SM based on the maximum corrosion depth is predicted according to the eighth relationship model. 1 , where the eighth relational model is:

[0161] SM 1 =(tx max -t min ) / R=Time·(tx max -t min ) / x max

[0162] Where Time is the service time of the pipeline, years; t is the designed wall thickness of the pipe, mm; t min is the minimum wall thickness allowed for the pipeline, mm; R is the corrosion rate of the pipe wall, mm / s.

[0163] In this embodiment, a specific implementation method for predicting the remaining life based on the maximum corrosion depth is provided according to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, so that the remaining life based on the maximum corrosion depth can be accurately predicted.

[0164] Based on the content of the above embodiment, in this embodiment, the S5 constructs a relationship model between the corrosion depth change and the pipeline service time and obtains model parameters according to the corrosion depth data of local fixed-point detection points of different batches, which specifically includes:

[0165] According to the corrosion depth data of local fixed-point detection points in different batches, the relationship between the corrosion depth change and the service life of the pipeline is expressed by the exponential function as the ninth relationship model:

[0166] x=m·Time n

[0167] Where x is the corrosion depth of the pipe wall, mm; Time is the service time of the pipeline, years; m and n are constants, and the method for determining the constants m and n is:

[0168] Taking the logarithm of both sides of the above equation, we have:

[0169] logx=logm+n·logTime

[0170] Assume: logx = y; logm = a 0 ; n = a 1 ; logTime = x, then we get:

[0171] y=a 0 +a 1 x

[0172] According to the historical pipeline corrosion depth data, a is calculated by linear fitting method. 0 and a 1 , and then calculate the constants m and n.

[0173] In this embodiment, a specific implementation process of constructing a relationship model between corrosion depth change and pipeline service time and obtaining model parameters based on corrosion depth data of local fixed-point detection points in different batches is given. Therefore, a relationship model between corrosion depth change and pipeline service time can be successfully constructed, which is convenient for subsequent prediction of the remaining life based on variable-speed corrosion based on the relationship model between corrosion depth change and pipeline service life, combined with the minimum allowable wall thickness of the pipeline.

[0174] Based on the content of the above embodiment, in this embodiment, S6 predicts the remaining life based on variable rate corrosion according to the relationship model between the corrosion depth change and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, and specifically includes:

[0175] According to the relationship model between corrosion depth change and pipeline service life, combined with the minimum allowable wall thickness of the pipeline, the tenth relationship model is used to predict the remaining life SM based on variable rate corrosion. 2 ; Among them, the tenth relationship model is:

[0176]

[0177] Where T is the current service time of the pipeline, years.

[0178] In this embodiment, a relationship model between the change in corrosion depth and the service life of the pipeline is given, and a specific implementation method for predicting the remaining life based on variable rate corrosion is combined with the minimum allowable wall thickness of the pipeline, so that the remaining life based on variable rate corrosion can be accurately predicted.

[0179] It can be seen that this embodiment establishes a comprehensive prediction model for corrosion of refining and chemical pipelines based on local detection, and predicts the remaining life of pipelines based on the maximum corrosion depth and fixed-point variable-speed corrosion based on the distribution law of corrosion space and time, breaking the barriers of existing technologies, which is conducive to optimizing the pipeline inspection and maintenance cycle and achieving the management goal of reducing costs and increasing efficiency on the basis of ensuring pipeline safety.

[0180] The embodiment of the present invention takes the pipeline detection data of the refinery enterprise as the starting point, conducts in-depth data mining, and conducts corrosion evaluation in full combination with the enterprise detection work under existing conditions; from the two dimensions of spatial distribution and temporal distribution of corrosion, it avoids the inability to fully grasp the pipeline corrosion status due to local detection, while considering the corrosion changes of key corrosion focus points, and realizes full coverage of corrosion evaluation based on local detection; through the remaining life prediction of two dimensions, it provides technical support for the formulation of the enterprise's repair and maintenance decisions, and effectively guarantees the inherent safety of the refinery pipeline.

[0181] Figure 2 FIG. 1 shows a schematic diagram of a comprehensive prediction device for corrosion of a refinery pipeline based on local detection according to an embodiment of the present invention. Figure 2 As shown, the comprehensive prediction device for corrosion of a refinery pipeline based on local detection provided by an embodiment of the present invention includes: a first acquisition module 21, a first construction module 22, a first prediction module 23, a second acquisition module 24, a second construction module 25 and a second prediction module 26, wherein:

[0182] The first acquisition module 21 is used to acquire the corrosion depth data of the local detection points of the same batch under the spatial distribution law of corrosion;

[0183] The first construction module 22 is used to construct a maximum corrosion depth model based on extreme value type I distribution according to the corrosion depth data of local detection points in the same batch, and calculate the maximum corrosion depth of the pipeline;

[0184] The first prediction module 23 is used to predict the remaining life based on the maximum corrosion depth according to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline;

[0185] The second acquisition module 24 is used to obtain corrosion depth data of local fixed-point detection points of different batches under the time distribution law of corrosion;

[0186] The second construction module 25 is used to construct a relationship model between corrosion depth change and pipeline service time and obtain model parameters based on the corrosion depth data of local fixed-point detection points in different batches;

[0187] The second prediction module 26 is used to predict the remaining life based on variable rate corrosion according to the relationship model between the corrosion depth change and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline.

[0188] Based on the content of the above embodiment, in this embodiment, the first building module is specifically used to:

[0189] The probability distribution of the maximum corrosion depth is locally expressed using the extreme value type I distribution, which is expressed as the first relationship model:

[0190]

[0191] Among them, F(x) is the cumulative probability that the maximum corrosion depth does not exceed x; x is the random variable of the corrosion depth; λ is a statistical parameter, which represents the depth of the corrosion point with the largest probability density; α is a statistical variable, which represents the average value of the corrosion point depth; the values ​​of λ and α are obtained by linear fitting, and (x-λ) / α=y is set, then the first relationship model is transformed into the second relationship model:

[0192] F(x)=exp[-exp(-y)]

[0193] The second relational model is further transformed to obtain the third relational model:

[0194] y=-ln[-lnF(x)]=(x-λ) / α

[0195] If n corrosion points are detected in the same batch, the corrosion depth of the i-th point is x i , these corrosion depths are randomly distributed on the same pipeline. The corrosion depths of n points are sorted in order from small to large, then the sequence of samples is X = {x 1 ,x 2 ,…,x i ,…,x n}, where the statistical probability of the i-th point is expressed as the fourth relational model:

[0196]

[0197] Introduce the concept of return period, that is, return period T n Expressed as the maximum corrosion depth x max The ratio of the maximum area to be measured to the local measurement area is the fifth relationship model:

[0198] T n =S / s

[0199] Among them, S is the area of ​​the entire pipeline, and s is the local measurement area. Because the corresponding spatial relationship of the underground pipeline of the refinery is a length relationship, the fifth relationship model is transformed into the sixth relationship model:

[0200] T n =L / l

[0201] Where, L is the length of the entire corroded pipeline; l is the local measurement length;

[0202] Among them, the return period T n It also means that the random variable x that satisfies the extreme value distribution exceeds the maximum value x max The number of samples required, the regression period T n and the cumulative probability F(x max ) is the seventh relationship model:

[0203] T n =1 / [1-F(x max )]

[0204] According to the obtained F(x max ) value calculation y max value, and y max Substituting the value into y = (x-λ) / α, we can get the predicted value x of the maximum corrosion depth of the pipeline section with a length of L. max for:

[0205] x max =α·y max +λ.

[0206] Based on the content of the above embodiment, in this embodiment, the first prediction module is specifically used to:

[0207] According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, assuming that the corrosion rate is uniform, the remaining life SM based on the maximum corrosion depth is predicted according to the eighth relationship model. 1 , where the eighth relational model is:

[0208] SM 1 =(tx max -t min ) / R=Time·(tx max -t min ) / x max

[0209] Where Time is the service time of the pipeline, years; t is the designed wall thickness of the pipe, mm; t min is the minimum wall thickness allowed for the pipeline, mm; R is the corrosion rate of the pipe wall, mm / s.

[0210] Since the comprehensive prediction device for corrosion of refining and chemical pipelines based on local detection provided in this embodiment can be used to execute the comprehensive prediction method for corrosion of refining and chemical pipelines based on local detection provided in the above embodiments, its working principle and beneficial effects are similar and will not be described in detail here.

[0211] Based on the same inventive concept, another embodiment of the present invention provides an electronic device, see Figure 3, the electronic device specifically includes the following contents: a processor 301, a memory 302, a communication interface 303 and a communication bus 304;

[0212] The processor 301, the memory 302, and the communication interface 303 communicate with each other through the communication bus 304; the communication interface 303 is used to realize information transmission between various devices;

[0213] The processor 301 is used to call the computer program in the memory 302. When the processor executes the computer program, all steps of the above-mentioned comprehensive prediction method for corrosion of refining pipelines based on local detection are implemented. For example, when the processor executes the computer program, the following steps are implemented: S1. Under the spatial distribution law of corrosion, the corrosion depth data of local detection points in the same batch are obtained; S2. According to the corrosion depth data of local detection points in the same batch, a maximum corrosion depth model based on extreme value type I distribution is constructed to calculate the maximum corrosion depth of the pipeline; S3. According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on the maximum corrosion depth is predicted; S4. Under the time distribution law of corrosion, the corrosion depth data of local fixed-point detection points in different batches are obtained; S5. According to the corrosion depth data of local fixed-point detection points in different batches, a relationship model between corrosion depth change and pipeline service time is constructed and model parameters are obtained; S6. According to the relationship model between corrosion depth change and pipeline service life, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on variable speed corrosion is predicted.

[0214] Based on the same inventive concept, another embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, all steps of the above-mentioned comprehensive prediction method for corrosion of refining pipelines based on local detection are implemented. For example, when the processor executes the computer program, the following steps are implemented: S1. Under the spatial distribution law of corrosion, the corrosion depth data of local detection points of the same batch are obtained; S2. According to the corrosion depth data of local detection points of the same batch, a maximum corrosion depth model based on extreme value type I distribution is constructed to calculate the maximum corrosion depth of the pipeline; S3. According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on the maximum corrosion depth is predicted; S4. Under the time distribution law of corrosion, the corrosion depth data of local fixed-point detection points of different batches are obtained; S5. According to the corrosion depth data of local fixed-point detection points of different batches, a relationship model between corrosion depth change and pipeline service time is constructed and model parameters are obtained; S6. According to the relationship model between corrosion depth change and pipeline service life, combined with the minimum allowable wall thickness of the pipeline, the remaining life based on variable speed corrosion is predicted.

[0215] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0216] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention. Those of ordinary skill in the art may understand and implement them without creative effort.

[0217] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the comprehensive prediction method for corrosion of a refining pipeline based on local detection described in each embodiment or some parts of the embodiment.

[0218] In addition, in the present invention, terms such as "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0219] In addition, in the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0220] In addition, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0221] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A comprehensive prediction method for corrosion of refining pipelines based on local detection, characterized in that: include: S1. Obtain corrosion depth data of local inspection points in the same batch under the spatial distribution law of corrosion; S2. Based on the corrosion depth data of local detection points in the same batch, a maximum corrosion depth model based on extreme value type I distribution is constructed to calculate the maximum corrosion depth of the pipeline; S3. Based on the maximum corrosion depth and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, predict the remaining life based on the maximum corrosion depth; S4. Obtain corrosion depth data of local fixed-point detection points of different batches under the time distribution law of corrosion; S5. Based on the corrosion depth data of local fixed-point detection points in different batches, a relationship model between the corrosion depth change and the pipeline service time is constructed and the model parameters are obtained; S6. Based on the relationship model between the change in corrosion depth and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the remaining life due to variable-rate corrosion is predicted.

2. The comprehensive prediction method for corrosion of refinery pipelines based on local detection according to claim 1 is characterized in that: The S2 constructs a maximum corrosion depth model based on extreme value type I distribution based on the corrosion depth data of local detection points in the same batch, and calculates the maximum corrosion depth of the pipeline, specifically including: The probability distribution of the maximum corrosion depth is locally expressed using the extreme value type I distribution, which is expressed as the first relationship model: Where F(x) is the cumulative probability that the maximum corrosion depth does not exceed x; x is a random variable of corrosion depth; λ is a statistical parameter representing the depth of the corrosion point with the highest probability density; α is a statistical variable representing the average value of the corrosion point depth; the values ​​of λ and α are obtained through linear fitting. Let (x-λ) / α=y, then the first relationship model is transformed into the second relationship model: F(x)=exp[-exp(-y)] The second relational model is further transformed to obtain the third relational model: y=-ln[-lnF(x)]=(x-λ) / α If n corrosion points are detected in the same batch, the corrosion depth of the i-th point is x i , these corrosion depths are randomly distributed on the same pipeline, and the corrosion depths of n points are sorted in ascending order, then the sample sequence is X = {x1, x2, ..., x i ,…,x n }, where the statistical probability of the i-th point is expressed as the fourth relational model: Introducing the concept of regression period, that is, regression period T n Expressed as the maximum corrosion depth x max The ratio of the maximum area to be measured to the local measurement area is the fifth relationship model: T n =S / s Among them, S is the area of ​​the entire pipeline, and s is the local measurement area. Because the corresponding spatial relationship of the refinery underground pipeline is a length relationship, the fifth relationship model is transformed into the sixth relationship model: T n =L / l Where L is the length of the entire corroded pipeline; l is the local measurement length; Among them, the return period T n It also means that the random variable x that satisfies the extreme value distribution exceeds the maximum value x max The required number of samples, regression period T n and the cumulative probability F(x max ) is the seventh relationship model: T n =1 / [1-F(x max )] According to the obtained F(x max ) value calculation y max value, and y max Substitute the value into y = (x-λ) / α to obtain the predicted value x of the maximum corrosion depth of the pipeline section with a length of L max for: x max =α·y max +l.

3. The comprehensive prediction method for corrosion of refinery pipelines based on local detection according to claim 2 is characterized in that: The S3 predicts the remaining life based on the maximum corrosion depth according to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, and specifically includes: According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, assuming that the corrosion rate is uniform, the remaining service life SM1 based on the maximum corrosion depth is predicted according to the eighth relationship model, where the eighth relationship model is: SM1=(t-x max -t min ) / R=Time·(t-x max -t min ) / x max Where Time is the service time of the pipeline, years; t is the designed wall thickness of the pipe, mm; t min is the minimum wall thickness allowed for the pipeline, mm; R is the corrosion rate of the pipe wall, mm / s.

4. The method for comprehensive prediction of corrosion of refinery pipelines based on local detection according to claim 3 is characterized in that: The S5 constructs a relationship model between the corrosion depth change and the pipeline service time based on the corrosion depth data of the local fixed-point detection points of different batches and obtains the model parameters, specifically including: Based on the corrosion depth data of local fixed-point detection points in different batches, the relationship between the corrosion depth change and the service life of the pipeline is expressed as the ninth relationship model using an exponential function: x=m·Time n Where x is the corrosion depth of the pipe wall, in mm; Time is the service time of the pipeline, in years; m and n are constants. The method for determining the constants m and n is: Taking the logarithm of both sides of the above equation, we have: log x=log m+n·log Time Assume: log x = y; log m = a0; n = a1; log Time = x, then we get: y=a0+a1x Based on the historical pipeline corrosion depth data, a0 and a1 are calculated using the linear fitting method, and then the constants m and n are calculated.

5. The method for comprehensive prediction of corrosion of refinery pipelines based on local detection according to claim 4 is characterized in that: The S6 predicts the remaining life due to variable-rate corrosion based on the relationship model between corrosion depth change and pipeline service life, combined with the minimum allowable wall thickness of the pipeline, specifically including: According to the relationship model between the corrosion depth change and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline, the tenth relationship model is used to predict the remaining service life SM2 based on variable rate corrosion; wherein, the tenth relationship model is: Where T is the current service time of the pipeline, in years.

6. A comprehensive prediction device for corrosion of refining pipelines based on local detection, characterized in that: include: The first acquisition module is used to obtain the corrosion depth data of local detection points in the same batch under the spatial distribution law of corrosion; The first construction module is used to construct a maximum corrosion depth model based on extreme value type I distribution based on the corrosion depth data of local detection points in the same batch, and calculate the maximum corrosion depth of the pipeline; The first prediction module is used to predict the remaining life based on the maximum corrosion depth according to the maximum corrosion depth and the service time of the pipeline in combination with the minimum allowable wall thickness of the pipeline; The second acquisition module is used to obtain the corrosion depth data of local fixed-point detection points in different batches under the time distribution law of corrosion; The second construction module is used to construct a relationship model between corrosion depth change and pipeline service time and obtain model parameters based on the corrosion depth data of local fixed-point detection points in different batches; The second prediction module is used to predict the remaining life based on variable-rate corrosion according to the relationship model between the change in corrosion depth and the service life of the pipeline, combined with the minimum allowable wall thickness of the pipeline.

7. The comprehensive prediction device for corrosion of refinery pipelines based on local detection according to claim 6 is characterized in that: The first building block is specifically configured to: The probability distribution of the maximum corrosion depth is locally expressed using the extreme value type I distribution, which is expressed as the first relationship model: Where F(x) is the cumulative probability that the maximum corrosion depth does not exceed x; x is a random variable of corrosion depth; λ is a statistical parameter representing the depth of the corrosion point with the highest probability density; α is a statistical variable representing the average value of the corrosion point depth; the values ​​of λ and α are obtained through linear fitting. Let (x-λ) / α=y, then the first relationship model is transformed into the second relationship model: F(x)=exp[-exp(-y)] The second relational model is further transformed to obtain the third relational model: y=-ln[-lnF(x)]=(x-λ) / α If n corrosion points are detected in the same batch, the corrosion depth of the i-th point is x i , these corrosion depths are randomly distributed on the same pipeline, and the corrosion depths of n points are sorted in ascending order, then the sample sequence is X = {x1, x2, ..., x i ,…,x n }, where the statistical probability of the i-th point is expressed as the fourth relational model: Introducing the concept of regression period, that is, regression period T n Expressed as the maximum corrosion depth x max The ratio of the maximum area to be measured to the local measurement area is the fifth relationship model: T n =S / s Among them, S is the area of ​​the entire pipeline, and s is the local measurement area. Because the corresponding spatial relationship of the refinery underground pipeline is a length relationship, the fifth relationship model is transformed into the sixth relationship model: T n =L / l Where L is the length of the entire corroded pipeline; l is the local measurement length; Among them, the return period T n It also means that the random variable x that satisfies the extreme value distribution exceeds the maximum value x max The required number of samples, regression period T n and the cumulative probability F(x max ) is the seventh relationship model: T n =1 / [1-F(x max )] According to the obtained F(x max ) value calculation y max value, and y max Substitute the value into y = (x-λ) / α to obtain the predicted value x of the maximum corrosion depth of the pipeline section with a length of L max for: x max =α·y max +l.

8. The device for comprehensive prediction of corrosion of refinery pipelines based on local detection according to claim 7 is characterized in that: The first prediction module is specifically configured to: According to the maximum corrosion depth and the service time of the pipeline, combined with the minimum allowable wall thickness of the pipeline, assuming that the corrosion rate is uniform, the remaining service life SM1 based on the maximum corrosion depth is predicted according to the eighth relationship model, where the eighth relationship model is: SM1=(t-x max -t min ) / R=Time·(t-x max -t min ) / x max Where Time is the service time of the pipeline, years; t is the designed wall thickness of the pipe, mm; t min is the minimum wall thickness allowed for the pipeline, mm; R is the corrosion rate of the pipe wall, mm / s.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the comprehensive prediction method for corrosion of refining pipelines based on local detection as described in any one of claims 1 to 5 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for comprehensively predicting corrosion of a refinery pipeline based on local detection as claimed in any one of claims 1 to 5 is implemented.