Atmospheric tower top corrosion risk assessment method, system and machine-readable storage medium

Through phase balance calculation and simulation model establishment at the top of the atmospheric pressure tower, the risk of dew point corrosion and ammonium salt crystallization is assessed, which solves the problem of incomplete monitoring data in the existing technology and achieves accurate assessment and timely warning of corrosion risks at the top of the tower. Ensure the safe and stable operation of oil refining equipment.

CN113537653BActive Publication Date: 2024-10-15CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010281596.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-10
Publication Date
2024-10-15
Estimated Expiration
2040-04-10

AI Technical Summary

Technical Problem

It is difficult to comprehensively assess the corrosion risk at the top of the atmospheric tower with existing technology, especially due to incomplete monitoring data and reliance on personnel experience, which cannot reflect the actual corrosion situation in a timely and accurate manner, affecting the safe and stable operation of the refining unit.

Method used

By obtaining the reactant data and reaction condition data at the top of the atmospheric pressure tower, we perform phase balance calculations, calculate dew point corrosion and ammonium salt crystallization risks, establish a tower top process simulation model, and use risk flow charts and traffic lights to present corrosion risks to reduce human effort. factors influence.

Benefits of technology

It can promptly detect corrosion risk areas at the top of the tower and help refineries take corresponding measures to slow down or avoid failures and ensure the safe and stable operation of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113537653B_ABST
    Figure CN113537653B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of petrochemical corrosion protection, and discloses a method, system and machine-readable storage medium for evaluating corrosion risk of atmospheric tower top, the method comprising: obtaining atmospheric tower top reactant data and atmospheric tower top reaction condition data; performing phase equilibrium calculation according to the processed atmospheric tower top reactant data and atmospheric tower top reaction condition data, and then performing saturated water injection volume calculation and reaction equilibrium calculation to obtain equilibrium temperature data after water injection, recommended water injection volume data, water dew point temperature data before and after water injection, and crystallization temperature data; performing corrosion risk determination according to atmospheric tower top operating temperature data, atmospheric tower top actual water injection volume data, equilibrium temperature data after water injection, recommended water injection volume data, water dew point temperature data before and after water injection, crystallization temperature data and atmospheric tower top reaction condition data to obtain corrosion risk data of different parts of atmospheric tower top. The present invention can timely and accurately reflect the actual corrosion situation of the atmospheric tower.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of petrochemical corrosion protection, and in particular to a method and system for assessing atmospheric tower top corrosion risk, and a machine-readable storage medium. Background Art

[0002] The corrosion of the atmospheric tower top system of crude oil atmospheric and vacuum distillation units is a common problem in the oil refining industry that has not been solved. Among them, the dew point corrosion of hydrogen chloride and the under-scale corrosion caused by the crystallization of ammonium chloride are the most common, which seriously affects the safe and stable operation of the unit. There are a large number of reports of failure cases caused by tower top corrosion at home and abroad, and some domestic refineries have even experienced fire accidents caused by corrosion and perforation of the tower wall at the top of the atmospheric tower.

[0003] Low-temperature corrosion of the tower top is electrochemical corrosion in the presence of water. The corrosion process is complex and has many influencing factors. Both dew point corrosion and ammonium / amine salt corrosion occur locally, and it is difficult to monitor the corrosive medium environment or the corrosion process. Therefore, assessing the corrosion risk of the tower top is of great significance for taking corresponding anti-corrosion measures and ensuring the safe and stable operation of the device.

[0004] At present, the evaluation of tower top corrosion is mainly based on thickness measurement data, corrosion probe monitoring data, and laboratory data such as total iron ions, pH value and chloride ions of tower top acidic water, combined with the experience of technicians, and there is no good evaluation method. To solve the above problems, the present invention designs a method for evaluating the risk location and degree of tower top corrosion through theoretical modeling.

[0005] CN105629930A discloses a real-time prediction method for atmospheric tower top dew point corrosion, but lacks prediction of ammonium salt crystallization, so the corrosion risk of the tower top system cannot be fully evaluated. Summary of the invention

[0006] In view of the deficiencies in the above-mentioned prior art, the present invention provides a method, system and machine-readable storage medium for evaluating the corrosion risk of an atmospheric tower top, which can solve the technical problems in the prior art that the monitoring data used for the evaluation is incomplete and cannot reflect the actual corrosion situation in a timely and accurate manner.

[0007] A first aspect of the present invention provides a method for assessing atmospheric tower top corrosion risk, the method comprising:

[0008] Acquire the atmospheric top reactant data and atmospheric top reaction condition data of the atmospheric tower top, wherein the atmospheric top reactant data includes the atmospheric top actual water injection volume data, and the atmospheric top reaction condition data includes the atmospheric top operating temperature data, the atmospheric top temperature data and the atmospheric top pressure data;

[0009] Obtaining flow data and physical property data according to the constant-top reactant data processing;

[0010] Performing phase equilibrium calculation according to the flow rate data, the physical property data and the atmospheric top reaction condition data to obtain equilibrium temperature data after water injection, water dew point temperature data before and after water injection, and gas phase content data at different parts of the atmospheric pressure tower;

[0011] Calculate the saturated water injection amount according to the equilibrium temperature data after water injection and the water dew point temperature data before and after water injection to obtain the recommended water injection amount data;

