1 Introduction

Energy and resource shortage is one of the most significant problems faced by the world nowadays. The rising price of petroleum products and increasing attention regarding environmental impacts together with the fossil fuel depletion have prompted considerable research to identify renewable and alternative fuel sources [1, 2]. Therefore, researchers concentrate on finding alternative energy sources and employing them to reduce adverse effects. Most of the studies shown in the literature on renewable energy sources have focused on different waste energy sources. These wastes include used tires, trees, plastics, municipal solid wastes, etc. These wastes have several adverse impacts on environment and living organisms including human beings. These impacts can be reduced when they are transformed into fuel. Out of all the available wastes, food waste contains a considerably large quantity of organic matter, which can be fermented anaerobically to produce biogas [3, 4].

The food waste comprises un-consumed food items and leftovers during the preparation of foods from houses, hotels, institutional sources like college/school cafeterias, and industrial sources like factory lunchrooms [5]. In 2011, a report published on global food waste by UN Agriculture Organization stated that nearly one-third of the total food prepared for human consumption goes as waste that accounts for 1.3 billion tons annually [6]. Usually, food waste contains 69–93% of moisture, 85–96% of volatile solids (VS), and C/N ratio of 14.6–18.3 [5]. Because of the higher moisture content in food waste, biochemical processes like anaerobic digestion are more suitable when compared to thermochemical processes like gasification and combustion [7, 8]. Anaerobic digestion process involves the disintegration and stabilization of complicated organic matter by a group of microorganisms leading to energy-rich biogas which can be used as alternative energy for the substitution of fossil fuel sources [9, 10]. Higher biogas production can be achieved through a correctly functioning anaerobic digestion system for fulfilling societal energy demands along with the production of high-quality fertilizer as a by-product [11, 12]. Various factors affect the performance and design of an anaerobic system that can be identified as reactor design, feedstock characteristics, and operating conditions [5, 7], and hence these parameters have to be optimized for effective biogas production.

A few studies have been carried on biogas production with optimization methodologies such as Taguchi’s approach, genetic algorithm (GA), grey relational approach (GRA), artificial neural network (ANN), and principal component analysis (PCA), etc. [13,14,15,16,17]. Kuen-Sheng Wang et al. [18] studied the suitability of hybridization of Taguchi’s methodology and RSM for predicting and optimizing the bio-hydrogen production from cow manure. Experimental trials were performed based on L18 orthogonal matrix, and CCD-based RSM design was applied for analyzing the outputs and optimization procedure. Qdais et al. [19] evaluated the biogas production and optimized the process factors pH, total solids, temperature, and total volatile solids using ANN technique. The model consists of two hidden layers for predicting the methane production having 0.87 correlation coefficient. Karichappan et al. [20] performed experimental trials for studying the biogas production using four parameters varied with three levels considering Box-Behnken methodology in RSM, with parameters and ranges such as pH (4–10), temperature of reactor (25–45 °C), alkalinity during the process (6–24%), and the time period of feedstock retention (6–30 days). The results obtained were evaluated through analysis of variance (ANOVA) and empirical model of second order for studying the process parameters interactive effects on the yield of biogas.

In this work, an effort was made to improve the biogas production and COD removal efficiency with good reproducibility levels. The process parameters taken in this study are solid concentration, pH, temperature, and co-digestion. A large number of input factors parameters involved in the digestion process make it extremely complicated to perform a traditional method of optimization by studying the effect of one variable at a time. For this purpose, the response surface methodology was adopted in this investigation to optimize the parameters involved in the anaerobic digestion process.

2 Materials, experimentation, and methods

2.1 Feedstock and experimental setup

Food waste (FW) is a highly desirable substrate for anaerobic digestion with regard to its higher biodegradability and biogas/methane yield. This contains a substantially large amount of organic matter, which can be processed anaerobically to produce biogas. Also, the nutrient content analysis showed that the food waste contained well-balanced nutrients for anaerobic microorganisms [5]. FW collected from the student hostel mess of NIT Calicut, India, was used for the experiments. The waste collected was shredded into particles to increase the surface area available for microbial activities. Water was added to the waste to prepare the substrate with desired solid concentration, and 1 N NaHCO3 solution was added to achieve the desired pH. C/N ratio of the feedstock was varied by co-digesting 10–30% of poultry manure with food waste before feeding into the digester. The poultry manure (PM) used in this study was taken from Regional Poultry Farm, Chathamangalam. Experiments were conducted in a laboratory-scale anaerobic batch reactors made up of glass as shown in Fig. 1. The reactor had a total and effective working volume of 2 l and 1.8 l, respectively. The daily biogas production was measured with an inverted measuring glass cylinder filled with water which was partly immersed in water bath.

