Removal efficiency prediction model based on the artificial neural network for pollution prevention in wastewater treatment plants

Hussein Y.H. Alnajjar (Karadeniz Technical University, Trabzon, Turkey)
Osman Üçüncü (Karadeniz Technical University, Trabzon, Turkey)

Arab Gulf Journal of Scientific Research

ISSN: 1985-9899

Article publication date: 23 January 2023

Issue publication date: 25 October 2023

1518

Abstract

Purpose

Artificial intelligence (AI) models are demonstrating day by day that they can find long-term solutions to improve wastewater treatment efficiency. Artificial neural networks (ANNs) are one of the most important of these models, and they are increasingly being used to forecast water resource variables. The goal of this study was to create an ANN model to estimate the removal efficiency of biological oxygen demand (BOD), total nitrogen (TN), total phosphorus (TP) and total suspended solids (TSS) at the effluent of various primary and secondary treatment methods in a wastewater treatment plant (WWTP).

Design/methodology/approach

The MATLAB App Designer model was used to generate the data set. Various combinations of wastewater quality data, such as temperature(T), TN, TP and hydraulic retention time (HRT) are used as inputs into the ANN to assess the degree of effect of each of these variables on BOD, TN, TP and TSS removal efficiency. Two of the models reflect two different types of primary treatment, while the other nine models represent different types of subsequent treatment. The ANN model’s findings are compared to the MATLAB App Designer model. For evaluating model performance, mean square error (MSE) and coefficient of determination statistics (R2) are utilized as comparative metrics.

Findings

For both training and testing, the R values for the ANN models were greater than 0.99. Based on the comparisons, it was discovered that the ANN model can be used to estimate the removal efficiency of BOD, TN, TP and TSS in WWTP and that the ANN model produces very similar and satisfying results to the APPDESIGNER model. The R-value (Correlation coefficient) of 0.9909 and the MSE of 5.962 indicate that the model is accurate. Because of the many benefits of the ANN models used in this study, it has a lot of potential as a general modeling tool for a range of other complicated process systems that are difficult to solve using conventional modeling techniques.

Originality/value

The objective of this study was to develop an ANN model that could be used to estimate the removal efficiency of pollutants such as BOD, TN, TP and TSS at the effluent of various primary and secondary treatment methods in a WWTP. In the future, the ANN could be used to design a new WWTP and forecast the removal efficiency of pollutants.

Keywords

Citation

Alnajjar, H.Y.H. and Üçüncü, O. (2023), "Removal efficiency prediction model based on the artificial neural network for pollution prevention in wastewater treatment plants", Arab Gulf Journal of Scientific Research, Vol. 41 No. 4, pp. 610-626. https://doi.org/10.1108/AGJSR-07-2022-0129

Publisher

:

Emerald Publishing Limited

Copyright © 2022, Hussein Y.H. Alnajjar and Osman Üçüncü

License

Published in Arab Gulf Journal of Scientific Research. Published by Emerald Publishing Limited. This article is published under the Creative Commons Attribution (CC BY 4.0) licence. Anyone may reproduce, distribute, translate and create derivative works of this article (for both commercial and non-commercial purposes), subject to full attribution to the original publication and authors. The full terms of this licence may be seen at http://creativecommons.org/licences/by/4.0/legalcode


Introduction

Domestic and industrial untreated wastewater is one of the most serious producing environmental pollutants. To realize the treatment of wastewater, it is very important in increasing the removal efficiency of contaminants and the stability of operation in the wastewater treatment systems. Therefore, a computing operating system can be developed to enhance the stability of wastewater treatment systems (Niu et al., 2020). However, the wastewater treatment process is extremely complicated, its mechanism is difficult to understand, and a traditional operating system based on a mathematical model could not effectively simulate the wastewater treatment process. With artificial intelligence (AI) development, AI has obvious advantages over traditional process control methods, which could model the complex nonlinear wastewater treatment processes by modeling human thinking processes (Qiao, Wang, Li, & Li, 2018).