[0012] Performing reaction equilibrium calculation based on the gas phase content data at different locations and the constant top reaction condition data to obtain crystallization temperature data;

[0013] Corrosion risk data of different parts of the atmospheric pressure tower top are obtained by performing corrosion risk assessment based on the normal top operating temperature data, the actual normal top water injection volume data, the equilibrium temperature data after water injection, the recommended water injection volume data, the water dew point temperature data before and after water injection, the crystallization temperature data and the normal top reaction condition data.

[0014] A second aspect of the present invention provides an atmospheric tower top corrosion risk assessment system, comprising an atmospheric tower top corrosion risk assessment device applying the above-mentioned method.

[0015] A third aspect of the present invention provides a machine-readable storage medium having instructions stored thereon, wherein the instructions are used to enable the machine-readable storage medium to execute the above-mentioned atmospheric tower top corrosion risk assessment method.

[0016] The present invention provides a method, system and machine-readable storage medium for assessing atmospheric pressure tower top corrosion risk. In view of the problems that the monitoring data based on which the assessment is currently conducted in the assessment of the tower top of an oil refining unit is incomplete, cannot reflect the actual corrosion situation in a timely and accurate manner, and relies on personnel experience, a method for assessing the atmospheric pressure tower top corrosion risk of a crude oil distillation unit through theoretical modeling is provided. By acquiring data from the existing system of the refinery, a tower top process simulation model is established, and the dew point corrosion and ammonium salt crystallization risks are calculated and presented in the form of a risk flow chart and a traffic light. The input data required for the assessment of the present invention is easy to obtain, and the influence of human factors on the assessment results is reduced. It can help oil refining enterprises to promptly discover the risk areas of tower top corrosion, take corresponding measures to slow down corrosion or avoid failure, and ensure the safe and stable operation of the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical invention 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 in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 A schematic flow chart of a method for assessing atmospheric tower top corrosion risk provided in Embodiment 1 of the present invention;

[0019] Figure 2 A schematic flow chart of a method for assessing atmospheric tower top corrosion risk provided in Embodiment 3 of the present invention;

[0020] Figure 3 A schematic flow chart of phase equilibrium calculation in the atmospheric tower top corrosion risk assessment method provided in Embodiment 3 of the present invention;

[0021] Figure 4 for Figure 3 Schematic diagram of the material flow and temperature curves of the three phases of gas, oil and water;

[0022] Figure 5 A schematic flow chart of water injection volume calculation in the atmospheric tower top corrosion risk assessment method provided in Embodiment 3 of the present invention;

[0023] Figure 6 for Figure 5 Schematic diagram of the curve of temperature and water injection volume after water injection;

[0024] Figure 7 A schematic flow chart of the equilibrium calculation of the decomposition reaction of ammonia salts in the atmospheric pressure tower top corrosion risk assessment method provided in the third embodiment of the present invention;

[0025] Figure 8 for Figure 7 Schematic diagram of the curve of chemical reaction equilibrium constant and temperature;

[0026] Fig. 9 A judgment logic diagram of corrosion risk in the atmospheric tower top corrosion risk assessment method provided in Embodiment 3 of the present invention;

[0027] Fig.10 A risk flow chart of a method for assessing atmospheric tower top corrosion risk provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical invention in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0029] Implementation Method 1

[0030] See also Figure 1 , Figure 1 A schematic flow chart of a method for assessing atmospheric tower top corrosion risk provided in Embodiment 1 of the present invention.

[0031] like Figure 1 As shown, the first aspect of the present invention provides a method for assessing atmospheric tower top corrosion risk, the method comprising:

[0032] S1000, obtaining top reactant data and top reaction condition data, wherein the top reactant data includes top actual water injection data, and the top reaction condition data includes top operating temperature data, top temperature data, and top pressure data. For ease of explanation, the top in the embodiments of the present application is the abbreviation of atmospheric pressure tower top.

[0033] It should be noted that the atmospheric pressure tower needs to be injected with water. Water injection can wash away pollutants that may form salts, dissolve already deposited salts, dilute liquid phase corrosive media, increase the pH value at the water dew point, reduce corrosion, and protect equipment.

[0034] S2000, obtain flow data and physical property data according to the constant top reactant data processing.

[0035] The top reactants may include top oil, water, HCl, NH3, non-condensable gas (including H2, N2, O2, CO, CO2, CH4 and other gaseous light hydrocarbons), etc., and the physical property data may include density, boiling point, molar mass, critical temperature, critical pressure, eccentricity factor, etc. The present invention can also obtain a set of flow data and physical property data of virtual fractions according to the top reactant data processing. The method of generating virtual fractions is a prior art and will not be described in detail here. In the embodiment of the present invention, the physical property data is obtained by checking the physical property manual or software database.

[0036] S3000, based on the flow data, physical property data and normal top reaction condition data, phase equilibrium calculation is performed to obtain the equilibrium temperature data after water injection, the water dew point temperature data before and after water injection, and the gas phase content data at different parts of the atmospheric pressure tower.

[0037] Since the main components of the top reactants are top oil (hydrocarbons), water and a small amount of non-condensable gas, when the temperature and pressure conditions are changed so that the mixture is between the bubble point and the dew point, a gas-hydrocarbon-water three-phase equilibrium is generated. By performing isothermal flash calculations, the flow and composition of the three phases of gas, hydrocarbons and water at the corresponding temperature and pressure can be obtained, and then the water dew point temperature before and after water injection, the equilibrium temperature after water injection, etc. can be calculated.

