CN-121786432-B - Sulfur-containing sewage corrosion inhibitor effect evaluation method based on field data processing
Abstract
The invention belongs to the technical field of data processing, and particularly relates to a sulfur-containing sewage corrosion inhibitor effect evaluation method based on field data processing, which comprises the steps of obtaining environmental physical quantity data of sulfur-containing sewage and obtaining corrosion deterioration index by combining reference parameters; the method comprises the steps of obtaining initial corrosion rate, obtaining a net corrosion inhibition index by combining a reference corrosion rate and a corrosion deterioration index, obtaining dynamic environment fluctuation according to the historical corrosion deterioration index, further obtaining the size of a self-adaptive sliding window, extracting concentrated trend characteristics and discrete distribution characteristics of the net corrosion inhibition index in the size interval of the self-adaptive sliding window, obtaining a film forming stability coefficient, comparing the film forming stability coefficient with a preset judging threshold value, and outputting a corrosion inhibitor efficiency grade judging result. The invention objectively restores the real protection level of the agent under the complex working condition, so that the corrosion inhibitor efficiency evaluation is more accurate.
Inventors
- ZHANG LEI
- JIA SHUTING
- Chen cen
- HE HUALONG
- LI HUAN
Assignees
- 西安三维科技发展有限责任公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260309
Claims (10)
- 1. The sulfur-containing sewage corrosion inhibitor effect evaluation method based on field data processing is characterized by comprising the following steps of: Acquiring the initial corrosion rate measured at each sampling moment, and acquiring the net corrosion inhibition index at each sampling moment according to the initial corrosion rate, the pre-calibrated reference corrosion rate and the corresponding corrosion inhibition index; Taking the current moment as a target sampling moment, taking the standard deviation of corrosion deterioration indexes corresponding to a continuous preset number of historical sampling moments before the target sampling moment as dynamic environment fluctuation degree, adjusting and acquiring the self-adaptive sliding window size corresponding to the target sampling moment according to the dynamic environment fluctuation degree, taking the target sampling moment as an end point, intercepting continuous intervals with the same number of the sampling moments and the self-adaptive sliding window size, calculating the average value and standard deviation of net corrosion indexes corresponding to all sampling moments in the continuous intervals, taking the average value as a concentrated trend characteristic, taking the standard deviation as a discrete distribution characteristic, and acquiring the film forming stability coefficient of the target sampling moment according to the concentrated trend characteristic and the discrete distribution characteristic; And evaluating the effect of the corrosion inhibitor according to the film forming stability coefficient.
- 2. The method for evaluating the effect of sulfur-containing wastewater corrosion inhibitor based on field data processing as claimed in claim 1, wherein said environmental physical quantity data comprises hydrogen sulfide concentration, fluid flow rate and wastewater temperature.
- 3. The method for evaluating the effect of a sulfur-containing wastewater corrosion inhibitor based on-site data processing according to claim 2, wherein the corrosion deterioration index satisfies the relation: ; In the formula, Is the first Corrosion deterioration index at each sampling instant, 、 、 Respectively the first Hydrogen sulfide concentration, fluid flow rate and sewage temperature at each sampling time, 、 、 Respectively a reference hydrogen sulfide concentration, a reference fluid flow rate and a reference sewage temperature in reference environmental parameters, As a function of the temperature-sensitive coefficient, Is an exponential function based on natural constants.
- 4. The method for evaluating the effect of a sulfur-containing wastewater corrosion inhibitor based on-site data processing according to claim 1, wherein the net corrosion inhibition index satisfies the relationship: ; In the formula, Is the first The net corrosion inhibition index at each sampling instant, Is the first The initial corrosion rate at each sampling instant, As a reference to the corrosion rate, Is the first Corrosion deterioration index at each sampling instant, The compensation factor is coupled for the environmental stress.
- 5. The method for evaluating the effect of a sulfur-containing wastewater corrosion inhibitor based on-site data processing according to claim 1, wherein the size of the adaptive sliding window satisfies the relation: ; In the formula, In order to adapt the size of the sliding window, For the reference window size to be the reference window size, At the level of the minimum window size to be achieved, In order to be able to dynamically adjust the degree of environmental fluctuation, As an exponential function based on natural constants, In order to round up the rounding function, The sensitivity is shrunk for the window.
- 6. The method for evaluating the effect of a sulfur-containing wastewater corrosion inhibitor based on-site data processing according to claim 1, wherein the film formation stability coefficient satisfies the relation: ; In the formula, The film forming stability coefficient corresponding to the target sampling moment, For the central trend characteristic of the net corrosion inhibition index in the interval defined by the self-adaptive sliding window size, For the discrete profile of the net corrosion inhibition index within the interval defined by the adaptive sliding window size, As an exponential function based on natural constants, Penalty coefficients for dynamic concussion.
- 7. The method for evaluating the effect of the sulfur-containing sewage corrosion inhibitor based on field data processing as claimed in claim 1, wherein the reference corrosion rate is obtained by calibrating and obtaining the reference corrosion rate by using purified water medium in the system power-on initialization stage through an electrochemical corrosion probe.
- 8. The method for evaluating the effect of a sulfur-containing wastewater corrosion inhibitor based on field data processing according to claim 1, wherein the reference environmental parameters are obtained by recording the concentration of hydrogen sulfide, the flow rate of fluid and the temperature of wastewater obtained by a sensor sequence in a continuous preset time period during a normal steady operation stage without abrupt change of working conditions, and respectively counting the average values of the corresponding parameters.
- 9. The method for evaluating the effect of a sulfur-containing wastewater corrosion inhibitor based on-site data processing as claimed in claim 1, wherein said evaluating the effect of the corrosion inhibitor based on the film formation stability factor comprises determining that the performance of the corrosion inhibitor is up to standard and maintaining the current injection frequency of the dosing pump in response to the film formation stability factor being equal to or greater than a performance-up threshold.
- 10. The method for evaluating the effect of the sulfur-containing sewage corrosion inhibitor based on field data processing according to claim 1, wherein the evaluating the effect of the corrosion inhibitor based on the film forming stability factor comprises determining that the performance of the corrosion inhibitor does not reach the standard in response to the film forming stability factor being smaller than a performance early warning threshold value, and generating a linkage compensation instruction to increase the injection concentration of the dosing pump.
Description
Sulfur-containing sewage corrosion inhibitor effect evaluation method based on field data processing Technical Field The invention relates to the technical field of data processing. More particularly, the invention relates to a sulfur-containing wastewater corrosion inhibitor effect evaluation method based on field data processing. Background The oilfield sewage pipe network is an important component in oilfield production systems and is mainly used for conveying media such as sulfur-containing sewage. The exploration and development of the oil field enter the later stage, and along with the increase of the number of deep wells and ultra-deep wells of each large oil field, the depth and the temperature of the deep wells of the oil field are increased, and the acid solution with higher concentration is required to be used in the construction process, so that the corrosion problem of underground oil field sewage pipe networks is increasingly serious. Generally, a corrosion inhibitor is required to be added into a pipe network, and the corrosion inhibitor can be deposited on the metal pipe wall to form a dynamic balance molecular film, so that the corrosion protection effect is achieved. In order to master the safe operation state of the pipe network and guide the addition of the chemical, the efficiency of the corrosion inhibitor needs to be evaluated to judge whether the corrosion inhibitor used at present can effectively resist the corrosion damage in the pipe network. At present, when evaluating the efficiency of the corrosion inhibitor of the oilfield sewage pipe network, the protection efficiency of the corrosion inhibitor is evaluated by directly acquiring the initial corrosion rate by deploying an electrochemical corrosion probe at a pipe network monitoring node. However, the corrosion process in the oilfield sewage pipe network is influenced by multiple physical field coupling, such as chemical depolarization reaction caused by high-concentration hydrogen sulfide, mechanical shearing force generated by high-flow-rate fluid on the pipe wall, reaction rate of temperature fluctuation change and the like, on-site working condition mutation can instantaneously damage a corrosion inhibitor molecular film which is not compact, so that the corrosion rate is increased, the physical influence of environmental stress cannot be removed by the existing method, numerical abnormality caused by severe environmental impact is easily misjudged as component failure of the corrosion inhibitor and film forming impact resistance of medicament molecules cannot be reduced, and meanwhile, when the physical quantity violent oscillation exists on site, sensitivity of abnormal capture and noise resistance of steady state evaluation are difficult to balance in the prior art, and the corrosion inhibitor effect evaluation is inaccurate. Disclosure of Invention The invention provides a sulfur-containing sewage corrosion inhibitor effect evaluation method based on field data processing, which aims to solve the technical problems that the prior corrosion inhibitor effect evaluation is poor and the corrosion protection of an oilfield sewage pipe network is affected, and comprises the steps of acquiring environmental physical quantity data of sulfur-containing sewage at each sampling moment, and acquiring corrosion deterioration indexes corresponding to each sampling moment according to the environmental physical quantity data and pre-acquired reference environmental parameters; the method comprises the steps of obtaining initial corrosion rates measured at all sampling moments, obtaining a net corrosion inhibition index at all sampling moments according to the initial corrosion rates, a pre-calibrated reference corrosion rate and corresponding corrosion deterioration indexes, taking the current moment as a target sampling moment, taking standard deviations of corrosion deterioration indexes corresponding to historical sampling moments of a continuous preset number before the target sampling moment as dynamic environment fluctuation degrees, adjusting the preset reference window size according to the dynamic environment fluctuation degrees to obtain the self-adaptive sliding window size corresponding to the target sampling moment, taking the target sampling moment as an end point, intercepting continuous intervals comprising the same number of the sampling moments as the self-adaptive sliding window size, calculating average values and standard deviations of the net corrosion inhibition indexes corresponding to all sampling moments in the continuous intervals, taking the average values as concentrated trend features, taking the standard deviations as discrete distribution features, obtaining film forming stability coefficients of the target sampling moments according to the concentrated trend features and the discrete distribution features, and evaluating the effect of the corrosion inhibitor according to the film forming stability coef