Fig. 1
figure 1

Experimental setup [16]

2.2 Multiple parameter optimization

A statistical tool, RSM, was used for modeling the experimental procedure by performing both analyses, by modeling, by optimizing, and by identifying the relationship that was supposed to be between the outputs and inputs [21,22,23]. In most of the problems in RSM, the relationship that exists between the dependent and independent factors was unknown [24, 25]. Consequently, the initial procedure in RSM is to determine an appropriate efficient relationship between the “x” set of independent input variables and “y” set of dependent output variables. If the output variable can be modeled well by means of a linear function of input factor, the function is purely a model with first order [21].

$$ \mathrm{y}={\upbeta}_0+{\upbeta}_1{\mathrm{x}}_1+{\upbeta}_2{\mathrm{x}}_2+\dots +{\upbeta}_{\mathrm{k}}{\mathrm{x}}_{\mathrm{k}} $$
(1)

A higher degree polynomial such as a model of second order may be used, if a curvature exists in the system.

A CCD approach of RSM technique was adopted in this study for optimizing the input conditions toward higher biogas production from the waste food feedstock. For this experimental condition, thirty experiments that include six center points were considered. For maximum production biogas, the collective effect of four inputs, viz., solid concentration, pH, temperature, and co-digestion, was experimentally studied, and multi-criterial optimization was done. The response variables measured were biogas production and efficiency in the removal of COD. Table 1 outlines the higher and lower values of input factors, and Table 2 presents the experimental plan as per the real coded and actual coded values.

Table 1 Variables and their ranges considered for trials
Table 2 Central composite experimental design matrix

3 Results and discussion

The characterization study was carried out for both food waste and poultry manure. Cow dung was used as an inoculum [26], which is also subjected to the characterization study. Table 3 gives the elemental composition of feedstock used in this study.

Table 3 Ultimate analysis of feedstock used

FTIR (Fourier transform infrared) analysis is an analytical method used to find the functional group of a molecule or compound. Exposed to IR radiations, a molecule will absorb IR energy only at frequencies matching the molecule’s natural frequency of vibration. As a consequence, the absorption pattern (frequencies and intensities) is unique for a given molecule. The frequencies of vibration of a molecule are directly related to the nature of the atoms and the structure of the molecule. The FTIR spectrum for food waste used is shown in Fig. 2, and the functional groups present are given in Table 4. The major compounds present in the food waste are carboxylic acids such as formic acid, acetic acid, propionic acid, etc. and amine such as methane, ethane, etc. In addition to these compounds, methyl formate, diethyl ether, nitromethane are also present in small quantity. Similarly, the FTIR spectra for poultry manure used in this study are shown in Fig. 3, and the functional groups are given in Table 5.

Fig. 2
figure 2

FTIR spectrum of food waste

Table 4 Functional group from FTIR for food waste
Fig. 3
figure 3

FTIR spectrum of poultry manure

Table 5 Functional group from FTIR for poultry manure

Experiments were conducted as per the standard order, and the output responses such as biogas production and COD removal efficiency were determined, which are tabulated in Table 6.

Table 6 Input and output responses

Initially the analysis of biogas production (Y1) and COD removal efficiency (Y2) is performed individually. Later the combined optimization of both the responses is carried out using desirability function.

3.1 Biogas production

Biogas production is carried out by setting the goal for maximizing the response, since the biogas production should be higher for a given substrate. Table 7 shows the ANOVA table for biogas production; the suggested model is quadratic where the second-order equation of chosen parameters was also considered. The model F value of 14.257 implies that the model is significant.

Table 7 ANOVA table for biogas production

P values less than 0.0500 indicate model terms that are significant [30]. In this case, D, AC, CD, and C2 are significant model terms, and other model terms are not significant. The lack of fit F value of 3.88 implies that there is a 7.38% chance that a lack of fit F value this large could occur due to noise. The predicted R2 of 0.6870 is in reasonable agreement with the adjusted R2 of 0.8649; i.e., the difference is less than 0.2. The normal probability plot indicates whether the residuals follow a normal distribution, in which case the points will follow a straight line, where all the points were scattered and lie on both sides of the straight line. Residuals versus run plot is a plot of the residuals versus the experimental run order, which is used for checking the lurking variables that may have influenced the response during the experiment. The plot should show a random scatter as in Fig. 4.

Fig. 4
figure 4

Residual plot for biogas production

Figure 5 shows the response surface plots for the biogas production with various combinations of chosen parameters. The figure shows that the surface plot for biogas production obtained with all the parameters is ridge surface. Observation shows that, with increase in solid concentration, biogas production increases linearly. Biogas production increases up to a pH level of 7, after which the production rate decreases. For higher pH values, lower biogas was produced. With hike in temperature until around 40 °C, biogas production was higher, and with further rise in temperature, biogas evolution was reduced. A min-max surface was visualized between pH and temperature, between pH and co-digestion, and between temperature and co-digestion. With higher co-digestion percentage, biogas production increases due to breakdown of ingredients present in food waste in a larger scale.