[0038] S4000, calculating the saturated water injection amount according to the equilibrium temperature data after water injection and the water dew point temperature data after water injection to obtain the recommended water injection amount data.

[0039] The amount of water injected at the top of the tower is generally required to be 10% to 50% excess of the saturated water injection amount (the amount of water required to saturate the gas phase water vapor) to ensure the presence of liquid water at the injection point.

[0040] Since the temperature of water injected at the top of the tower is lower than the temperature of oil and gas at the top of the tower, the equilibrium temperature of the material after water injection will decrease with the increase of water injection amount; on the other hand, the water dew point temperature after water injection will increase with the increase of water injection amount. When the equilibrium temperature after water injection is equal to the water dew point temperature after water injection, the corresponding water injection amount at this time is the saturated water injection amount. The recommended water injection amount is set to 1.1 to 1.5 times the saturated water injection amount.

[0041] In the embodiment of the present invention, the recommended water injection amount is calculated and compared with the actual water injection amount, so as to provide a basis for judging whether the water injection is sufficient and the risk of dew point corrosion and ammonium chloride corrosion after water injection.

[0042] S5000, based on the gas content data at different locations and the constant top reaction condition data, the reaction equilibrium calculation is performed to obtain the crystallization temperature data.

[0043] In the embodiment of the present invention, the gas phase content data refers to the content of ammonia and hydrogen chloride in the gas phase, which will generate NH3Cl crystals at a certain temperature and pressure, which can cause under-scale corrosion at different parts of the roof. By performing thermodynamic calculations on the equilibrium of the decomposition reaction of ammonium chloride salt, the conditions for generating ammonium chloride salt crystals at different parts can be obtained, which provides a basis for judging the under-scale corrosion risk of ammonium chloride salt.

[0044] S6000, based on the normal top operating temperature data, the actual water injection volume data of the normal top, the equilibrium temperature data after water injection, the recommended water injection volume data, the water dew point temperature data before and after water injection, the crystallization temperature data and the normal top reaction condition data, the corrosion risk data of different parts of the atmospheric pressure tower top are obtained by corrosion risk assessment.

[0045] The oil and gas at the top of the atmospheric tower are gradually cooled down by water injection and cooling equipment. At a certain pressure and temperature, water vapor begins to condense. The water content in this area is very low, which easily produces a low pH dew point corrosion environment. On the other hand, ammonia and hydrogen chloride will also react from the gas phase under appropriate conditions to generate solid ammonium chloride salt crystals, which are deposited in the slow flow area of ​​the equipment and pipelines. Ammonium chloride salt has strong hygroscopicity and is acidic when hydrolyzed, which easily causes ammonium chloride under-scale corrosion. HCl dew point corrosion, ammonium chloride deposition and under-scale corrosion are the most common corrosion mechanisms of atmospheric tower top systems.

[0046] The present invention provides a method for assessing the corrosion risk of atmospheric tower tops. In view of the problems that the current assessment of tower top corrosion in oil refining units has, such as incomplete monitoring data, failure to timely and accurately reflect the actual corrosion situation, and reliance on personnel experience, this patent provides a method for assessing the corrosion risk of atmospheric tower tops in crude oil distillation units through theoretical modeling. By acquiring data from the existing system of the refinery, a tower top process simulation model is established, and the dew point corrosion and ammonium salt crystallization risks are calculated and presented in the form of a risk flow chart and a traffic light.

[0047] Implementation Method 2

[0048] Based on the first embodiment, the water dew point temperature is further calculated according to the following method:

[0049] S3100: Make the temperature value of the initialization temperature data equal to the temperature value of the normal top operation temperature data plus a preset temperature value. The preset temperature value can be selected as 5-15 degrees Celsius, preferably, the preset temperature value is 10 degrees Celsius.

[0050] S3200: After the three-phase flash evaporation is performed, the gas-hydrocarbon-water three-phase flash evaporation calculation is performed according to the initialization temperature, binary interaction factor, flow data, physical property data and constant top reaction condition data to obtain the phase fraction and each phase composition data.

[0051] In the embodiment of the present invention, the binary interaction factor is a parameter describing the interaction between two components, which is required when using the equation of state (EOS) to calculate phase equilibrium. The parameter is obtained by searching the literature or regressing experimental data. The binary interaction factors used in the present invention are all from the literature, which is equivalent to a set of constants.

[0052] S3300, determining whether the water phase fraction is greater than a preset value, if not, reducing the temperature value by a small value and recalculating the phase fraction.

[0053] S3400: If yes, take the current temperature value as the temperature value of the water dew point temperature data.

[0054] Furthermore, the recommended water injection volume is calculated according to the following method:

[0055] S4100, calculate the enthalpy value before material mixing and the dew point temperature after water injection according to the constant top reactant data and constant top reaction condition data and the set initial value of water injection amount.

[0056] S4200, set the initial value of the equilibrium temperature after water injection after material mixing.

[0057] S4300, perform three-phase flash evaporation calculation to obtain the composition of the mixed materials and the enthalpy value of the mixed materials.

