1 Introduction

In recent decades, the increased amounts of solid organic wastes have become a worldwide challenge as it creates alarming environmental concerns [1]. Landfills and/or open dumpsites are considered as the common practice for municipal solid waste (MSW) disposal all over the world. For instance, in the USA, 52.6% of MSW was discarded in landfills, in Brazil 59.1%, in the Kingdom of Saudi Arabia (KSA) 85%, in Malaysia 94.5%, and in China 79% [2]. Moreover, a particular attention should be paid with this regard to Tunisia where up to 95% of MSW is landfilled without any pretreatments which aggravates the situation in the country in terms of waste management issues, environmental, as well as socio-economic features [3]. Hence, the alarming situation of Tunisia makes the implementation of a sustainable waste management system a priority in order to reduce the caused environmental concern. In the same context, the actions taken by the European community are a model to deal with, as it increasingly moves from landfilling toward recycling and reuse [4]. In fact, since 2016, the directive in force comprises requirements for the reduction of waste amounts disposed in landfills, when member countries are not allowed to landfill more than 35% of biodegradable MSW to reduce any kinds of pollutant emissions [5]. In fact, the principal sources of emissions from landfill sites are as follows: the waste materials as they are brought onto site; emissions from transport; waste blown by the wind; dust generated from the landfill surface; landfill gas generated; and leachate formation [3] [6].

The lack of appropriate organic waste management in Tunisia not only poses problems in the landfill areas, but it also leads to a dead-end track with regard to the loss of the valuable organic residues which constitutes 68% of the total solid stream [7]. Since organic wastes contain high moisture content (MC), volatile solids (VS), and salinity (EC), any improper disposal practices will result in leachate and greenhouse gas (GHG) emissions and, in turn, to significant environmental concerns in one hand [8]. On the other hand, as the organic residues are considered as a valuable source of macro- and micronutrients including nitrogen (N), carbon (C), potassium (K), and phosphorus (P), inappropriate organic waste management implies not only environmental issues but also significant nutrient losses [9]. Thus, effective biowaste exploitation must receive adequate attention as it is the most appropriate technology to take advantage of the significant volume of biomass produced in the study area as well as to recover beneficial compounds exploited to enhance the natural material cycle [10] [11].

In this regard, anaerobic digestion (AD) is recognized as a well-established engineering concept ensuring the reduction of various streams of organics and reducing the GHG while producing sustainable energy [12]. However, several parameters should be considered as basic criteria to ensure the process progress. In terms of AD performance, substrate structure, moisture content (MC), carbon to nitrogen (C:N) ratio, soluble/insoluble solids, as well as macro- and micronutrient concentrations, and more particularly P and K, have to be carried out [13] [14]. While in terms of AD effluent quality, some hygienic precautions have to be taken. In fact, organic residues which embody meat or meat products, or which originate from livestock breeding, can contain pathogenic microorganisms that are of sanitary concern when applying AD digestate to agricultural land [15]. Thus, in the European Union (EU), pasteurization at 70 °C for 1 h is the defined standard for meat-containing wastes from food processing, food waste from households and restaurants, and slaughterhouse waste of animals which are then suitable to deliver products for human consumption such as biofertilizers [16] [17]. Moreover, several studies evaluate various approaches intending to examine the removal rate of pathogenic microorganisms achieved through thermal pretreatment [18]; chemical pretreatment such as ozonation; electro-technology such as pulsed electrical field or high-voltage discharge [19]; or physicochemical methods such as ultrasound technology, microwave irradiation, or hydrostatic pressure [20]; however, it should be mentioned that the thermal sanitization is most commonly applied. In this context, Zhang et al. (2020) tested the effect of pasteurization at 70 °C for 1 h on anaerobic treatment of various organics and revealed that the disinfection can positively impact the methane yield of some specific substrates, such as potato waste and animal blood, whereas pasteurization of food waste, cattle slurry, and card packaging had no significant impact on methane yield during anaerobic digestion [21]. Hence, to ensure a sustainable biological process as well as a highly qualified end-products, the selection of the appropriate biomass is challenging [22] [23].

When it comes to economic viability, treatment performance, as well as process capacity to manage different kinds of biowaste, anaerobic co-digestion (ACoD) seems to be the most advantageous solution relieving several environmental and energic concerns. As FW mono-digestion is often prone to acidification, ammonia, and long-chain fatty acid inhibition, the selection of suitable co-substrates is considered a key factor enhancing the stability of the process [24] [25]. In general, the choice of co-substrates for FW anaerobic treatment is done referring to their high buffering capacity, capacity on C:N ratio regulation, and the broad range of nutrients required by the methanogens, etc. [26] [27]. In this light, agricultural residues are considered as attractive co-substrates to be exploited for biological treatments and aerobic and anaerobic processes. Furthermore, based on the availability of agricultural streams in Tunisia as well as the appropriateness of biowastes to enhance FW anaerobic digestion, cattle manure (CM) and wheat straw (WS) are the most pertinent residues to be exploited [28].

