1 Introduction

The increasing demand for starch from cassava (Manihot esculenta Crantz) has been generating tons of wastes during production (Ekop et al. 2019; Jha et al. 2013). It is estimated that 20–25% by mass of the cassava during starch production is discarded as cassava waste pulps (CWPs) (Ahou et al. 2019). For instance, in the Philippines, there is significant CWP generation considering the production of cassava of 773.15 thousand metric tons in 2019 (Mapa 2019). Among the industries that have difficulty in CWP disposal is the PhilAgro Industrial Corporation in Baungon, Bukidnon, Philippines with a daily generation of 100 tons CWP. In the global scene, CWP disposal is a common dilemma considering world cassava production of 291 million tons in 2017 (Otekunrin and Sawicka 2019). This percentage of CWP is inevitable, considering that starch has various uses in food industries, including food manufacturing and food establishments. As such, proper disposal of CWP is likewise inevitable to safeguard human health and the environment. The improper disposal of CWP would make nearby inhabitants at risk, especially in local areas due to possible pollution it would bring to water and air, and even results in soil degradation (Fawole and Ibikunle 2019). It may release foul odors and lead to pH dropping of water bodies up to 2.6—making aquatic organisms difficult to survive (Etta et al. 2019), and even give unwanted aesthetic views (Ochu and Okwori 2019). Additionally, cassava contains hazardous cyanide, a mutagenic and carcinogenic substance that makes CWP disposal more challenging.

Various approaches have been explored in utilizing CWP into value-added products such as surfactants, fertilizers, feed livestock, briquettes, and others (Oyewole 2019). Another value-added product is in the bio-energy area (Ekop et al. 2019), such as the production of bioethanol (Elemike et al. 2015; Srimuang and Polprasert 2019; Talemporos et al. 2018). An additional promising alternate route is the production of biogas from CWP to take advantage its high composition of starch (50–60%) in dry matter, and high moisture content (60–70%), a desirable state of CWP that allows favorable feeding of various microorganisms during anaerobic digestion (Akaracharanya et al. 2010; Cremonez et al. 2020; Jha et al. 2013; Panichnumsin et al. 2010). In the process, microorganisms break down organic matter into smaller molecules under anaerobic conditions starting from hydrolysis, acidogenesis, acetogenesis, up to methanogenesis (Srivastava 2020). In previous studies, anaerobic digestion produced biogas composing 50–75% methane, 35–40% carbon monoxide/carbon dioxide, 0–10% nitrogen, 0–1% biohydrogen, 0–2% oxygen, and 0–3% hydrogen sulfide (Balat and Balat 2009). Aside from the desired methane gas that dominated the biogas product, it is also worth working to explore the possibility of producing high-value components such as biohydrogen gas from CWP. As far as literature provides, no exhaustive study has been done that uses CWP as a raw material in the production of biogas. It has not been explored and optimized, a significant knowledge gap because operating conditions of the production might have synergistic or antagonistic effects in the yield, characteristics, and compositions of the biogas from wastes.

This work explores the use of CWP in the production of high-quality biogas through anaerobic digestion. It would pace forward in the crusade for renewable energy production worldwide that would eliminate debates on food versus fuel competition (Dale 2017; Valenti et al. 2018). It likewise embraces the need to elevate the biogas know-how, a technology introduced for more than three decades but not fully embraced and thus remains a topic of continuing concern, particularly its application in developing countries. Specifically, this work optimized the biogas volume via anaerobic digestion considering the effects of the concentration of pig manure (CPM) and biomass-water ratio (BWR) as chosen important variables. The widely used central composite design of the response surface methodology was employed with a criterion of maximizing biogas yield. The produced biogas was characterized to determine if high-value and desirable gases were generated during anaerobic digestion. Overall, this work addresses the call for a new alternate disposal route of CWP by making a valuable product—the biogas, a promising innovation that would give a share in answering the need for renewable resources.

2 Materials and methods

2.1 Collection and preparation of cassava waste pulps and pig manure

