| Literature DB >> 34069195 |
Koketso J Setshedi1, Nhamo Mutingwende1, Nosiphiwe P Ngqwala1.
Abstract
Reliable prediction of water quality changes is a prerequisite for early water pollution control and is vital in environmental monitoring, ecosystem sustainability, and human health. This study uses Artificial Neural Network (ANN) technique to develop the best model fits to predict water quality parameters by employing multilayer perceptron (MLP) neural network and the radial basis function (RBF) neural network, using data collected from three district municipalities. Two input combination models, MLP-4-5-4 and MLP-4-9-4, were trained, verified, and tested for their predictive performance ability, and their physicochemical prediction accuracy was compared by using each model's observed data with the predicted data. The MLP-4-5-4 model showed a better understanding of the data sets and water quality predictive ability giving an MSE of 39.06589 and a correlation coefficient (R2) of the observed and the predicted water quality of 0.989383 compared to the MLP-4-9-4 model (R2 = 0.993532, MSE = 39.03087). These results apply to natural water resources management in South Africa and similar catchment systems. The MLP-4-5-4 system can be scaled up for future water quality prediction of the Waste Water Treatment Plants (WWTPs), groundwater, and surface water while raising awareness among the public and industry on future water quality.Entities:
Keywords: artificial intelligence; artificial neural network; multilayer perceptron; physicochemical; prediction; radial basis function; water quality
Year: 2021 PMID: 34069195 PMCID: PMC8155895 DOI: 10.3390/ijerph18105248
Source DB: PubMed Journal: Int J Environ Res Public Health ISSN: 1660-4601 Impact factor: 3.390
Figure 1ANN with the interconnecting lines representing the weights associated with interconnections between the neurons (Adapted from [60]).
Figure 2The map of the Tyhume River Catchment demonstrating the study region with sampling sites.
Figure 3The map of the Bloukrans River Catchment demonstrating the study region with sampling sites.
Figure 4The map of the Buffalo River Catchment demonstrating the study region with sampling sites.
Descriptive sampling sites and coordinates for rivers and wastewater treatment plants (WWTPs).
| River | Site | Full Site Description | GPS Coordinate | |
|---|---|---|---|---|
| Latitude | Longitude | |||
|
| ||||
|
| GU | Upper site of the Bloukrans River | 33.31774167 | 26.52194444 |
| GM | Middle site of the Bloukrans River | 33.31427500 | 26.55166667 | |
| GL | Lower site of the Bloukrans River | 33.31780556 | 26.56833333 | |
| GE | Influent site of WWTP of Grahamstown region | 33.31667500 | 26.55750000 | |
| GI | Effluent site of WWTP of Grahamstown region | |||
|
| ||||
|
| BU | Upper site of the Buffalo River | 32.78991389 | 27.36916667 |
| BM | Middle site of the Buffalo River | 32.89703333 | 27.39277778 | |
| BL | Lower site of the Buffalo River | 32.93447500 | 27.44027778 | |
| BE | Influent site of WWTP of King William’s Town region | 32.89969722 | 27.40305556 | |
| BI | Effluent site of WWTP of King William’s Town region | |||
|
| ||||
|
| AU | Upper site of the Tyhume River | 32.61067778 | 26.90944444 |
| AM | Middle site of the Tyhume River | 32.79636667 | 26.84583333 | |
| AL | Lower site of the Tyhume River | 32.82713889 | 26.88833333 | |
| AE | Influent site of WWTP of Alice region | 32.79108611 | 26.85000000 | |
| AI | Effluent site of WWTP of Alice region | |||
U—Upper stream, M—middle stream, L—lower stream, E-WWTPs effluent, I—WWTPs influent; G-Bloukrans River, GI/GE—Makhanda WWTP B—Buffalo River, BI/BE—King William’s Town WWTP; A—Tyhume River, AI/AE—Alice WWTP.
Statistical variables of annual water quality parameters of the river basins of Tyhume, Buffalo, and Bloukrans Rivers and their municipal wastewater treatment plants.
| Sample Area | Temperature | Chloride (Cl) (mg/L) | Sulphate (SO42-) (mg/L) | Phosphate (PO43-) (mg/L) | pH | Turbidity (NTU) | Electrical Conductivity (EC) (mS/m) | Dissolved Oxygen (DO) (mg/L) |
|---|---|---|---|---|---|---|---|---|
|
| 12.77 | 4.00 | 4.00 | 0.06 | 8.08 | 7.32 | 11.10 | 7.43 |
|
| 15.66 | 7.67 | 4.00 | 0.42 | 7.05 | 18.21 | 26.02 | 7.57 |
|
| 14.88 | 4.00 | 4.00 | 0.04 | 9.43 | 12.36 | 40.29 | 7.58 |
|
| 18.38 | 28.00 | 65.34 | 0.04 | 7.16 | 6.57 | 64.89 | 7.22 |
|
| 19.32 | 4.00 | 48.44 | 0.04 | 7.29 | 15.28 | 72.82 | 4.85 |
|
| 17.24 | 180.67 | 9.67 | 0.04 | 7.46 | 18.17 | 50.35 | 7.26 |
|
| 18.22 | 4.00 | 52.50 | 0.30 | 7.71 | 23.27 | 61.74 | 7.02 |
|
| 17.95 | 4.00 | 119.00 | 0.04 | 7.89 | 14.34 | 75.33 | 7.11 |
|
| 19.25 | 4.00 | 64.22 | 0.28 | 7.27 | 23.44 | 85.24 | 6.59 |
|
| 19.50 | 16.00 | 32.84 | 0.13 | 7.27 | 191.00 | 102.88 | 4.77 |
|
| 13.24 | 4.00 | 45.84 | 0.04 | 6.22 | 9.14 | 73.42 | 7.25 |
|
| 15.63 | 69.67 | 127.33 | 0.04 | 7.28 | 30.96 | 230.60 | 6.03 |
|
| 14.75 | 83.33 | 156.50 | 0.55 | 6.41 | 89.82 | 223.50 | 6.27 |
|
| 17.93 | 9.67 | 136.78 | 0.35 | 7.16 | 137.00 | 209.54 | 5.84 |
|
| 21.51 | 4.00 | 63.33 | 0.43 | 7.52 | 206.15 | 226.27 | 4.72 |
U—Upper stream, M—middle stream, L—lower stream, E—WWTPs effluent, I—WWTPs influent; G—Bloukrans River, GI/GE—Makhanda WWTP B—Buffalo River, BI/BE—King William’s Town WWTP; A—Tyhume River, AI/AE—Alice WWTP.
Summary of MLP-4-5-4 and MLP-4-9-4 active networks.
| Network Name | R2 | MSE | Training Algorithm | Error Function | Hidden Activation | Output Activation |
|---|---|---|---|---|---|---|
|
| 0.989383 | 39.03087 | BFGS 88 | SOS | Logistic | Logistic |
|
| 0.993532 | 39.06589 | BFGS 130 | SOS | Tanh | Exponential |
Experimental and predicted values for pH generated by MLP 4-5-4 and MLP 4-9-4 networks. Sample: Training, Test, Validation.
| Sample Area | Sample | Experimental pH Values | Predicted pH Values | % Difference | Predicted pH Values | % Difference |
|---|---|---|---|---|---|---|
|
| Training | 8.080000 | 8.071202 | 0.11 | 8.086230 | 0.08 |
|
| Training | 7.050000 | 7.048911 | 0.02 | 7.097960 | 0.68 |
|
| Training | 9.430000 | 9.330070 | 1.06 | 9.444249 | 0.15 |
|
| Test | 7.160000 | 7.441819 | 3.94 | 7.393835 | 3.27 |
|
| Training | 7.290000 | 7.442833 | 2.10 | 7.351340 | 0.84 |
|
| Training | 7.460000 | 7.399046 | 0.82 | 7.466864 | 0.09 |
|
| Test | 7.710000 | 7.441837 | 3.48 | 7.387560 | 4.18 |
|
| Training | 7.890000 | 7.441830 | 5.68 | 7.621972 | 3.40 |
|
| Training | 7.270000 | 7.442062 | 2.37 | 7.475793 | 2.83 |
|
| Training | 6.270000 | 7.443619 | 18.72 | 7.085941 | 13.01 |
|
| Training | 6.220000 | 6.220000 | 0.00 | 6.221081 | 0.02 |
|
| Validation | 7.280000 | 7.426453 | 2.01 | 7.733750 | 6.23 |
|
| Training | 6.410000 | 6.552220 | 2.22 | 6.384595 | 0.40 |
|
| Validation | 7.160000 | 7.441715 | 3.93 | 7.994136 | 11.65 |
|
| Training | 7.520000 | 7.448825 | 0.95 | 7.622527 | 1.36 |
U—Upper stream, M—middle stream, L—lower stream, E-WWTPs effluent, I—WWTPs influent; G—Bloukrans River, GI/GE—Makhanda WWTP B—Buffalo River, BI/BE—King William’s Town WWTP; A—Tyhume River, AI/AE—Alice WWTP.
Experimental and predicted values for pH generated by MLP 4-5-4 and MLP 4-9-4 networks. Sample: Training, Test, Validation.
| Sample Area | Sample | Experimental EC | Predicted EC | % Difference | Predicted EC | % Difference |
|---|---|---|---|---|---|---|
|
| Training | 11.1000 | 12.7558 | 14.92 | 11.1286 | 0.26 |
|
| Training | 26.0200 | 27.4272 | 5.41 | 41.8489 | 60.83 |
|
| Training | 40.2900 | 11.9350 | 70.38 | 15.6602 | 61.13 |
|
| Test | 64.8900 | 62.7317 | 3.33 | 61.9240 | 4.57 |
|
| Training | 72.8200 | 86.7355 | 19.11 | 75.6735 | 3.92 |
|
| Training | 50.3500 | 60.1378 | 19.44 | 51.4812 | 2.25 |
|
| Test | 61.7400 | 62.7808 | 1.69 | 59.0714 | 4.32 |
|
| Training | 75.3300 | 62.7223 | 16.74 | 81.7645 | 8.54 |
|
| Training | 85.2400 | 67.6846 | 20.60 | 66.1918 | 22.35 |
|
| Training | 102.8800 | 108.4363 | 5.40 | 101.2073 | 1.63 |
|
| Training | 73.4200 | 73.9280 | 0.69 | 73.0470 | 0.51 |
|
| Validation | 230.6000 | 62.9033 | 72.72 | 93.0826 | 59.63 |
|
| Training | 223.5000 | 226.2581 | 1.23 | 223.6889 | 0.08 |
|
| Validation | 209.5400 | 62.7630 | 70.05 | 119.5078 | 42.97 |
|
| Training | 226.2700 | 214.8109 | 5.06 | 226.2055 | 0.03 |
U—Upper stream, M—middle stream, L—lower stream, E-WWTPs effluent, I—WWTPs influent; G—Bloukrans River, GI/GE—Makhanda WWTP B—Buffalo River, BI/BE—King William’s Town WWTP; A—Tyhume River, AI/AE—Alice WWTP.
Experimental and predicted values for turbidity generated by MLP 4-5-4 and MLP 4-9-4 networks. Sample: Training, Test, Validation.
| Sample Area | Sample | Experimental Turbidity | Predicted Turbidity | % Difference | Predicted Turbidity | %Difference |
|---|---|---|---|---|---|---|
|
| Training | 7.3200 | 7.3200 | 0.00 | 7.4476 | 1.74 |
|
| Training | 18.2100 | 7.5026 | 58.80 | 10.3960 | 42.91 |
|
| Training | 12.3600 | 7.3200 | 40.78 | 8.0410 | 34.94 |
|
| Test | 6.5700 | 17.3447 | 164.00 | 16.5765 | 152.31 |
|
| Training | 151.200 | 147.5284 | 2.43 | 150.3962 | 0.53 |
|
| Training | 18.1700 | 15.3185 | 15.69 | 13.9046 | 23.47 |
|
| Test | 23.2700 | 17.4291 | 25.10 | 16.9588 | 27.12 |
|
| Training | 14.3400 | 17.3287 | 20.84 | 25.6735 | 79.03 |
|
| Training | 23.4400 | 29.5244 | 25.96 | 21.8990 | 6.57 |
|
| Training | 191.0000 | 201.9652 | 5.74 | 192.3942 | 0.73 |
|
| Training | 9.1400 | 7.3200 | 19.91 | 8.2733 | 9.48 |
|
| Validation | 3.9600 | 17.2437 | 335.45 | 32.7986 | 728.25 |
|
| Training | 89.8200 | 87.0369 | 3.10 | 89.3686 | 0.50 |
|
| Validation | 137.5000 | 17.3304 | 87.40 | 55.9932 | 59.28 |
|
| Training | 206.1500 | 206.1500 | 0.00 | 205.9516 | 0.10 |
U—Upper stream, M—middle stream, L—lower stream, E-WWTPs effluent, I—WWTPs influent; G—Bloukrans River, GI/GE—Makhanda WWTP B—Buffalo River, BI/BE—King William’s Town WWTP; A—Tyhume River, AI/AE—Alice WWTP.
Experimental and predicted values for dissolved oxygen generated by MLP 4-5-4 and MLP 4-9-4 networks. Sample: Train, Test, Validation.
| Sample Area | Sample | Experimental DO | Predicted DO | % Difference | Predicted DO | % Difference |
|---|---|---|---|---|---|---|
|
| Training | 7.430000 | 7.580000 | 2.02 | 7.420167 | 0.13 |
|
| Training | 7.570000 | 7.570000 | 0.00 | 7.602289 | 0.43 |
|
| Training | 7.580000 | 7.580000 | 0.00 | 7.596899 | 0.22 |
|
| Test | 7.220000 | 7.137646 | 1.14 | 6.746576 | 6.56 |
|
| Training | 4.850000 | 4.907170 | 1.18 | 4.722991 | 2.62 |
|
| Training | 7.260000 | 7.261512 | 0.02 | 7.239937 | 0.28 |
|
| Test | 7.020000 | 7.133850 | 1.62 | 7.021295 | 0.02 |
|
| Training | 7.110000 | 7.138362 | 0.40 | 7.022525 | 1.23 |
|
| Training | 6.590000 | 6.638667 | 0.74 | 6.598599 | 0.13 |
|
| Training | 4.770000 | 4.726695 | 0.91 | 4.721815 | 1.01 |
|
| Training | 7.250000 | 7.580000 | 4.55 | 7.251133 | 0.02 |
|
| Validation | 6.030000 | 7.142718 | 18.45 | 6.927154 | 14.88 |
|
| Training | 6.270000 | 6.214789 | 0.88 | 6.331988 | 0.99 |
|
| Validation | 5.840000 | 7.138329 | 22.23 | 6.721605 | 15.10 |
|
| Training | 4.720000 | 4.720000 | 0.00 | 4.769756 | 1.05 |
U—Upper stream, M—middle stream, L—lower stream, E-WWTPs effluent, I—WWTPs influent; G—Bloukrans River, GI/GE—Makhanda WWTP B—Buffalo River, BI/BE—King William’s Town WWTP; A—Tyhume River, AI/AE—Alice WWTP.