On one hand, most of the studies focusing on FW-ACoD have been carried out using CM or WS separately [29] [30]. On the other hand, the co-digestion of manures and straws has been widely studied [26] [31]; however, few studies have considered the mixtures of the three substrates simultaneously by varying the mixture ratios, which is the first target of the current research work. Moreover, most of the previous work has been carried out under batch conditions [27] [32] [33]; while under such conditions, it is hard to determine the reasons causing the inhibition or failure of the process [34]. To this end, continuous mode is widely recommended to be able to evaluate the strength of the AD process by monitoring several parameters including the organic loading rate (OLR) [34]. As the latter is a pre-eminent factor in precisely controlling the efficiency of the process, the evaluation of OLR variation effects on the AD’s progress is the second target of the experimental work.

Numerous papers consider the ACoD of different kinds of biomass as a booster of methane yields, while few have focused on its effect on the digestate quality as well as its significant impact on the selection of the suitable post-treatment of the AD residue [26] [27]. So, to unlock the full sustainability potential of anaerobic treatment, both AD effluents and biogas and digestate have to be efficiently exploited [35]. Therefore, at the end of the experimental works, special attention is paid to the effects of substrate mixtures on the digestate characteristics collected from each reactor.

To sum up, the present research work aims to bridge the gap in knowledge related to the feasibility of biological treatment of different types of organic residues generated particularly in Tunisia as well as the anaerobic process stability. Thus, it critically evaluates the potential of ACoD of the dominant streams of biowastes generated in the studied area (i.e., FW, WS, and CM) by focusing on the impact of different mixing ratios, C:N ratio adjustment, as well as loading rate variations on key downstream AD effluents: biogas and digestate.

2 Overall concept

The research work was launched in the framework of “RenewValue project” aiming to optimize the exploitation of different types of biowastes: FW, WS, and CM. The overall concept followed in the project is illustrated in Fig. 1. To this end, the experimental work was fundamentally divided into two phases. During the first, the input materials (FW, WS, CM) were subjected to AD, while the second phase was assigned to the recovery of the by-products.

Fig. 1
figure 1

Conceptualization of the overall “RenewValue” approach

In this approach, the main target was the selection of the most effective mixing ratios of food and agricultural wastes as feedstocks of semi-continuous anaerobic digesters basing on volatile solid (VS) mass. The selection of the exploited biowaste was based on their availability, their efficiency to adjust the initial C:N ratio and improve the process performance, as well as their influence on the by-product’s characteristics: biogas and digestate [36]. Over the experimental work, pH was held without any rectification to evaluate its combined effect with the OLR variations as this might be the best way of roughly estimating real conditions on a large scale.

3 Materials and Methods

3.1 Substrates and inoculum selection

The main target of the experimental work was to treat biologically different kinds of organic residues which are generated abundantly in the study area. Therefore, the selection of biowastes had to be rigorous, particularly with regard to the quality of AD effluents such as biogas and digestate. To this end, two criteria were considered:

  • Biowastes availability in the selected study area: Tunisia

  • “Positive list” illustrating the end-of-waste characteristics for biodegradable waste subjected to biological treatment (compost and digestate) [37]

Accordingly, three kinds of organic residues were chosen as feedstock materials; FW was used as the main substrate, while CM and WS were exploited as potential co-substrates for semi-continuous ACoD.

3.2 Sample’s preparation

Food waste, which is mainly composed of rice, noodles, salads, and bread, was firstly gathered from the canteen of the University of Rostock, Germany. However, WS and CM were provided by a cattle farm in the vicinity of Rostock. To improve the mixture aspect, with reference to Ngan et al. (2020), physical pretreatments of WS and FW were carried out to reduce the particle size within the range of 15 to 25 mm using a lab blender type GRINDOMIX (Retsch GmbH, Germany) [38]. In fact, the size reduction of the feedstock, more particularly WS which is known by its high cellulose or lignin content, increased its solubility, enhanced the reduction of volatiles and solid content, and, in turn, boosted biogas production [39]. Once the physical pretreatment was achieved, WS and FW were stored in plastic airtight buckets kept at − 20 °C to stop any biological reaction.

The start-up of an anaerobic digester is significantly influenced by the quality of the inoculum used as it plays a crucial role in supplying the reactors with acclimatized microorganisms as well as the required trace elements (TEs) [40]. Therefore, to set a desired anaerobic start-up condition, the inoculum was collected from a biogas plant treating FW under mesophilic conditions. At the beginning of the process, the inoculum was held anaerobically at 37 °C for several days to minimize background biogas production.

3.3 Experimental setup

The experiments were carried out in mesophilic lab digesters with a nominal volume of 20 L. The digesters were conserved in climatic chamber with forced air ventilation to keep the reactor temperature under mesophilic conditions, around 38 ± 1 °C. An internal stirrer (anchor-type) was installed in each digester. Each was stirred for 5 min every 30 min at an approximate speed of 80 (rounds per minute) rpm. Reactors were equipped with inlet and outlet valves for feeding and digestate withdrawal. Except on weekends, the reactors received different mixtures of organic wastes twice per day. The hydraulic retention time (HRT) was maintained for 30 days [41], and the OLR ranged between 2.0 and 3.6 kg VS/m3.d with a stepwise of 0.4. Each tested set of parameters was performed in duplicate (Fig. 2).

Fig. 2
figure 2

Experimental scheme of ‘RenewValue’ approach

