Advances in Artificial Neural Systems

Volume 2013, Article ID 268064, 15 pages

http://dx.doi.org/10.1155/2013/268064

## Artificial Neural Network Modeling for Biological Removal of Organic Carbon and Nitrogen from Slaughterhouse Wastewater in a Sequencing Batch Reactor

Environmental Engineering Division, Civil Engineering Department, Jadavpur University, Kolkata 700032, India

Received 30 May 2013; Accepted 4 October 2013

Academic Editor: Manwai Mak

Copyright © 2013 Pradyut Kundu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

The present paper deals with treatment of slaughterhouse wastewater by conducting a laboratory scale sequencing batch reactor (SBR) with different input characterized samples, and the experimental results are explored for the formulation of feedforward backpropagation artificial neural network (ANN) to predict combined removal efficiency of chemical oxygen demand (COD) and ammonia nitrogen (-N). The reactor was operated under three different combinations of aerobic-anoxic sequence, namely, (4 + 4), (5 + 3), and (5 + 4) hour of total react period with influent COD and -N level of 2000 ± 100 mg/L and 120 ± 10 mg/L, respectively. ANN modeling was carried out using neural network tools, with Levenberg-Marquardt training algorithm. Various trials were examined for training of three types of ANN models (Models “A,” “B,” and “C”) using number of neurons in the hidden layer varying from 2 to 30. All together 29, data sets were used for each three types of model for which 15 data sets were used for training, 7 data sets for validation, and 7 data sets for testing. The experimental results were used for testing and validation of three types of ANN models. Three ANN models (Models “A,” “B,” and “C”) were trained and tested reasonably well to predict COD and -N removal efficiently with 3.33% experimental error.

#### 1. Introduction

The sequencing batch reactor (SBR) is the most promising and viable of the proposed activated sludge modifications for the removal of organic carbon and nutrients [1]. Due to its simplicity and flexibility of operation, it has become increasingly popular for the biological treatment of domestic and industrial wastewater [2]. The most common (aerated) SBR is a fill-and-draw activated sludge system for wastewater treatment. Equalization, aeration, and clarification can all be performed in a single batch reactor. In general, SBR systems have a relatively small footprint; they are useful for areas where the available land is limited. In addition, system cycles can be easily modified, making SBRs extremely flexible to adapt to more restrictive effluent quality standards by public authorities. The determination of the influent characteristics and effluent requirements, site specific parameters such as temperature, and key design parameters such as nutrient-to-biomass ratio, treatment cycle duration, suspended solids, and hydraulic retention time is imperative to establish the operation sequence of the SBR. It allows calculating the number of cycles per day, number of basins (batches), decanting volume, reactor size, and detention times. For most industrial wastewater applications, treatability studies have typically been required to determine the optimum operating sequence. Slaughterhouse wastewater is mainly composed of diluted blood, protein, fat, and suspended solids. Organic carbon and nitrogen are major contaminants of concern in the wastewater. The aim of this study consists in the identification of suitable operation conditions for a cycle according to characteristics of influent wastewater, treatment requirements, and effluent quality using a SBR technology for simultaneous removal of organic carbon and nitrogen from slaughterhouse wastewater and discusses some aspects on process optimization based on artificial neural network (ANN) model.

Artificial neural networks (ANNs) are now used in many areas of science and engineering and considered as promising tool because of their simplicity towards simulation, prediction, and modeling [3, 4]. The advantages of ANN are that the mathematical description of the phenomena involved in the process is not required; less time is required for model development than the traditional mathematical models and prediction ability with limited numbers of experiments [5–7]. Application of ANN to solve environmental engineering problems has been reported in many articles. ANNs were applied in biological wastewater treatment and physicochemical wastewater treatment [8–10].

ANNs are mathematical systems comprised of a number of “processing units” that are linked via weighted interconnections. The tool helps in mapping a set of input data into a corresponding set of output data after learning a series of past process data from a given system. Moreover, the neural network model possesses a distinctive ability of learning nonlinear functional relationship without requiring a structural knowledge of the process to be modeled. Several examples of successful development of software sensor mechanism based on the neural network approach are described in the literature [11–14]. The application of ANN modeling in environmental engineering field is, however, still being undergone. A sizeable number of ANN modeling in wastewater treatment are used to explore its application potential for predicting experimental data aiming for enhancing efficiency and optimizing the WWTP [15–18].