So, neural networks (NNs) are one of the most rapidly developing AI technologies. On the other hand, they can not only describe complex phenomena by mapping nonlinear functions, but they also have the advantage of being self-learning and self-adaptive, allowing them to compensate for the shortcomings of traditional control systems (Shin, Kim, Yu, Kim, & Hwang, 2019). In recent years, NN has been capable of successfully modeling wastewater treatment.

In the literature, it was an intermittent cycle extended aeration-sequential batch reactor, and artificial neural network (ANN) models were developed to predict faecal coliform and total coliform elimination (ICEAS-SBR). This network was developed using wastewater influent pH, biochemical oxygen demand (BOD), chemical oxygen demand (COD), total suspended solids (TSS), oil and grease (O&G), total Kjeldahl nitrogen (TKN), ammoniacal nitrogen (AN), total phosphorus (TP), faecal coliform and total coliform. ANN models allow for the regulation of faecal coliform and total coliform levels in treated wastewater effluent, lowering public health concerns, particularly for oyster consumers (Khatri, Khatri, & Sharma, 2020).

In another previous study, ANNs were used to mimic an anaerobic fermentation process for biogas production coupled with wastewater purification in a modern wastewater treatment plant (WWTP). Based on real-scale industrial data, neural models were trained, validated and tested, considering both technological aspects of the process and the quality of treated effluent. A parameter sensitivity study revealed that the operation process factors had a greater impact on biogas yield than the wastewater quality (COD, BOD5, TSS, Pg and Ng). The proposed ANN model can be employed as a forecasting tool, as well as in the testing of other prospective process intensification and optimization scenarios (Sakiewicz, Piotrowski, Ober, & Karwot, 2020).

In one more study, the Jamnagar Municipal Corporation Sewage Treatment Plant (JMC-STP) was investigated in order to create a feedforward artificial neural network (FF-ANN) model. It was an alternative to the flexible physical, chemical and biological treatment process simulations for JMC-STP modeling and prediction. pH, BOD, COD, TSS, total Kjeldahl nitrogen (TKN), AN and TP were the expected effluent parameters. FF-ANN models were assessed using the MAD (mean absolute deviation), MSE (mean square error), RMSE (root mean square error) and MAPE (mean absolute percentage error). This serves as a helpful tool for the management of the plant to maximize the treatment quality while improving the plant’s efficiency and dependability (Khatri, Khatri, & Sharma, 2019).

AI models have also been used to anticipate BOD elimination; a hyperbolic design equation was created using the ANN predictions. This equation combines zero and first-order kinetics. The results of the ANNs and the model design equation were compared to data from the literature and found to be reasonably accurate. The elimination of COD was shown to be highly linked with the removal of BOD. A formula for predicting COD elimination was also developed (Akratos, Papaspyros, & Tsihrintzis, 2008).

ANN models can be used to solve a variety of modeling problems in rivers, lakes, WWTPs, groundwater, ponds and streams (Chen, Song, Liu, Yang, & Li, 2020).

Another study describes the creation of a synthetic neural network model for predicting annual BOD values using widely accessible sustain-ability and economic/industrial parameters as inputs, after which the initial general regression neural network (GRNN) model was trained, validated and tested using 20 inputs. The proposed GRNN model can be beneficial as a tool to support the decision-making process on sustainable development at a regional, national and worldwide level, it was determined in the end (Šiljić, Antanasijević, Perić-Grujić, Ristić, & Pocajt, 2014).

Various treatment processes, including air flotation, chemical coagulation, sedimentation and biological treatment through a fully mixed activated sludge process in a water purification process, were used to treat the entire effluent and waste disposal in the detergent industry before the soft computing techniques. Then a feed-forward with five layers The backpropagation ANN model was successfully used to optimize the proposed models, yielding the lowest root mean square error (0.066), mean square error (0.0043) and greatest R2 value (0.996); these values demonstrate that the predicted and experimental responses were similar, and ANN may be used to describe the process (Jana, Bhunia, Das Adhikary, & Bej, 2022).