To ensure the preciseness of parameter measurement, VDI Guideline 4630 (2016) has been considered as a reference to achieve almost all the experimental analyses [42]. With regard to the gas volume measurement, it was carried out with micro-gas meter (Bergedorf fermentation test), the biogas which forms was routed to a micro-gas meter (type TG05, RITTER Mess Technik GmbH, Germany) whose central component was a rotatable hollow tilting cube of defined and calibrated volume. The electronic pulse created by tilting movement ultimately generated gas formation diagrams by means of a PC and measurement acquisition software. Moreover, the composition of the obtained biogas (CH4, CO2, H2S, and O2) was analyzed directly at the gas outlet of the devise. To this end, the headspace of each digester was analyzed every other day using a gas analyzer type EHEIM VISIT 30 (Eheim Mess Technik GmbH, Germany). When it comes to liquid sampling, a largely representative sample was obtained weekly ensuring triplicate analysis to validate the results. Therefore, samples from the digester content were taken once per week via the feeding port to examine total solid (TS), volatile solid (VS), volatile fatty acids (VFAs), alkaline buffer capacity (TAC), pH, and VFA:TAC ratio [42]. This latter was assessed as one of the process stability indicators which was weekly controlled to find out whether the OLR can be increased (Sect. 4.4).

3.4 Analytical methods

The substrates FW, WS, CM, and D (i = 1, 2, 3, 4) were characterized by measuring different physical and chemical parameters. Therefore, three representative samples were taken to identify different parameters. As such, MC, TS, and VS contents were determined gravimetrically following CENT/TS 14,744–1 (2009). In addition, C:N ratio and major and minor mineral content analysis of the whole substrates were determined in an external laboratory following the methods described in EN ISO 16,967 (2015) and 15,297 (2011), respectively (Table 1).

Table 1 Physical and chemical parameter measurements of biowastes opted for biological treatments

Regarding the operational parameters assessing the AD stability, weekly, VFAs, TAC, pH, and VFA:TAC ratio were determined using an automated titration unit type Titra-Lab 1000 (Hach instruments), centrifuging a digestate sample at 4000 rpm for 30 min to obtain a supernatant. Then, 5 mL of the latter was used for a titration with 0.1 mol/L sulfuric acid until they reached pH 5 and pH 4.4, respectively, in accordance with USEPA (1983). The volume of biogas was normalized to standard conditions comprising dry gas and standard temperature and pressure (0 ºC and 1 bar) according to the method described by Somashekar et al. (2014), the results of which are presented as norm-liters (LN).

4 Results and discussion

4.1 Physical and chemical characteristics of the feedstock material

The physical and chemical characteristics of the residues are summarized in Table 2. The moisture content was found to be approximately 74.0%, 88.5%, and 8.9% of the fresh matter, leaving behind dry matter contents of 26.0%, 11.5%, and 91.1%, with volatile solid contents of 94.2%, 77.4%, and 95.3% for FW, CM, and WS, respectively. Because microorganisms as well as AD systems have a certain demand for carbon and nitrogen in any growth environment, C:N ratios were evaluated for each substrate. In this context, several research works recommended an adjustment of the initial C:N ratio within the range of 20–40 [31] [29]. To this end, initially the C:N ratio of each substrate was determined to be 17.10 for FW, 25.64 for CM, and 78.08 for WS; this latter was marginally higher than the acceptable upper limit for AD [44]. Furthermore, minor minerals as micronutrients are considered as essential supplements for the methanogenic bacteria growth; therefore, mineral concentrations were also examined [45]. In this context, several researchers examined the effect of high or low trace elements’ (TEs) concentrations on AD performance and recommended a concentration range of 1 × 10−6 and 1 × 10−15 M is considered as an optimal one [46] [47]. Accordingly, certain minor elements such as copper (Cu), cadmium (Ca), lead (Pb), and zinc (Zn) [48], as well as some major constituents such as phosphorus (P), potassium (K), and magnesium (Mg) [47], were monitored. In this light, Vintiloiu et al. (2012) evaluated the limit concentration of various trace elements and revealed that several trace elements and macronutrients have a strong statistically significant effect on the stability of the biogas process, particularly iron and cobalt, as it is considered as microorganism growth boosters [49].

Table 2 Physiochemical characteristics of the raw materials

4.2 Effect of co-substrate addition on start-up conditions of FW-AD under a stable OLR