The objective of the present study was application of feedforward backpropagation artificial neural network (ANN) modeling to predict the performance of a laboratory scale sequencing batch reactor operated under three different combinations of aerobic-anoxic sequential hours of cycles, namely, (4 hour aerobic + 4 hour anoxic), (5 hour aerobic + 3 hour anoxic), and (5 hour aerobic + 4 hour anoxic) of total react period in terms of COD removal and -N reduction from real life slaughterhouse wastewater as output parameters in correspondence with various input parameters of influent COD and -N concentration, microbial concentration, contact time, pH, dissolved oxygen (DO), and so forth. The data used for ANN formulation were obtained from experimental investigation as carried out in the laboratory by the authors.

#### 2. Material and Methods

##### 2.1. Seed Acclimatization for Combined Carbon Oxidation and Nitrification

Heterotrophic microbes were actively acclimatized in the laboratory environment by inoculating sludge collected from an aeration pond of a small-scale slaughterhouse located nearby to the institute. The mixture of sludge was continuously aerated with intermittent feeding with dextrose solution having concentrations of 1000 mg/L and ammonium chloride (NH_{4}Cl) having concentration of 200 mg/L as a carbon and nitrogen source, respectively. The acclimatization process was continued for an overall period of 90 days. The biomass growth was monitored by the magnitude of sludge volume index (SVI) and mixed liquor suspended solid (MLVSS) concentration in the reactor. pH in the reactor was maintained in the range 6.8–7.5 by adding required amount of sodium carbonate (Na_{2}CO_{3}) and phosphate buffer. The seed acclimatization phase was considered to be over when a steady state condition was observed in terms of equilibrium COD and -N reduction with respect to a steady level of MLVSS concentration and SVI in the reactor.

Denitrifying seed was cultured separately in 2.0 L capacity aspirator bottle under anoxic condition. 500 gm of digested sludge obtained from a local sewage treatment plant (STP) was added to 1.0 L of distilled water. The solution was filtered and added to 500 mL of untreated slaughterhouse wastewater. The resulting solution was acclimatized for denitrification purpose using dextrose as carbon source and potassium nitrate (KNO_{3}) as the source of nitrate nitrogen (-N). Magnetic stirrer was provided for proper mixing of the solution. Denitrifying seed was acclimatized against a nitrate-nitrogen concentration varying from 10 to 90 mg/L as N, over a period of three months.

##### 2.2. Experimental Setup

The experiment that was performed in a laboratory scale sequencing batch reactor of 20.0 L effective volume was fabricated by Plexiglass sheet of 6 mm thickness which is shown schematically in Figure 1. The feed solution was kept in a 25.0 L capacity carboy placed up on an elevated wooden platform. A feed tube as inlet was connected from the bottom of carboy to the inlet spout of the reactor. The air is supplied through a belt-driven air compressor. The air from compressor supplied to a diffuser system which is made up of glass tube with 2 mm opening size in a single assembly and provided 50 mm above the bottom of the SBR. The compressed air was supplied to the reactor through the above openings. Treated water was withdrawn from an outlet placed at 100 mm above the bottom of the reactor. A stirrer of 0.3 hp capacity is installed centrally for agitating and mixing the content of the reactor. The air supply was stopped during anoxic mode of the react period. During this phase only, the stirrer was allowed to operate. A timer was connected to compressor for controlling the aeration period. A sludge withdrawal port was also provided near the bottom of the reactor.

##### 2.3. Experimental Procedure