In this study, the purpose is developing the ANN-based models to predict the removal efficiency of BOD, TN, TP and TSS in a variety of primary and biological treatment systems in a WWTP. To achieve this purpose the neuron numbers in the hidden layer were varied to create models with different ANN topologies. For training and independent validation, the correlation coefficient and MSE were used to assess the performance of the created ANN models. So the removal effectiveness of BOD, TN, TP and TSS in the effluent for disposal is monitored using these models. Also the created ANN models can be used to manage the BOD, TN, TP and TSS removal efficiency to limit the danger of public health and discharge high-quality treated wastewater to receiving water bodies. Thus, it can be said that AI models, particularly NNs, make it possible to manage the operation of treatment plants and control pollutants without having to conduct traditional tests. This saves time and money, and in the future, it will aid designers in creating treatment plants more quickly, with higher treatment efficiency.

Materials and methods

The idea of duplicating the working principles of the brain on digital computers gave rise to the concept of ANNs, and the initial studies concentrated on mathematical modeling of the biological cells that make up the brain, referred to as neurons in the literature (akdağ & Karahan, 2014).

The operation of biological neurons served as the inspiration for the numerical method known as the ANN. An input signal vector xi with the values 1, 2,…, L is received by neuron m from a total of L input channels. The neuron then calculates the weighted sum of components xi by multiplying each component xi by the coefficient wmi that reflects the significance of the input channel i as shown in Figure 1 (Cardoso, de Almeida, Dias, & Coelho, 2008).

Creating the neural network

An ANN is made up of a collection of very simple and densely interconnected processors known as neurons, which are similar to biological neurons in the brain. Weighted linkages connect the neurons, transferring messages from one to the other. Through its connections, each neuron gets a variety of input signals, but it never creates more than one output signal. The outgoing link of the neuron transmits the output signal (corresponding to the biological axon). The outgoing link then separates into several branches, each of which transmits the same signal (the signal is not divided among these branches in any way). The incoming connections of other neurons in the network end the outward branches. Figure 1 symbolized the way an artificial neuron works (Negnevitsky, 2005).

The addition function operates as given in equation (1).

(1)Vi=X1W1+X2W2++XnWn+θj=i=1nWijXi+θj
y=f(V)

As shown in Figure 1, each input generates a change in the neuron output, and the magnitude of this change is determined by the connection gains that determine the input’s effect degree, the adder’s threshold value and the type of neuron activation function. Where V is the addition function; gains denoted by Wi are weight; Xi inputs; θj value as the threshold; y output; The f function is also called the neuron activation function. As can be seen from the equations above, since the threshold value is independent of the inputs, in cases where all inputs are zero, the value of f(θ) is observed at the neuron output instead of f(0), which eliminates the necessity for the neuron output to be zero under the specified conditions. The use of the threshold value is considered in practice as an input with a value of +1 or −1 entering the adder with a link with a weight of θ.

The activation function of the neuron is one of the most critical aspects in influencing neuron behavior. This function analyzes the neuron’s net input and calculates the output the neuron will produce in response to it (Öztemel, 2008). There are many approaches for calculating the output in this function, similar to the addition function, and not all process elements must utilize the same activation function. Depending on the type of problem and the network structure employed, different functions may be preferred. The linear function, step function, sigmoid function and hyperbolic tangent function are commonly employed as activation functions (Yurtoğlu, 2005). The mathematical expressions of three of these activation functions used are given below.

(2)Sigmoidtypeactivationfunction:f(V)=11+e-V
(3)Tangentsigmoidtypeactivationfunction:f(V)=21+e-2V-1
(4)Hyperbolictangenttypeactivationfunction:f(V)=eV-e-VeV+e-V

The input layer, the output layer and the hidden layer are the three primary layers. The input layer is the first layer, and it feeds the ANN with external data input. In statistics, these data correspond to independent variables. The number of neurons in the input layer is formed by the number of parameters affecting the problem, and the number of parameters affects the number of neurons in the input layer. The output layer is the final layer, and it is responsible for transmitting data to the outside world. In statistics, output variables correspond to dependent variables. The hidden layer is the layer that sits between the input and output layers in the model. The neurons in the hidden layer are not connected to the outside world. They simply receive and send signals to and from the input layer (Küçükkocaoglu, Keskin Benli, & Kucuksozen, 2005).