The cassava waste pulp (CWP) samples were collected from PhilAgro Industrial Corporation at Baungon, Bukidnon, Philippines. The samples were put in the icebox during transport to avoid the degradation of the biomass. In a very short time before experimentation, the samples were kept in the refrigerator at 20 °C. The pH of the CWP was measured using a pH meter (Yieryi, TPH01608, China), before the anaerobic digestion.

The fresh pig manure was collected from USTP farms at Ane-i, Claveria, Misamis Oriental, Philippines. It was added directly to the CWP biomass and the mixture was then loaded for anaerobic digestion.

2.2 Parametric study of biogas extraction

The initial range of values of the examined variables was based on recent literature: the concentration of pig manure or CPM (50, 100, 150, 200, and 250 gVS) as inoculum (Panichnumsin et al. 2010) and biomass-water ratio or BWR (1:1.1, 1:1.3, 1:1.5, 1:1.7 and 1:1.9 kg/L) where CWP biomass was held constant at 1 kg. A parametric study was done by taking the center of one variable as constant while varying the other one. The peaks in the graph of the examined variables were used as the centers (level 0) in the subsequent optimization study (Gumaling et al. 2018).

2.3 Experimental design and set-up of biogas extraction

The results of the parametric study were used in the design of the experiment that generated experimental runs via Design Expert 7.0 software. A total of 25 set-ups were made during the parametric study. Each set-up consisted of four pieces of plastic bottles connected in series. A bio-digester cap with 2 cm diameter was drilled, and the 46 cm plastic tubing was inserted carefully into each bottle. The plastic tubing connected the plastic bottles. The 1st bottle (fermentation vessel) contained the substrate, while the 2nd bottle (water vessel), filled with water and saturated with carbon, served as the product containment vessel. The displaced water in the second bottle was transferred in the 3rd bottle, while the 4th bottle served as a reservation space whenever much gases were generated, and displaced water could not be contained in the 3rd bottle. The 3rd and 4th bottles were both calibrated to monitor and measure the amount of the displaced water. All connections were sealed with rubber tubes and sealant to prevent leakages and made the whole bio-digester system airtight. Daily monitoring of the set-ups was observed throughout the duration of the experiment. The bio-digester was agitated daily to enable digestion to take place in the entire medium. The experimental set-up is best shown in Fig. 1.

Fig. 1
figure 1

Experimental set-up for the biogas production process

Foreign matters in the substrate were carefully removed before these were loaded into the digester. Before each run, the substrate was stirred for 5 min using a mechanical stirrer. Subsequently, the compositions of the substrate mixture that were set according to the experimental runs generated by the CCD were put into the bio-digester for 30 days of retention time under ambient room conditions.

2.4 Determination of product yield, and biogas compositions

The biogas yield was determined via water displacement, a method that determined the volume of the gas that filled the bottles. When biogas was produced, the built-up pressure pushed the water in the 2nd bottle to the 3rd bottle, thereby displacing the water and was replaced by biogas products. The volume of the displaced water was measured through the calibrated 6-L plastic bottle, and the data was used to estimate the equivalent volume of the biogas (Otaraku and Anaele 2020). The percent composition of gases that composed the biogas was analyzed through gas chromatography (HP-GC 78200) at Pilipinas Kao, Incorporated in Jasaan, Misamis Oriental, Philippines. Among the important compositions of biogas that were measured include methane, hydrogen, nitrogen, and carbon dioxide.

2.5 Statistical analysis, modeling, and optimization

Statistical analysis and modeling were done through the central composite design of the response surface methodology using Design Expert 7.0 software. The built-in analysis of variance determined a model that best fits the gathered data during batch experimentation. The percent biogas yield of the experimental runs underwent graphical modeling (3D model) to determine the interactive effects of CPM and BWR. By using the same software, numerical optimization was done and determined the optimum conditions that could result in the optimum volume of biogas as affected by CPM and BWR.

3 Results and discussion

3.1 pH of cassava waste pulps