The treatability study of slaughterhouse wastewater in SBR was investigated for the wastewater sample collected from outlet of the slaughterhouse, as mentioned above. The raw and primary-treated wastewater was first characterized and subsequently treatability experiment was carried out in the laboratory scale SBR unit. The following analytical parameters, namely, pH, TSS, VSS, DO, BOD_{5} at 20°C, COD, TKN, and -N were estimated for the wastewater characterization of the slaughterhouse effluent. The analytical parameters were determined following the protocols as described in “Standard Methods” [19]. For each parameter testing three sets of replicates were considered. A mixed liquor of 2.5 L, containing mixed sludge as acclimatized previously, was taken into SBR containing 20.0 L volume of pretreated slaughterhouse wastewater. The performance study was carried out with pretreated slaughterhouse wastewater having an average initial chemical oxygen demand (COD) of mg/L and ammonia nitrogen (-N) concentration of mg/L. The volatile suspended solid (VSS) to suspended (SS) ratio of the sludge was 0.783. After seeding, MLVSS concentration in the SBR reactor was found to be mg/L. The duration of a complete cycle was 10.0 to 11.0 hour, giving two complete cycles per day. The total cycle period consisted of a fill period of 0.5 hour, overall react period of 8.0 to 9.0 hour, settle period of 1.0 hour, and decant period of 0.5 hour with two cycles per day. In the carbon oxidation and nitrogen removal study, the overall react period was divided into aerobic and anoxic react periods with following three combinations: Combination-1: 4-hour aerobic react period and 4-hour anoxic react period; Combination-2: 5-hour aerobic react period and 3-hour anoxic react period; Combination-3: 5-hour aerobic react period and 4-hour anoxic react period.

In the ammoniacal nitrogen removal phase, the reactor was continuously aerated by a compressor of capacity 0.25 hp. during the fill period and for the entire aerobic react phase. The mechanical mixer was operated continuously with a speed of 400 rpm from the beginning of the fill phase to the end of the total react phase for proper mixing of liquid in the reactor. During the draw phase, the supernatant wastewater that was decanted until the liquid volume in the reactor decreased to 4.0 L. SRT (solid retention time) was manually controlled by withdrawal of volume of the mixed liquor from the reactor every day at the onset of the commencement of settle phase. The reactor was continuously run for 120 days. The treated volume of slaughterhouse wastewater was taken as 16 L. The initial pH values in the reactor were kept in between 7.0 and 8.0, whereas the sludge volume index (SVI) has been kept within the range of 75–85 mL/gm, for obtaining good settling property of the biomass. The SRT of 20–25 days is maintained for carbon oxidation and nitrification in the present SBR system for treatment of wastewater as suggested by Tremblay et al. [20].

During the time course of the study, 100 mL of sample was collected from the outlet of the reactor at every 1.0 hour interval, after completion of the fill period. The samples were analyzed for the following parameters, namely, pH, DO, MLSS, MLVSS, COD, -N, -N, and -N as per “Standard Methods” [19]. The pH of the solution was measured by a digital pH meter. -N, -N, and -N were estimated by respective ion selective electrodes meter. COD was analyzed by closed reflux method in digester. Dissolved oxygen (DO) was measured electrometrically by digital DO meter. Mixed liquor suspended solids (MLSS) and mixed liquor volatile suspended solids (MLVSS) were measured by gravimetric method at the temperature of 103–105°C in oven and °C in muffle furnace, respectively.

##### 2.4. Artificial Neural Network Modeling

The architecture of ANN consists of input layer, one or more hidden layer, and output layer. Each layer of the network consists of a number of interconnected processing elements called as neurons. These neurons interact with each other with the help of the weight. Each neuron is connected to all the neurons in the next layer. The data is presented to the neural network in the input layer. The output of the neural network is presented by output layer for the given input data. The hidden layers enable these networks to compute complicated relations between input and output. The structure of feedforward neural network is exhibited in Figure 2.

The number of hidden layers is to be selected in respect of the complexity of the problem. Generally one hidden layer is sufficient for investigation of most of the problem. The number of neurons in the hidden layer is selected by trial and error method starting from minimum value and then to be increased depending on the nature of problem. The training of neural network is carried out by presenting a series of input data and target output values. The parameters affecting the output should be selected as input parameters. The backpropagation training algorithm has been widely used to model various problems in environmental engineering. In the backpropagation training algorithm, the neurons in the hidden layer and output layer process its input by multiplying each input by its weight, summing the product, and then processing the sum using a nonlinear transfer function, also called activation function, to produce results. The most common transfer function used is the sigmoid function. The learning in the neural network takes place by modifying weights of the neurons according to the error between the actual output value and the target output values. The changes in weight are proportional to negative of the derivative of the error.

The backpropagation is essentially a gradient descending method to minimize the network error function equation: where and are estimated and targeted values, respectively. “” is the number of output nodes, and “” is the number of training samples.