[0058] S4400, determine whether the enthalpy value after mixing is equal to the enthalpy value before mixing, if not, update the equilibrium temperature data after water injection after material mixing, and recalculate the material composition after mixing and the enthalpy value after material mixing.

[0059] S4500, if yes, determine whether the temperature value of the dew point temperature data after water injection is equal to the temperature value of the equilibrium temperature data after water injection, if not, update the initial value of water injection amount and repeat the subsequent steps.

[0060] S4600: If yes, then take the current water injection volume as the saturated water injection volume, and take the recommended water injection volume as a preset multiple of the saturated water injection volume. Preferably, the preset multiple can be selected as 0.5-2, and preferably, the preset multiple is 1.25.

[0061] Further, the ammonium chloride decomposition reaction equilibrium calculation is performed according to the following method:

[0062] S5110, according to the normal top reaction condition data and the physical property data of hydrogen chloride and ammonia and the set initial temperature value, the equilibrium constant (K) of the decomposition reaction of ammonium chloride at different parts of the atmospheric pressure tower top, the fugacity coefficient (Φ NH3 ) and the fugacity coefficient of hydrogen chloride (Φ HCl ); and calculate the partial pressure of ammonia (p NH3 ) and the partial pressure of hydrogen chloride (p HCl ).

[0063] S5120. Calculate the pressure equilibrium constant (Kp) of the decomposition reaction of ammonium chloride based on the equilibrium constant of the decomposition reaction of ammonium chloride, the fugacity coefficient of ammonia, and the fugacity coefficient of hydrogen chloride.

[0064] S5130. Calculate the difference between the pressure equilibrium constant of the decomposition reaction of ammonium chloride and the product of the partial pressures of ammonia and hydrogen chloride;.

[0065] S5140: Determine whether the difference is less than a preset difference.

[0066] S5150: If not, update the initial temperature value.

[0067] S5160: If yes, take the current temperature value as the temperature value of the ammonium chloride crystallization temperature data.

[0068] Implementation Method 3

[0069] Based on implementation 1 or 2, please refer to Figure 2-10 , Figure 2 A schematic flow chart of a method for assessing atmospheric tower top corrosion risk provided in Embodiment 3 of the present invention; Figure 3 A schematic flow chart of phase equilibrium calculation in the atmospheric tower top corrosion risk assessment method provided in Embodiment 3 of the present invention; Figure 4 for Figure 3 Schematic diagram of the material flow and temperature curves of the three phases of gas, oil and water; Figure 5 A schematic flow chart of water injection volume calculation in the atmospheric tower top corrosion risk assessment method provided in Embodiment 3 of the present invention; Figure 6 for Figure 5 Schematic diagram of the curve of temperature and water injection volume after water injection; Figure 7 A schematic flow chart of the equilibrium calculation of the decomposition reaction of ammonia salts in the atmospheric pressure tower top corrosion risk assessment method provided in the third embodiment of the present invention; Figure 8 for Figure 7 Schematic diagram of the curve of chemical reaction equilibrium constant and temperature; Fig. 9 A judgment logic diagram of corrosion risk in the atmospheric tower top corrosion risk assessment method provided in Embodiment 3 of the present invention; Fig.10 A risk flow chart of a method for assessing atmospheric tower top corrosion risk provided in Embodiment 3 of the present invention.

[0070] The present invention evaluates the atmospheric tower top corrosion risk according to the following method. The detailed process is shown in the attached Figure 2 :

[0071] 1. Obtain the top oil return flow and top oil output from the refinery real-time database, and obtain the top oil density and top oil distillation range data from the refinery LIMS system;

[0072] 2. Process the top oil data obtained in step 1 to generate a series of virtual fractions. For the specific calculation process, see the attached Figure 2 ;

[0073] Figure 2 The calculation method in is from API Technical Data Book, The American Petroleum Institute and EPCON International, 7th edition, 2005.

[0074] 3. Obtain flow and physical property data of a series of virtual fractions according to the calculations in step 2;

[0075] 4. Obtain the normal top non-condensable gas flow rate from the refinery real-time database and obtain the non-condensable gas composition data from the refinery LIMS system;

[0076] 5. Obtain the flow rate and physical property data of each component in the non-condensable gas based on the constant top non-condensable gas data obtained in step 4;

[0077] 6. Obtain data on the amount of steam entering the atmospheric tower and the amount of water injected into the atmospheric tower top from the refinery real-time database;

[0078] 7. Obtain the flow rate and physical property data of water before and after water injection at the top of the atmospheric tower based on the data obtained in step 6;

[0079] 8. Obtain the chloride ion and ammonia nitrogen test data in the atmospheric tower top injection and drainage from the refinery LIMS system;

[0080] 9. Obtain the flow rate and physical property data of HCl and NH3 before and after water injection at the top of the atmospheric tower based on the data obtained in steps 6 and 8;

[0081] 10. Obtain the temperature and pressure data of the atmospheric tower top system from the refinery real-time database;

[0082] 11. Use the data obtained in 3, 5, 7, 9, and 10 to calculate the gas-hydrocarbon-water three-phase equilibrium. For the specific calculation process, see the attached Figure 3 ;