The pH of the CWP of 6.4 ± 0.13 or nearly neutral is close to the favorable pH of 6.7–7.5 for biogas production (Adekunle and Okolie 2015). The near-neutral pH is suitable to produce biogas since methanogens use organic acids as the source of food, which leads to better fermentation activity (Jørgensen 2009). In this work, a more acidic environment might promote the production of biohydrogen (H2) because it would deactivate hydrogen-consuming bacteria (i.e., methanogens) in the process (Sriroth et al. 2015). The production of H2 gas has numerous advantages over the known methane product in biogas technology. Among the benefits include higher energy content on a mass basis, minor greenhouse emission during production, and a very environment-friendly by-product during combustion with only water vapor (Balat et al. 2008).

3.2 Parametric study result of biogas production

As shown in Fig. 2, the increase of CPM from 50 to 200 gVS results in an increasing trend of biogas yield from 4.2 to 7.63 L per kg of CWP, respectively. However, when the CPM is increased further, the biogas yield drops significantly.

Fig. 2
figure 2

Biogas yield from a kilogram of cassava waste pulps at a varied concentration of pig manure

The increasing trend is expected, considering that the increase of the concentration of pig manure as inoculum provides necessary microorganisms to initiate the digestion process (Rizwan et al. 2015). This means that the conversion of CWP to volatile fatty acids was minimized, considering that the digestion process took place immediately in the substrate with pig manure as inoculum. Without star-up microorganisms from pig manure, there might be a production of high concentration of volatile fatty acids that could cause inhibition to methanogenesis and would lead to anaerobic digestion failure (Rizwan et al. 2015). For optimization purposes of this work, the 200 gVS was set at the center value (level 0) of the design of the experiment.

Another important variable in anaerobic digestion is the ratio of the biomass and water (BWR) in the making of the slurry. This is important considering that the amount of water present in biodegradable waste affects and influences the biogas yield as it boosts the process of biodegradability of the substrate, which alters either in the increase or decrease of biogas yield (Babatola 2011; Jha et al. 2013).

The result of the parametric study with variable BWR at constant CPM (200 gVS), as shown in Fig. 3, reveals maximum biogas yield at 1:1.1 kg/L BWR (1 kg CWP, 1.1 L water). This result is congruent to a previous study that used a 1:1 ratio in the production of biogas using cow dung and water (Sambo et al. 1995). Further investigation of this previous study showed that 1:0.5 and 1:2 biomass (cow dung) to water ratio resulted in less biogas yield compared to a 1:1 ratio. Hence, the result of this study agrees on the literature cited. For optimization purposes, the 1:1.1 ratio was used as the center (level 0) of the design of the experiment.

Fig. 3
figure 3

Biogas yield from a kilogram cassava waste pulps at varied CWP biomass–water ratio

In the succeeding batch experiments to optimize biogas yield, the above-known center points were considered in the design of the experiment using the central composite design of response surface methodology. Particularly, the ranges of the two variables were as follow: CPM (100, 150, 200, 250, 300 gVS), and BWR (1:0.7, 1:0.9, 1:1, 1:3, 1:5 kg/L).

3.3 Batch experiment results of biogas production from cassava waste pulps

At variable CPM and BWR that were set according to the design of the experiment, the biogas yield varies from 4.90 to 7.30 L for every kilogram of CWP used (Table 1). The highest yield of 7.30 L per kg of CWP was obtained at CPM of 250 gVS and 1:1.3 BWR.

Table 1 Production of biogas from cassava waste pulps

The strong potential in the production of biogas from CWP is apparent, considering its huge volume discarded in the starch production area. For example, the PhilAgro Industrial Corporation, a starch processing plant in the Philippines, with a daily generation of 100 tons CWP, can potentially generate 490–730 thousand liters of biogas daily, a highly probable business in a large scale. When concerned industries embrace the potential of CWP for biogas production, such an act would contribute to the call for augmentation of renewable energy resources in the local, national, and global settings.