Before starting training of an ANN, weights are initially randomized. Based on the error propagation, weights are adjusted based on where and are the weights increment between nodes and during the adjacent iteration and and are learning rate and momentum factor. Careful selection and appropriate adjustment of the learning rate are very much necessary for successful training of backpropagation neural network. Some earlier contributory works were cited in various literatures in reference to ANN modeling on nutrient removal in biological reactor [21, 22].

The training of ANN model was carried out by presenting the complete input data set to the network and continued till the average MSE is minimized. After the training is over, the trained neural network deemed to be reproduced by the target output values for provided training data. Weights of the trained neurons are then stored in the neural network memory. Testing of the trained network is carried out by presenting the set of test data and then comparing the output of the network with the actual values of the output. The performance of formulated ANN model can be measured by several statistical parameters, such as coefficient of determination , MSE, and RMSE. A well-trained model should have value close to 1 and error should be least.

The numbers of input and output neurons are fixed according to the nature of the problem. In the present study, only one hidden layer was selected. The number of neurons in the hidden layer was selected from 2 to 30. The inputs to the neural network include the amount of MLVSS (mg/L), initial concentration of COD (mg/L), initial concentration of -N (mg/L), pH, and contact time (hour). The percentage removal of COD and -N was selected as targets.

##### 2.5. Data Preprocessing

The input and output variables in the present study consist of different characteristics and importance level, resulting into varying response to the neural network. The ANN model training would be more efficient if preprocessing steps are to be performed on the input and target data, by making the preprocessing exercise useable in real applications. The input parameters were scaled up in the range 0.2 to 0.8. The preprocessing of the data could be performed by the algorithm as given in where is normalized value of th variable; is observed value of th variable; is minimum value of th observed variable in the training data-set; is maximum value of th observed variable in the training data-set.

After preprocessing of the training data set, the new input sets are fed into the trained networks with minimum and maximum vectors for the training set. In order to compare the neural network results with the observed results, the rescaled outputs need to be converted back within the same range for the original targets. The algorithm as given in (4) was used for this purpose: where is predicted value of th output variable; is normalized value of th output variable; is minimum value of th observed variable in the training data-set; is maximum value of th observed variable in the training data-set.

##### 2.6. ANN Software

A three-layered feedforward neural network with backpropagation training algorithm was used to validate the ANN model. The tangent-sigmoid transfer functions (tansig) in between input and hidden layer and a linear transfer function (purelin) in between hidden layer and output layer were used. The Levenberg-Marquardt algorithm was used for ANN model training. During training process, small weights were assigned to the connection between neurons in a random way. Weights were modified until the error between the predicted and experimental values of adsorption efficiency are minimized. It is desired that the difference between predicted and observed values should be as small as possible. During testing process, the network was tested for its generalization ability with the observed output after the training process was completed. When the neural networks are tested successfully, they can be used for prediction.

The feedforward backpropagation (BP) algorithm with Levenberg-Marquardt training was applied for neural network model development. The BP is an approximate steepest descent algorithm where an MSE is used as performance function. In the neural network development, different number of hidden layers, the number of neurons in each layer, and the type of transfer function for each neuron were analyzed all with a learning rate of 1.0 [23] and training goal of 10^{−5}. Then, the trained networks were tested using the testing data sets and the MSE method by modifying the network weights.

##### 2.7. Performance of Developed ANN Model

In order to measure the pollutant removal efficiency and the performance of three neural network models developed for biological system, different types of statistical parameters were used to estimate the error. In the present work, ME, MSE, and RMSE were selected to measure the network performance of Models “A,” “B,” and “C” under three different combinations of aerobic-anoxic sequence, namely, , , and hour of total react period, respectively, for treatment of slaughterhouse wastewater in SBR. Furthermore, a linear regression analysis between the predicted values and actual experimental values was carried out to investigate the network response for establishing the removal efficiencies of organic matter as COD and nitrogen matter as -N in SBR system.

##### 2.8. Optimization of ANN Model

The optimal architecture of the ANN model and its parameter variation were determined based on the minimum value of the MSE of the training and prediction set as suggested by Ekici and Aksoy [24]. To start the training, initially 2 neurons were taken in the hidden layer and it was then increased up to 30 neurons: where is number of data points; is network predicted value at the th data; is experimental value at the th data; is an index of the data.