Neural network training (learning)

From the moment they are born, people begin the process of “learning by doing.” The brain continues to develop during this process. Learning occurs as we live and experience by modifying synaptic connections and even generating new ones. This holds true for ANN as well. Learning occurs through training with examples; in other words, realization occurs through processing input/output data, i.e. the training algorithm modifying the synapses’ weights using that data until convergence is attained.

As in a biological neural network, learning in ANNs is the act of altering the weight values between neurons to fulfill a specified function. These weight values are initially assigned at random. As examples are displayed to ANNs, their weight values fluctuate. The goal is to determine the weight values that will result in the correct outputs for the network’s examples. When the network’s weight values are correct, it suggests the network can generalize about the events represented by the samples. “Network learning” is the process of ANNs obtaining the ability to generalize about unknown cases by extracting specific information from previous examples (Agatonovic-Kustrin and Beresford, 2000).

“Testing” the network refers to attempts to determine whether the network learns (performs) after the training is completed. Examples that the network has not seen during learning are utilized for testing. Using the connection weights calculated during training, the network generates outputs for these occurrences that it does not see. The accuracy values of the produced outputs provide information on the network’s learning. The better the results, the more effective the training. The “training set” is a sample set used in education, and the “test set” is a sample set used for testing (Öztemel, 2008).

We can define the ANN’s learning of the relationship in the data structure as the determination of the most appropriate values of the network weights with the help of the examples of the problem. For any weight (W);

(5)Wnew=WiW

The equation expresses how learning takes place mathematically. The ∆W in equation (5) is calculated according to a certain rule and gives the amount of change of the current weight values. The rules defined for determining ∆W are called “learning algorithms”. Many learning algorithms have been proposed to help find the best weight set (Chang, Chen, & Shieh, 2001).

Evaluation of predicting performance

To evaluate the predicting performance of ANN, correlation coefficient (R) and MSE were employed and described as:

(6)R=i=1n(obsi-obs¯)(prei-pre¯)i=1n(obsi-obs¯)2i=1n(prei-pre¯)2
(7)MSE=1ni=1n(obsi-prei)2
where obsi is the observed value, prei is the prediction value, obs¯ and pre¯ are the average values of observed values and prediction values, respectively (Pai et al., 2009).

Applying of ANN model on WWTP

The Durugöl Advanced Biological WWTP was controlled by an ANN that was put to the test. Additionally, the MATLAB App Designer model was developed and compared to the neural networks model using data from the Durugöl Advanced Biological WWTP processing facility.

After biological treatment, the Durugöl Advanced Biological WWTP has a capacity of 212,000 persons/day and was built using physical (coarse screen, fine screen and primary settler units) and advanced biological treatment projects (anaerobic tanks, aeration tanks and secondary settler). The year 2014, saw its commissioning as a discharge.

In order to protect the system, the grits that are present in the influent wastewater are removed from the grit chamber. During the primary treatment, a sizable portion of BOD, COD, SS and other pollutants are eliminated. As shown in Figure 2, the secondary treatment unit, which comprises anaerobic tanks, aeration tanks and a secondary settler receives effluent from the primary settler. The aeration tanks offer the ideal environment for the microorganisms needed to develop and produce sludge as they break down the residual dissolved organic contaminants in the wastewater. In the secondary settler, gravity sedimentation is used to separate the sludge from the cleaned water. To keep the microbe concentration high, some of the sludge is returned to the aeration unit, while the waste sludge is taken out and delivered to the sludge treatment plant. In order to apply control strategy or optimization approaches to the plant and improve treatment efficiency, a proper model may be helpful. In 2018, wastewater samples were taken twice a month from the Durugöl Advanced Biological WWTP intake and exit.

Different types of primary treatment (two models) and secondary treatment (nine models) were the main processing techniques of the wastewater treatment plan.

Two types of primary treatment techniques were modeled, the first is a mechanical screen and primary sedimentation tank and the second is the mechanical screen, grit removal, grease trap and primary sedimentation tank.

As for secondary treatment, a comparison was made between nine different models that were clarified in Table 1.