In the current research work, FW, WS, and CM were initially analyzed to examine carbon and nitrogen concentrations of each substrate (Table 2). In fact, the identified C:N ratio of different organic materials depicts that the abundance of nitrogen contents, particularly for FW and CM or the carbonaceous aspect of WS, makes those residues unsuitable for anaerobic mono-digestion [50]. Therefore, different substrates were combined at different ratios to balance the C:N ratio greater than or equal to 20 in compliance with the results of Zahan et al. (2017). Subsequently, for a rigorous evaluation of the regulated C:N ratio effects, a constant OLR of 2 kg VS/m3.d was kept during the acclimatization phase to assess the potential of ACoD process. Starting with digesters fed with FW as a mono-substrate (i.e., FW100), it was characterized by a C:N ratio of 17.10, while higher C:N ratios marked the reactors including co-substrates, to rise from 17.10 to 20.03 for FW75CM25, 33.28 for FW75WS25, and 31.64 for FW60CM20WS20. However, it is worthy to mention that despite the diversity of the raw materials used in terms of carbon and nitrogen content, balanced C:N ratios for all the trials within the requested range of 20–40 were noted [51]. Thus, from a physicochemical valuation, the mixture of food and agricultural wastes seems to be a good option to overcome one of the most challenging AD inhibition factors: feedstock C:N ratio [44][44], expecting more performant process. Thereafter, when it comes to the technical side, the volume of biogas and methane yields produced from each feedstock were monitored under a stable OLR of 2 kg VS/m3.d, including the mono-digested FW which was considered as a blank test or a reference to determine the impact of additional co-substrates. Table 3 summarized the effect of feedstock mixtures on the start-up conditions as well as the entire process stability evolution and illustrated that 62.07%, 27.16%, and 25.45% of improvement in terms of specific biogas yield (SBY) marked FW75CM25, FW75WS25, and FW60CM20WS20, respectively. This progress ascertained the positive effect of the adjusted C:N ratio for all the mixtures on the biogas productivity and outlined more particularly the significant enhancement owing to CM addition [53]. However, even though all the co-digested mixtures were characterized by an initial C:N ratio within the optimal range for a performant AD progress, the nature of the introduced co-substrates played a critical role in terms of process efficiency [26]. In fact, the poorest improvement of biogas production marked the reactors characterized by a C:N ratio higher than 30 and more particularly contained WS [31] [54]. It might be due to the complicated lignocellulosic structure of WS making it hardly degradable by the anaerobes, and, in turn, lower SBY improvement characterized both FW75WS25 and FW60CM20WS20. The current results were in accordance with the findings of Hassan et al. (2017) revealing that the optimal range of C:N ratio for ACoD of WS should not exceed 30 to ensure a good progress of the biodegradation [31]. Additionally, Zahan et al. (2018a) identified the effect of both nitrogenous and lignocellulosic residues on anaerobic reactor productivity including also FW as a main substrate and pointed out the significant influence of the initial C:N ratio balancing in terms of microorganisms progress and AD effluent quality [29]. Furthermore, as previously mentioned, under the same experimental conditions, FW75CM25, which was characterized by a C:N ratio of 20.03, generated the highest SBY compared to the other feedstocks. Although the identified C:N ratio of FW75CM25 was slightly high compared to FW C:N ratio (17.10), an enhancement of the process performance in terms of both biogas and methane productions was significant reaching around 62% and 52% of SBY and SMY improvements, respectively. Therefore, certainly, a balanced utilization of nitrogenous and carbonaceous components is required to improve the AD performance, but further elements are also needed to boost the microbial community development and functioning [55]. In this light, Fermoso et al. (2019) stated that acetogens and methanogens are more significantly influenced by the availability of some required trace elements (TEs) to ensure an efficient functioning which might explain the tendencies of SBY generated by digesters including CM as an effective provider of essential micro- and micronutrients [48] [56]. In the same context, Vintiloiu et al. (2012) analyzed the effects of various micro- and macronutrients on the AD process stability and reported that Ni, Mo, and S had a consistent statistically significant effect, while no statistically significant effect could be shown for Fe, Co, and Na. Accordingly, the relative high contribution of CM in terms of S and Ni contents reaching 6.91 mg/kg TS and 0.5% of TS, both higher than FW and WS’ contents, validated the significant potential of CM to boost the anaerobic treatment efficacity [49]. The same findings were reported by Nordell et al. (2016) confirming that manure is one of the most eminent substrates for biogas production as it stabilizes FW anaerobic processes by contributing the nutrients and TEs needed by the microbial community, particularly methanogens [56]. Hence, under a constant OLR, even if a relatively acceptable range of C:N ratio was applicable, which is the case of FW100, a performant process is ensured by mixing different types of biowastes, ensuring the supply of the deficit of further components needed by the coexistent microbial community [45].

Table 3 Effect of mixing substrates and C:N ratio regulation on start-up conditions

4.3 Effect of co-substrate addition on FW-AD performance under variable OLRs

4.3.1 Specific biogas yield