#### 3. Results and Discussions

##### 3.1. Characterization of Slaughterhouse Wastewater

The slaughterhouse wastewater samples were collected from two different locations: (i) the raw (untreated) wastewater from the main collection pit and (ii) the primary treated effluent from the inlet box of aeration basin. The wastewater samples were collected 6 (six) times over the entire course of the study in 25.0 L plastic containers and stored in a refrigerator at approximately 4.0°C. The above wastewater samples (raw and primary treated) were characterized in the laboratory with respect to the parameters as exhibited in Table 1. The performance of the present study was carried out with wastewater having an average initial chemical oxygen demand (COD) of mg/L and ammonia nitrogen (-N) concentration of mg/L as N.

##### 3.2. Treatment of Slaughterhouse Wastewater for Carbon Oxidation and Nitrogen Removal in SBR

The performance of the SBR system in the slaughterhouse wastewater treatment for combined carbon and nitrogen removal has been plotted in Figures 3, 4, and 5. The aerobic period was operated long enough (4.0 to 5.0 hours) to achieve nitrification to improve effluent quality. The presence of low DO (2.4 mg/L) level at the beginning of the aerobic react phase and subsequently increased progressively and reached to its maximum value at the end of the aeration period. The organic loading was decreased substantially at the beginning of anoxic period followed by a reduction in DO level. Generally, DO concentration, in the range of 2.4–4.5 mg/L prevailed in the reactor during the aerobic react period, which was beneficial for ammonium oxidation. The effluent -N was below 18.15 mg/L, giving an average -N removal of 85.52% under hour react period combination. The effluent -N remained less than 13.28 mg/L, yielding an average -N removal of 88.78% under hour react period combination. Under hour react period combination, improved performance, in terms of -N oxidation, was observed that produced a final treated effluent having -N concentration less than 12.55 mg/L as N indicating an average 90.28% -N removal.

At the end of anoxic react period, under hour react period combination, 82.58% of nitrate reduction was achieved which descent noticeably to 67.65% under hour react period combination due to nonavailability of sufficient anoxic reaction time. However, the nitrate reduction efficiency was found to be improved appreciably under hour react period in the extent of 93.62% yielding a nitrate concentration less than 4.18 mg/L as N at the end of anoxic react period from an initial nitrate level of approximately 65.43 mg/L as N, present at the beginning of anoxic phase. It was interesting to observe that, by a marginal increment of 1-hour anoxic period, denitrification efficiency changes positively. In the present study, most of the nitrates were removed in the anoxic react phase. The amount of nitrate removal was as much as 82.58, 67.65 and 93.62% in , , and hour combination, respectively.

##### 3.3. Development ANN Models for Combined Carbon Oxidation and Nitrification of Slaughterhouse Wastewater in SBR

Three models were developed for combined carbon oxidation and nitrification of slaughterhouse wastewater in the following combinations: Model “A” (Combination-1): 4-hour aerobic and 4-hour anoxic react period in SBR system; Model “B” (Combination-2): 5-hour aerobic and 3-hour anoxic react period in SBR system; Model “C” (Combination-3): 5-hour aerobic and 4-hour anoxic react period in SBR system.

The ANN model was developed for biological removal of combined organic carbon and nitrogen of a slaughterhouse wastewater in a sequencing batch reactor using experimental data. Table 2 represents the input parameters for developing the ANN studies. Total 29 experimental data sets were available for each aerobic/anoxic react period combination in SBR system. These data were divided into 50% for training set (15 data sets), 25% for validation set (7 data sets), and 25% for testing data set (7 data sets). The training set was used to develop the neural network. The validation data set was used to determine when the network’s general performance was maximized through early stopping, and the testing data set was used to evaluate the generalization ability of the trained network. The 29 data sets used for development of ANN model in SBR system for each combination of aerobic/anoxic react period are presented in Tables 3, 4, and 5.