[0083] Figure 3 The calculation method in this article is from A. Lapene, DV Nichita, G. Debenest, M. Quintard, Three-phase free-water flash calculations using a new Modified Rachford-Rice equation, Fluid Phase Equilibria, 297 (2010): 121-128.

[0084] Figure 3 The RR (Rachford-Rice) equation is an equation used in the calculation process of gas-liquid two-phase flash evaporation. The MRR (Modified Rachford-Rice) equation is an improved RR equation proposed in the above literature and can be used in the calculation of gas-liquid-liquid three-phase flash evaporation.

[0085] The vapor-liquid equilibrium ratio refers to the ratio of the concentrations of the component R in the gas phase and the component R in the liquid phase to y and x respectively when the gas and liquid phases of a multi-component system are in equilibrium under certain conditions. Ki = Yi / Xi, where K is the vapor-liquid equilibrium constant, Y is the mole percentage in the vapor phase, X is the mole percentage in the liquid phase, and i is the subscript indicating a specific component. The value of the vapor-liquid equilibrium ratio, or from now on this value is called the equilibrium constant, depends on the pressure, temperature and components of the fluid. The ratio of the amount of a substance in a mixture or solution to the sum of the amounts of the components is the mole fraction of the component. It can refer to the ratio of the amount of a component in a mixture to the sum of the amounts of the mixture. It can also refer to the ratio of the amount of a solute in a solution to the sum of the amounts of solute and solvent, and is often used for the ratio of the amount of a gas in a gas mixture to the sum of the amounts of the components in the mixed gas.

[0086] 12. Calculate the equilibrium temperature after water injection according to step 11;

[0087] 13. Calculate the water dew point temperature before and after water injection at the top of the atmospheric tower according to step 11;

[0088] The pressure in the calculation of water dew point temperature is the atmospheric pressure in atmospheric reaction conditions. The composition is the flow rate of various atmospheric materials, including water, atmospheric oil (processed into a group of virtual fractions), non-condensable gas (including small molecular hydrocarbons, H2, CO, CO2, O2, N2, H2S, etc.). The physical property parameters of each component are the molecular weight, critical temperature, critical pressure, eccentricity factor, etc. of the above substances. The physical property parameters of the virtual fraction are obtained by calculation, and the physical property parameters of the remaining substances are obtained by consulting reference books.

[0089] Change the temperature condition to iteratively calculate the phase fraction (the phase fraction calculation method is Figure 3 process), the temperature at which liquid water appears is the calculated water dew point temperature.

[0090] See also Figure 4 ,like Figure 4 As shown in the figure, the triangular curve represents the water phase, the circular rising curve represents the oil phase, and the rectangular descending curve represents the gas phase. As the temperature decreases, the material condenses, the gas phase decreases, the oil phase increases, and the water phase appears when the temperature drops to the dew point.

[0091] 14. Use the data obtained in steps 11 and 12 to calculate the saturated water injection volume. For the specific calculation process, see the attached Figure 5 ;

[0092] Figure 5 The input conditions in Figure 3Similar to (temperature, pressure, composition, and physical parameters of the tower top material), a water injection is added. The water injection amount is changed to iteratively calculate the equilibrium temperature and water dew point temperature after water injection. When the two are equal, the water injection amount is the required saturated water injection amount.

[0093] like Figure 6 As shown in the figure, as the water injection amount increases, the equilibrium temperature after water injection decreases, while the dew point temperature increases. The water injection amount corresponding to the intersection of the two is the saturated water injection amount.

[0094] 15. Calculate the recommended water injection volume based on the saturated water injection volume obtained in step 15;

[0095] 16. Calculate the gas-phase NH3 and HCl contents at different locations according to step 11;

[0096] 17. Use the gas phase NH3 and HCl contents obtained in step 16 and the atmospheric tower top temperature and pressure data obtained in step 10 to calculate the equilibrium of the NH4Cl decomposition reaction. For the specific calculation process, see the attached Figure 7 ;

[0097] For the decomposition reaction of NH4Cl:

[0098]

[0099] The reaction equilibrium constant is:

[0100]

[0101] K is the reaction equilibrium constant, calculated according to the following formula:

[0102]

[0103] K p is the product of the gas phase partial pressures of NH3 and HCl, and are the fugacity coefficients of NH3 and HCl in the gas phase mixture respectively (the fugacity coefficient is the ratio of fugacity to pressure. Fugacity is a function of temperature and pressure. The fugacity and pressure of an ideal gas are equal). Since the pressure of the atmospheric tower top system is low, the gas phase equilibrium mixture can be treated as an ideal gas mixture, that is, K φ =1, then K = K p .

[0104] Arrangement available

[0105]

[0106] in and are the standard molar enthalpy change and standard molar entropy change of the reaction, respectively, which are obtained from the standard molar formation enthalpy and standard molar entropy of the reactants and products.

[0107]

[0108]

[0109] and are the standard molar formation enthalpy and standard molar entropy of substance i, respectively. Both are functions of temperature and can be obtained from literature. R is the ideal gas constant, T is the temperature, and this step of calculation can be reduced to solving a one-variable nonlinear equation K about T. p =f(T), and obtain the crystallization temperature T.

[0110] ε is the iterative error when solving by Newton's method. When ε is small enough, T is considered to be the required NH4Cl crystallization temperature. According to different error requirements and accuracy requirements, ε can be taken as different values, for example, it can be taken as 10 -3 -10 -9 There is no waiting between etc.