To evaluate the effects of co-substrate addition on FW-AD under variable OLRs, this latter was increased, every 2 weeks, with a rate of 0.4 to range from 2.0 to 3.6 kg VS/m3.d. Starting with mono-digested FW (FW100), digesters generated around 414.2 LN/kg VSin at an OLR of 2 kg VS/m3.d, while at 2.4 kg VS/m3.d, SBY attained 561.05 LN/kg VSin, and 35.45% of biogas improvement was noted. However, with a continuous rise of OLRs, a decline of SBY was logged to fall to 384.9 and then to 310.6 LN/kg VSin for 2.8 and 3.2 kg VS/m3.d, respectively. Those results were in conformity with several findings examining mono-digested FW and pointed out that an OLR range of 2 to 2.5 kg VS/m3.d was deemed as optimal to improve the overall system performance in terms of stability, productivity, and efficiency [45] [57]. Nevertheless, with the continuous feeding of the digesters, FW100 was marked by a failure causing a decline in terms of biogas production at an OLR of 3.6 kg VS/m3.d (Fig. 3). This was explained by the inappropriate atmosphere caused by FW properties and particularly to the relatively low C:N ratio which hindered the anaerobes growth [55][55]. Hence, mono-digestion of FW is more resistant with moderately low and constant OLRs [58], and basing on the current findings, 2.4 kg VS/m3.d was the optimal OLR ensuring a performant development of the process for FW100. When it comes to the potential of co-substrates to improve FW-AD progress, Fig. 3 illustrated that CM and WS influenced positively the biogas productivity; however, the noted improvement depended significantly on the mixing ratios of the feedstock. For instance, at an OLR of 2.4 kg VS/m3.d, the increase of SBY was slightly considerable for the reactor comprising WS, as the improvement ranged between 13.88 and 39.89% compared to FW100, in the order of FW75WS25 (13.88%) < FW60CM20WS20 (23.20%) < FW75CM25 (39.89%). Therefore, it is worthy to mention that the addition of CM to FW60CM20WS20 and FW75CM25 created a more suitable environment for the microorganisms functioning in order to consume efficiently the available organic materials [59]. By increasing the OLR to 2.8 kg VS/m3.d, a significant improvement in terms of biogas yield marked almost all the digesters to be around 51.67%, 66.75%, and 91.26% for FW75WS25, FW60CM20WS20, and FW75CM25, respectively, compared to FW100. Hence, the results ascertained the potent of CM to boost the AD performance with an increased OLR. Moreover, compared to the previous OLRs, 3.2 kg VS/m3.d was considered as optimal for almost all the co-digested materials, as peaks in terms of SBY characterizing almost all the digesters were notable (Fig. 3). FW75WS25, FW60CM20WS20, and FW75CM25 produced 564.1, 638.0, and 709.8 LN/kg VSin, respectively, corresponding to 83.5%, 103.4%, and 130.9% of improvement. However, even with an increased OLR higher or equal to 3 kg VS/m3.d, FW60CM20WS20 and FW75CM25 generated relatively comparable biogas volumes, whereas FW and WS mixture did not. In fact, this latter could not be only due to the hardly degradable cellulosic material, because although FW60CM20WS20 included relatively the same fraction of WS comparing to FW75WS25 and more significant process progress marked the digesters with three substrates: FW, WS, and CM. Accordingly, the effectiveness of CM in terms of digester productivity, under fluctuated loading rates, was one more time highlighted. Similar results were identified by Zahan et al. (2018) who demonstrated that the combination of FW with chicken litter guaranteed higher process stability and biogas production than FW mixed with lignocellulosic residue mixtures [60]. Reaching higher OLRs, some indicators of reactor inhibition appeared, and almost all the reactors witnessed a drop of biogas production at 3.6 kg VS/m3.d. In fact, the decline of biogas production was expected as it was a direct effect of the overloaded digesters followed by an accumulation of volatile acids and then a subsequent process failure (Sect. 4.5).

Fig. 3
figure 3

Specific biogas yields of different mixtures at different organic loading rates

4.3.2 Specific methane yield

The above results depicted that under variable OLRs, anaerobic co-digestion of FW showed an enhanced biogas production, while Fig. 4 illustrated that different specific methane yield (SMY) tendencies were recorded for some feedstock mixtures. At the beginning of the process, SMY improvements were 22.09%, 30.29%, and 51.65% for FW75WS25, FW60CM20WS20, and FW75CM25, respectively. However, by increasing the OLR to 2.4 kg VS/m3.d, a slight decline was noted for FW60CM20WS20 and FW75WS25, which generated 17.13% and 18.01% lower methane volumes comparing to FW100. In fact, this drop in terms of methane was explained by the abundance of ready degradable FW components to be rapidly consumed by anaerobes and converted into methane compared to lignocellulosic materials which necessitate more time. Otherwise, a significant enhancement in terms of SMY marked subsequently FW75CM25, outlining the positive impact of the adjusted C:N ratio, and more particularly, it ascertained the relevance of nitrogen-rich residues to boost the methanogens’ growth and productivity [61]. However, at an OLR of 2.8 kg VS/m3.d, SMYs attained were 103.03%, 33.96%, and 24.83% for FW75CM25, FW60CM20WS20, and FW75WS25, respectively, reaching 161.34%, 90.83%, and 73.92% at an OLR of 3.2 kg VS/m3.d. This latter was considered as the optimal OLR ensuring higher methane yielded from all the co-digested materials.The rise of the OLR to 3.6 kg VS/m3.d was followed by a drop of SMYs to 93.83%, 30.23%, and 50.20% for FW75CM25, FW60CM20WS20, and FW75WS25, respectively. Accordingly, FW60CM20WS20 and FW75WS25 showed lower SMY improvement compared to FW75CM25, which was explained by the rise of TS contents linked to the decline of VS contents, implying in turn limited methane yields [62]. Whereas for risen OLRs, FW75CM25 showed optimal rendering, which was a result of the buffering capacity of manure as well as the presence of some TEs required to stimulate the activity of enzyme and co-enzymes for better biogas production [45] [63] (Sect. 4.4).

Fig. 4
figure 4

Specific methane yields of different mixtures at different organic loading rates

4.4 Effect of co-substrate addition and variable OLRs on FW-AD process stability