The MATLAB program was used to create a model that helps to control and predict the expected results of WWTPs (primary treatment and secondary treatment) using the App Designer command. Then, these results were compared with the WATER POLLUTION CONTROL REGULATION (Turkey) for treated wastewater to be drained into receiving water body. The model relies on a set of inputs within a given code to produce the outputs as shown in Figures (2a and b).

The inputs and outputs of the MATLAB model were used to then model the results obtained using the neural networks model, and Table 2 shows part of the results of the App Designer model.

Among the most important inputs are the hydraulic retention time (HRT), temperature (T) and dissolved oxygen (DO). As for the output ratio, it is the removal efficiency of biological oxygen demand (BOD5), TN, TP and TSS. The results of the App Designer models are shown in Table 3.

The results obtained from the App Designer model were modeled using neural networks. On the other hand, the network was built with its three layers (inputs, hidden layers and outputs).The transition function is (in this study, the tangent sigmoid function) is selected.

The difference between the actual and desired output values is calculated, and the network model’s link weights are adjusted based on the results. The creation of the network, which starts with the connections of the output layers and concludes with the connections of the input layers, realizes the return passage resulting from the weights of the connections.

The data in the data set are divided into three portions at random: training, validity and test sets. The data from the training set is utilized to train the network. The validity set is used in conjunction with a classifier’s weights. The validity set is used to determine how many hidden units are present in an ANN. The test set is used to assess the training’s effectiveness. As stated in Table 4, 70% of the observation data is allocated to the training set, 15% to the validity set and 15% to the test set.

Results and discussion

Based on the data generated by the App Designer model using MATLAB software (MathWorks Inc., USA); an ANN model was created to estimate the final removal efficiency of BOD, TN, TP and TSS. The first model used a three-layer feed-forward neural network (2–8–4). The input layer contains two neurons, the hidden layer contains eight neurons and the output layer contains four neurons.

The input neurons represented App Designer model variables (such as DO concentration, temperature and HRT), whereas the output neurons indicated BOD, TN, TP and TSS elimination efficiency. To acquire the minimum value of mean square error, the number of hidden neurons was determined using the trial-and-error method (MSE). The hyperbolic tangent sigmoid (tanh) function was selected for the hidden neurons in the ANN model because it performed well in regression when compared to the sigmoid function. In this scenario, the output neuron was given an identity (purelin) function.

As an example, forth the ANN model a total of 144 sets of 100 data were used to train and test the model. Specifically, 22 sets were used for training, and 22 sets for testing the neural network. The input and output data were standardized between −1 and 1 before the model was trained, and the model was trained using the Bayesian regularization (BR) procedure. The outlier datasets produced good generating outcomes.

The R-value (Correlation coefficient) of 0.9909 and the MSE of 5.962 indicate that the model is accurate. The findings for all ANN model systems are shown in Table 5. Figure 3 depicts the App Designer model’s distribution as well as the ANN model’s anticipated values. Additionally, Figure 3 shows all R values are more than 0.98 which means compatibility between ANN and App Designer models. Then as a result these models can be used for managing and controlling in Durugöl Advanced Biological WWTP. Figure 4 shows the error bars for all of the experimental data.

As shown in Figure 4 height of the bar in the bar plot means how many data points are near the bin value. Nonetheless, errors are close to zero meaning the output is close to the target value, and the NN models well. The error values are based on the bin number set up in the histogram function (i.e. histogram (data, 20)), it can be changed if you use a different bin value. You can try bin numbers with 50 or 100. Then the error values are the closest number to 0 among those bin numbers. Because an error equal to zero means the outputs are close to the target, model performance is good if the bin bars close to zero are taller than higher error numbers.

The ANN model was tested after it had been trained. When the test set estimates (BOD, TN, TP and TSS) were compared to the values obtained from the MATLAB App Designer model, it was discovered that the ANN estimates produced results that were very near to those observed. Figure 5 shows that the projected values are quite similar to the observed values, their trends are nearly identical, and the figure also indicates that the model can be used to manage the WWTP. In addition, Figure 6 depicts the ANN model’s best validation performance. When the comparisons are made, it becomes clear that the ANN model and the MATLAB App Designer model produce extremely similar outcomes.

