The present invention relates to a heat exchanger water injection system and a water injection method in petrochemical industry, and more particularly, to a water injection method for a proportional-integral-differential (PID) control-based adaptive intelligent water injection system.
In regard to heat exchange devices, heat exchangers and air coolers are widely used in metallurgy, oil refining, chemical industry and other industries. However, as the inferior quality of the crude oil to be processed, the content of S, N, Cl and other corrosive media in hydrogenation feedstock increases, which aggravates the risk of corrosion of the hydrogenation apparatuses. Among them, the corrosion of ammonium salt is particularly serious. At present, most petrochemical enterprises in China alleviate the risk of corrosion of the ammonium salt by the water injection method, which has achieved certain effects. Nevertheless, the traditional water injection method has the following shortcomings. (1) Ammonium salt corrosion exists in real time, while traditional intermittent water injection is periodic with water injection once in a certain amount of time and m tons each time. The water injection amount cannot be adjusted in real time according to the amount of crystallized ammonium salt to cause the lag, which makes it difficult to deal with emergencies, such as that the amount of crystallized ammonium salt suddenly increases greatly. The intermittent water injection method is required to thoroughly clean the ammonium salt in the heat exchange device and pipelines without leaving any residual, otherwise it may cause serious corrosion to downstream pipes and devices. (2) Nowadays, with the increasingly strict environmental protection policies in China, higher requirements have been put forward for the utilization of water resources in enterprises. Traditional continuous water injection wastes water resources to some extent, which violates the enterprise philosophy of energy conservation and emission reduction. Based on the above, with respect to the shortcomings of the traditional water injection method, it is highly desirable for enterprises to develop a new intelligent water injection method that can adjust the water injection amount in real time and maximize saving water resources, to improve the adaptability of heat exchange devices under complex working conditions and ensure the safe and stable operation of the apparatuses for a long period of time. Therefore, during the design of a hydrogenation apparatus, full attention must be paid to the design of a reaction effluent water injection system, especially during the design of a new apparatus or the transformation of an old apparatus, it is more necessary to develop a water injection system suitable for the hydrogenation apparatus.
With respect to prominent problems such as lag and resource waste in the traditional water injection method in petrochemical processes, an objective of the present invention is to provide a PID control-based adaptive intelligent water injection system and a water injection method. In the case of making full use of water resources, the present invention adjusts the water injection amount in real time with respect to a crystallization rate of ammonium salt in heat exchange devices and surrounding pipes, thereby alleviating the corrosion of ammonium salt on the devices in time, ensuring the smooth operation of the devices and avoiding flow corrosion failures caused by a sudden increase in the concentration of a corrosive medium.
In order to solve the above objective, the present invention adopts the following technical solutions.
I. PID Control-Based Adaptive Intelligent Water Injection System
The present invention includes a water injection portion, a power portion, a control portion, and a measurement and transmission portion. The water injection portion includes a hydrogenation reactor, N shell-and-tube heat exchangers, air coolers, and a separation tank. A hydrogenation reaction effluent at a bottom of the hydrogenation reactor is connected to inlets of the air coolers via the N shell-and-tube heat exchangers. Hydrogenation reaction effluent is cooled by a plurality of parallel air coolers, and then is connected to an inlet located on a side surface of the separation tank through an outlet manifold of the air coolers. The hydrogenation reaction effluent is separated into three phases by the separation tank, wherein a gas phase flows out of a top of the separation tank, an oil phase flows out of the side surface of the separation tank corresponding to the inlet, and an acidic aqueous phase flows out of a bottom of the separation tank. N−1 pipelines are separately led out from pipes between the N shell-and-tube heat exchangers, one pipeline is led out from the inlet pipe of the first heat exchanger, and one pipeline is led out from a pipe between the last heat exchanger and the air coolers, and a total of N+1 pipelines constitute parallel pipes. Branches of parallel pipes are throttled by N+1 adjustment valves of an identical specification, respectively, and then are gathered to a straight pipe to connect to the power portion. A temperature transmitter, a pressure transmitter, and a flow velocity transmitter are connected to each of the shell-and-tube heat exchangers to jointly form the measurement and transmission portion. Signals of the three transmitters are connected to the control portion to control an opening degree required by each adjustment valve.
The power portion includes a motor and a water pump. The motor drives the water pump to rotate, and the outlet of the water pump is connected to the inlet of the straight pipe.
The control portion includes a console and an RS485 bus. The signals of the three transmitters are transmitted to the console through the RS485 bus to control the opening degree required by each adjustment valve through a PID control algorithm.
The N shell-and-tube heat exchangers are set according to an actual requirement of an industrial site.
II. A water injection method based on the adaptive intelligent water injection system mentioned above includes the following steps:
step 1): after a stable operation of the system, enabling the hydrogenation reaction effluent to successively pass through the N heat exchangers and the plurality of parallel air coolers from the bottom of the hydrogenation reactor and then to enter the separation tank;
step 2): arranging the temperature transmitter, the pressure transmitter, and the flow velocity transmitter at each of the inlet and the outlet of each of the N heat exchangers connected in series, wherein a total number of each of the three transmitters is N+1; detecting and transmitting, by the three transmitters, a temperature signal Ti, a pressure signal Pi, and a flow velocity signal Vi to the console through the RS485 bus, respectively, wherein a value range of i is i∈[1, N+1];
step 3): receiving, by the console, the temperature signal Ti, the pressure signal Pi and the flow velocity signal Vi, and then performing screening analysis as follows on the signals:
under a normal working condition, a temperature difference between two ends of the heat exchanger or the air coolers basically remains constant, that is, no salt coagulation occurs in the heat exchanger; therefore, a relative error of temperature values of two adjacent heat exchangers are not directly calculated. The following calculation method is employed: at a moment t and a moment t+1, temperature differences detected by any two adjacent temperature transmitters are ΔT(i)(t) and ΔT(i)(t+1), respectively, wherein
ΔT(i)(t)=|Ti+1(t)−T(i)(t)|
ΔT(i)(t+1)=|T(i+1)(t+1)−T(i)(t+1)|,
where, signals monitored by the ith temperature transmitter and the i+1th temperature transmitter at the moment t are T(i)(t) and T(i+1)(t), respectively; similarly, signals monitored by the ith temperature transmitter and the i+1th temperature transmitter at the moment t+1 are T(i)(t+1) and T(i+1)(t+1), respectively.
Then, a temperature signal relative error between two adjacent temperature transmitters is eT(i):
A pressure signal relative error between any two adjacent pressure transmitters is eP(i):
Similarly, a flow velocity signal relative error between any two adjacent flow velocity transmitters is eV(i):
step 4): according to a principle of 3σ that a probability of eX(i) falling outside (μ−3σ, μ+3σ) is less than 3‰, taking an interval (μ−3σ, μ+3σ) as an actual possible value interval of the relative error eX(i), taking data outside the value interval as outlier data, and removing the outlier data; if there is no outlier data, going directly to step 5); otherwise, screening out outlier data points to be Tk, Pk, and Vk, where k∈[1, N+1], and then are checking and replacing the kth temperature transmitter, kth pressure transmitter and kth flow velocity transmitter in time;
step 5): calculating an average value
if
step 6): employing, by the console, the PID control algorithm including a proportional (P) control parameter, an integral (I) control parameter and a differential (D) control parameter; taking the average error
where Kp, Ki, and Kd represent a proportional coefficient, an integral time constant, and a differential time constant, respectively, and T0 is a sampling cycle of each transmitter; adjusting and controlling the system to meet predetermined requirements;
step 7): in step 5), if
The present invention has the following advantages: temperature, pressure and flow velocity signals of the inlet and outlet pipes of heat exchange devices are monitored; a console performs analysis the error of the three signals; a PID control algorithm is used to control the adjustment valve to alter the valve opening degree to adjust the water injection amount in real time, which alleviates the problem of ammonium salt corrosion failures in hydrogenation apparatuses of petrochemical enterprises and conforms to the concepts of energy conservation and environmental protection.
The present invention is suitable for hydrogenation apparatuses in fields such as petrochemical engineering, has simple processes and strong applicability, is convenient to refit, and can be applied to hydrogenation processes having different numbers of heat exchange devices.
In
In
The present invention is further described below with reference to the drawings and embodiments.
As shown in
The water injection portion 1 includes the hydrogenation reactor 16, N shell-and-tube heat exchangers 12, air coolers 13, and the separation tank 15. A hydrogenation reaction effluent at the bottom of the hydrogenation reactor 16 is connected to inlets of the air coolers 13 via the N shell-and-tube heat exchangers 12. Hydrogenation reaction effluent is cooled by a plurality of parallel air coolers 13, and then is connected to an inlet located on a side surface of the separation tank 15 through an outlet manifold of the air coolers 13. The hydrogenation reaction effluent is separated into an oil phase 18, a gas phase 19, and an acidic aqueous phase 20 by the separation tank 15, wherein the gas phase 19 flows out of the top of the separation tank 15, the oil phase 18 flows out of the side surface of the separation tank 15 corresponding to the inlet, and the acidic aqueous phase 20 flows out of the bottom of the separation tank 15. N−1 pipelines are separately led out from pipes between the N shell-and-tube heat exchangers, one pipeline is led out from an inlet pipe of the first heat exchanger, one pipeline is led out from a pipe between the last heat exchanger and the air coolers 13, and a total of N+1 pipelines constitute parallel pipes. Branches of the parallel pipes are throttled by N+1 adjustment valves 8 of an identical specification, respectively, and then are gathered to the straight pipe 14. One end of each adjustment valve 8 is connected to a main pipeline of the hydrogenation reaction effluent through a three-way pipe, and the other end of each adjustment valve 8 is connected to the straight pipe 14 through an elbow or three-way pipe. The straight pipe 14 is connected to the power portion 2. The temperature transmitter 9, the pressure transmitter 10 and the flow velocity transmitter 11 are connected to each of an inlet pipeline and an outlet pipeline of each of the shell-and-tube heat exchangers 12 to jointly form the measurement and transmission portion 4. Signals of the three transmitters are connected to the control portion 3 to control an opening degree required by each adjustment valve 8.
The power portion 2 includes the motor 5 and the water pump 6. The motor 5 drives the water pump 6 to rotate, and an outlet of the water pump 6 is connected to an inlet of the straight pipe 14.
The control portion 3 includes the console 7 and the RS485 bus 17. The signals of the three transmitters are transmitted to the console 7 through the RS485 bus 17 to control the opening degree required by each adjustment valves 8 through a PID control algorithm.
The N shell-and-tube heat exchangers 12 are set according to an actual requirement of an industrial site.
As shown in
Step 1): after the stable operation of the system, the hydrogenation reaction effluent successively passes through N heat exchangers 12 (four heat exchangers is used in the figure) and a plurality of parallel air coolers 13 from the bottom of the hydrogenation reactor 17 and then enters the separation tank 15.
Step 2): the temperature transmitter 9, the pressure transmitter 10, and the flow velocity transmitter 11 are arranged at each of an inlet and an outlet of each of N heat exchangers 12 connected in series, and the total number of each of the three transmitters is N+1. The three transmitters detect and transmit the temperature signal Ti, the pressure signal Pi and the flow velocity signal Vi to the console 7 through the RS485 bus, respectively, wherein a value range of i is i∈[1, N+1].
Step 3): the console 7 receives the temperature signal Ti, the pressure signal Pi and the flow velocity signal Vi, and then performs screening analysis as follows on the signals.
Under a normal working condition, a temperature difference between two ends of the heat exchanger or the air coolers basically remains constant, that is, no salt coagulation occurs in the heat exchanger. Therefore, a relative error of temperature values of two adjacent heat exchangers cannot be directly calculated, but the following calculation method is employed: at the moment t and the moment t+1, the temperature differences detected by any two adjacent temperature transmitters are ΔT(i)(t) and ΔT(i)(t+1), respectively, wherein
ΔT(i)(t)=|T(i+1)(t)−T(i)(t)|
ΔT(i)(t+1)=|T(i+1)(t+1)−T(i)(t+1)|,
where signals monitored by the ith temperature transmitter and the i+1th temperature transmitter at the moment t are T(i)(t) and T(i+1)(t), respectively; similarly, signals monitored by the ith temperature transmitter and the i+1th temperature transmitter at the moment t+1 are T(i)(t+1) and T(i+1)(t+1), respectively.
Then, a temperature signal relative error between two adjacent temperature transmitters is eT(i):
a pressure signal relative error between any two adjacent pressure transmitters is eP(i):
and
similarly, a flow velocity signal relative error between any two adjacent flow velocity transmitters is eV(i):
Assuming that the relative error eX(i) follows Gaussian distribution E-N(μ, σ2), where X takes the pressure P, the temperature T or the flow velocity V, then a probability density function of the relative error eX(i) is:
where μ is an overall expectation, and σ2 is a population variance.
μ and σ2 in a population are predicted according to an existing relative error eX(i), and a calculation method is as follows:
Step 4): according to the principle of 3σ that the probability of eX(i), falling outside (μ−3σ, μ+3σ) is less than 3‰, the interval (μ−3σ, μ+3σ) is taken as an actual possible value interval of the relative error eX(i), and data outside the value interval is taken as outlier data and thus are removed. If there is no outlier data, the method goes directly to step 5); otherwise, outlier data points are screened out to be Tk, Pk, and Vk, where k∈[1, N+1], and then the kth temperature transmitter, kth pressure transmitter and kth flow velocity transmitter are checked and replaced in time.
Step 5): an average value
if
if 1%<
if
Step 6): the console 7 employs the PID control algorithm, including a proportional (P) control parameter, an integral (I) control parameter and a differential (D) control parameter. The average error
wherein e0=2%, and
an opening degree of the adjustment valve at the moment t is taken as the output ui(t) of the controller and is expressed by the following formula:
where Kp, Ki, and Kd represent a proportional coefficient, an integral time constant, and a differential time constant, respectively, and T0 is a sampling cycle of each transmitter. The system is adjusted and controlled to meet predetermined requirements.
Step 7): in step 5), if
Taking a process of a 3# diesel hydrogenation apparatus in a petrochemical enterprise as an example, the heat exchanger is a shell-and-tube heat exchanger; the specification of tube bundles of the air cooler is Φ25 mm×3 mm×10000 mm, and the material is carbon steel. According to analysis data of a laboratory information management system (LIMS), in the crude oil of the diesel hydrogenation apparatus, the content of sulfur is 6195.2 mg/kg, the content of chlorine is less than 0.5 mg/kg, and the content of nitrogen is 512.8 mg/kg. Temperature, pressure, and flow velocity signal data collected from a distributed control system (DCS) is as follows:
There are four heat exchangers in the apparatus, and a temperature signal of two adjacent heat exchangers is:
Moment t:
ΔT(1)(t)=106.67, ΔT(2)(t)=74.6, ΔT(3)(t)=32.26, ΔT(4)(t)=62.05.
Moment t+1:
ΔT(1)(t+1)=106.66, ΔT(2)(t+1)=76.3, ΔT(3)(t+1)=32.25, ΔT(4)(t+1)=62.08.
A relative error is:
Similarly, eT(2)(t)=2.28%, eT(3)(t)=0.03%, and eT(4)(t)=0.05%.
A pressure signal of two adjacent heat exchangers is:
A relative error is:
Similarly, eP(2)=2.44%, eP(3)=0.15%, and eP(4)=0.15%.
A flow velocity signal of two adjacent heat exchangers is:
A relative error is:
Similarly, eV(2)=2.43%, eV(3)=0.0026%, and eV(1)=0.003%.
An average error of eT(i), eP(i), and eV(i) is:
Similarly,
Taking the temperature as an example, the relative error eT(i) follows Gaussian distribution E-N(μ, σ2),
A probability density function thereof is:
The interval (μ−3σ, μ+3σ) is (−2.7873%, 3.9743%).
As can be seen, data of eT(1), eT(2), eT(3), and eT(4) are all in the interval, that is, there is no outlier data. Assuming that data eX(k) in eX(i) is not in the interval (μ−3σ, μ+3σ), it is considered that the relative error eX(k) is caused by a system error and thus a field operator is required to repair or replace the kth temperature transmitter.
Upon analysis on the average error
e(t)=2.2833%−2%=0.2833% is inputted to the controller,
In engineering application, PID parameters are generally determined by an empirical method. That is, for different process control systems, an engineer needs to, according to actual working conditions and process characteristics, first use pure proportional control, namely only set a parameter Kp, and adjust Kp to enable the output of the controller to quickly achieve and maintain a stable value, and then appropriately add integral and differential actions, namely set parameters Ki and Kd, to make the adjustment time (i.e., the time required for the system response to reach and remain within ±5% of termination) of the control system as short as possible. The stable value outputted by the controller is the opening degree of the adjustment valve. The console transmits a signal to the adjustment valve through the RS485 bus to alter the water injection amount by adjusting the valve opening degree, until
The structural composition of a system of the present embodiment is the same as that in Embodiment 1, except that the material of the air cooler is different from that in Embodiment 1. The intelligent water injection method in the present invention is also applicable to the system. The specification of tube bundles of the air cooler is Φ25 mm×3 mm×10000 mm, and the material is Incoloy 825.
Taking a process of a hydrocracking apparatus in a petrochemical enterprise as an example, as can be seen, according to analysis data of an LIMS system, in crude oil of a diesel hydrogenation apparatus, the content of sulfur is 21863.5 mg/kg, the content of chlorine is less than 0.5 mg/kg, and the content of nitrogen is 632.5 mg/kg, which belongs to typical high-sulfur crude oil. Temperature, pressure, and flow velocity signal data collected from a DCS is as follows:
There are four heat exchangers in the apparatus, and a temperature signal of two adjacent heat exchangers is:
Moment t:
ΔT(1)(t)=106.80, ΔT(2)(t)=84.70, ΔT(3)(t)=38.12, ΔT(4)(t)=49.20.
Moment t+1:
ΔT(1)(t+1)=106.93, ΔT(2)(t+1)=83.61, ΔT(3)(t+1)=38.56, ΔT(4)(t+1)=48.05.
A relative error is:
Similarly, eT(2)(t)=1.28%, eT(3)(t)=1.15%, and eT(4)(t)=2.34%.
A pressure signal of two adjacent heat exchangers is:
A relative error is:
Similarly, eP(2)=1.40%, eP(3)=1.02%, and eP(4)=2.34%.
A flow velocity signal of two adjacent heat exchangers is:
A relative error is:
Similarly, eV(2)=1.17%, eV(3)=0.84%, and eV(4)=1.98%.
Then, an average error of eT(i), eP(i), and eV(i) is:
Similarly,
By adopting the same method as that in Embodiment 1, it can be seen that data of eT(1), eT(2), eT(3), and eT(4) are all in the interval (μ−3σ, μ+3σ), that is, there is no outlier data.
Upon analysis on the average error
e(t)=2.22%−2%=0.22% is inputted to the controller,
Kp, Ki, and Kd are determined by the same PID parameter setting method as that in Embodiment 1. Through the PID control algorithm, the control system outputs an instruction, the console transmits a signal to the adjustment valve through the RS485 bus to alter the water injection amount by adjusting the valve opening degree, until
Large general simulation process system Aspen Plus software, is employed to calculate the water injection required to ensure 25% liquid water at different temperatures. Assuming that the water injection amount is 100 t/h when a valve is fully opened, and the water injection amount is 32 tons when an inlet temperature of the heat exchanger is 194.7° C., in this case, the controller outputs ui(t)=0.32, then the valve adjusts the opening degree to 32% according to an instruction of the console, that is, the water injection amount is 32 t/h. In the process of water injection, measurement transmitters continue to transmit signals to the console, the average error
From the above experimental results, it can be seen that the present invention achieves a certain application effect in the hydrogenation process. The added measurement transmitters can be directly integrated into DCS, and data acquired through DCS is accurate and fast. The console only needs to extract such three sets of data of temperature, pressure, and flow velocity, and perform screening and error analysis on the three sets of data to determine whether the average error satisfies the condition of
At present, the water injection process is widely used in the hydrogenation process, which indeed alleviates the problem of corrosion caused by the crystallized ammonium salt to some extent. The quality of the crude oil, however, is becoming increasingly poor, the traditional water injection technology has gradually lost advantages and has increasingly worse effect, which aggravates the waste of water resources and energy consumption in turn. The PID control-based adaptive intelligent water injection system according to the present invention is simple in structure, convenient to refit, and quite flexible, and has wide applicability, which not only solves the risk of flow corrosion failures of the hydrogenation apparatus caused by the lag in the traditional water injection process, but also saves water resources and brings certain economic benefits to enterprises.
Number | Date | Country | Kind |
---|---|---|---|
201910207326.4 | Mar 2019 | CN | national |
This application is the national phase entry of International Application No. PCT/CN2020/085686, filed on Apr. 20, 2020, which is based upon and claims priority to Chinese Patent Application No. 201910207326.4, filed on Mar. 19, 2019, the entire contents of which are incorporated herein by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/085686 | 4/20/2020 | WO | 00 |