The present disclosure is directed to heat exchanging systems, and more particularly, to counter flow double pipe heat exchangers.
The “background” description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent it is described in this background section, as well as aspects of the description which may not otherwise qualify as prior arts at the time of filing, are neither expressly or impliedly admitted as prior arts against the present disclosure.
A heat exchanger plays an essential role in a broad range of industrial applications where it facilitates heat transfer between two or multiple fluids. The heat exchanger enables the heat transfer process between two fluids with different temperatures without direct contact between them. The heat is transferred by convection between fluids and conduction between fluids and heat exchanger walls. A double pipe heat exchanger (DPHE) represents one of the common heat exchangers used widely due to its simplicity and applicability. This type of heat exchanger is broadly utilized in the food, oil and gas, and chemical industries. It is also of great significance when a wide range of temperature gradients is needed. Moreover, the DPHE has a high popularity in many small industries due to its simple design and low maintenance cost, as described by Omidi et al. in “A comprehensive review on double pipe heat exchangers,” Appl. Therm. Eng., vol. 110, pp. 1075-1090, 2017.
The two primary arrangements of the heat exchangers based on flow direction are co-current and counter-current, where the latter is more efficient, as described by S. Heo in “Nonlinear control of high duty counter-current heat exchangers using reduced order model,” Appl. Therm. Eng., vol. 157, 2019. Recently, the design and control of heat exchangers is a hot research domain wherein many studies have been conducted targeting different heat exchanger configurations, as described by S. Padhee in “Controller design for temperature control of heat exchanger system: Simulation studies,” WSEAS Trans. Syst. Control, vol. 9, no. 1, pp. 485-491, 2014, by E. Aulisa et al. in “Velocity control of a counter-flow heat exchanger,” IFAC-PapersOnLine, vol. 49, no. 18, pp. 104-109, 2016, and by J. Oravec et al. in “Robust model predictive control of a plate heat exchanger,” Chem. Eng. Trans., vol. 70, pp. 25-30, 2018.
Fouling is an accumulation of undesired materials on an inner surface of a heat exchanger, producing a rise in the thermal resistance of the heat exchanger, which, in turn, has a negative impact on the thermal efficiency of the heat exchanger. The foulant, which can either be an organic or inorganic material, usually has a poor thermal conductivity compared to the metallic wall conductivity, and thus results in a degradation of the heat transfer rate, as described by C. Borges De Carvalho et al. in “Dynamic analysis of fouling build-up in heat exchangers designed according to TEMA standards,” Ind. Eng. Chem. Res., vol. 57, no. 10, pp. 3753-3764, 2018, by E. Diaz-Bejarano et al. in “Organic and inorganic fouling in heat exchangers: Industrial case study analysis of fouling rate,” Ind. Eng. Chem. Res., vol. 58, no. 1, pp. 228-246, 2019, and by J. S. K. Ogbonnaya et al. in “Fouling phenomenon and its effect on heat exchanger: A review,” Front. Heat Mass Transf., vol. 9, 2017.
A lot of research in the literature has been devoted to fouling estimation and prediction, which is useful for maintenance planning and can avoid unplanned shutdown to clean heat exchangers, as described by E. Diaz-Bejarano et al. in “Modeling and prediction of shell-side fouling in shell-and-tube heat exchangers,” Heat Transf. Eng., vol. 40, no. 11, pp. 845-861, 2019, by E. Davoudi et al. in “Applying artificial neural networks for systematic estimation of degree of fouling in heat exchangers,” Chem. Eng. Res. Des., vol. 130, pp. 138-153, 2018, by W. Al Hadad et al. in “Fouling detection in a shell and tube heat exchanger using variation of its thermal impulse responses: Methodological approach and numerical verification,” Appl. Therm. Eng., pp. 612-619, 2019, by J. Wang et al. in “Fouling resistance prediction based on GA—Elman neural network for circulating cooling water with electromagnetic anti-fouling treatment,” J. Energy Inst., 2018, by R. Smith et al. in “Fouling in heat exchanger networks,” Chem. Eng. Trans., vol. 61, pp. 1789-1794, 2017, by Y. Wang et al. in “A review of experimental measurement and prediction models of crude oil fouling rate in crude refinery preheat trains,” Asia-Pacific J. Chem. Eng., vol. 10, no. 4, pp. 607-625, 2015, and by E. Diaz-Bejarano et al. in “Detection of changes in fouling behavior by simultaneous monitoring of thermal and hydraulic performance of refinery heat exchangers,” Comput. Aided Chem. Eng., vol. 37, pp. 1649-1654, 2015.
However, it is not always economically feasible to shut down the process in order to perform cleaning, which means that the heat exchanger may be required to operate under fouling conditions leading to higher operating costs. Therefore, online remedies to compensate for the impact of fouling accumulation on the thermal performance of the heat exchanger becomes inevitable. As described by Trafczynski et al. in “The influence of fouling on the dynamic behavior of PID-controlled heat exchangers,” Appl. Therm. Eng., vol. 109, pp. 727-738, 2016, the influence of the fouling accumulation on the dynamic of a PID-controlled shell and tube heat exchanger was investigated. Results showed that the controller parameters need to be tuned periodically as the fouling resistance increases. Based on a similar model, as described by de Carolina et al. in “Tuning strategies for overcoming fouling effects in proportional integral derivative controlled heat exchangers,” Ind. Eng. Chem. Res., vol. 57, no. 31, pp. 10518-10527, 2018, two strategies were presented for tuning a PID controller for a linearized shell and tube heat exchanger undergoing fouling. The first strategy is based on a built-in SIMULINK PID tuner. In contrast, the second one is based on sequential quadratic programming (SQP) algorithm, and it has been reported that the latter strategy has a better performance. Also, many advanced control schemes were investigated, such as model predictive control. As described by Oravec et al. in “Robust model predictive control and PID control of shell-and-tube heat exchangers,” Energy, vol. 159, pp. 1-10, 2018, a robust model predictive controller (MPC) industrial shell and tube heat exchangers was designed, where the influence of the fouling is modeled as a parametric uncertainty. Most of these studies are conducted on shell and tube heat exchangers based on a linearized lumped model.
Many models describing the fouling build up process in the heat exchanger are been described in the literature. These modeling approaches can be split into three classes. In the first class, deterministic models are used which are derived from the first principles. In the second class, semi empirical models are used which are based on the first principles with unknown parameters estimated using parameter estimation techniques. The third class utilizes data-driven models for the fouling estimation, as described by C. Borges De Carvalho et al. in “Dynamic analysis of fouling buildup in heat exchangers designed according to TEMA standards,” Ind. Eng. Chem. Res., vol. 57, no. 10, pp. 3753-3764, 2018. As described by D. Q. Kern et al. in “A theoretical analysis of thermal surface fouling.pdf,” which Br. Chem. Eng., vol. 4, no. 5, pp. 258-262, 1959, a general paradigm is presented for the deterministic models where it quantifies the fouling rate as a tradeoff between deposits accumulation and removal rates. Based on this approach, many models have been developed, as described by W. Ebert et al. in “Analysis of exxon crude-oil-slip stream coking data,” which was published on Fouling Mitig. Ind. heat Exch., pp. 18-23, 1995, by C. B. Panchal et al. in “Threshold conditions for crude oil fouling,” Int. Conf. Underst. Heat Exch. Fouling and its Mitigation, pp. 273-282, 1999, and by M. R. Jafari Nasr et al. in “Modeling of crude oil fouling in preheat exchangers of refinery distillation units,” Appl. Therm. Eng., vol. 26, no. 14-15, pp. 1572-1577, 2006. In addition, several semi empirical estimation techniques have been presented, for example, the extended Kalman filter as described by G. R. Jonsson et al. in “Use of extended Kalman filtering in detecting fouling in heat exchangers,” Int. J. Heat Mass Transf., vol. 50, no. 13-14, pp. 2643-2655, 2007, the fuzzy observer as described by S. Delrot et al. in “Fouling detection in a heat exchanger by observer of Takagi-Sugeno type for systems with unknown polynomial inputs,” Eng. Appl. Artif. Intell., vol. 25, no. 8, pp. 1558-1566, 2012., and the lock-in technique as described by S. Lalot et al. in “The lock-in technique applied to heat exchangers: A semi-analytical approach and its application to fouling detection,” Appl. Therm. Eng., vol. 114, pp. 154-162, 2017. However, these models have a significant shortcoming in dealing with the fouling complexity.
Data driven models that are based on artificial neural networks (ANN) have gained a remarkable momentum due to their capability in tackling the complex systems that experience nonlinear patterns such as the fouling phenomenon. The ANN based models have been successfully applied to several problems in a diverse range of systems including wind energy systems as described by R. Ata in “Artificial neural networks applications in wind energy systems: A review,” Renew. Sustain. Energy Rev., vol. 49, pp. 534-562, 2015, solar photovoltaic systems as described by A. Mellit et al. in “Artificial intelligence techniques for photovoltaic applications: A review,” Prog. Energy Combust. Sci., vol. 34, no. 5, pp. 574-632, 2008, and steam boilers modeling as described by W. S. Henryk Rusinowski in “Neural modelling of steam boilers,” Energy Conyers. Manag., vol. 48, no. 11, pp. 2802-2809, 2007. Moreover, the ANN is a powerful technique for predicting process parameters such as the parameters in the fouling phenomenon so that the cleaning process can be scheduled before the fouling reaches a severe level.
This disclosure presents two methods of controlling a counter flow double pipe heat exchanger (DPHE) that includes a hot fluid pipe and a cold fluid pipe.
In a first 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.
In a second 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 change rate of the temperature error is determined. A cold fluid mass flow rate is determined 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 is used for a cold fluid in the cold fluid pipe of the counter flow DPHE. The temperature 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.
This disclosure presents two heat exchanging systems.
A first heat exchanging system includes a counter flow DPHE and a PID controller. The counter flow DPHE performs a heat exchanging process between a hot fluid in a hot fluid pipe and a cold fluid in a cold fluid pipe. The PID controller receives a temperature error between a reference temperature and a temperature at an outlet of the hot fluid pipe of the counter flow DPHE, and outputs 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. The temperature error is controller within a predefined range by utilizing parameters of the PID controller that are set by using an HSA to obtain a minimization of a cost function.
A second heat exchanging system includes a counter flow DPHE and a fuzzy logic controller. The counter flow DPHE performs a heat exchanging process between a hot fluid in a hot fluid pipe and a cold fluid in a cold fluid pipe. The fuzzy logic controller receives (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 outputs a cold fluid mass flow rate for the 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 fuzzy logic controller that are set based on a minimization of a cost function.
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:
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.
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.
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.
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:
(1) The heat transfer coefficient is uniform along the pipe length;
(2) The wall temperature is considered negligible;
(3) The density and heat capacity of hot and cold fluids are constants; and
(4) The hot and cold fluids are both in a liquid phase.
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 Ėin and Ė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 Ėst.
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)}h is the hot fluid mass flow rate (Kg/sec), {dot over (m)}c is the cold fluid mass flow rate (Kg/sec), ρh is the hot fluid density (Kg/m3), ρc is the cold fluid density (Kg/m3), U(t) is the overall heat coefficient (W/m2·K), ΔAs is the change in the surface area (m2), ΔV1 is the change in the inner pipe volume (m3), ΔV2 is the change in the outer pipe volume (m3), Δt is the time step (sec), CP
By using explicit discretization and using an upwind scheme for the convective terms, the following equations can be obtained:
After some arrangements, Equations (4) and (5) can be written as follows:
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ƒ is the heat transfer coefficient under fouling conditions, Uc is the heat transfer coefficient in the clean state, and Rƒ is the fouling resistance.
Table 1 shows the DPHE parameters used for the system simulation according to some embodiments of the disclosure.
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., Th
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.
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 ut is the output of the PID controller, kp is the proportional gain, kd is the derivative gain, ki is the integral gain, e denotes the error, Ts represents the sampling time, and z−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.
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
new
=x
old+FW·ϵ (11)
where xnew represents the adjusted pitch, xold denotes the current solution or pitch, FW is a fret width, and ϵ∈[0,1] is a random number.
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.
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 [x1i, x2i, . . . , xni] are the candidate solutions (i=1, 2, . . . , HMS).
Step S620: Improvise a new harmony from the HM in accordance with the HMCR and PAR.
Step S630: Evaluate the new harmony.
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.
Step S650: Update the HM by replacing the worst harmony with the new harmony.
Step S660: Determine whether the termination criteria are satisfied. If not, return to step S620.
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 FWmax indicates the maximum fret width, FWmin 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.
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.
(1) Fuzzification, wherein the controller inputs are mapped into linguistic expressions.
(2) Rule-base, which consists of rules in IF-THEN format.
(3) Inference engine infers fuzzy control action from the knowledge of linguistic variables and control rules.
(4) Defuzzification, wherein the fuzzy linguistic output is transferred into a numerical output.
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)}c.
In
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)].
Table 2 illustrates the rules used to design the fuzzy controller according to some embodiments of the disclosure.
According to aspects of the disclosure, the HSA is used to tune the PID controller parameters Kp,i, and Kd, 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.
where 0≤u(k)≤2, 0≤Kp≤5, 0≤Kd≤10, 0≤Ki≤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 (ϵ=Th
Table 3 shows the optimized parameters of the PID controller according to some embodiments of the disclosure.
Table 4 shows the parameters of the fuzzy controller that is implemented according to the structure in
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.
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.
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.
The inner pipe (hot) fluid mass flow rate has been varied, as illustrated in
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
In this scenario, the fouling build-up has been deemed where the fouling resistance is varied, as demonstrated in
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.
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.
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.
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.
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.
In an embodiment, the parameters of the PID controller include a proportional gain Kp, a derivative gain Kd, and an integral gain Ki.
In an embodiment, 0≤Kp≤5, 0≤Kd≤10, and 0≤Ki≤10.
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.
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.
In an embodiment, the PAR is given by xnew=xold+FW·ϵ, wherein xold denotes a current pitch, FW is a fret width, ϵ∈(0,1] is a random number, and xnew denotes an adjusted pitch.
In an embodiment,
wherein FWmax denotes a maximum fret width, FWmin denotes a minimum fret width, NI is a total number of iterations, and i is a current iteration number.
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.
In step S3520, the process determines a change rate of the temperature error.
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.
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.
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.
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.
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.
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.
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
o
AΔT
LMTD
F (16)
where A is the area of the heat transfer, Uo is the overall coefficient of heat transfer, ΔTLMTD is the logarithmic mean temperature difference (LMTD) which is given by Equation (17), and F is the correction factor of LMTD.
In case of counter current flow
ΔT
1
=T
hi
−T
co
ΔT
2
=T
ho
−T
ci (18)
where hi and ci denote the inlet temperatures of the hot and cold fluids, respectively, while ho and co denote the outlet temperatures of the hot and cold fluids, respectively.
The rate of the heat transfer can also be written based on energy balance as
Q=m
h
C
P
ΔT
h
=m
c
C
P
ΔT
c (19)
where CP
The overall heat transfer coefficient is given by
where Uc is the heat transfer coefficient at clean state in
and Rƒ is the fouling factor or resistance in
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).
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=ƒ(WTX+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.
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.
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.
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.
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
Based on the pervious values of the hidden states ht−1 and Xt. The forget gate evaluates which information of the cell state Ct−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ƒ[ht−1,xt]+bƒ) (22)
i
t=σ(Wi[ht−1,xt]+bi) (23)
o
t=σ(Wo[ht−1,xt]+bo) (24)
C
t=ƒt*Ct−1+it*tanh(Wc[ht−1,xt]+bi) (25)
h
t
=o
t*tanh(Ct) (26)
where Wi , Wƒ, Wc, and Wo represent the weight matrices while bi, bƒ, bc, and bo denote biases and σ is a sigmoid activation function.
Table 6 shows the fluids and heat exchanger parameters according to some embodiments of the disclosure.
MATLAB deep learning toolbox has been adopted to implement the ANN with 20 hidden neurons as depicted in
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.
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%.
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.
This present application claims the benefit of priority to U.S. Provisional Application No. 63/125,064, “DOUBLE PIPE HEAT EXCHANGER FOULING COMPENSATION,” filed on Dec. 14, 2020, which is incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
63125064 | Dec 2020 | US |