During the current research work, several parameters were selected to be considered as inhibition indicators for monitoring the process failure of FW-AD including VFAs, TAC, pH, and methane content [64]. In addition, some coupled parameters, such as the ratio between VFA and alkalinity was examined by several researchers as reliable early warning and regulation systems, and then it was determined to opt for OLRs increasement effects [65] [66]. However, when comparing the tendencies of the controlled parameters, it must be pointed out that the proposed factors were only valid under certain conditions, operating under a stable and relatively low OLR; some parameters might have different sensitivities to environmental fluctuations in different AD systems [67]. In fact, at an OLR of 2 kg VS/m3.d, the identified alkalinity concentrations from different reactors were almost stable, even for mono-digested FW which depicted a slightly higher TAC concentration of around 21,815.00 mg CaCO3/L comparing to FW75CM25 (21,470.00 mg CaCO3/L) and moderately lower TAC values measured for digesters including WS, 22,615.00 and 23,419.00 mg CaCO3/L for FW75WS25 and FW60CM20WS20, respectively (Table 4). The obtained values of TAC might be explained by the positive effects of physically pretreated FW and WS on the digestion of biomass, particularly during the acclimatization stage. When it comes to VFA tendencies, different values ranged between 4382.00 and 6010.00 mg/L, where the highest volume of acids marked FW100. It was explained that, during the start-up phase, VFA formation was directly affected by the variable chemical composition of the feeding mixtures [60]. Unexpectedly, FW100 was characterized, initially, by a significant VFA concentration as well as a relatively high alkalinity, which might be linked to the nature and the primary characteristics of the organic residue [63]. Additionally, with regard to FW100, the balance between the significant concentrations of VFAs and TAC served to regulate the initial value of pH around neutral range which was habitually beneficial for methanogens growth [68]. However, focusing on SMY profile, mono-digested FW produced the lowest volume of methane compared to co-digested feedstocks which ascertained the important role played by the co-substrates in terms of biogas composition enhancement. Table 3 illustrated that approximately 52%, 22%, and 30% of methane yield improvement marked FW75CM25, FW75WS25, and FW60CM20WS20, respectively, and confirmed the positive impact of agricultural residues on FW anaerobic co-treatment. Thus, C:N ratio and macro- and micronutrients balancing ensured by co-substrate addition boosted the development of methanogenesis phase and, in turn, affected the methane production efficiency [55]. The same findings were figured out by Zahan et al. (2018) revealing that the combination of FW, manure, and straw strengthened the process development and intensified the functioning of methanogens, once the initial C:N ratio was lower than 30 [29]. Certainly, the control of VFAs, TAC, and pH values was to some extent useful to evaluate the process performance, but the interlink between those different early warning indicators was effective to comprehend the effect of FW-ACoD under a stable OLR.

Table 4 Anaerobic process performance during OLR variation

When it comes to OLR variation, VFA:TAC ratios were identified to evaluate the effects of the risen loading rates in order to optimize this latter for different feedstocks’ mixtures. Once the OLR rose from 2 to 2.4 kg VS/m3.d, VFA:TAC ratios fluctuated between 0.19 and 0.29 which was within the acceptable range, allowing the increase of the loading rate for all the operated digesters [64]. Table 4 illustrated that, at an OLR of 2.4 kg VS/m3.d, VFA concentrations varied slightly from 4913 to 3533 mg/L for FW75CM25 and 4823 to 4564 mg/L for FW60CM20WS20. While under the same operational conditions, a considerable increase to 5182 mg/L was identified for FW75WS25, followed by a significant drop to 3758 mg/L and, thereafter, by a quick VFA accumulation that persisted until the end of the process. Hence, the identified VFA tendencies indicated that, during the overload period, FW75WS25 was characterized by an imbalance between the acid-forming phase and methane-forming phase to digest the accumulated fatty acids which was in line with the changes seen in CH4 yield [69]. Meanwhile, a continuous decrease of TAC was examined for both FW100 and FW75WS25 which was explained by the nature of the feedstock mixtures characterized by a low rate of nitrogen source. For instance, John Wiley (2003) reported that the alkalinity is the effect of the proteinaceous substance’s degradation affirming the high alkalinity recorded for the digesters comprising CM [70]. In fact, feedstocks’ mixtures including CM and WS separately, added as co-substrates to FW anaerobic reactors, depicted a significant divergence in terms of alkalinity tendencies ranging from 21,470 to 15,532 mg CaCO3/L for FW75CM25 and 23,419 to 9353 mg CaCO3/L for FW75WS25, which further ascertained the potential buffering capacity of CM, under variable OLRs. Despite the divergence in terms of VFA and alkalinity fluctuations, the VFA:TAC ratio seemed to be stable only during the start-up phase, affirming the steadiness of the process for OLR of 2 kg VS/m3.d and 2.4 kg VS/m3.d. However, once the OLR exceeded 2.8 kg VS/m3.d, a rise of VFA:TAC above 0.3 was identified for all the digesters indicating that an overloading of the digesters occurred, especially from 3.2 kg VS/m3.d [71]. Moreover, attaining an OLR of 3.6 VS/m3.d, a significant increase of VFA:TAC ratio was identified for almost all the reactors to peak at 0.61, entailing the inhibition of the process and the decline in terms of biogas and methane yields. While VFA:TAC ratio remained lower for digesters containing CM, it reached 0.37 at the end of the process, which was not considered as a limiting value of inhibition. Same results were shown by Brambilla et al. (2012) demonstrating that with well-balanced combinations of biowastes, AD process is sustained in terms of biogas production and methane content, even for VFA:TAC ratios up to 0.5 [67]. On one hand, it was explained by the considerable buffering capacity of CM, which also contributed, to a certain extent, to the maintenance of FW60CM20WS20 progress compared to FW75WS25. On the other hand, it might be due to the potential of CM to supply some TEs required to strengthen the development of methanogens and boost consequently the methane generation [64]. In this context, Yazdanpanah et al. (2018) revealed that an enhanced FW anaerobic treatment was noted owing to the influence of iron (Fe), cobalt (Co), nickel (Ni), selenium (Se), and molybdenum (Mo) to intensify the activity of enzymes in methanogens [72]. Furthermore, working under the same operational conditions, Karlsson et al. (2012) showed the positive impact of TE addition on the degradation efficiencies of VFAs as well as on microbial populations using lab-scale reactors treating FW and fed semi-continuously at a hydraulic retention time (HRT) of 30 days which might explain the stability of digesters including relatively high concentrations of TEs. Hence, the productivity of methanogens was straightly related to both substrates’ mixtures, from a qualitative angle, and the organic loading of the reactors from a quantitative angle (Figs. 3 and 4). However, it should be mentioned that it is still a challenge to develop an appropriate TE supplementation strategy. Evidently, either a direct approach which consisted of TE additions or indirect one via co-digestion, the divergence of the feedstock characteristics caused considerable discrepancies in the literature with respect to the levels of optimum TEs needed.

