DOUBLE PIPE HEAT EXCHANGER FOULING COMPENSATION
20220187858 · 2022-06-16
Assignee
- King Fahd University Of Petroleum And Minerals (Dhahran, SA)
- Yokogawa Saudi Arabia Company (Al-Khobar, SA)
Inventors
- Sami EL FERIK (Dhahran, SA)
- Mustafa AL-NASSER (Al-Khobar, SA)
- Rached Ben MANSOUR (Dhahran, SA)
- Mohammed Ahmed Mohammed ELTOUM (Dhahran, SA)
Cpc classification
F28D7/10
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F28F2200/00
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F28F2265/00
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F28D7/0008
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
G06N7/01
PHYSICS
G06F30/18
PHYSICS
G06N5/01
PHYSICS
G06F30/28
PHYSICS
International classification
Abstract
This disclosure presents methods and systems of controlling a counter flow double pipe heat exchanger (DPHE) that includes a hot fluid pipe and a cold fluid pipe. In a method, a temperature error between a reference temperature and a temperature at an outlet of the hot fluid pipe of the counter flow DPHE is determined. A cold fluid mass flow rate is determined from an output of a proportional-integral-derivative (PID) controller based on the temperature error being input to the PID controller. The cold fluid mass flow rate is used for a cold fluid in the cold fluid pipe of the counter flow DPHE. The temperature error is controlled within a predefined range by utilizing parameters of the PID controller that are set by using a harmony search algorithm (HSA) to obtain a minimization of a cost function.
Claims
1. A method of controlling a counter flow double pipe heat exchanger (DPHE) that includes a hot fluid pipe and a cold fluid pipe, the method comprising: determining a temperature error between a reference temperature and a temperature at an outlet of the hot fluid pipe of the counter flow DPHE; determining a cold fluid mass flow rate from an output of a proportional-integral-derivative (PID) controller based on the temperature error being input to the PID controller, the cold fluid mass flow rate being used for a cold fluid in the cold fluid pipe of the counter flow DPHE; and controlling the temperature error within a predefined range by utilizing parameters of the PID controller that are set by using a harmony search algorithm (HSA) to obtain a minimization of a cost function.
2. The method of claim 1, wherein the hot fluid pipe and the cold fluid pipe are an inner pipe and an outer pipe of the counter flow DPHE, respectively.
3. The method of claim 1, wherein the parameters of the PID controller include a proportional gain K.sub.p, a derivative gain K.sub.d, and an integral gain K.sub.i.
4. The method of claim 3, wherein 0≤K.sub.p≤5, 0≤K.sub.d≤10, and 0≤K.sub.i≤10.
5. The method of claim 1, wherein the cost function is given by
6. The method of claim 5, wherein the minimization of the cost function includes multiple iterations, wherein each iteration includes: generating a first plurality of candidate parameters from a second plurality of parameters according to a pitch adjusting rate (PAR) and a harmony memory considering rate (HMCR) of the HSA, the second plurality of parameters being stored in a harmony memory (HM); determining whether a result of the cost function based on a subset of the first plurality of candidate parameters is less than a result of the cost function based on a subset of the second plurality of parameters; in response to a determination that the result of the cost function based on the subset of the first plurality of candidate parameters is less than the result of the cost function based on the subset of the second plurality of parameters, replacing the subset of the second plurality of parameters with the subset of the first plurality of candidate parameters in the HM; and in response to a determination that the result of the cost function based on the subset of the first plurality of candidate parameters is not less than the result of the cost function based on the subset of the second plurality of parameters, removing the subset of the first plurality of candidate parameters.
7. The method of claim 6, wherein the PAR is given by x.sub.new=x.sub.old+FW.Math.ϵ, wherein x.sub.old denotes a current pitch, FW is a fret width, ϵ∈(0,1] is a random number, and x.sub.new denotes an adjusted pitch.
8. The method of claim 7, wherein
9. A heat exchanging system, comprising: a counter flow double pipe heat exchanger (DPHE) configured to perform a heat exchanging process between a hot fluid in a hot fluid pipe and a cold fluid in a cold fluid pipe; and a proportional-integral-derivative (PID) controller configured to: receive a temperature error between a reference temperature and a temperature at an outlet of the hot fluid pipe of the counter flow DPHE, and output a cold fluid mass flow rate for the cold fluid in the cold fluid pipe of the counter flow DPHE based on the received temperature error, wherein the temperature error is controller within a predefined range by utilizing parameters of the PID controller that are set by using a harmony search algorithm (HSA) to obtain a minimization of a cost function.
10. The heat exchanging system of claim 9, wherein the hot fluid pipe and the cold fluid pipe are an inner pipe and an outer pipe of the counter flow DPHE, respectively.
11. The heat exchanging system of claim 9, wherein the parameters of the PID controller include a proportional gain K.sub.p, a derivative gain K.sub.d, and an integral gain K.sub.i.
12. The heat exchanging system of claim 11, wherein 0≤K.sub.p≤5, 0≤K.sub.d≤10, and 0≤K.sub.i≤10.
13. The heat exchanging system of claim 9, wherein the cost function is given by
14. The heat exchanging system of claim 13, wherein the minimization of the cost function includes multiple iterations, wherein each iteration includes: generating a first plurality of candidate parameters from a second plurality of parameters according to a pitch adjusting rate (PAR) and a harmony memory considering rate (HMCR) of the HSA, the second plurality of parameters being stored in a harmony memory (HM); determining whether a result of the cost function based on a subset of the first plurality of candidate parameters is less than a result of the cost function based on a subset of the second plurality of parameters; in response to a determination that the result of the cost function based on the subset of the first plurality of candidate parameters is less than the result of the cost function based on the subset of the second plurality of parameters, replacing the subset of the second plurality of parameters with the subset of the first plurality of candidate parameters in the HM; and in response to a determination that the result of the cost function based on the subset of the first plurality of candidate parameters is not less than the result of the cost function based on the subset of the second plurality of parameters, removing the subset of the first plurality of candidate parameters.
15. The heat exchanging system of claim 14, wherein the PAR is given by x.sub.new=x.sub.old+FW.Math.ϵ, wherein x.sub.old denotes a current pitch, FW is a fret width, ϵ∈(0,1] is a random number, and x.sub.new denotes an adjusted pitch.
16. The heat exchanging system of claim 15, wherein
17. A method of controlling a counter flow double pipe heat exchanger (DPHE) that includes a hot fluid pipe and a cold fluid pipe, the method comprising: determining a temperature error between a reference temperature and a temperature at an outlet of the hot fluid pipe of the counter flow DPHE; determining a change rate of the temperature error; determining a cold fluid mass flow rate from an output of a fuzzy logic controller based on the temperature error and the change rate of the temperature error being input to the fuzzy logic controller, the cold fluid mass flow rate being used for a cold fluid in the cold fluid pipe of the counter flow DPHE; and controlling the temperature within a predefined range by utilizing parameters of the fuzzy logic controller that are set based on a minimization of a cost function.
18. The method of claim 17, wherein the output of the fuzzy controller is limited by a function given
19. A heat exchanging system, comprising: a counter flow double pipe heat exchanger (DPHE) configured to perform a heat exchanging process between a hot fluid in a hot fluid pipe and a cold fluid in a cold fluid pipe; and a fuzzy logic controller configured to: receive (i) a temperature error between a reference temperature and a temperature at an outlet of the hot fluid pipe of the counter flow DPHE and (ii) a change rate of the temperature error, and output a cold fluid mass flow rate for the cold fluid in the cold fluid pipe of the counter flow DPHE, wherein the temperature error is controlled within a predefined range by utilizing parameters of the fuzzy logic controller that are set based on a minimization of a cost function.
20. The heat exchanging system of claim 19, wherein the output of the fuzzy controller is limited by a function given by
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0017] A more complete appreciation of this disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
DETAILED DESCRIPTION
[0055] In the drawings, like reference numerals designate identical or corresponding parts throughout the several views. Further, as used herein, the words “a,” “an” and the like generally carry a meaning of “one or more,” unless stated otherwise. The drawings are generally drawn to scale unless specified otherwise or illustrating schematic structures or flowcharts.
[0056] Furthermore, the terms “approximately,” “approximate,” “about,” and similar terms generally refer to ranges that include the identified value within a margin of 20%, 10%, or preferably 5%, and any values there between.
[0057] Aspects of this disclosure are directed to systems, devices, and methods for controlling a counter flow double pipe heat exchanger (DPHE). Two control schemes are included in the disclosure. The first one is a proportional-integral-derivative (PID) controller utilizing a harmony search metaheuristic algorithm developed to control an inner pipe fluid outlet temperature of a counter-flow heat exchanger undergoing fouling. The second control scheme is a fuzzy PID (FPID) controller to control the inner pipe fluid outlet temperature of the counter-flow heat exchanger undergoing fouling.
1. Modelling of the Counter Flow DPHE
[0058]
[0059]
[0060] Based on the one-dimensional finite-difference analysis of the counter flow DPHE, a dynamic DPHE model can be derived. The following assumptions can be used for the model derivations:
[0061] (1) The heat transfer coefficient is uniform along the pipe length;
[0062] (2) The wall temperature is considered negligible;
[0063] (3) The density and heat capacity of hot and cold fluids are constants; and
[0064] (4) The hot and cold fluids are both in a liquid phase.
[0065] As described by F. P. Incropera et al. in “Fundamentals of heat and mass transfer,” John Wiley & Sons, 2011, the first law of the thermodynamic (conservation of energy) can be expressed as,
where Ė.sub.in and Ė.sub.out denote the energy transfer rates into and out of the heat exchanger, respectively. The rate of the energy change of the system is represented by Ė.sub.st.
[0066] In some embodiments, it is assumed that the hot fluid flows through the inner pipe and the cold fluid flows through the outer pipe of the heat exchanger, equation (1) can be rewritten as follows:
where {dot over (m)}.sub.h is the hot fluid mass flow rate (Kg/sec), {dot over (m)}.sub.c is the cold fluid mass flow rate (Kg/sec), ρ.sub.h is the hot fluid density (Kg/m.sup.3), ρ.sub.c is the cold fluid density (Kg/m.sup.3), U(t) is the overall heat coefficient (W/m.sup.2.Math.K), ΔA.sub.s is the change in the surface area (m.sup.2), ΔV.sub.1 is the change in the inner pipe volume (m.sup.3), ΔV.sub.2 is the change in the outer pipe volume (m.sup.3), Δt is the time step (sec), C.sub.P.sub.
[0067] By using explicit discretization and using an upwind scheme for the convective terms, the following equations can be obtained:
[0068] After some arrangements, Equations (4) and (5) can be written as follows:
[0069] In some embodiments, the fouling has been considered for the inner pipe only while the outer pipe fouling is neglected. The thermal effect of the fouling on the heat transfer coefficient can be represented as follows:
where U.sub.ƒ is the heat transfer coefficient under fouling conditions, U.sub.c is the heat transfer coefficient in the clean state, and R.sub.ƒ is the fouling resistance.
[0070]
[0071] Table 1 shows the DPHE parameters used for the system simulation according to some embodiments of the disclosure.
TABLE-US-00001 TABLE 1 Hot fluid mass flow rate ({dot over (m)}.sub.h) 0.1 Kg/sec Cold fluid mass flow rate ({dot over (m)}.sub.c) 0.0552 Kg/sec Specific heat at a constant pressure of 4180 J/Kg .Math. K hot fluid (C.sub.ph) Specific heat at a constant pressure of 4180 J/Kg .Math. K cold fluid (C.sub.pc) Hot fluid density (ρ.sub.h) 1000 Kg/m.sup.3 Cold fluid density (ρ.sub.c) 1000 Kg/m.sup.3 Length of pipe 5 m Overall heat coefficient (U) 1000 W/n.sup.2 .Math. K Number of segments (M) 50 Time step 0.01 sec Hot side inlet temperature 100° C. Cold side inlet temperature 20° C. Inner diameter of the inner pipe (d.sub.i) 0.04 m Outer diameter of the inner pipe (d.sub.o) 0.05 m Inner diameter of the outer pipe (D.sub.i) 0.1 m
2. Control Design
[0072] In this disclosure, two feedback control schemes have been employed to perform the fouling compensation based on the presented numerical model of the counter flow DPHE. In a first control scheme, a PID controller utilizing a harmony search metaheuristic algorithm is used to control the cold fluid flow rate of the counter flow DPHE based on temperature error between a reference temperature and a hot side outlet temperature (e.g., T.sub.h.sub.
2.1. PID Parameters Using Harmony Search Algorithm
[0073] The PID controller is known for its simplicity, ease of realization, and functionality, so it has been extensively used in various industrial systems, as described by K. H. Ang et al. in “PID control system analysis, design, and technology,” IEEE Trans. Control Syst. Technol., vol. 13, no. 4, pp. 559-576, 2005. Several Model-based and model-free tuning methods have been developed to tune the PID controller, as described by K. Ogata et al. in “Modern control engineering,” 5th ed., vol. 5, Prentice Hall Upper Saddle River, 2010. However, these tuning strategies might not lead to an optimal performance, especially when the controlled plant is nonlinear.
[0074] Based on the above presented discrete-time model of the DPHE, a discrete PID controller has been utilized to manipulate the cold fluid mass flow rate according to the desired hot fluid outlet temperature (e.g., the reference temperature). A mathematical formula for the discrete-time PID controller is given by:
where u.sub.t is the output of the PID controller, k.sub.p is the proportional gain, k.sub.d is the derivative gain, k.sub.i is the integral gain, e denotes the error, T.sub.s represents the sampling time, and z.sup.−1 is a backward shift operator, as described by E. M. Shaban et al. in “A novel discrete PID+ controller applied to higher order/time delayed nonlinear systems with practical implementation,” Int. J. Dyn. Control, vol. 7, no. 3, pp. 888-900, 2019.
[0075]
[0076] As described by Z. W. Geem et al. in “A new heuristic optimization algorithm: Harmony search,” Simulation, vol. 76, no. 2, pp. 60-68, 2001, the harmony search algorithm (HSA) is a musically inspired meta-heuristic algorithm. The HSA is similar to music improvisation. A harmony memory (HM) is a location where the HSA saves a solution set. A new harmony in the HSA can be chosen from the HM or from the HM with slight adjustments, or it can be selected at random within the possible solution zone, as described by Z. W. Geem in “Music-inspired harmony search algorithm,” which was published on vol. 191, no. 1. 2009, and by T. Zhang et al. in “Review of harmony search with respect to algorithm structure,” Swarm Evol. Comput., vol. 48, pp. 31-43, 2019. Pitch adjusting rate (PAR) and harmony memory considering rate (HMCR) are two parameters that guide the selection process. PAR∈[0,1], which represents a slight adjustment to the past value in the HM, is given by:
x.sub.new=x.sub.old+FW.Math.ϵ (11)
where x.sub.new represents the adjusted pitch, x.sub.old denotes the current solution or pitch, FW is a fret width, and ϵ∈[0,1] is a random number.
[0077] HMCR ∈[0,1] represents a likelihood of selecting a proposed solution from among the current members of the HM. Picking up tiny HMCR values for the harmony can result in a slow convergence for the selection process. On the other hand, picking up high HMCR values (around 1) can result in a faster convergence but may compromise algorithm exploration capabilities.
[0078]
[0079] Step S610: Harmony memory initialization, where initial candidate solutions in the HM are produced randomly. An HM with a size of HMS can be implemented as:
where [x.sub.1.sup.i, x.sub.2.sup.i, . . . , x.sub.n.sup.i] are the candidate solutions (i=1, 2, . . . , HMS).
[0080] Step S620: Improvise a new harmony from the HM in accordance with the HMCR and PAR.
[0081] Step S630: Evaluate the new harmony.
[0082] Step S640: Compare the new harmony value with the worst harmony value stored in the HM. If the new harmony value fits better, proceed to step S650; otherwise, the new harmony will be removed.
[0083] Step S650: Update the HM by replacing the worst harmony with the new harmony.
[0084] Step S660: Determine whether the termination criteria are satisfied. If not, return to step S620.
[0085] The implemented algorithm is inspired by the original HSA approach. However, instead of producing only one harmony per improvisation, multiple harmonics are created to improve the convergence rate, as described by Y. Cheng et al. in “An improved harmony search minimization algorithm using different slip surface generation methods for slope stability analysis,” Eng. Optim., vol. 40, no. 2, pp. 95-115, 2008. In addition, as described by M. Mahdavi et al. in “An improved harmony search algorithm for solving optimization problems,” Appl. Math. Comput., vol. 188, no. 2, pp. 1567-1579, 2007, a variable FW has been applied as follows,
where FW.sub.max indicates the maximum fret width, FW.sub.min indicates the minimum fret width, NI is the total generations number, and i is the current generation number. Initially, FW has a high value for improving global search capacity. To increase local search capabilities, FW steadily declines as i increases.
2.2. Fuzzy-PID Controller
[0086] The fuzzy logic control is one of the successful applications of fuzzy set theory, which, unlike crisp sets, allows partial membership (i.e., an element can be in part a member of more than a single set at the same time). The fuzzy logic receives an input vector and maps it into an output vector using linguistic statements in a form of If-Then rules attained from utilizing human knowledge about the system, as described by K. M. Passino and S. Yurkovich in “Fuzzy control”, Vol. 42, Addison Wesley, 1998.
[0087]
[0088] (1) Fuzzification, wherein the controller inputs are mapped into linguistic expressions.
[0089] (2) Rule-base, which consists of rules in IF-THEN format.
[0090] (3) Inference engine infers fuzzy control action from the knowledge of linguistic variables and control rules.
[0091] (4) Defuzzification, wherein the fuzzy linguistic output is transferred into a numerical output.
[0092] As described by J. M. Mendel in “Uncertain rule-based fuzzy systems,” Springer International Publishing 2017, a fuzzy PID (FPID) controller has been designed to control the DPHE inner pipe outlet temperature, which represents the hot fluid outlet temperature in some embodiments. The error between the desired temperature and the actual hot fluid outlet temperature, as well as the rate of change of this error, represent the inputs of the controller, while the output of the controller is the outer pipe fluid (cold fluid) mass flow rate {dot over (m)}.sub.c.
[0093]
[0094] In
[0095] Triangular membership functions are adopted for fuzzy inputs and output with an input universe of discourse as [Negative (N), Zero (Z), Positive (P)]. The output universe of discourse is [Negative Big (NB), Negative Medium (NM), Zero (Z), Positive Medium (PM), Positive Big (PB)].
[0096]
[0097]
[0098] Table 2 illustrates the rules used to design the fuzzy controller according to some embodiments of the disclosure.
TABLE-US-00002 TABLE 2 ė {dot over (m)}.sub.c N Z P e N NB NM Z Z NM Z P P Z PM PB
3. Simulation Results
[0099] According to aspects of the disclosure, the HSA is used to tune the PID controller parameters K.sub.p,i, and K.sub.d, by minimizing a cost function as expressed in equation (15), which is defined based on the Integral of Time multiplied Absolute Error (ITAE) and the standard deviation of the output vector of the controller, where the latter index is used to penalize the chattering in the controller output.
[0100] where 0≤u(k)≤2, 0≤K.sub.p≤5, 0≤K.sub.d≤10, 0≤K.sub.i≤10, k represents a time index and N denotes the number of samples while E is the error between actual hot fluid outlet temperature and the desired temperature (ϵ=T.sub.h.sub.
[0101]
[0102] Table 3 shows the optimized parameters of the PID controller according to some embodiments of the disclosure.
TABLE-US-00003 TABLE 3 Parameter K.sub.p K.sub.i K.sub.d value 0.6553 0.0107 9.99
[0103] Table 4 shows the parameters of the fuzzy controller that is implemented according to the structure in
TABLE-US-00004 TABLE 4 Parameter K.sub.p K.sub.i K.sub.d K.sub.o value 0.6553 0.0321 9.99 2
[0104] Five scenarios have been simulated for evaluating both the PID and fuzzy controllers to show the robustness of the designed controllers under different operation conditions where the controlled DPHE system has been simulated using SIMULINK.
3.1. Scenario 1: The Operation under Nominal Conditions
[0105] In this scenario, the simulation is conducted based on the DPHE nominal parameters given in Table 1, where the reference outlet temperature of the hot fluid (inner pipe fluid) has been adjusted to 60° C.
3.2. Scenario 2: Varying Reference Temperature for Inner Pipe Outlet Temperature
[0106] This scenario evaluates the dynamics of the controlled DPHE system subjected to a varying reference temperature. The simulation is conducted for five hours, where the reference temperature is altered from 60° C. to 55° C., then to 70° C., and finally returned to 60° C. at the end of simulation time.
3.3. Scenario 3: Varying Inner Pipe Inlet Flow Rate
[0107] The inner pipe (hot) fluid mass flow rate has been varied, as illustrated in
3.4. Scenario 4: Varying Inlet Temperatures
[0108] This scenario investigates the effect of change in the inlet temperatures of the feedback controlled DPHE on the inner outlet temperature regulation. The hot fluid inlet temperature has been altered within the range 95° C. to 105° C.; at the same time, the cold fluid inlet temperature has been varied between 17° C. and 23° C., as illustrated in
[0109]
3.5. Scenario 5: Fouling Build-up
[0110] In this scenario, the fouling build-up has been deemed where the fouling resistance is varied, as demonstrated in
[0111] Table 5 compares the PID and FPID controlled DPHE errors based on IATE and integral square error (ISE) indexes. Based on the comparison, it is apparent that the FPID controlled DPHE has a better performance for all considered operating scenarios.
TABLE-US-00005 TABLE 5 IATE IATE ISE ISE (PID) (FPID) (PID) (PID) Scenario 1 100 83.63 10.90 10.71 Scenario 2 1684.9 1351.2 4.26 3.81 Scenario 3 112.22 85.87 2.46 2.39 Scenario 4 36.16 34.41 1.74 1.70 Scenario 5 5.41 5.17 0.20 0.20
[0112]
4. Flowcharts of Operating the DPHE
[0113]
[0114] In step S3410, the process determines a temperature error between a reference temperature and a temperature at an outlet of the hot fluid pipe of the counter flow DPHE.
[0115] In step S3420, the process determines a cold fluid mass flow rate from an output of a PID controller based on the temperature error being input to the PID controller, the cold fluid mass flow rate being used for a cold fluid in the cold fluid pipe of the counter flow DPHE.
[0116] In step S3430, the process controls the temperature error within a predefined range by utilizing parameters of the PID controller that are set by using a harmony search algorithm (HSA) to obtain a minimization of a cost function.
[0117] In an embodiment, the hot fluid pipe and the cold fluid pipe are an inner pipe and an outer pipe of the counter flow DPHE, respectively.
[0118] In an embodiment, the parameters of the PID controller include a proportional gain K.sub.p, a derivative gain K.sub.d, and an integral gain K.sub.i.
[0119] In an embodiment, 0≤K.sub.p≤5, 0≤K.sub.d≤10, and 0≤K.sub.i≤10.
[0120] In an embodiment, the cost function is given by
wherein N denotes a total number of time samples during the minimization of the cost function, k denotes a time index, ϵ denotes the temperature error, u∈[0,2] denotes the output of the PID controller, and μ denotes a mean value of the outputs of the PID controller during the minimization of the cost function.
[0121] In an embodiment, the minimization of the cost function includes multiple iterations, wherein each iteration includes: (i) generating a first plurality of candidate parameters from a second plurality of parameters according to a pitch adjusting rate (PAR) and a harmony memory considering rate (HMCR) of the HSA, the second plurality of parameters being stored in a harmony memory (HM); (ii) determining whether a result of the cost function based on a subset of the first plurality of candidate parameters is less than a result of the cost function based on a subset of the second plurality of parameters; (iii) in response to a determination that the result of the cost function based on the subset of the first plurality of candidate parameters is less than the result of the cost function based on the subset of the second plurality of parameters, replacing the subset of the second plurality of parameters with the subset of the first plurality of candidate parameters in the HM; and (iv) in response to a determination that the result of the cost function based on the subset of the first plurality of candidate parameters is not less than the result of the cost function based on the subset of the second plurality of parameters, removing the subset of the first plurality of candidate parameters.
[0122] In an embodiment, the PAR is given by x.sub.new=x.sub.old+FW.Math.ϵ, wherein x.sub.old denotes a current pitch, FW is a fret width, ϵ∈(0,1] is a random number, and x.sub.new denotes an adjusted pitch.
[0123] In an embodiment,
wherein FW.sub.max denotes a maximum fret width, FW.sub.min denotes a minimum fret width, NI is a total number of iterations, and i is a current iteration number.
[0124]
[0125] In step S3510, the process determines a temperature error between a reference temperature and a temperature at an outlet of the hot fluid pipe of the counter flow DPHE.
[0126] In step S3520, the process determines a change rate of the temperature error.
[0127] In step S3530, the process determines a cold fluid mass flow rate from an output of a fuzzy logic controller based on the temperature error and the change rate of the temperature error being input to the fuzzy logic controller, the cold fluid mass flow rate being used for a cold fluid in the cold fluid pipe of the counter flow DPHE.
[0128] In step S3540, the process controls the temperature within a predefined range by utilizing parameters of the fuzzy logic controller that are set based on a minimization of a cost function.
[0129] In an embodiment, the output of the fuzzy controller is limited by a function given by
wherein u denotes the output of the fuzzy controller.
5. Heat Exchanger Fouling Prediction Using Artificial Intelligence
[0130] This disclosure also includes a data driven approach to predict the tube fouling in a shell and tube heat exchanger (STHX) so that the cleaning process of the fouling can be scheduled before the fouling reaches a severe level.
[0131] According to aspects of the disclosure, a feedforward artificial neural network (ANN) is used for real-time fouling estimation and a long short-term memory (LSTM) neural network is adopted for prediction purposes.
5.1. Mathematical Model
[0132] The STHX is one of the prevalent and common types of heat exchangers that are used extensively in a board range of industrial processes. It includes a tube bundle that contains one of a hot fluid and a cold fluid while the shell contains the other fluid.
[0133] As described by T. Ardsomang et al. in “Heat exchanger fouling and estimation of remaining useful life,” Proc. Annu. Conf. Progn. Heal. Manag. Soc., pp. 150-158, 2013, the heat transfer rate of the STHX can be written as follows,
Q=U.sub.oAΔT.sub.LMTDF (16)
where A is the area of the heat transfer, U.sub.o is the overall coefficient of heat transfer, ΔT.sub.LMTD is the logarithmic mean temperature difference (LMTD) which is given by Equation (17), and F is the correction factor of LMTD.
[0134] In case of counter current flow
ΔT.sub.1=T.sub.hi−T.sub.co ΔT.sub.2=T.sub.ho−T.sub.ci (18)
where h.sub.i and c.sub.i denote the inlet temperatures of the hot and cold fluids, respectively, while h.sub.o and c.sub.o denote the outlet temperatures of the hot and cold fluids, respectively.
[0135] The rate of the heat transfer can also be written based on energy balance as
Q=m.sub.hC.sub.P.sub.
where C.sub.P.sub.
[0136] The overall heat transfer coefficient is given by
where U.sub.c is the heat transfer coefficient at clean state in
and R.sub.ƒ is the fouling factor or resistance in
5.2. Artificial Neural Networks (ANN)
[0137] The ANN is a computational model inspirited by the biological neurons in the human nervous system. The ANN is one variant of data-driven models and it is known by its capability to extrapolate complex nonlinear relationships between inputs sequence and the corresponding output(s).
[0138]
[0139]
[0140] The implemented ANN architecture involves three layers: input layer, hidden layer, and output layer. Each layer contains several neurons, as described by S. Haykin in “Neural networks and learning machines, vol. 3” which was published by Pearson Prentice Hall New Jersey in 2008. Input and output layer dimensions are determined according to the given input and output whereas the hidden layer dimension depends on the complexity of the required task. Each neuron performs a weighted sum operation on its inputs and passes this summation through a differentiable activation function which can be either a linear or a nonlinear function. The output of the neuron is given by
h=ƒ(W.sup.TX+b) (21)
where h is the output of the neuron, X is the input vector of the neuron, W is a weight vector, b is a constant representing a bias of the neuron, and ƒ is an activation function, as described by M. Gopal in “Applied Machine Learning,” McGraw-Hill Education in 2018.
[0141] The ANN complexity is proportional to the number of neurons in hidden layer besides the number of hidden layers. If there is more than one hidden layer in the ANN architecture, then it is referred to as a deep neural network.
[0142] Typically, given the input and the target output as in classification or regression problems, the ANN training process is performed using gradient decent or one of its variants as an optimization algorithm while the weight update is accomplished via a backpropagation algorithm based on a pre-defined objective function. The ANN has several hyper-parameters that affect the training performance such as the number of hidden layers, the number of hidden neurons, the learning rate, and the activation function, as described by M. Z. Alom et al. in “A state-of-the-art survey on deep learning theory and architectures,” Electron, vol. 8, no. 3, 2019.
5.3. Long Short-Term Memory (LSTM)
[0143] Conventional neural networks are independent of previous state values so that they cannot be used for prediction purposes. Recurrent neural networks (RNN) were developed to handle dynamic systems by adding a feedback path such that the neural networks output become dependent on the previous states. However, gradient vanishing problem in addition to difficulty in processing long sequences limits the RNN performance especially in time-series forecasting problems, as described by M. Abdel-Nasser et al. in “Accurate photovoltaic power forecasting models using deep LSTM-RNN,” Neural Comput. Appl., pp. 1-14, 2017.
[0144] Long short-term memory (LSTM) is developed to solve previously discussed RNN shortcomings with the ability to learn long and short-term dependencies. The LSTM encompasses a series connected memory blocks where each block as depicted in
[0145] Based on the pervious values of the hidden states h.sub.t−1 and X.sub.t. The forget gate evaluates which information of the cell state C.sub.t−1 to be thrown away. As described by C. Wang et al. in “Long short-term memory neural network (LSTM-NN) enabled accurate optical signal-to-noise ratio (OSNR) monitoring,” J. Light. Technol., vol. 37, no. 16, pp. 4140-4146, 2019, the block equation can be written as follows,
ƒt=σ(W.sub.ƒ[h.sub.t−1,x.sub.t]+b.sub.ƒ) (22)
i.sub.t=σ(W.sub.i[h.sub.t−1,x.sub.t]+b.sub.i) (23)
o.sub.t=σ(W.sub.o[h.sub.t−1,x.sub.t]+b.sub.o) (24)
C.sub.t=ƒ.sub.t*C.sub.t−1+i.sub.t*tanh(W.sub.c[h.sub.t−1,x.sub.t]+b.sub.i) (25)
h.sub.t=o.sub.t*tanh(C.sub.t) (26)
where W.sub.i , W.sub.ƒ, W.sub.c, and W.sub.o represent the weight matrices while b.sub.i, b.sub.ƒ, b.sub.c, and b.sub.o denote biases and σ is a sigmoid activation function.
[0146]
5.4. Simulation Results
[0147]
[0148] Table 6 shows the fluids and heat exchanger parameters according to some embodiments of the disclosure.
TABLE-US-00006 TABLE 6 Parameter Value Shell inner diameter 1.3 m Tuber inner diameter 21 mm Tube outer diameter 25 mm Number of Shell Passes 2 Number of tubes 1122 Tube Length 6.1 m Shell fluid inlet temperature 90° C. Tube fluid inlet temperature 30° C. Shell fluid mass flow rate 6.47 * 10.sup.8 Kg/h Tube fluid mass flow rate 1.368 * 10.sup.6 Kg/h
[0149] MATLAB deep learning toolbox has been adopted to implement the ANN with 20 hidden neurons as depicted in
[0150] Prior to training the fouling estimation model, the obtained data was firstly normalized within a range (−1, 1) and then divided into three groups: training, validation, and testing.
where N is the number of data points, Ŷ is the estimated value, and Y is the observed value.
[0151] The estimated fouling factor obtained from the ANN represents the current input to the LSTM which has 20 hidden neurons. The LSTM is trained on the first 93% of the observed data that is obtained from the ANN estimation model. Then, the LSTM is used to predict the remaining 7%.
[0152] All publications and patent applications mentioned in this specification are herein incorporated by reference in their entirety to the same extent as if each individual publication or patent application was specifically and individually indicated to be incorporated by reference, especially referenced is disclosure appearing in the same sentence, paragraph, page or section of the specification in which the incorporation by reference appears.