Introduction
In Pakistan, the mismanagement of organic waste, particularly from the agricultural and livestock sectors, is a public health and environmental concern that requires sustainable waste management solutions. [1] Anaerobic digestion (AD) has emerged as a promising technology for organic waste treatment and the production of biogas and biofertilizers. However, traditional AD systems face the limitations of process stability and less productivity due to single-stage and mono-digestion approaches. Single-stage AD systems may not perform optimally, particularly under high organic loading rates or fluctuating feedstock conditions, resulting in process instability and reduced biogas production [2, 3]. Similarly, mono-digestion of particular feedstock, e.g., fruit and vegetable waste (FVW), can be challenging due to their high biodegradability and potential to produce acidic substances, potentially inhibiting the digestion process [4].
Recent developments in AD technology, such as phase separation and co-digestion of different substrates, offer potential advantages to address these limitations. Two-stage AD systems provide high process stability and efficiency by separating the hydrolysis and methanogenesis stages, optimizing biogas production [5, 6]. This phase separation helps to maintain a stable environment in reactors through pH control, VFA balance, and a high rate of methanogenesis. As a result, complex organic matter is converted into carbon dioxide, hydrogen, and VFAs in the acidogenic reactor, and easily biodegradable compounds are converted into carbon dioxide and methane in the subsequent methanogenic reactor. Furthermore, phase separation offers a better survival environment for maximal enzymatic activity in the microbial community.
Previous studies demonstrated that co-digestion techniques, such as mixing two or more substrates, improve system performance and biogas output by improving nutritional balance [7]. Co-digestion of FVW with cattle manure is a well-studied phenomenon that optimizes microbial activity and improves the growth rate of methanogens due to the high moisture content and readily biodegradable organic matter in FVW. In addition, it dilutes ammonia concentrations from cattle manure, thus reducing the toxicity in a bioreactor. This synergistic interaction enhances biogas production through co-metabolism and high biodegradability of organic matter [8-10]. This study aims to comparatively analyze the single-stage and two-stage AD systems under uncontrolled and controlled mesophilic temperature (37°C). It further aims to optimize the two-stage AD process at mesophilic temperatures and to estimate the biogas potential in Pakistan by using the results of a highly optimized process.
Materials and Methods
Experimental Setup
A single-stage and two-stage AD system was designed and operated with an organic loading rate (OLR) of 3 gVS L-1day-1, a flow rate of 0.5 L/day, and a hydraulic retention time (HRT) of 10 days. The first setup (S1) of single-stage AD was analyzed under uncontrolled environmental temperatures. This digester was operated in an open environment with seasonal temperature fluctuations ranging from 20-35ºC, while the second (S2) was maintained at a controlled temperature of 37ºC. In comparison, the two-stage AD was also studied at environmental (S3) and controlled temperature (S4) conditions.
Stainless steel reactors with a working volume of 5 L were designed with three openings for feeding, effluent removal, and N2 sparging to create anaerobic conditions. To start the experiments, 3 L of a developed and degassed inoculum was added. After sealing, the reactors were flushed with nitrogen gas to establish anaerobic conditions. Daily feeding began with a slurry mixture of substrates in water to a final volume of 0.5 L, the flow rate for all single-stage anaerobic co-digestion reactors. No effluent was removed for the first 4 days to reach a working volume of 5 L. Afterward, 0.5 L of effluent was removed daily, maintaining the same feeding rate to keep a constant volume.
In two-stage AD, the partially digested effluent from the acidogenic reactor was used to feed the methanogenic reactor. Gases, including H2, CO2, and volatile fatty acids produced in the acidogenic reactor, were also transferred to the methanogenic reactor for methane production. The acidogenic and methanogenic reactors were connected via a catheter bag to transfer gases from the first reactor to the second. The methanogenic reactor was connected to 2-3 catheter bags to collect the total biogas. Volatile fatty acids (VFA) and alkalinity were examined weekly using titration [11]. The pH of both reactors was checked daily before feeding.
Determination of Biogas and Methane Contents
Biogas was collected in sterile catheter bags (2 L) attached to digesters through gas outlet openings. Once a steady state was achieved, methane levels in the biogas were determined by passing it through a 3 M sodium hydroxide (NaOH) solution. The NaOH solution acted as a cleaner, absorbing CO2 and some H2S from the biogas.
The solution was prepared and filled in 200 ml reagent bottles up to 100 ml. The bottles were sealed with rubber stoppers or cork with two metal tube openings (for inlet and outlet) to prevent air from getting in or out. One bottle opening was connected to the reactor to collect biogas, and the other to the gas-collecting catheter bag for methane capture. The entire reactor setup was then purged with nitrogen gas (N2) for about 5 minutes to create anaerobic conditions in the reactors.
Analytical Methods
The total solids (TS) and volatile solids (VS) contents of cattle manure, FVW, and effluents were determined by oven drying at 105ºC for 24 hours, followed by ignition at 550ºC for 16 hours in a muffle furnace. Total Nitrogen (TN) contents were assessed using the Nitrogen (total) Cell Test, a spectrophotometric method [12]. Carbohydrate contents were analyzed using the phenol– sulfuric acid method [13], while proteins were assessed using the Lowry method [14]. Lipid concentrations were analyzed using a single-step method [15], and chemical oxygen demand (COD) was determined using a semi-automated colorimetry method [12].
Estimation of Total Volatile Fatty Acids and Alkalinity
The effluent’s VFA and alkalinity were calculated every 7 days to check the reactor stability, and the results were determined according to APHA Standard Methods [12].
Alkalinity (mg CaCO3/l) = A × N × 50000
× Sample Volume A = ml of acid consumed to titrate the sample from the actual pH to 4.3, N = Normality of the acid used (mg/L), VFA (mg/L) = B×N×50000×Sample Volume, B = ml of base (0.1 NaOH) used to titrate sample from pH 3.5 to 7, N = Normality of the base used (mg/L).
Statistical Analysis
A one-way analysis of variance (ANOVA) was employed to determine the difference in the mean levels of biogas production across all four anaerobic digesters operating in a steady state. Additionally, the one-sample T-test was performed to determine the difference in the COD of digesters’ influent and effluent waste.
Results and Discussion
Properties of Substrate
The total solids (TS%) and volatile solids (VS%) of cow manure were measured at 22.12% and 15.61%, respectively, as shown in Table 1. Previous studies reported a TS range of 20 to 42% for cow manure, which can be attributed to differences in sample collection and handling procedures before the TS measurement. The presence of urine can notably increase the moisture content in manure, thereby reducing its TS content [16].
The FVW used in this study was collected from the main cafeteria of Quaid-i-Azam University, Islamabad. The TS and VS content of FVW were determined to be 11.21% and 10.53% of the total weight, respectively (Table 1). Although this study did not specifically measure TS values for individual food waste types, literature values were used to estimate TS for blended fruit and vegetable waste [17].
The total carbon content in FVW (52%) was found to be significantly higher than that in manure (26%), and a similar trend was observed for the total nitrogen content. The carbon-to-nitrogen (C/N) ratio, calculated as 16.3 for FVW and 25.6 for manure, provides essential insights into the biochemical characteristics of these waste materials, which are crucial for optimizing their management and utilization, as demonstrated by previous studies [18].
Biogas Production in Single-Stage AD at Different Temperatures
In the first setup (S1) of single-stage AD under uncontrolled environmental conditions, the maximum biogas production was observed at 1.78 NL/day after one retention time. A steady state was reached on the 21st day, with total biogas production reaching 1.86 L and daily production stabilizing at 1.63 NL/day. The methane yield at steady state, determined by passing the gas through a 3 M NaOH scrubbing solution, was 1.27 L/day and 1.15 NL/day, yielding 0.077 NL/g VS, which represents approximately 68% of the total biogas produced (Table 2). The observed decrease in biogas production due to temperature fluctuations highlights the sensitivity of methanogens to temperature changes. A direct correlation between temperature and biogas production was observed, where higher temperatures resulted in increased biogas production [19, 20].
Table 1.
Characteristics of the substrates.
In the second setup (S2) with a controlled temperature of 37ºC, biogas production increased significantly at the same OLR. Initial production was 1.8 L on the first day, gradually increasing to a steady state of 3.03 L/day and 2.67 NL/day at standard temperature and pressure (STP). The steady-state methane content was 1.99 L/day and 1.75 NL/day at STP, with a methane yield of 0.117 NL/g VS, which is notably higher than in S1. While the total methane content was slightly lower at 65.5%, the controlled temperature led to faster degradation and increased biogas production (Table 2). The enhanced biogas production at a controlled mesophilic temperature can be attributed to optimized microbial activity, particularly among methanogens, which are highly sensitive to temperature shifts, as supported by Singh et al. [21] and Wang et al. [22].
The substantial enhancement in biogas production at the controlled mesophilic temperature of 37ºC could be directly associated with optimizing microbial and enzymatic activity, predominantly among methanogens, which are highly sensitive to temperature fluctuations. The increase in biogas yield from 1.69 NL/day in S1 to 2.67 NL/day in S2 demonstrates the crucial role of temperature in promoting microbial metabolism. The increase in biogas production is correlated with the higher metabolic activity of methanogens at the optimal temperature of 37°C.
Overall, biogas production at standard temperature and pressure in single-stage digestion was 1.69 NL/day for S1 and 2.67 NL/day for S2, with yields of 0.113 and 0.178 NL/g VS per liter of reactor per day, respectively. This indicates a 36% increase in production under the controlled mesophilic temperature of 37°C compared to uncontrolled temperature. Previous studies also demonstrated an enhancement in biogas production under controlled mesophilic temperature [23, 24].
Biogas Production in Two-Stage AD at Different Temperatures
Two-stage AD significantly increased biogas production compared to single-stage AD at both environmental and controlled temperatures. At steady state, biogas production in the two-stage system was 3.42 L/day (3.01 NL/day), with a methane yield of 0.134 NL/g VS, constituting 66% of the total biogas produced. This represents a 44% increase in biogas yield compared to single-stage digestion at environmental temperature and an 11% increase compared to single-stage digestion at controlled temperature (Fig. 1(a-b)).
Under controlled temperature conditions of 37ºC, a gradual increase in biogas production was observed, reaching 4.2 L/day (3.74 NL/day) with a yield of 0.250 NL/g VS. Methane production was 2.84 L/day (2.5 NL/day), yielding 0.167 NL/g VS (Table 2). This represents a 55% increase over single-stage digestion at environmental temperature and a 29% increase compared to single-stage digestion at controlled temperature. An analysis of variance (ANOVA) confirmed a significant effect of controlled temperatures and phase separation on biogas production, F(3, 0) = 0.987, p<0.001, with a significant difference between groups (M = 0.987, SS = 2.961).
Table 2.
Biogas production and COD reduction rate at steady state.
Fig. 1.
a) Biogas production in different anaerobic digesters under environmental and controlled temperatures (37ºC), b) Biogas yield during anaerobic co-digestion of cattle manure with food and grocery waste under environmental and controlled temperatures (37ºC). * a = significantly different than the adjacent bar (p<0.05), and a, b = significantly different than all bars (p<0.05).