As methanogens are significantly sensitive to pH fluctuations, a continuous pH monitoring was carried out. In fact, this latter was definitely influenced by the behaviors of both VFAs and TAC, as alkalinity is considerably required to sustain the pH within the desired range (6.8–7.8) for microbial growth and alleviate VFA accumulation simultaneously. Therefore, during the start-up period, pH was 7.20, 8.12, 8.20, and 8.16 for FW100, FW75CM25, FW75WS25, and FW60CM20WS20, respectively. While for OLRs ranging from 2 to 2.8 kg VS/ m3.d, pH tended toward neutral values for FW100 and FW75WS25 (Table 4). Indeed, the identified pH values were suitable to promote the microbial growth for efficient activity at low OLRs for co-digested FW and WS. However, from an OLR of 3.2 kg VS/ m3.d, an acidification of the reactors occurred causing a drop of pH to around 6. For instance, the maintenance of optimized hydrolytic enzymes’ activities at an acidic pH of around 6 might cause VFA accumulation entailing a reduction of methanogens’ activity and, in turn, a drop of SMY [55]. Focusing on reactors comprising manure, higher pH ranges were obtained to fluctuate around the neutral range during the whole anaerobic process for both FW75CM25 and FW60CM20WS20, which was due to the highly buffering capacity of the added manure providing the microbial communities with an ideal atmosphere for development [73]. However, it should be mentioned that pH variations did not give any useful index with reference to ACoD performance, as the measured values varied around neutral ranges for all the co-digested materials under different OLRs and did not change significantly, even when the process was stressed. To this end, pH adjustment was not always the most appropriate solution to guarantee a performant process, which validated the selected option (no pH regulation during the process). Hence, the combination of different inhibition indicators was crucial for reliable process monitoring. Several researchers have revealed that the follow-up of different factors was more suitable for applications as early warning indicators, particularly for AD of FW [64][64][64]. As the ideal indicators were universally unpredictable, it is essential to supply the necessary information with regard to the initial feedstock mixtures and operational conditions, as well as the concerned study area, in order to guarantee a high-performing and sustainable process.

4.5 Process performance vs digestate quality

Apart from effective decomposition of the biowaste, it is also crucial to pay attention to AD effluents: biogas and digestate. So, to unlock the full sustainability potential of the process, the by-products need to be efficiently exploited [35]. With regard to the digestate use, certain criteria are required to decide whether digestates can be spread out directly on soil after digestion or if further upcycling processes are needed before utilization [76]. Therefore, full analysis of each digestate collected from different digesters was achieved. Table 4 summarized the physiochemical characteristics of D1, D2, D3, and D4, which were gathered from FW75WS25, FW60WS20CM20, FW100, and FW75CM25, respectively. The definition of agronomic value is very challenging; there is not a specific quality indicator of each digestate produced from different feedstock mixtures. Therefore, the evaluation of several parameters was needed. Initially, pH was identified for all the AD residues, and it was clear that pH ranged around the neutral value, which was beneficial for digestate exploitation [37]. Indeed, low pH values boost the heavy metal (HMs) solubility and then cause phytotoxicity issues, thus preventing a direct land application [76]. As one of the steering factors, MC was first identified where a high water content of around 97% marked all the digesters. In practice, important moisture can cause certain concerns such as odors, cost-intensive transport, and hard storage facilities [77]. Therefore, a pertinent selection of further criteria was selected as a guide to better understand how to deal with that liquid AD effluent. Accordingly, pH, C:N ratio, and macro- and micronutrients were additionally measured. As carbon and nitrogen are the most important constituents of organic matter, the carbon to nitrogen rate was evaluated [36]. Indeed, FW100 and FW75CM25 were characterized by lower C:N ratios at around 8.53 and 8.45, respectively, which was related to the effect of the initial feedstock’s characteristics. Both FW and CM were initially relatively rich in nitrogen; then, the total nitrogen was converted by the microbial community into soluble forms and conserved in the digestates D3 and D4. Nevertheless, higher values were considerable for reactors included WS to be about 9.51 for FW60WS20CM20 and 12.97 for FW75WS25. As the latter resulted from a biological treatment of hardly degradable biomass, it featured a residual organic element such as lignocellulosic compounds, which enhanced the tenor of carbon in both of D1 and D2. Even though FW60WS20CM20 and FW75WS25 were characterized by a relatively close initial C:N ratio, the generated digestates were qualified by significantly different C:N values as a consequence of the different chemical compositions of the mixtures as well as the impact of manure addition in terms of nitrogen conversion during the AD [76]. However, it should be mentioned that the rate of nitrogen ammonification has to be assessed, as it can lead to potentially phytotoxic digestates preventing a direct land application; then, digestates with higher nitrogen concentration might be phytotoxic and require a post-treatment. Moreover, the nitrogen rate is always associated with potassium (K) and phosphorus (P) concentrations, as the fertilizing effect is mostly influenced by the bioavailability of essential nutrients (N, P, K). Then, the concentrations of P and K were checked to be, on average, around 3 and 4% of TS for all the digestates. The same findings were reported by Beggio et al. (2019) who suggested that for such ranges of P, a digestate post-treatment is needed to increase the phosphorus concentration (Table 5) [78].