The ANN model was evaluated after training. It was found that the ANN estimates yielded outcomes that were extremely close to those observed when the test set estimates (BOD, TN, TP and TSS) were compared to the values acquired from the Ordu WWTP. The best validation performance of the ANN model was also shown in Figure 6. It is evident from the comparisons that the results produced by the ANN model and the observed values are comparable.

Conclusions

The complicated interactions between the wastewater influent parameters and BOD, TN, TP and TSS removal in the treated effluent were investigated using ANN models. The results in this paper show that ANN can be used to mimic the dynamic behavior of the WWTP. Not only can ANN properly forecast process (removal efficiency) behavior, but it can also provide insight into the dynamic behavior of a partially known WWTP system by allowing AI models to extract knowledge. Utilizing three input parameters, including temperature, dissolved oxygen and hydraulic retention time, the suggested model was trained, validated and tested. Two statistical measures are employed to assess the performance of the model: the correlation coefficient (R2 = 0.9909) and mean square error (MSE = 5.962) indicate that the model is accurate. The results of the ANN model are distributed in a manner that is exactly consistent with the distribution of the observed data, demonstrating the effectiveness with which the ANN model can predict the removal effectiveness of the pollutants in primary and secondary treatment. Additionally, the ANN technique is cost-effective, allowing us to construct prototype models swiftly and cheaply for the complicated industrial system. ANN also helps us construct correct models in less time, even if we only have a limited amount of experience and knowledge. The process expert can lead the ANN process to derive more sophisticated and accurate AI models by incorporating the expertise of the human expert and altering the functional sets. Future automatic real-time control systems for WWTP may use ANNs due to their capacity to forecast and quickly respond to changes in the status of dynamic processes.

Figures

Architecture of a typical artificial neural network

Figure 1

Architecture of a typical artificial neural network

(a) The interface of the MATLAB App Designer model for primary treatment (b) The interface of the MATLAB App Designer model for secondary treatment

Figure 2

(a) The interface of the MATLAB App Designer model for primary treatment (b) The interface of the MATLAB App Designer model for secondary treatment

The distribution of the App Designer model and predicted values for ANN model

Figure 3

The distribution of the App Designer model and predicted values for ANN model

Error histogram for ANN models to get zero error

Figure 4

Error histogram for ANN models to get zero error

Comparison between the removal efficiency of BOD, TN, TP and TSS for the MATLAB App Designer model and the ANN model (model no. 4 as an example)

Figure 5

Comparison between the removal efficiency of BOD, TN, TP and TSS for the MATLAB App Designer model and the ANN model (model no. 4 as an example)

The best validation performance for the ANN model

Figure 6

The best validation performance for the ANN model

Modeled primary and secondary treatment techniques

System numberProcessingTechniques
1Primary TreatmentMechanical screen + primary sedimentation tank
2Primary TreatmentMechanical screen + Grit removal + Grease trap + primary sedimentation tank
3Secondary TreatmentFacultative pond + Secondary sedimentation tank
4Secondary TreatmentAnaerobic ponds + Facultative Pond + Secondary sedimentation tank
5Secondary TreatmentAerobic ponds(Partial Mixing) + Facultative Pond + Secondary sedimentation tank
6Secondary TreatmentAerobic ponds (Complete Mixing) + Facultative Pond + Secondary sedimentation tank
7Secondary TreatmentAnaerobic ponds + Secondary sedimentation tank
8Secondary TreatmentAerobic ponds (Partial Mixing) + Secondary sedimentation tank
9Secondary TreatmentAerobic ponds (Complete Mixing) + Secondary sedimentation tank
10Secondary TreatmentAnaerobic ponds + Aerobic ponds(Partial Mixing) + Secondary sedimentation tank
11Secondary TreatmentAnaerobic ponds + Aerobic ponds(Complete Mixing) + Secondary sedimentation tank

Example of the results of the App Designer model