Fig. 5
figure 5

Surface plots for biogas production

The empirical model developed for biogas production considering the chosen input variables is shown in Eq. (2). From the ANOVA table, it is identified that only significant terms only contribute and the nonsignificant terms must be removed from the model. Hence, Eq. (3) was developed removing the nonsignificant terms from Eq. (2).

$$ {\displaystyle \begin{array}{l}\mathrm{Biogas}\kern2.5em =1920.185+38.28158\ast \mathrm{SC}+442.8048\ast \mathrm{pH}+119.0038\ast \mathrm{Temp}\ \\ {}\mathrm{Production}\kern1.5em -4.3655\ast \mathrm{CD}+5.15\ast \mathrm{SC}\ast \mathrm{pH}-1.15667\ast \mathrm{SC}\ast \mathrm{Temp}\ \\ {}\kern5.75em +0.0475\ast \mathrm{SC}\ast \mathrm{CD}+1.125\ast \mathrm{pH}\ast \mathrm{Temp}+1\ast \mathrm{pH}\ast \mathrm{CD}\\ {}\kern5.75em +0.371667\ast \mathrm{Temp}\ast \mathrm{CD}-1.28491\ast {\mathrm{SC}}^2-40.7807\ast {\mathrm{pH}}^2\\ {}\kern5.75em -1.36055\ast {\mathrm{Temp}}^2-0.36281\ast {\mathrm{CD}}^2\end{array}} $$
(2)
$$ {\displaystyle \begin{array}{l}\mathrm{Biogas}\ \mathrm{Production}=1920.185-4.3655\ast \mathrm{CD}-1.15667\ast \mathrm{SC}\ast \mathrm{Temp}\kern0.5em \\ {}\kern8em +0.371667\ast \mathrm{Temp}\ast \mathrm{CD}-1.36055\ast {\mathrm{Temp}}^2\end{array}} $$
(3)

3.2 COD degradation

Analysis of COD degradation is performed in order to maximize it. Degradation of COD in the anaerobic digestion process is utilized for sludge generation, and the rest were converted into methane/biogas. COD provides a measure of the oxygen present in a sample of sludge that can be consumed in a reaction with oxidizing agents and reflects the number of organics present in a sludge, and the efficiency of anaerobic digestion can be evaluated using COD. The ANOVA table determined for COD degradation is shown in Table 8.

Table 8 ANOVA table for COD degradation

The F value of 25.19 achieved for the developed model shows that it is significant. Considering 95% confidence interval, probability values lower than 0.05 are significant model terms and higher than 0.05 are nonsignificant terms. These nonsignificant terms should be eliminated for achieving better results. In this study, B, C, D, AC, BC, BD, B2, and D2 are significant model terms. The predicted R2 of 0.7412 is in reasonable agreement with the adjusted R2 of 0.9211 since the difference is less than 0.2. The signal-to-noise ratio is measured by means of adequate precision value, which is 15.061 in this case, which is most desirable.

The normal plot of residuals and residuals vs. run plot for COD degradation is shown in Fig. 6. Observation shows that the residuals follow a straight line path and that in residuals vs. each experimental run, the residuals were observed to line on both sides of the center line with run no. 9 producing the higher residual.

Fig. 6
figure 6

Residual plot for COD degradation

Figure 7 shows the surface plots for COD degradation. Observations show that, with increase in solid concentration, a linear increase in degradation of COD was observed. With pH values, a max-min condition was obtained, and biogas production increases up to 7, after which it reduces. By maintaining higher temperature inside the reactor, COD degradation can be achieved through which higher biogas can be produced with lower sludge. With higher % of co-digestion, i.e., adding poultry manure around 40%, higher COD degradation was observed. A min-max type of ridge surface was obtained between pH and temperature.

Fig. 7
figure 7

Surface plots for COD degradation

For COD degradation, the developed empirical model should be reduced by eliminating the nonsignificant terms identified from the ANOVA table of COD degradation. The actual coded equation obtained during analysis is given in Eq. (4), and the empirical model obtained after removing the nonsignificant term is given in Eq. (5).