Table 5 Characteristics of the gathered digestates

Further factors can be harmful to the environment. The pH level is important to determine innocuousness as it controls the behaviors of metals which are detrimental for soil [17]. Therefore, guidelines are usually established on the total content of heavy metals. Table 6 showed the digestates’ characteristics in terms of heavy metal contents as well as some guidelines proposed by the European commission for digestates designed for agricultural use. Indeed, in order to sustain metabolic activity of the cell, some TEs such as Cd, Cu, Hg, Ni, Pb, As, and Zn are required.

Table 6 The limits of total metal contents with reference to the European commission [17] [79]

Table 6 illustrated that zinc (Zn) was the most abundant trace element, followed by copper (Cu) and nickel (Ni). However, D2 and D4 were characterized by a relatively high rate of TEs, which was due to the initial contribution of CM, particularly in terms of Zn, Cu, and Ni. As methanogenesis is one of the most trace element–enriched enzymatic pathways in biology, the intensive concentrations of certain TEs in digesters, including manure such as FW75CM25 and FW60CM20WS20, were predictable from the SMY recorded (Fig. 5). Some researchers have reported that the trace element requirements depend on the used substrates as well as the methanogenesis demands [45][45]. Moreover, special attention was paid to cadmium (Cd), as it is relatively soluble on soils, readily consumed by crops, and then is toxic to humans [80]. However, the collected digestates were characterized by acceptable Cd concentrations, which were below the requested ranges. As the treated biomasses were initially characterized by low contents in terms of heavy metals, the examined digestates were also outlined by heavy metal concentrations below the limits imposed by the European Standards.

5 Perspective

This research work aimed, essentially, to handle various types of biowastes abundantly generated in Tunisia using biological treatments. Therefore, aerobic and anaerobic processes were carried out simultaneously (Fig. 1) to take advantage as much as possible of the selected organic wastes and upcycle efficiently the obtained AD slurry. In fact, starting with anaerobic process, the mono-digestion of FW implied as a first step an alarming concern in terms of process performance as well as AD effluent quality. To this end, overcoming FW-AD failure was ensured by agricultural residue addition, enhancing SBY, SMY, as well as digestate quality. However, this latter created the second AD issue which consisted of the generation of a huge volume of the AD slurry which required a huge consumption of energy to achieve an efficient post-treatment such as sanitization or nutrient recovery restricting the effectiveness of the anaerobic treatment. Hence, digestate upcycling became a priority to unlock AD sustainability. When it comes to aerobic digestion, a significant quantity of fresh water was required to supply the composters treating FW and WS, which might cause a further issue for a semi-arid area such as Tunisia, suffering from water shortage. Thus, to meet simultaneously the concerns occurring during aerobic and anaerobic processes, digestate was opted to be upcycled in a cost-effective way and exploited as an unconventional moisturizing agent in one hand and as a composting process booster in the other hand.

6 Conclusion

To efficiently manage organic residues and unlock the full sustainability of AD potential, this research work aimed to develop quantitative relationships between the physical properties of the different types of organic residues abundantly generated in Tunisia. Therefore, a closed cycle “biowaste to bioenergy” treatment, mainly of food waste, was examined. To this end, ACoD of food and agricultural residues was examined. To this end, ACoD of FW, CM, and WS were examined under semi-continuous conditions. Steering parameters were monitored such as variable substrates’ mixture ratios, adjusted C:N, and increased OLRs. Results showed that the most appropriate operational scenario was a feedstock ratio of FW:CM = 75:25 and operating at an OLR of 3.4 kg VS/m3.d. However, with regard to FW100, FW60CM20WS20, and FW75WS25, lower biogas and methane yields were recorded. This might be due to the relatively high initial C:N ratio for digesters comprising WS and the use of untreated raw materials. However, the latter suited the operational conditions required by the project. For sustainable biological treatments, special attention had to be paid to the efficient recovery of both AD effluents: biogas and digestate. Therefore, digestates were collected from different anaerobic reactors to be characterized in order to determine how AD residues might be effectively upcycled. Therefore, additional works were achieved to evaluate the post-treatment of the generated effluents.