During the training process, small weights were assigned to the connection between neurons in a random way. The weights were modified until the error between the predicted and experimental values of COD and ammonia nitrogen removal efficiency in SBR is minimized. The feedforward backpropagation (BP) algorithm with Levenberg-Marquardt (LM) training was applied for development of all three ANN models. The BP is an approximate steepest descent algorithm with MSE used as performance function. In the neural network development, different number of hidden layers, number of neurons in each layer, and type of transfer function for each neuron were analyzed with a learning rate of 1.0 and training goal of 10^{−5}. Then, the trained networks were tested using the testing data sets and MSE method by modifying the network weights. It was found that network with one hidden layer of neurons was successful. The tansig transfer function was used in the hidden layer and linear transfer function in the output layer. The training of the network was carried out with different number of neurons in the hidden layer with training goal of 10^{−5}. It is observed from Figure 6 that MSE value of 0.15584 is much higher for 2 neurons in one hidden layer. With the increase of neuron numbers in the hidden layer, there was a gradual decrease in MSE values attaining a minimum value of 0.00575 with 18 neurons in one hidden layer. With the further increase of hidden neurons, there was a sharp increase in MSE values. Hence, 18 hidden neurons were considered for optimization in the present study.

A regression analysis of the network response between the output and the corresponding target was also performed with 18 hidden neurons layer. Figures 7, 8, and 9 exhibit the training, validation, and test squared error for the Levenberg-Marquardt algorithm for Model “A,” “B,” and “C,” respectively, under three different combinations of aerobic-anoxic sequence, namely, , , and hour of total react period. It was observed that Models “A,” “B,” and “C” took 7, 6, and 5 epochs, respectively, for training, validation, and testing of 29 data sets in each model. Finally, an optimal three-layered ANN with tangent sigmoid transfer function (tansig) at hidden layer with 18 neurons and linear transfer function (purelin) at output layer with Levenberg-Marquardt (LM) training algorithm was chosen to predict the COD and ammonia nitrogen removal efficiency in Models “A,” “B,” and “C,” respectively.

The scattered diagrams of linear regression analysis for three model were plotted in Figures 10 and 11 for Model “A,” Figures 12 and 13 for Model “B,” and Figures 14 and 15 for Model “C” in correspondence with comparison between experimental and ANN predicted values of COD and -N removal efficiencies of each models, respectively. The two lines were used to show the success of the prediction. The one is the perfect fit line (predicted data equal to experimental data), on which all the data of an ideal model are lying. Another line corresponds to best fits to scatter plot for chaotic data with equation that is obtained with regression analysis based on the minimization of the squared errors. The plotting of the results as obtained through ANN exercise using the experimental data satisfactorily predicted the success of the experimental data and validated the model. The values of coefficient of determination above 0.90 with slope approaching 1 and intercept value closer to zero were achieved through results of statistical analysis for removal of COD and -N in SBR.

The coefficient of determination is also presented as . The values of coefficient of determination for COD and -N removal are found to be 0.947 and 0.960, respectively, which indicate a reasonable fitting to experimental data. Smith [25] suggested the following values of coefficient of determination between 0.0 and 1.0 for different sets of variable: strong correlation exists between two sets of variables; correlations exist between the two sets of variables; weak correlation exists between the two sets of variables.

The linear regression between the network outputs and the corresponding targets showed that the neural network outputs (forecasted data) were obviously agreed with the experimental values. The correlation between ANN testing outputs and the experimental values of COD and -N removal efficiency for all test data (7 data sets) of Models “A,” “B,” and “C” are shown in Figures 16, 17, and 18, respectively. This results are reasonable, since the experimental and ANN model predicted data set error has similar characteristics, and it does not show that any significant change over fitting has occurred. Comparison of the ANN model’s results and experimental results of COD and -N removal efficiencies for all test data of Models “A,” “B,” and “C” are presented in Tables 6, 7, and 8, respectively. The performance error of experimental and ANN model predicted values for COD and -N removal efficiency in SBR is visualized within limit of 4%. The statistical analysis of the results of the network performance is presented in Table 9. The values of ME, MSE, and RMSE of all three models for COD and -N removal efficiency are on lower side range. It was found that the predicted values of COD and -N removal efficiency by ANN model are very close to the experimental values for all data sets in test series of Models “A,” “B,” and “C.”

#### 4. Conclusions