#InputsOutputs
HRTTBODTNTPTSS
130.00−5.0015.001.001.0010.00
237.39−4.0015.871.741.5210.87
344.78−3.0016.742.482.0411.74
452.17−2.0017.613.222.5712.61
559.57−1.0018.483.963.0913.48
666.960.0019.354.703.6114.35
774.35−5.0020.225.434.1315.22
881.74−4.0021.096.174.6516.09
989.13−3.0021.966.915.1716.96
1096.52−2.0022.837.655.7017.83
11103.91−1.0023.708.396.2218.70
12111.300.0024.579.136.7419.57
13118.70−5.0025.439.877.2620.43
14126.09−4.0026.3010.617.7821.30
15133.48−3.0027.1711.358.3022.17
16140.87−2.0028.0412.098.8323.04
17148.26−1.0028.9112.839.3523.91
18155.650.0029.7813.579.8724.78
19163.04−5.0030.6514.3010.3925.65
20170.43−4.0031.5215.0410.9126.52
21177.83−3.0032.3915.7811.4327.39
22185.22−2.0033.2616.5211.9628.26
23192.61−1.0034.1317.2612.4829.13
24200.000.0035.0018.0013.0030.00
2530.001.0035.8718.7413.5230.87
2632.882.0036.0218.9013.6831.02

A summary of the results obtained from the MATLAB App Designer model

System numberRemoval efficiency (%)
BODTNTPTSS
FromToFromToFromToFromTo
12.7033.000.8027.001.5032.004.5060.00
22.7034.500.8029.501.5034.506.0065.00
310.0085.004.0059.951.0035.0010.0080.00
415.0085.001.0060.001.0035.0010.0080.00
55.0085.001.0031.501.0035.0050.0080.00
610.0088.003.0035.005.0040.0050.0080.00
75.0075.003.0060.001.0035.0040.0090.00
86.0080.001.5030.001.0035.0050.0080.00
96.0080.001.0030.005.0040.0050.0087.00
105.0085.005.0060.003.0035.0065.0090.00
119.0090.006.0065.003.0040.0065.0090.00

The number of observation data and a diagram of the neural network of the systems, showing the number of inputs, outputs and hidden layers

The accuracy of the ANN models

System numberObservationsANN architecture (number of neurons in layers)Number of iterations (epoch)Coefficient of determination (R)Mean squared error (MSE)
1120(2, 8, 4)360.99830.5594
2120(2, 10, 4)90.99223.8031
3144(2, 12, 4)270.99275.5298
4144(2, 15, 4)170.99095.9620
5576(3, 20, 4)490.99812.3641
6576(3, 10, 4)260.99723.1428
7205(2, 25, 4)200.99782.4704
8576(3, 30, 4)1100.99980.2767
9576(3, 35, 4)1970.99990.1260
10576(3, 40, 4)1741.00000.0337
11576(3, 5, 4)1650.99449.5476

References

Agatonovic-Kustrin, S., & Beresford, R. (2000). Basic concepts of artificial neural network (ANN) modeling and its application in pharmaceutical research. Journal of Pharmaceutical and Biomedical Analysis, 22(5), 717727. doi: 10.1016/S0731-7085(99)00272-1.

Akdağ, R., & Karahan, M. (2014). Yapay sinir ağları yöntemiyle diyarbakır ili kent merkezi içme suyu talep tahmini uygulaması [Ph.D. thesis]. Dicle Üniversitesi Sosyal Bilimler Enstitüsü, Turkey.

Akratos, C. S., Papaspyros, J. N. E., & Tsihrintzis, V. A. (2008). An artificial neural network model and design equations for BOD and COD removal prediction in horizontal subsurface flow constructed wetlands. Chemical Engineering Journal, 143(1-3), 96110. doi: 10.1016/j.cej.2007.12.029.

Cardoso, J. B., de Almeida, J. R., Dias, J. M., & Coelho, P. G. (2008). Structural reliability analysis using Monte Carlo simulation and neural networks. Advances in Engineering Software, 39(6), 505513. doi: 10.1016/j.advengsoft.2007.03.015.

