| Literature DB >> 35062384 |
Meng Zhou1, Yinyue Zhang1, Jing Wang1, Yuntao Shi1, Vicenç Puig2.
Abstract
This paper proposes a novel interval prediction method for effluent water quality indicators (including biochemical oxygen demand (BOD) and ammonia nitrogen (NH3-N)), which are key performance indices in the water quality monitoring and control of a wastewater treatment plant. Firstly, the effluent data regarding BOD/NH3-N and their necessary auxiliary variables are collected. After some basic data pre-processing techniques, the key indicators with high correlation degrees of BOD and NH3-N are analyzed and selected based on a gray correlation analysis algorithm. Next, an improved IBES-LSSVM algorithm is designed to predict the BOD/NH3-N effluent data of a wastewater treatment plant. This algorithm relies on an improved bald eagle search (IBES) optimization algorithm that is used to find the optimal parameters of least squares support vector machine (LSSVM). Then, an interval estimation method is used to analyze the uncertainty of the optimized LSSVM model. Finally, the experimental results demonstrate that the proposed approach can obtain high prediction accuracy, with reduced computational time and an easy calculation process, in predicting effluent water quality parameters compared with other existing algorithms.Entities:
Keywords: data pre-processing; improved IBES-LSSVM algorithm; interval prediction method; water quality monitoring
Mesh:
Substances:
Year: 2022 PMID: 35062384 PMCID: PMC8779389 DOI: 10.3390/s22020422
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Main steps of the proposed approach.
Effluent BOD data set.
| Number | Auxiliary Variable | |
|---|---|---|
| 01 | Influent pH (IPH) | |
| 02 | Effluent pH (EPH) | |
| 03 | Influent SS | (mg/L) |
| 04 | Effluent SS (ESS) | (mg/L) |
| 05 | Influent BOD (IBOD) | (mg/L) |
| 06 | Influent COD (ICOD) | (mg/L) |
| 07 | Effluent COD (ECOD) | (mg/L) |
| 08 | Sludge settling ratio of biochemical tank | (mg/L) |
| 09 | MLSS in biochemical tank (MLSS) | (mg/L) |
| 10 | Biochemical pool Do | (mg/L) |
| 11 | Influent oil (IOil) | (mg/L) |
| 12 | Effluent oil (EOil) | (mg/L) |
| 13 | Influent NH3-N (INH3-N) | (mg/L) |
| 14 | Effluent NH3-N | (mg/L) |
| 15 | Influent Chroma (IC) | (d) |
| 16 | Effluent Chroma (EC) | (d) |
| 17 | Influent TN (IT) | (mg/L) |
| 18 | Effluent TN | (mg/L) |
| 19 | Influent phosphate concentration (IPC) | (mg/L) |
| 20 | Effluent phosphate concentration | (mg/L) |
| 21 | Inlet water temperature | ( |
| 22 | Outlet water temperature | ( |
| 23 | Effluent BOD (EBOD) | (mg/L) |
Effluent NH3-N data set.
| Number | Auxiliary Variable | |
|---|---|---|
| 01 | Effluent TP | (mg/L) |
| 02 | Influent TP (ITP) | (mg/L) |
| 03 | Temperature (T) | ( |
| 04 | Anaerobic terminal ORP (ATORP) | (mv) |
| 05 | Aerobic front end DO | (mg/L) |
| 06 | Aerobic terminal DO | (mg/L) |
| 07 | Total suspended solids TTS (TTS) | (mg/L) |
| 08 | Effluent PH (EPH) | |
| 09 | Effluent ORP (EORP) | (mL) |
| 10 | Effluent nitrate (EN) | (mg/L) |
| 11 | Effluent NH3-N (ENH3-N) | (mg/L) |
Figure 2Flow chart of IBES-LSSVM model.
Benchmark functions.
| Function | Range | Parameters | |
|---|---|---|---|
| F1 |
|
| dim = 4 popsize = 100 iteration = 300 |
| F2 |
|
| dim = 4 popsize = 100 iteration = 300 |
| F3 |
|
| dim = 4 popsize = 100 iteration = 300 |
| F4 |
|
| dim = 6 popsize = 100 iteration = 200 |
| F5 |
|
| dim = 3 popsize = 100 iteration = 120 |
| F6 |
|
| dim = 2 popsize = 100 iteration = 180 |
Simulation results of algorithms.
| GWO | PSO | WOA | SSA | IBES | Theoretical Value | |
|---|---|---|---|---|---|---|
| F1 | −10.5364 | −105364 | −10.5364 | −10.5364 |
|
|
| F2 | −10.4042 | −10.4029 | −10.4029 | −10.4029 |
|
|
| F3 | −10.1561 | −10.1532 | −10.1576 | −10.1532 |
|
|
| F4 | −3.3220 | −3.3311 | −3.3231 | −3.3220 |
|
|
| F5 | −3.8628 | −3.8628 | −3.8627 | −3.8628 |
|
|
| F6 | 0.9980 | 0.9980 | 0.9980 | 2.9821 |
|
|
Figure 3The result of F1.
Figure 4The result of F2.
Figure 5The result of F3.
Figure 6The result of F4.
Figure 7The result of F5.
Figure 8The result of F6.
Data after processing.
| Number of Coefficient | Auxiliary Variable | Correlation |
|---|---|---|
| 1 | Influent BOD | 0.9179 |
| 2 | Effluent COD | 0.9151 |
| 3 | Influent TN | 0.9119 |
| 4 | Effluent pH | 0.8878 |
| 5 | Influent NH3-N | 0.8826 |
| 6 | Influent pH | 0.8716 |
| 7 | Influent COD | 0.8676 |
| 8 | Influent Chroma | 0.8669 |
| 9 | Influent oil | 0.8562 |
| 10 | Effluent SS | 0.8556 |
| 11 | Effluent oil | 0.8519 |
| 12 | Effluent Chroma | 0.8415 |
| 13 | Influent phosphate | 0.8397 |
| 14 | MLSS in biochemical tank | 0.8037 |
Figure 9Auxiliary variables of BOD.
Figure 10Original data of BOD.
Predictive index of BOD.
| Model | MSE | RMSE | MAE | R |
|---|---|---|---|---|
| CNN | 0.0847 | 0.1500 | 0.1115 | 0.9503 |
| LSTM | 0.1310 | 0.2985 | 0.2330 | 0.8132 |
| ELMAN | 0.2425 | 0.3120 | 0.2523 | 0.7849 |
| GWO-LSSVM | 0.0659 | 0.0217 | 0.0182 | 0.9889 |
| WOA-LSSVM | 0.0711 | 0.1831 | 0.1521 | 0.9693 |
| PSO-LSSVM | 0.0587 | 0.1049 | 0.0851 | 0.9757 |
| SSA-LSSVM | 0.0726 | 0.2371 | 0.1707 | 0.9758 |
|
|
|
|
|
|
PI of BOD.
| PICP | PINRW | CWC | PINAW | Time | PICP | PINRW | CWC | PINAW | Time | PICP | PINRW | CWC | PINAW | Time | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CNN | 0.9298 | 0.2731 | 0.2731 | 0.2348 | 41.489 | 0.9617 | 0.3848 | 0.3848 | 0.3325 | 42.940 | 0.9911 | 0.2841 | 0.2841 | 0.2413 | 46.076 |
| LSTM | 0.9124 | 0.3632 | 0.3632 | 0.3112 | 27.486 | 0.9609 | 0.3796 | 0.3796 | 0.3254 | 27.731 | 0.9913 | 0.3554 | 0.3554 | 0.3020 | 27.821 |
| ELMAN | 0.9073 | 0.2978 | 0.2978 | 0.2474 | 316.316 | 0.9549 | 0.2573 | 0.2573 | 0.2202 | 241.446 | 0.9909 | 0.2571 | 0.2571 | 0.2132 | 90.582 |
| WOA-LSSVM | 0.9104 | 0.2663 | 0.2663 | 0.2325 | 1.686 | 0.9633 | 0.2697 | 0.2697 | 0.2346 | 1.873 | 0.9909 | 0.2673 | 0.2673 | 0.2245 | 1.654 |
| GWO-LSSVM | 0.9099 | 0.2557 | 0.2557 | 0.2241 | 1.396 | 0.9587 | 0.2668 | 0.2668 | 0.2355 | 1.389 | 0.9911 | 0.2689 | 0.2689 | 0.2254 | 2.012 |
| PSO-LSSVM | 0.9111 | 0.2519 | 0.2519 | 0.2198 | 1.029 | 0.9544 | 0.2596 | 0.2596 | 0.2155 | 0.967 | 0.9908 | 0.2773 | 0.2773 | 0.2277 | 0.963 |
| SSA-LSSVM | 0.9072 | 0.2901 | 0.2901 | 0.2543 | 1.428 | 0.9563 | 0.3178 | 0.3178 | 0.2613 | 1.410 | 0.9907 | 0.2961 | 0.2691 | 0.2245 | 1.599 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Figure 11of BOD.
Figure 12of BOD.
Figure 13of BOD.
Figure 14Auxiliary variables of NH3-N.
Figure 15Original data of NH3-N.
Data after processing.
| Number of Coefficient | Auxiliary Variable | Correlation |
|---|---|---|
| 1 | Influent TP | 0.8730 |
| 2 | Anaerobic terminal ORP | 0.8726 |
| 3 | Effluent PH | 0.8693 |
| 4 | Temperature | 0.8659 |
| 5 | Total suspended solids TTS | 0.8525 |
| 6 | Effluent ORP | 0.8257 |
| 7 | Effluent nitrate | 0.8143 |
PI of NH3-N.
| PICP | PINRW | CWC | PINAW | Time | PICP | PINRW | CWC | PINAW | Time | PICP | PINRW | CWC | PINAW | Time | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CNN | 0.9231 | 0.53951 | 0.53951 | 0.50111 | 29.991 | 0.9619 | 0.49776 | 0.49776 | 0.46854 | 32.446 | 0.9919 | 0.52063 | 0.52063 | 0.48445 | 31.703 |
| LSTM | 0.9182 | 0.49437 | 0.49437 | 0.44235 | 22.176 | 0.9588 | 0.42320 | 0.42320 | 0.37824 | 22.637 | 0.9921 | 0.53185 | 0.53185 | 0.50111 | 21.272 |
| ELMAN | 0.9066 | 0.38637 | 0.38637 | 0.34255 | 6.661 | 0.9580 | 0.37625 | 0.37625 | 0.32142 | 3.175 | 0.9912 | 0.42032 | 0.42032 | 0.38764 | 3.120 |
| WOA-LSSVM | 0.9197 | 0.49711 | 0.49711 | 0.45739 | 1.547 | 0.9581 | 0.46106 | 0.46106 | 0.42131 | 1.711 | 0.9913 | 0.47562 | 0.47562 | 0.41121 | 1.584 |
| GWO-LSSVM | 0.9227 | 0.51067 | 0.51067 | 0.46174 | 1.346 | 0.9601 | 0.51117 | 0.51117 | 0.47894 | 1.166 | 0.9913 | 0.51776 | 0.51776 | 0.45669 | 1.163 |
| PSO-LSSVM | 0.9241 | 0.48209 | 0.48209 | 0.45394 | 0.959 | 0.9604 | 0.47815 | 0.47815 | 0.42756 | 0.797 | 0.9917 | 0.49209 | 0.49209 | 0.46401 | 0.801 |
| SSA-LSSVM | 0.9112 | 0.40579 | 0.40579 | 0.35752 | 1.363 | 0.9574 | 0.38947 | 0.38947 | 0.34556 | 1.184 | 0.9909 | 0.38777 | 0.38777 | 0.36454 | 1.142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Predictive index of NH3-N.
| Model | MSE | RMSE | MAE | R |
|---|---|---|---|---|
| CNN | 0.1874 | 0.1711 | 0.1450 | 0.8932 |
| LSTM | 0.1138 | 0.2131 | 0.1663 | 0.7666 |
| ELMAN | 0.0954 | 0.1846 | 0.1564 | 0.7872 |
| GWO-LSSVM | 0.0997 | 0.0895 | 0.0628 | 0.7280 |
| WOA-LSSVM | 0.1929 | 0.2371 | 0.1709 | 0.8959 |
| PSO-LSSVM | 0.1312 | 0.1722 | 0.1247 | 0.8922 |
| SSA-LSSVM | 0.1196 | 0.1958 | 0.2037 | 0.8117 |
|
|
|
|
|
|
Figure 16of NH3-N.
Figure 17of NH3-N.
Figure 18of NH3-N.