3.4 Modeling in predicting the volume of biogas

Based on ANOVA, a reduced surface quadratic model is most suited to predict the total volume of biogas from CWP with p-value of < 0.0001 (Table 2). There is strong evidence to build upon that biogas yield can be correctly estimated using the model equation derived from the experimental data gathered. There is only < 0.01% chance that an error could be committed in the calculation due to unpredictable data swings and variation from one value to another. Additionally, the lack of fit p-value of 0.2381 discloses no statistical significance relative to the pure error which supports the claim that the reduced quadratic model generated could accurately estimate the biogas volume when the values of the chosen variables are known. This reduced surface quadratic model equation is given in Eq. (1) where A represents CPM (gVS) and B represents BWR (kg/L).

$${\text{Biogas}}\,{\text{yield}}\, \left( \% \right) = - 10.3866 \, + \, 0.0559A \, + \, 16.8491B \, {-} \, 0.0001A^{2} {-} \, 6.4655B^{2}$$
(1)

Using Eq. (1), the biogas yield can be computed by plugging in the numerical values of A and B. Further, the ANOVA table reveals significant p-values of the terms (A, B, A2, B2) of Eq. (1) signifying its significant effects in the volume of biogas produced. Such effect of the terms to biogas yield can be determined through its numerical coefficient and algebraic sign that are both shown in the equation. The terms A and B have positive numerical coefficients signifying that when these two terms are taken singly, the increase of both CPM and BWR results in the increase of the volume of biogas. Of the two variables, the far greater numerical coefficient of BWR (16.8491) implies that this is a more influential variable than CPM with only 0.0559 numerical coefficient. On the significant square terms (A2 and B2), the equation reveals both negative numerical coefficients implying that the increase of the values of A and B would otherwise result in the decrease of the volume of biogas with B having greater numerical coefficient than A. Hence, it can be deduced that a peak volume of biogas can be derived at a certain spatial point of A and B because increasing the values higher would result in a decrease of the yield. This can be explained further in the parabolic 3D plot whereby optimum biogas yield peaks at observable points (Fig. 4).

Table 2 ANOVA of a reduced quadratic model of biogas yield from cassava waste pulps
Fig. 4
figure 4

3D plot showing the effects of the concentration of pig manure and biomass to water ratio on biogas yield

Based on graph modeling, a parabolic 3D is generated with a yield that peaks at high BWR and high CPM. Since it is parabolic, increasing further the values of the two variables after peak yield would gradually result in the decrease of biogas yield. This is a further explanation of the importance of the model equation with different signs of numerical coefficients. The increase of CPM, up to a certain point, results in the increase of biogas volume because of the buffering capacity and nitrogen source for the microorganisms to prosper, thereby stabilizing the anaerobic digestion process (Panichnumsin et al. 2010). Similarly, the increase of BWR, up to a certain point, results in a significant rise in yield up to an observable point, which implies that the mixing conditions were rightly chosen considering that a parametric investigation was carefully conducted before the actual batch experiment. Generally, the 3D plot emphasizes the interactive effects of the CPM and BWR in obtaining optimum biogas yield.

The reliability of the equation in estimating the biogas yield is further validated by the comparison of actual and predicted values (Table 3). It can be seen that the actual and predicted volumes of biogas are nearly equal. It proves the claim that the generated equation of the reduced surface quadratic model is robust and dependable in estimating the biogas yield.

Table 3 Actual versus predicted biogas yield from cassava waste pulps

The reliability of the model equation is further exemplified through the diagnostic graph of the actual versus predicted biogas yield (Fig. 5). The actual and predicted values are close to the trend line of the biogas yield. It supports the claim that the reduced surface quadratic model generated in this study is correct and reliable.

Fig. 5
figure 5

Diagnostic graph on the actual versus predicted biogas yield from cassava waste pulps

3.5 Numerical optimization and validation