[0111] like Figure 8 As shown, the Kp value changes with temperature T, and T can be calculated based on Kp.

[0112] 18. Calculate the crystallization temperature of NH4Cl at different locations according to step 17;

[0113] 19. Using the data obtained in 10, 13, 15, 18, etc., determine the corrosion risk level (high, medium, and low) of each part of the atmospheric tower top system through appropriate judgment logic. For the judgment logic, see the attached Fig. 9 , Table 1 to Table 4;

[0114] exist Fig. 9 Where Td is the water dew point temperature, Figure 3 Calculation results. Tf is the crystallization temperature of ammonium chloride, Figure 7 Calculation results. Tm is the equilibrium temperature after water injection, Figure 5 Calculation results. Fr is the recommended water injection volume, Figure 5 1.25 times the calculated saturated water injection volume.

[0115] Table 1 Dew point corrosion risk judgment logic before water injection

[0116]

[0117]

[0118] Table 2 Risk judgment logic of ammonium chloride crystallization before water injection

[0119]

[0120] Table 3 Dew point corrosion risk judgment logic after water injection

[0121]

[0122]

[0123] Table 4 Risk judgment logic of ammonium chloride crystallization after water injection

[0124]

[0125] 20. Different levels of corrosion risk are marked with corresponding colors on the principle flow chart of the atmospheric tower top system, and presented to users in the form of atmospheric tower top corrosion risk flow chart and traffic light colors. See Appendix Fig.10 .

[0126] Fig.10 Among them, E-1103, P-1009, 129C, 48, A-1002 / 1~10 are all yellow lights, that is, the pipeline devices marked in yellow in the figure have medium corrosion risk, E-1201, 102C, 50, E-1002 / 1, 2 are all red lights, that is, the pipeline devices marked in red in the figure have high corrosion risk, E-1511 / 1~4, D-1003 are all green lights, that is, the pipeline devices marked in green in the figure have low corrosion risk.

[0127] Implementation Method 6

[0128] Based on implementation modes one, two, three, four or five, this evaluation method is described by taking the atmospheric pressure tower top system of a certain atmospheric pressure reduction device as an example.

[0129] A. Obtain the flow rate and property data of top oil, as shown in Table 5; generate virtual fractions according to Table 5, calculate the flow rate and physical properties of each fraction, and the results are shown in Table 6;

[0130] Naphtha is one of the petroleum products, also known as chemical light oil. It is a light oil used as a chemical raw material produced by processing crude oil or other raw materials. It is mainly used as a reforming and chemical raw material. There are various distillation ranges due to different uses. China stipulates that the distillation range is from the initial distillation point to about 220°C. When used as a reforming raw material for producing aromatics, the 70°C to 145°C fraction is used, which is called light naphtha; when the purpose is to produce high-octane gasoline, the 70°C to 180°C fraction is used, which is called heavy naphtha; when used as a solvent, it is called solvent naphtha; aromatic solvents from coal tar are also called heavy naphtha or solvent naphtha.

[0131] Table 5 Data of Changding Naphtha

[0132]

[0133]

[0134] Table 6 Composition and properties of virtual fractions

[0135]

[0136]

[0137] B. Obtain the flow rate and composition data of the non-condensable gas at the top of the room, as shown in Table 7; calculate the flow rate of each component of the non-condensable gas and the generated physical property parameters according to Table 7, and the results are shown in Table 8;

[0138] Table 7 Non-condensable gas data at the top

[0139]

[0140] Table 8 Composition and properties of non-condensable gas

[0141]

[0142]

[0143]

[0144] Among them, the ideal gas is a gas that strictly obeys the gas equation pV=nRT, p is the gas pressure, V is the gas volume, n is the amount of gas, T is the temperature, and R is the ideal gas constant. Specific enthalpy is a parameter used to represent the energy state of a material system. The change in specific enthalpy of a thermodynamic process △h is equal to the constant pressure specific heat Cp multiplied by the temperature difference △t, that is, △h=Cp·△t.

[0145] The constant pressure specific heat of dry air Cp·a=1.006kJ / (kg·℃), the constant pressure specific heat of water vapor Cp·v=1.86kJ / (kg·℃). The specific enthalpy of moist air is generally calculated based on 1kg of dry air. Along with 1kg of dry air, there are dkg of water vapor. If the specific enthalpy of 0℃ dry air and 0℃ water is taken as zero, the enthalpy of moist air containing 1kg of dry air should be: h=1.006t+d(2501+1.86t). In the formula, 2501kJ / kg is the latent heat of vaporization required for each kilogram of 0℃ water to become 0℃ water vapor.

[0146] C. Obtain the steam volume entering the atmospheric tower, the water volume data of the atmospheric tower top, and the chloride ion and ammonia nitrogen test data in the atmospheric tower top water injection and drainage, as shown in Table 9; calculate the flow and physical property data of water, HCl and NH3 before and after the atmospheric tower top water injection according to Table 9, and the results are shown in Table 10;

[0147] Table 9 Data of top water, HCl and NH3

[0148]

[0149] Table 10 Composition and properties of water, HCl and NH3

[0150]

[0151] D. Obtain the temperature and pressure data of the atmospheric tower top system, as shown in Table 11;