Chang, N. B., Chen, W. C., & Shieh, W. K. (2001). Optimal control of wastewater treatment plants via integrated neural network and genetic algorithms. Civil Engineering and Environmental Systems, 18(1), 117. doi: 10.1080/02630250108970290.

Chen, Y., Song, L., Liu, Y., Yang, L., & Li, D. (2020). A review of the artificial neural network models for water quality prediction. Applied Sciences (Switzerland), 10(17). doi: 10.3390/app10175776.

Jana, D. K., Bhunia, P., Das Adhikary, S., & Bej, B. (2022). Optimization of effluents using artificial neural network and support vector regression in detergent industrial wastewater treatment. Cleaner Chemical Engineering, 3(June), 100039. doi: 10.1016/j.clce.2022.100039.

Khatri, N., Khatri, K. K., & Sharma, A. (2019). Prediction of effluent quality in ICEAS-sequential batch reactor using feedforward artificial neural network. Water Science and Technology, 80(2), 213222. doi: 10.2166/wst.2019.257.

Khatri, N., Khatri, K. K., & Sharma, A. (2020). Artificial neural network modelling of faecal coliform removal in an intermittent cycle extended aeration system-sequential batch reactor based wastewater treatment plant. Journal of Water Process Engineering, 37(March), 101477. doi: 10.1016/j.jwpe.2020.101477.

Küçükkocaoglu, G., Keskin Benli, Y., & Kucuksozen, C. (2005). Detecting the manipulation of financial information by using artificial neural network models. Istanbul Stock Exchange Review, July 2000, 9(36), 123.

Negnevitsky, M. (2005). Artificial intelligence A guide to intelligent systems. In British Library Cataloguing (2nd ed., Vol. 123). doi: 10.1016/j.poly.2016.11.012.

Niu, G., Yi, X., Chen, C., Li, X., Han, D., Yan, B., … Ying, G. (2020). A novel effluent quality predicting model based on genetic-deep belief network algorithm for cleaner production in a full-scale paper-making wastewater treatment. Journal of Cleaner Production, 265, 121787. doi: 10.1016/j.jclepro.2020.121787.

Öztemel, E. (2008). Yapay sinir ağlari. In Papatya Yayincilik. Available from: http://papatyabilim.com.tr/PDF/yapay_sinir_aglari.pdf

Pai, T. Y., Wan, T. J., Hsu, S. T., Chang, T. C., Tsai, Y. P., Lin, C. Y., … Yu, L. F. (2009). Using fuzzy inference system to improve neural network for predicting hospital wastewater treatment plant effluent. Computers and Chemical Engineering, 33(7), 12721278. doi: 10.1016/j.compchemeng.2009.02.004.

Qiao, J., Wang, G., Li, W., & Li, X. (2018). A deep belief network with PLSR for nonlinear system modeling. Neural Networks, 104, 6879. doi: 10.1016/j.neunet.2017.10.006.

Sakiewicz, P., Piotrowski, K., Ober, J., & Karwot, J. (2020). Innovative artificial neural network approach for integrated biogas – wastewater treatment system modelling: Effect of plant operating parameters on process intensification. Renewable and Sustainable Energy Reviews, 124. doi: 10.1016/j.rser.2020.109784.

Shin, Y., Kim, Z., Yu, J., Kim, G., & Hwang, S. (2019). Development of NOx reduction system utilizing artificial neural network (ANN) and genetic algorithm (GA). Journal of Cleaner Production, 232, 14181429. doi: 10.1016/j.jclepro.2019.05.276.

Šiljić, A., Antanasijević, D., Perić-Grujić, A., Ristić, M., & Pocajt, V. (2014). Artificial neural network modelling of biological oxygen demand in rivers at the national level with input selection based on Monte Carlo simulations. Science and Pollution Research, 22(March 2015), 42304241. doi: 10.1007/s11356-014-3669-y.

Yurtoğlu, H. (2005). Yapay Sinir Ağları Metodolojisi ile Öngörü Modellemesi: Bazı Makroekonomik Değişkenler için Türkiye Örneği (p. 104). Ankara: DPT.

Corresponding author

Hussein Y.H. Alnajjar can be contacted at: hyhn1989@hotmail.com

Related articles