Based on performing all relevant experiment and analysis of results, it is concluded that SBR is a reasonable alternative option for simultaneous removal of high COD and -N containing wastewater that finds slaughterhouse effluent with others. The experimental values indicated that both COD and -N could effectively be treated by heterotrophic facultative bacteria. It was found that under aerobic condition, maximum removal efficiency of about 95.57% of COD and 92.95% -N could be achieved over a react period of 9 hours for pretreated slaughterhouse wastewater in SBR. The combination of 5.0-hour aerobic react period and 4.0-hour anoxic react period is found to be reasonable from the view point of both organic carbon oxidation and nitrogen removal aspects. A steady increase in MLVSS level has been occurred during experiment. The overall increase in MLVSS in both the phases demonstrated the favourable microbial activity for organic carbon oxidation, nitrification, and denitrification.

The three neural network Models “A,” “B,” and “C” under three different combinations of aerobic-anoxic sequence, namely, , , and hour of total react period, were successfully trained and tested which could forecast pollutant removal efficiency for combined carbon oxidation and nitrification of slaughterhouse wastewater in SBR. Based on the results obtained from the ANNs trained and limited to the architecture of the ANNs that had been trained, it is found that the ANN-based models can provide an efficient and a robust tool in predicting SBR performance. It was also found that after training, three ANN-based models were able to generalize very well when tested against any unknown data set. This observation yielded that the ANN-based models can be identified without detailed information of the kinetics of the system. In other words, as compared to statistical methods, ANNs can provide a more general framework for determining relationships between data and do not require specification of any functional form. Based on experimental results, the error of ANN model output was well within 3.33% and also the coefficient of determination above 0.94 and slope approaching 1 with intercept value closer to zero. The study also indicated that the ANN model technique has a great potential in prediction of organic carbon and nutrients removal efficiency in biological system.

#### Conflict of Interests

The authors disclosed the fact that this paper has been prepared for academic purpose for research persuasion and exchange of knowledge. There is no bearing on any financial relation with any commercial identities and also avoiding any conflict of interests.

#### Acknowledgment

This study was supported by the research funds of Jadavpur University, Jadavpur, Kolkata-32.

#### References