The RSM suggested optimum conditions in numerical modeling analysis to attain theoretical biogas yield. Based on the analysis, the theoretical optimum yield of 7.43 L can be obtained at given optimum conditions: BWR 1:1.22 kg/L, and CPM 250 gVS. Actual experimentation conducted at given optimum conditions reveals a nearly equal biogas yield of 7.43 ± 0.058 L (Table 4). This further reinforces the reliability and accuracy of the reduced surface quadratic model with an insignificant percent error between the actual and theoretical yields.

Table 4 Comparison of theoretical versus validated biogas yield

3.6 Biogas composition

Results of the gas chromatography analysis of the produced biogas, as posted in Table 5, reveal the following percent compositions: carbon dioxide or CO2 (38.02 ± 0.71), nitrogen or N2 (20.77 ± 1.59), biohydrogen or H2 (18.69 ± 1.71), and a trace of methane or CH4 (0.73 ± 0.28). It is noted that the volume of H2 gas is higher compared to CH4 gas, a different result in typical biogas production with CH4 dominating the composition at 65% and only a trace amount of H2 concentration (Zhu et al. 2009).

Table 5 Biogas compositions according to gas chromatography analysis

Most likely, the produced CH4 during aerobic digestion, with the presence of H2O and under pressure in the airtight container, was converted to CO2 and H2 gases in the process called steam methane reforming or SMR (Kong et al. 2020). The presence of water that was purposely used to determine biogas volume by displacement in the 2nd container, by chance, served as water scrubber as it reacted the produced CH4 gas in the 2nd container. In here, the CH4 reacted with H2O and produced H2 and CO. After this, the CO was further converted into H2 and CO2. This is the reason that a high concentration of CO2 and H2 were detected from the collected biogas. The same reaction was proposed in related studies whereby a high concentration of H2 gas was produced during anaerobic digestion (Capa et al. 2020; Jechura 2015; Parente et al. 2020).

The production of H2 is looked-for considering the lower explosive limit (LEL) of 4% and the upper explosive limit (UEL) of 75% when compared to CH4 gas with 5% LEL and 15% UEL (Çeper 2012). Also, the calorific value of H2 (121–142 MJ/kg) is higher than that of CH4 (50–56 MJ/kg) (Rajpara et al. 2018). This result triggers a further investigation of exploiting CWP for optimum H2 production, thereby contributing to the emerging biohydrogen technology. Anaerobic digestion may be modified by exploring the effects of relevant variables such as pH, temperature, and light (e.g., dark fermentation). In this way, the use of CWP for H2 production may become the solution to the possible energy crisis in the future and the environmental problems faced by industries.

4 Conclusion

This study demonstrated the benefits of exploiting the potentials of cassava waste pulps (CWPs) for biogas and biohydrogen (H2) production. The concentration of pig manure (CPM) and biomass to water ratio (BWR) have significant effects on biogas yield, as revealed in the coefficient of the terms in the model equation generated. Optimum biogas yield of 7.43 ± 0.058 L per kg of fresh CWP was achieved at optimized conditions: CPM at 200 gVS and 1:1.3 kg/L BWR. Interestingly, the 18.69 ± 1.71% of the produced biogas is H2 that is formed via steam methane reforming, an attractive outcome because H2 is not only a high-value product but also environment-friendly biofuel with water as a by-product during combustion. Additionally, exploiting the CWP for biogas production would not only contribute to lessening the underutilized wastes but, more importantly, in its role in the current crusade of finding cutting-edge biofuel technology in the renewable energy sector. The outcome showed the immense potential of CWP for the production of valuable H2 gas, a desirable biofuel for various applications. Although the study provides good insights for the production of biogas with high H2 concentration, a further experiment that would optimize the yield of H2 via suitable technique, like dark anaerobic digestion, maybe explored to better exploit CWP for the production of high-value and environment-friendly H2 gas. Overall, the study provides novel technology of producing H2 gas at low-cost processing. The upshot of this work may serve as the basis of government instrumentalities to jump-start in the articulation of plans and innovative strategies that would lead to economic growth, environmental safety, energy sufficiency, and national security.