[0152] Table 11 Temperature and pressure data of the constant top system

[0153]

[0154]

[0155] E. Perform three-phase balance calculation according to Table 6, Table 8, Table 10 and Table 11 to obtain Table 12;

[0156] Table 12 Calculation results of top gas-hydrocarbon-water three-phase equilibrium

[0157]

[0158]

[0159]

[0160] F. By iteratively performing the three-phase balance calculation in step 5, the water dew point temperature before and after water injection, the equilibrium temperature after water injection, and the saturated water injection volume are obtained; the recommended water injection volume is 1.25 times the saturated water injection volume. The results are shown in Table 13;

[0161] Table 13 Dew point calculation results of the constant top system

[0162]

[0163] G. According to Table 12, the gas phase NH3 and HCl mole fractions, as well as the tower top temperature and pressure data in Table 4, the NH4Cl crystallization temperature before and after water injection is obtained by thermodynamic calculation of the NH4Cl decomposition reaction equilibrium, as shown in Table 14;

[0164] Table 14 Calculation results of NH4Cl crystallization in the constant top system

[0165]

[0166]

[0167] H. Based on the calculation results of Table 11, Table 13 and Table 14, the corrosion risk of each part of the tower top system is judged. The results are shown in Table 15 and Table 16;

[0168] Table 15 Comprehensive corrosion risk assessment results before water injection in the top system

[0169]

[0170] Table 16 Comprehensive corrosion risk judgment results after water injection of the constant top system

[0171]

[0172] I. Mark the corrosion risks with corresponding colors on the principle flow chart of the constant roof system. See Appendix Fig.10 .

[0173] The second aspect of the present invention provides an atmospheric tower top corrosion risk assessment system, including an atmospheric tower top corrosion risk assessment device using the above-mentioned method. The working principle and beneficial effects of the atmospheric tower top corrosion risk assessment system provided by the present invention are exactly the same as the working principle and beneficial effects of the atmospheric tower top corrosion risk assessment method described above, and will not be repeated here.

[0174] A third aspect of the present invention provides a machine-readable storage medium having instructions stored thereon, wherein the instructions are used to enable the machine-readable storage medium to execute the above-mentioned atmospheric tower top corrosion risk assessment method.

[0175] The present invention provides a method, system and machine-readable storage medium for assessing the risk of atmospheric tower top corrosion. In view of the problems that the current assessment of tower top corrosion in oil refining units has, such as incomplete monitoring data, failure to timely and accurately reflect the actual corrosion situation, and reliance on personnel experience, this patent provides a method for assessing the corrosion risk of atmospheric tower top in crude oil distillation units through theoretical modeling. By acquiring data from the existing system of the refinery, a tower top process simulation model is established, and the dew point corrosion and ammonium salt crystallization risks are calculated and presented in the form of a risk flow chart and traffic lights.

[0176] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. The above is a description of the atmospheric tower top corrosion risk assessment method, system and machine-readable storage medium provided by the present invention. For those skilled in the art, according to the idea of ​​the embodiments of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for assessing atmospheric tower top corrosion risk, characterized in that: The method includes: Acquire top reactant data and top reaction condition data at the top of the atmospheric tower, wherein the top reactant data includes actual top water injection data, and the top reaction condition data includes top operating temperature data, top temperature data, and top pressure data; Processing the constant-top reactant data to obtain flow rate data and physical property data; Performing phase equilibrium calculation based on the flow rate data, the physical property data, and the atmospheric top reaction condition data to obtain equilibrium temperature data after water injection, water dew point temperature data before and after water injection, and gas phase content data at different parts of the atmospheric pressure tower; Calculate the saturated water injection amount according to the equilibrium temperature data after water injection and the water dew point temperature data after water injection to obtain the recommended water injection amount data; Performing reaction equilibrium calculation based on the gas phase content data at different locations and the constant top reaction condition data to obtain crystallization temperature data; Corrosion risk data of different parts of the atmospheric tower top are obtained by performing corrosion risk assessment based on the atmospheric tower operating temperature data, the actual water injection volume data of the atmospheric tower top, the equilibrium temperature data after water injection, the recommended water injection volume data, the water dew point temperature data before and after water injection, the crystallization temperature data, and the atmospheric tower top reaction condition data; The step of obtaining flow rate data and physical property data based on the constant overhead reactant data processing comprises: By acquiring top oil return flow rate data, top oil output device flow rate data, top oil density data and top oil distillation range data, a set of virtual fraction flow rate data and physical property data are calculated and obtained; By obtaining the flow data and component data of the non-condensable gas at the top of the chamber, the flow data and physical property data of each component of the non-condensable gas are calculated and obtained; By obtaining the steam injection volume data and the water injection volume data of the atmospheric tower, the flow rate data and physical property data of the water before and after the water injection of the atmospheric tower top are calculated and obtained; By obtaining the chloride ion content data of the top injection water, the ammonia nitrogen content data of the top injection water, the chloride ion content data of the top drainage water, and the ammonia nitrogen content data of the top drainage water, and according to the steam injection amount data and the top injection amount data, the flow rate data and physical property data of hydrogen chloride and ammonia before and after the atmospheric tower top water injection are calculated and obtained; The gas phase content data at different locations include gas phase hydrogen chloride and ammonia content data at different locations of the atmospheric pressure tower; The step of performing reaction equilibrium calculation to obtain crystallization temperature data based on the gas phase content data at different locations and the constant top reaction condition data comprises: Ammonia chloride decomposition reaction equilibrium calculation is performed based on the gaseous hydrogen chloride and ammonia content data at different locations and the atmospheric top reaction condition data to obtain ammonia chloride crystallization temperature data at different locations of the atmospheric pressure tower; The step of performing corrosion risk assessment based on the atmospheric top operating temperature data, the actual atmospheric top water injection data, the equilibrium temperature data after water injection, the recommended water injection data, the water dew point temperature data before and after water injection, the crystallization temperature data, and the atmospheric top reaction condition data to obtain corrosion risk data for different parts of the atmospheric tower top comprises: Calculating the difference between the actual water injection volume data of the top and the recommended water injection volume data; If the water injection amount difference is greater than or equal to 0, it is determined that sufficient water is injected, and the dew point or crystallization low corrosion risk data after water injection is obtained; If the water injection amount difference is less than 0, it is determined that the water injection is insufficient, and the first temperature difference after water injection between the equilibrium temperature data after water injection and the water dew point temperature data after water injection is calculated; Continue to judge the dew point corrosion risk after water injection by the following methods: Comparing the first temperature difference after water injection with a preset temperature range of the water dew point after water injection; If the first temperature difference after water injection is less than the preset temperature range of the water dew point after water injection, it is determined that there is liquid water, and corrosion risk data of the dew point after water injection is obtained; If the first temperature difference after water injection is greater than or equal to the preset temperature range of the water dew point after water injection, it is determined that there is no liquid water, and high corrosion risk data of the dew point after water injection is obtained.