$$ {\displaystyle \begin{array}{l}\mathrm{COD}=-29.8024+1.46203\ast \mathrm{SC}+11.08486\ast \mathrm{pH}+0.464206\ast \mathrm{Temp}\ \\ {}\kern3em +0.565055\ast \mathrm{CD}-0.04231\ast \mathrm{SC}\ast \mathrm{pH}-0.01826\ast \mathrm{SC}\ast \mathrm{Temp}\ \\ {}\kern3em -0.00072\ast \mathrm{SC}\ast \mathrm{CD}+0.033938\ast \mathrm{pH}\ast \mathrm{Temp}-0.02586\ast \mathrm{pH}\ast \mathrm{CD}\\ {}\kern3em +0.00189\ast \mathrm{Temp}\ast \mathrm{CD}-0.02004\ast {\mathrm{SC}}^2-0.80651\ast {\mathrm{pH}}^2\\ {}\kern3.25em -0.00529\ast {\mathrm{Temp}}^2-0.00809\ast {\mathrm{CD}}^2\end{array}} $$
(4)
$$ {\displaystyle \begin{array}{l}\mathrm{COD}=-29.8024+11.08486\ast \mathrm{pH}+0.464206\ast \mathrm{Temp}+0.565055\ast \mathrm{CD}\ \\ {}\kern3em -0.01826\ast \mathrm{SC}\ast \mathrm{Temp}+0.033938\ast \mathrm{pH}\ast \mathrm{Temp}-0.02586\ast \mathrm{pH}\ast \mathrm{CD}\\ {}\kern3em -0.80651\ast {\mathrm{pH}}^2-0.00809\ast {\mathrm{CD}}^2\end{array}} $$
(5)

3.3 Multi-objective optimization using desirability analysis

In RSM, for performing multi-objective optimization, all the responses are considered simultaneously using desirability analysis, a useful approach for optimization more than one response. The parameter setting achieving higher desirability value close enough to 1 was considered to be the optimum conditions, and the simultaneous objective function is a geometric mean of all responses. In this experimental investigation, the optimum input parameter setting was evaluated with the objective formulated as maximizing biogas production and maximizing COD degradation. The ramp plot given in Fig. 8 shows the optimum input values and the predicted output responses, which were solid concentration as 7.38, pH value as 7, temperature at 48.43 °C, and co-digestion as 29 which produces a biogas of 6344 and COD degradation of 38.

Fig. 8
figure 8

Ramp plot for desirability analysis

The desirability plot of the multi-objective optimization is shown in Fig. 9. Desirability is an objective function that ranges from zero outside of the limits to one at the goal. The numerical optimization finds a point that maximizes the desirability function. For several responses and factors, all goals get combined into one desirability function. The desirability value is completely dependent on how closely the lower and upper limits are set relative to the actual optimum. The overall desirability value is 0.94 for the combined objective, which is a good measure since it is nearer to 1.

Fig. 9
figure 9

Bar graph for desirability analysis

Once the optimum values of the input parameters were through multi-objective optimization, the consecutive step is to validate the optimum values and to verify performance characteristics of the optimized input parameters. Another set of experiment was performed by setting the above optimum input values with the same experimental setup, and the output responses were measured. Table 9 shows the RSM predicted and experimentally observed optimum response values and the corresponding percentage error during experimental validation of the developed models. It was observed that the maximum error is 4.93%. Hence, a close relationship is identified between the predicted and the observed values.

Table 9 Predicted and observed optimum values of responses

4 Conclusion

Experimental investigation on biogas production through degradation of poultry manure was done employing RSM-based optimization approach; the conclusions obtained from the analysis were as follows:

  1. 1.

    Food waste collected from the student hostel mess of NIT Calicut, India, was used for the experiments. The waste collected was shredded into particles to increase the surface area available for microbial activities.

  2. 2.

    The FTIR spectrum for food waste shows carboxylic acids such as formic acid, acetic acid, propionic acid, etc. and amine such as methane, ethane, etc. In addition to these compounds, methyl formate, diethyl ether, and nitromethane are also present in small quantity.

  3. 3.

    For biogas production terms, D, AC, CD, and C2 are significant model terms with an R2 value of 93%. Surface plot of biogas production shows a linear increase in biogas for increase in solid concentration, with increase in pH biogas production gets reduced, a concave surface was produced for temperature variation where up to 40 °C, biogas production increases and after that it tends to decrease. Similarly, nonlinear increase in biogas production is observed for an increase in co-digestion.

  4. 4.

    For COD degradation, B, C, D, AC, BC, BD, B2, and D2 are significant model terms with an R2 value of 95.92%.

  5. 5.

    Desirability approach produces a combined optimum condition as follows: solid concentration as 7.38, pH value as 7, temperature at 48.43 °C, and co-digestion as 29 which produces a biogas of 6344 and COD degradation as 38 with an overall desirability value of 0.94.

  6. 6.

    The maximum error % between RSM predicted and experimentally observed optimum response values was 4.93%, which proves the efficiency of the multi-objective optimization procedure.