- Metcalf and Eddy,
*Wastewater Engineering-Treatment, Disposal and Reuse*, Tata McGraw-Hill, New York, NY, USA, 4th edition, 1995. - J. Grady, G. Daigger, and H. Lim,
*Biological Wastewater Treatment*, Marcel Dekker, New York, NY, USA, 1999. - N. Bhat and T. J. McAvoy, “Use of neural nets for dynamic modeling and control of chemical process systems,”
*Computers and Chemical Engineering*, vol. 14, no. 4-5, pp. 573–582, 1990. View at Google Scholar · View at Scopus - M.-J. Syu and G. T. Tsao, “Neural network modeling of batch cell growth pattern,”
*Biotechnology and Bioengineering*, vol. 42, no. 3, pp. 376–380, 1993. View at Google Scholar · View at Scopus - M. J. Willis, C. Di Massimo, G. A. Montague, M. T. Tham, and A. J. Morris, “Artificial neural networks in process engineering,”
*IEE Proceedings D*, vol. 138, no. 3, pp. 256–266, 1991. View at Google Scholar · View at Scopus - G. A. Montague, A. J. Morris, and M. T. Tham, “Enhancing bioprocess operability with generic software sensors,”
*Journal of Biotechnology*, vol. 25, no. 1-2, pp. 183–201, 1992. View at Google Scholar · View at Scopus - S. Linko, J. Luopa, and Y.-H. Zhu, “Neural networks as “software sensors” in enzyme production,”
*Journal of Biotechnology*, vol. 52, no. 3, pp. 257–266, 1997. View at Publisher · View at Google Scholar · View at Scopus - M. M. Hamed, M. G. Khalafallah, and E. A. Hassanien, “Prediction of wastewater treatment plant performance using artificial neural networks,”
*Environmental Modelling and Software*, vol. 19, no. 10, pp. 919–928, 2004. View at Publisher · View at Google Scholar · View at Scopus - D. Aguado, A. Ferrer, A. Seco, and J. Ferrer, “Comparison of different predictive models for nutrient estimation in a sequencing batch reactor for wastewater treatment,”
*Chemometrics and Intelligent Laboratory Systems*, vol. 84, no. 1-2, pp. 75–81, 2006. View at Publisher · View at Google Scholar · View at Scopus - M. Häck and M. Köhne, “Estimation of wastewater process parameters using neural networks,”
*Water Science and Technology*, vol. 33, no. 1, pp. 101–115, 1996. View at Publisher · View at Google Scholar · View at Scopus - M. Bongards, “Improving the efficiency of a wastewater treatment plant by fuzzy control and neural networks,”
*Water Science and Technology*, vol. 43, no. 11, pp. 189–196, 2001. View at Google Scholar · View at Scopus - Y.-S. T. Hong, M. R. Rosen, and R. Bhamidimarri, “Analysis of a municipal wastewater treatment plant using a neural network-based pattern analysis,”
*Water Research*, vol. 37, no. 7, pp. 1608–1618, 2003. View at Publisher · View at Google Scholar · View at Scopus - W. C. Chen, N.-B. Chang, and J.-C. Chen, “Rough set-based hybrid fuzzy-neural controller design for industrial wastewater treatment,”
*Water Research*, vol. 37, no. 1, pp. 95–107, 2003. View at Publisher · View at Google Scholar · View at Scopus - S. Eslamian and N. Lavaei, “Modelling nitrate pollution of groundwater using artificial neural network and genetic algorithm in an arid zone,”
*International Journal of Water*, vol. 5, no. 2, pp. 194–203, 2009. View at Publisher · View at Google Scholar · View at Scopus - H. Zhao, O. J. Hao, T. J. McAvoy, and C.-H. Chang, “Modeling nutrient dynamics in sequencing batch reactor,”
*Journal of Environmental Engineering*, vol. 123, no. 4, pp. 311–318, 1997. View at Google Scholar · View at Scopus - N. Al-Mutairi, N. Kartam, P. Koushki, and M. Al-Mutairi, “Modeling and predicting biological performance of contact stabilization process using artificial neural networks,”
*Journal of Computing in Civil Engineering*, vol. 18, no. 4, pp. 341–349, 2004. View at Publisher · View at Google Scholar · View at Scopus - M. N. Kashani and S. Shahhosseini, “A methodology for modeling batch reactors using generalized dynamic neural networks,”
*Chemical Engineering Journal*, vol. 159, no. 1-3, pp. 195–202, 2010. View at Publisher · View at Google Scholar · View at Scopus - L. Luccarini, G. L. Bragadin, G. Colombini et al., “Formal verification of wastewater treatment processes using events detected from continuous signals by means of artificial neural networks. Case study: SBR plant,”
*Environmental Modelling and Software*, vol. 25, no. 5, pp. 648–660, 2010. View at Publisher · View at Google Scholar · View at Scopus - American Public Health Association, American Water Works Association, Water Pollution Control Federation,
*Standard Methods for the Examination of Water and Wastewater*, Washington, DC, USA, 20th edition, 1998. - A. Tremblay, R. D. Tyagi, and R. Y. Surampalli, “Effect of SRT on nutrient removal in SBR system,”
*Practice Periodical of Hazardous, Toxic, and Radioactive Waste Management*, vol. 3, no. 4, pp. 183–190, 1999. View at Publisher · View at Google Scholar · View at Scopus - H. Zhao, O. J. Hao, T. J. McAvoy, and C.-H. Chang, “Modeling nutrient dynamics in sequencing batch reactor,”
*Journal of Environmental Engineering*, vol. 123, no. 4, pp. 311–318, 1997. View at Google Scholar · View at Scopus - M. Cote, B. P. A. Grandjean, P. Lessard, and J. Thibault, “Dynamic modelling of the activated sludge process: improving prediction using neural networks,”
*Water Research*, vol. 29, no. 4, pp. 995–1004, 1995. View at Publisher · View at Google Scholar · View at Scopus - R. M. Aghav, S. Kumar, and S. N. Mukherjee, “Artificial neural network modeling in competitive adsorption of phenol and resorcinol from water environment using some carbonaceous adsorbents,”
*Journal of Hazardous Materials*, vol. 188, no. 1-3, pp. 67–77, 2011. View at Publisher · View at Google Scholar · View at Scopus - B. B. Ekici and U. T. Aksoy, “Prediction of building energy consumption by using artificial neural networks,”
*Advances in Engineering Software*, vol. 40, no. 5, pp. 356–362, 2009. View at Publisher · View at Google Scholar · View at Scopus - G. N. Smith,
*Probability and Statistics in Civil Engineering: An Introduction*, Collins, London, UK, 1986.