Abstract
A pilot-scale wastewater source heat pump was operated for 30 days to recover heat from waste bathwater and to warm up fresh bathwater. The results indicated that the fresh water successfully warmed up to the designated 45℃, 50℃, and 55℃ with the coefficients of performance of 2.3–3.5. Artificial neural networks including back propagation, radial basis function, and nonlinear autoregressive model with exogenous input were used to simulate this process. The root-mean-square error and coefficient of variation of the simulated results, using the experimental data taken on the first 18, 21, 24, and 27 days, respectively, as a package of training data, showed that taking the data measured on more days as the training data improved simulation accuracy. The nonlinear autoregressive model with exogenous input needed at least 24 days’ training data to achieve acceptable simulation results, the back propagation needed 27 days, while the radial basis function did not achieve acceptable results. Predictions based on the nonlinear autoregressive model with exogenous input modeling showed that the performance of the wastewater source heat pump system could gradually be stabilized within 42 days.
Keywords
Introduction
A wastewater source heat pump (WWSHP) is considered as an environmentally friendly and energy-saving device,1–4 and has been widely used for building heating and air conditioning in recent years.5,6 Related studies found this method as feasible for recovering heat from urban sewage, dishwasher disposals, and waste bathwater with economic benefits.7–9 Researchers have also noticed the challenges in collecting high-temperature wastewater, filtering large-sized particles, and cleaning fouling.8,10 Bio-fouling, such as heterotrophic bacteria, microbial nutrients, and suspended substances, 11 can significantly reduce heat transfer efficiency. 12 Efforts have been made to experimentally examine the performance of WWSHP in various conditions. For example, Li et al. 2 applied WWSHP to generate heat for desalination, and found its coefficients of performance (COP) to be 3–11.
Numerical methods have also been applied to predict the performance of heat pump devices. In general, three modeling approaches have been used, i.e., the dynamic model, empirical model, and artificial neural network (ANN) model. To use dynamic models, a well-established dynamic theory about each part of the heat pump is required. However, the mechanism of fouling caused by waste water in a WWSHP is still not explicitly understood, which presents a technical hurdle in simulating the gradually deteriorating WWSHP performance. Likewise, fouling also invalidates the application of empirical models. As noted, there are six mechanisms involved in the waterside fouling, i.e., scaling, particulate, chemical reaction, corrosion, bio-fouling, and freezing. 13 In a WWSHP, fouling on the surface of the heat exchanger is a complex issue that may involve multiple mechanisms due to the tangled driving factors. Besides, after cleaning, the fouling growth trend may be different from the previous cycle, which makes it difficult to develop an empirical model. The ANN has an excellent approximation and fast processing capacity14,15 and can dynamically predict the performance of the WWSHP based on its current and past operating conditions. Therefore, the ANN model was selected to predict the performance of the WWSHP in this study.
Previous studies have employed the ANN technique to estimate potential outputs of refrigerant compressors, 16 evaporative condensers, 17 heat exchangers, 18 and cooling coils, 19 with successful outcomes. Commonly used ANN models are back propagation (BP), 20 radial basis function (RBF), 21 the nonlinear autoregressive model with exogenous input (NARX), 22 and the adaptive neuron fuzzy interface systems (ANFIS). 23 Esen et al. 24 used the BP model to simulate the performance of a horizontal ground-coupled heat pump and achieved excellent results in terms of 1% root-mean-squared error (RMSE), 99.999% of absolute fraction of variance (R2), and 28.62% of coefficient of variation (COV); Balcilar et al. applied the RBF model to determine the heat transfer coefficient and pressure drop of R134a inside of the vertical smooth tubes, and found that the predicted results were close to the experimentally measured results with ±5% deviations for all tested conditions; 25 Hayati et al. 26 worked on the ANFIS model to predict the heat transfer rate of a wire-on-tube type heat exchanger, and noted that the predicted values agreed with the actual values from the experiments with a mean relative error less than 2.55%. These studies demonstrated the feasibility of the ANN models for simulating heat pump performance, and also indicated that the application of the ANN models may depend on the type of heat source/sink and the structure of the tested devices. Selection of the ANN models, however, was addressed in previous studies, although it was generally believed that high accuracy, fast speed, and limited training data requirement were preferred.
Our previous study of the WWSHP using waste bathwater as a heat source has shown that its performance (heat transfer capacity, COP) was a function of a variety of factors, including inlet wastewater flowrate and temperature, inlet refrigerant flowrate and temperature, build-up of fouling, and so on. The involvement of multi-variations inspired us to consider using ANN to simulate the heat recovery process. Also, given the fact that factors such as build-up of fouling are often nonlinear,11,27,28 ANN would be an effective tool in this case. 29 To our best knowledge, no such test has been carried out. Therefore, we hypothesize that the performance of the WWSHP system depends on its current and past performance. To test this hypothesis, a pilot-scale WWSHP system was built using waste bathwater as feedstock and was operated for 30 days. Measured results taken during a certain period of time were employed as training data so that the ANN model could predict the system performance on the following days. The objectives of this study are composed of: (i) examining the performance of the WWSHP using waste bathwater as a heat source; (ii) testing the feasibility of the ANN models in predicting the performance of the WWSHP system; three ANN models were selected, including BP, RBF, and NARX; and (iii) predicting performance of the WWSHP using the most appropriate ANN model.
Materials and methods
Experimental set-up
The pilot-scale WWSHP system was composed of three units: a wastewater collection and storage unit, a heat pump, and a fresh water heating unit (Figure 1). The wastewater tank (WWT) measured 0.9 m (L) × 0.7 m (W) × 1.2 m (H), inside which a wastewater pump (WP1) circulated wastewater into the heat pump. Heat was recovered and then was used to warm up fresh bathwater that was stored in a fresh water tank (FWT). After extraction of the heat, the wastewater was returned to the WWT. When temperature T6 was lower than 26℃, the wastewater was drained off from the bottom of the WWT by the wastewater pump (WP2). Two-level sensors (LV801, OMEGA, Shanghai, China) were installed on the WWT, and were used to maintain the wastewater in the WWT at an appropriate level by regulating the solenoid valves (SV). Wastewater temperature inside of the WWT was measured along its centerline, 1080 mm (T4), 750 mm (T5), and 50 mm (T6) above the bottom using platinum-resistance thermometers (range: −50 to 500℃; accuracy: ±0.1℃). Flowrates of the two WPs were measured using flow meters (range: 0.1–11.8 m3/h; accuracy: ±1.5%; Omega, FTB8010B-PT, Stamford, CT, USA). The fresh water at the inlet of the FWT had a temperature of about 26℃ (T3), and was warmed up in the FWT. When the temperature (T2) reached a high limit (THL), the hot fresh water was drained off from the top of the FWT, and the cool fresh water was compensated from the bottom of the FWT. The selected shell-and-tube evaporator had a de-fouling function that was described in detail in a previous study.
12
Electric consumption was recorded continuously using a current meter (range: 0–20 A, accuracy: ±0.5%, YOKOGAWA-CW120, Chelmsford Essex, England) and a voltage meter (range: 0–400, accuracy: ±0.5%, YOKOGAWA-CW120, Chelmsford Essex, England). Data were recorded every 30 s using a data logger (Model: SWP-NSP-M, Changhui, Hongkong SAR). Specifications of the WWSHP are given in Table 1.
Schematic design of the experimental set-up: FWT – fresh water tank; PC – plate condenser; EX – expansion valve; CO – compressors; EV – evaporator; WP1 – wastewater pump 1; WP2 – wastewater pump 2; WWT – wastewater tank; SV – solenoid valve; LS – level sensor; FM – flowrate meter; T – temperature sensor; P – pressure sensor. Wastewater source heat pump specifications.
Experimental procedure and performance evaluation
The system was designed to provide warm bathwater with the THL designated to be 45℃, 50℃, or 55℃. For each condition, five heating processes were conducted and each process took about 30 min. One heating process refers to the procedure of warming the fresh bathwater in the FWT to the desired temperature. The system was operated for 30 days.
Six operating parameters were monitored, including operating time, inlet wastewater temperature, inlet freshwater temperature, outlet freshwater temperature, and flowrate of WP1 and WP2. Then, the system COP and the evaporator heat transfer capacity were calculated using equations (1) and (2).
The daily averaged results of the COP, heat transfer capacity of evaporator, and refrigerant evaporating temperature were used for the ANN simulation and are reported in this paper.
Artificial neural network analysis
Three ANN models, including the BP, RBF, and NARX methods, were examined in this study with the purpose of testing their feasibilities in predicting the performance of the WWSHP system. Descriptions about these three networks can be found in many previous studies;21,29,30 therefore, they were only briefly introduced here. As a multi-layer feed-forward neural network, the BP model has an input layer, an output layer, and one or more hidden layers. A schematic form of an artificial neuron model is shown in Figure 2(a). In multi-layer feed-forward networks, neurons are arranged in layers and there is a connection among the neurons in neighboring layers. However, the second model RBF (Figure 2(b)) is embedded in a two-layer neural network, where each hidden layer implements a radial activated function. The inputs of an RBF network are nonlinear while its outputs are linear and implement a weight sum of hidden layer outputs. The third model NARX is a recurrent dynamic network, with feedback connections enclosing several layers of the network. This model relates the current value of a time series which one would like to explain or predict to both past values of the same series and current and past values of the driving (exogenous) series. A diagram of the resulting network of NARX is shown in Figure 2(c).
Network models. (a) Back propagation artificial neuron (BP); (b) Radial basis function (RBF); and (c) nonlinear autoregressive model with exogenous input (NARX).
Experimental data were used as the training data to train these three models, respectively. In order to find out which ANN model could achieve an acceptable accuracy based on less training data, experimental data taken on different continuous days were used as the training data for each ANN model. In each training process, all the training data were divided into three contiguous sets. In all, 70% of the data was used as the first set for the training, 15% of the data was used as the second set for validation and the remaining 15% was used as the third set for testing. This training model was used to predict the system performance (evaporating temperature, heat transfer capacity, COP) for the following three days. The predicted results were then compared to the measured data of those three days. To compare the feasibility of the three models in this report, only the comparison results (between the predicted data and the experimental data taken on the following three days) based on the training experimental data taken on first continuous 18 days (means from the 1st day to the 18th day), first 21 days, first 24 days, and first 27 days were presented selectively, which represents the comparison results distinctly.
For comparison purposes, the daily system performance under the three working conditions (THL = 45℃, 50℃, and 55℃) was combined together; thus, for each output operating parameter, nine data (three conditions/day × three days) were obtained. Paired Student’s t tests were conducted to compare the predicted data and the measured data. The RMSE and COV of the predicted data were calculated using the following two equations
30
If the COV of all three operating parameters (evaporating temperature, heat transfer capacity, and COP) was lower than 0.02, the simulated results were considered acceptable; otherwise, the simulation requires improvement, and more training data (measured on more days) should be applied.
Uncertainty analysis
Parameter uncertainty was estimated according to Holman’s method
31
as shown in equation (5)
The maximum uncertainty of T1, T3, T4, WP1 flowrate, WP2 flowrate, evaporating temperature, evaporator heat transfer capacity, and system COP was 0.3%, 0.4%, 0.4%, 2%, 2%, 1.2%, 4.2%, and 5.6%, respectively.
Results and discussion
System performance
Warm freshwater was produced at a desired temperature with minor fluctuations in all three working conditions during the 30-day operation (Figure 3(a)), showing the reliability of the WWSHP system. The outlet freshwater temperature, T1, was 0–1.5℃ higher than the designated THL, mainly due to the vertical temperature gradient in the FWT with a slightly higher temperature in the upper layer compared to the lower layer. Note that the stable function of the system was achieved with the supply of ∼29℃ wastewater and ∼26.7℃ freshwater (Table 2). The wastewater circulating rate in the evaporator was 4–5 times higher than the wastewater drain off rate.
System performance at three operating conditions. (a) Temperature of warm fresh water (T1), (b) heat transfer capacity, and (c) COP. Hollow circle: THL = 55℃; grey diamond: THL = 50℃, black triangle: THL = 45℃. System performance at three operating conditions. WP: wastewater pump.
The heat transfer capacity of evaporator gradually dropped from about 8 kW to 6 kW in all three tests. The initial COP was 3.5 at THL of 45℃, but decreased during the test and became relatively stable on days 25–30 at 2.6. Similar trends were observed for the THL of 50℃ and 55℃. The lowest COP was 2.3. The primary reason for these decreases was the build-up of fouling on the surface of the heat exchangers which reduced the performance of the evaporator. A higher COP and a lower evaporating temperature were observed when the THL was set to 45℃, then followed by 50℃ and 55℃. As shown in Figure 3(b) and (c), the trends were not linear, which favors application of the ANN models.
Feasibility of ANNs
Statistical analysis showed that the predicted results were not significantly different from the measured data with p < 0.05 for all cases. For all three models and their three output parameters, the results showed that the differences between the predicted data and the measured data were generally large using 18-day training data; the differences were reduced if more training data (measured on more days) were employed, indicating that using ANN depends on the amount of available training data (Figure 4) while users would like to employ ANN models that require a small amount of training data but have acceptable predicted results.
Comparison of ANN simulation results based on training data of: (a) 18 days, (b) 21 days, (c) 24 days, and (d) 27 days.
RMSE and COV results.
The simulation result is acceptable.
RMSE: root-mean-square error; BP: back propagation; RBF: radial basis function; NARX: the nonlinear autoregressive model with exogenous input; COV: coefficient of variation.
With regard to the heat transfer capacity, the RBF-predicted results were very active using 18-day training data, although the trend of measured data was relatively flat (Figure 4(a)); the simulation quality was improved by using more training data taken on more days. However, the COV (0.067) of the RBF method was still much higher than 0.02 when the 27-day training data were used (Table 3). The BP and NARX results were much closer to the measured data compared to the RBF-predicted results. The COV of BP and NARX became lower than 0.02 if 27-day and 24-day training data were used, respectively.
With regard to the system COP, it decreased with increased THL, and the predicted data were all quite close to the measured data, although RBF had a few points that were significantly shifted (Figure 4). The RBF-predicted COP using 24-day training data was lower than the measured data for all nine points, but was higher using 21-day and 27-day training data, indicating that this method was not reliable. Both BP and NARX methods achieved acceptable COV results using 24-day and 27-day training data.
Combining the above observations together, the NARX method displayed the highest prediction accuracy while RBF showed the lowest. The COV of the NARX method-predicted results was lower than 0.02 using 24-day training data and further decreased when using 27-day training data for all three system outputs (Table 3). The COV of the BP-predicted COP result was lower than 0.02 using 24-day training data, but not for evaporating temperature or heat transfer capacity; they achieved this goal when 27-day training data were used, indicating more training data are needed to obtain acceptable predicted results (Table 3). However, the COV of the RBF-predicted results was still higher than 0.02 for all three system outputs using 27-day training data, although their COV values decreased when compared to the results when less training data were applied. A group of training data taken on more than 27 days is needed for the RBF method.
Stability of WWSHP
The performance of the WWSHP on following days (from the 31st to 42nd day) was further predicted using the NARX model. The performance on continuous three days (for instance, the 31st to 33rd day, or the 34th to 36th day) was predicted as a group and the experimental/predicted data of previous 24 days (from the 7th to 30th day for the prediction on the 31st to33rd day, from the 10th to 33rd day for the prediction on the 34th to 36th day) were used as the training data. The results are shown in Figure 5; it indicates that the evaporating temperature was slightly decreased and stabilized at 8.7 and 9.0℃ for the THL of 45℃ and 50℃, respectively, while the evaporating temperature was relatively constant (9.7℃) at the THL of 55℃. Similar phenomena were observed for the heat transfer capacity and the COP. Note that the heat transfer capacity decreased 3–5% before being stabilized for the THL of 45℃ and 50℃. Given the reliability of the NARX in predicting the WWSHP performance (Table 3), it is reasonable to consider the predicted results as the performance in the actual tests without extra artificial fouling cleaning. Compared to the initial system performance, the values of the three operating parameters dropped by 15–30%, as shown in Table 4, indicating a necessity for system cleaning and refreshing.
Prediction of WWSHP performance on days 31–42: (a) evaporating temperature, (b) Heat transfer capacity, and (c) COP. Percentage decreases of three output parameters. COP: coefficients of performance.
Conclusions
A WWSHP with a de-fouling function was operated for 30 days. The system successfully recovered heat from waste bathwater and warmed up fresh bathwater to the desired 45℃, 50℃, and 55℃ with a COP of 2.3–3.5. Three ANN models, including BP, NARX, and RBF, were used to predict the performance of the WWSHP in terms of evaporating temperature, heat transfer capacity, and COP. Statistical analysis results showed that the NARX model can accurately predict the system performance using at least 24-day training data, the BP model can achieve this goal by using at least 27-day training data, while the RBF model was not able to accurately predict system performance. Thus, the NARX model was selected to continue predicting the WWSHP performance. The results indicated that the performance of the WWSHP system would be stabilized within 42 days. The decrease of the system performance suggested that fouling cleaning is necessary for the WWSHPs.
Footnotes
Funding
The authors wish to acknowledge the financial support from the 12th Five-Year Science and Technology Support Program (No. 2012BAJ06B02) and (No. 2013BAJ12B03), and the University of Illinois at Urbana-Champaign.
Conflict of interest
None declared.