2. The method according to claim 1, characterized in that The step of performing corrosion risk assessment based on the atmospheric top operating temperature data, the actual atmospheric top water injection data, the equilibrium temperature data after water injection, the recommended water injection data, the water dew point temperature data before and after water injection, the crystallization temperature data, and the atmospheric top reaction condition data to obtain corrosion risk data for different parts of the atmospheric tower top comprises: Calculating a pre-water injection temperature difference between the normal top operating temperature data and the pre-water injection water dew point temperature data or the pre-water injection crystallization temperature data; Comparing the temperature difference before water injection with the water dew point before water injection or the preset crystallization temperature range; If the temperature difference before water injection is greater than or equal to the upper limit of the water dew point or crystallization preset temperature range before water injection, the dew point or crystallization low corrosion risk data before water injection is obtained; If the temperature difference before water injection is within the water dew point or crystallization preset temperature range before water injection, then the corrosion risk data of the dew point before water injection or crystallization is obtained; If the temperature difference before water injection is less than the lower limit of the water dew point or crystallization preset temperature range before water injection, the dew point or crystallization high corrosion risk data before water injection is obtained.

3. The method according to claim 2, characterized in that Continue to judge the risk of crystallization corrosion after water injection by the following methods: Calculate the second temperature difference after water injection between the normal top operation temperature data and the crystallization temperature data after water injection; Comparing the first temperature difference after water injection with the preset temperature range of the water dew point after water injection, and comparing the second temperature difference after water injection with the preset temperature range of crystallization after water injection; If the first temperature difference after water injection is less than the preset temperature range of the water dew point after water injection, it is determined that there is liquid water; if the second temperature difference after water injection is greater than or within the preset temperature range of crystallization after water injection, low corrosion risk data of crystallization after water injection is obtained; If the second temperature difference after water injection is less than the preset temperature range of crystallization after water injection, the corrosion risk data in crystallization after water injection is obtained; If the first temperature difference after water injection is greater than or equal to the preset temperature range of the water dew point after water injection, it is determined that there is no liquid water; if the second temperature difference after water injection is greater than or equal to the upper limit of the preset temperature range of crystallization after water injection, low corrosion risk data of crystallization after water injection is obtained; If the second temperature difference after water injection is within the preset temperature range of crystallization after water injection, corrosion risk data in crystallization after water injection is obtained; If the second temperature difference after water injection is less than the lower limit of the preset temperature range of crystallization after water injection, high corrosion risk data of crystallization after water injection is obtained.

4. The method according to claim 3, characterized in that The method further includes: Comparing the corrosion risk of the low, medium and high dew point corrosion risk data before water injection with the low, medium and high crystallization corrosion risk data before water injection, and taking the data with the highest corrosion risk as the comprehensive corrosion risk data before water injection; Compare the corrosion risk data of low, medium and high dew point after water injection with the corrosion risk data of low, medium and high crystallization after water injection, and take the data with the highest corrosion risk as the comprehensive corrosion risk data after water injection.

5. The method according to claim 4, characterized in that The method further includes: The corrosion risk data of different parts are displayed at corresponding different parts in the corrosion risk flow chart of the atmospheric tower with different characteristic marks according to low, medium and high corrosion risk levels.

6. An atmospheric tower top corrosion risk assessment system, characterized in that: The invention comprises an atmospheric tower top corrosion risk assessment device using the method according to any one of claims 1 to 5.

7. A machine-readable storage medium, characterized in that The machine-readable storage medium stores instructions, and the instructions are used to enable the machine-readable storage medium to execute the atmospheric tower top corrosion risk assessment method according to any one of claims 1 to 5.