The two-stage system’s observed increase in biogas production can be attributed to several factors. Phase separation enhances hydrolysis and acidogenesis in the first stage, creating optimal conditions for methanogenesis in the second stage. Previous studies demonstrated that the compartmentalization of the AD process allows more efficient substrate utilization and conversion of VFAs into methane [25, 26]. In addition, the microbial activity in the methanogenic reactor was improved due to optimal temperature [27-29].
The maximum biogas production observed at a controlled mesophilic temperature of 37ºC was 4.2 L/day, which correlates directly with the increased microbial activity facilitated by this temperature. It also correlates with the enzymatic activity of microorganisms, which is maximum at 37ºC and decreases with temperature fluctuation [30, 31].
Stability of Bioreactors in Single-Stage and Two-Stage AD
The bioreactors were continuously monitored to assess process stability by measuring pH, VFA, and alkalinity. In single-stage AD, VFAs were found to be significantly higher in concentrations, with values of 3200 mg/L at environmental temperature and 2250 mg/L at a controlled temperature (37ºC). At the same time, alkalinity levels were 1560 mg/L and 1500 mg/L, respectively (Table 3). The VFA-to-alkalinity ratio ranged from 1.5 to 2.1, indicating high VFA accumulation and low methanogenesis rates [32].
In two-stage digestion, VFA concentrations in the acidogenic reactor were high at environmental temperature and low at controlled temperature. VFA concentrations were significantly reduced in the methanogenic reactors, indicating effective conversion of intermediates into methane, thereby contributing to overall stability and efficiency. Previous studies also demonstrated that improved stability is likely due to the separation of acidogenesis and methanogenesis stages, which allow for the more effective control of process parameters [33].
Reduction in Total Volatile Solids (VS) and Chemical Oxygen Demand (COD)
Total reductions in VS and COD were more substantial in two-stage AD compared to single-stage digestion. In single-stage reactors, VS reductions were 58% and 65%, while in two-stage digestion, reductions were 69% and 83%. Similarly, COD reductions were 67.5% and 70.2% at environmental and controlled temperatures, respectively, for single-stage digestion. In contrast, phase-separated digestion achieved COD reductions of 66.8% and 85.4% under similar conditions (Table 2). A one-sample t-test confirmed a significant difference in COD values between initial and post-digestion states, highlighting the enhanced efficiency of two-stage digestion at controlled temperatures.
Table 3.
Steady-state performance of digesters in terms of stability.
Overall, phase-separated AD processes show greater efficiency in reducing organic matter, with optimal performance at controlled mesophilic temperatures, achieving up to 85% COD reduction and 83% VS reduction. These findings highlight the advantages of two-stage systems in enhancing stability and efficiency by separating acetogenesis and methanogenesis processes, also described by Ding et al. [34].
Estimation of Bioenergy Potential in Pakistan Using Two-Stage AD
The following calculations determined the approximate biogas potential in Pakistan from animal manure, specifically cattle and buffaloes, and FVW, utilizing the results of this study of biogas yield obtained by two-stage AD at a controlled temperature (37ºC).
Approximately 92.54 million tons (30% of the total manure from all animals) [35].
Total generated manure = 768,000 tons/day
= 768,000,000 kg/day
If we suppose the collection rate is about 70% with
a 30% margin, then it is 768,000,000 × 0.70
= 537,600,000 kg/day.
According to this study’s findings, the moisture content in cattle manure is approximately 77.86%, while the VS constitutes 70.56% of the TS; these values were used to calculate the TS and VS of the substrate.
TS = Weight before drying − Weight after drying
TS = 537,600,000 − (537,600,000×0.7786)
= 119,904,000 kg/day
VS = TS×VS of TS
VS = 119,904,000×0.7056 = 84,661,478.4 kg/day b) Total FVW generated in Pakistan
Approximately 13.674 million tons (13,674,000,000 kg/year), of which almost 30% goes to waste due to transportation issues and mismanagement of temperature maintenance, etc. [36].
Total FVW wasted = 13,674,000,000
× 0.30 = 4,102,200,000 kg/year
If we suppose the collection rate is
about 70% with a 30% margin
4,102,200,000×0.70 = 2,871,540,000 kg/year
= 7,867,074 kg/day
According to this study’s findings, the moisture content of FVW is approximately 88.79%, while the VS constitutes 93.97% of the TS; these values were used to calculate the TS and VS of the substrate.
Total Solids = 7,867,074 − (7,867,074
× 0.8879) = 873,115.67 kg/day
VS = 873,115.67×0.9397 = 819,259.88 kg/day
Total biodegradable waste from manure and FVW
= 84,661,478.4+819,259.88 = 85,480,738.28 kg/day c) Biogas and electricity production potential in
Pakistan
The biogas yield in two-stage AD was 0.250 m³/kg VS with a methane content of approximately 66%; these values were used to calculate Pakistan’s biogas and electricity generation potential.
Biogas potential = 85,480,738.28 ×
0.250 = 21,370,184.57 m³/day
Methane gas potential = 21,370,184.57
× 0.66 = 14,109,723.22 m³/day
The energy potential from biogas can be calculated based on an energy content of 6.0 kWh per cubic meter of biogas [37]. For a daily biogas production of 21,370,184.57 m³, the total calorific energy produced amounts to 128,220,586.4 kWh/day. Considering a biogas-to-electricity conversion efficiency of 35% [38], the daily electricity generation potential would be 44,873,205.24 kWh/day or 44,873.21 MWh/day of electricity, highlighting the substantial energy production capacity from biogas in this context.
Pakistan’s agriculture and livestock sectors produce large quantities of FVW and animal manure, which are suitable for biogas technology implementation. This technology’s flexibility, from small-scale digesters in homes to large industrial facilities, makes it feasible for application across the country.
The study has the limitation of field validation of these experiments, which is attributed to the limited resources and time constraints faced during the research project; however, future studies could address this gap by incorporating field data and pilot-scale investigations. The Pakistani government should thoroughly assess the feasibility and applicability of two-stage anaerobic co-digestion technology in different regions where there is a need for alternative energy sources. This evaluation should include estimating local waste availability, infrastructure, and environmental conditions to ensure the technology is optimally suited to specific geographic and socio-economic conditions [39].
Conclusions
Two-stage anaerobic digestion (AD) significantly enhances biogas production and organic matter degradation at controlled mesophilic temperatures, offering more stable performance compared to uncontrolled conditions due to the improved enzymatic activity of methanogens. Maintaining digester stability is critical, with temperature, VFA, pH, and alkalinity being key factors. There is a need to study the long-term impacts of varying temperature regimes on microbial communities and biogas yields, alongside optimizing feedstock selection and pretreatment methods. Furthermore, microbial communities with high performance in the AD process should be considered for future studies.