Introduction

Lignocellulosic biomass is an abundant and renewable resource mostly composed of polysaccharides and lignin [1, 2]. Indonesia is one of the largest palm oil producers countries in the world [3, 4]. It produced 37.97 million tons of crude palm oil (CPO) in 2017 which increased to 42.87 million tons in 2019 [5]. The fruit bunches consists of 21.8% oil, 6% kernel, 14.3% mesocarp, 7% shell, and 22.5% oil palm empty fruit bunches (OPEFB) [6, 7]. Accumulation of OPEFB can have a negative impact on the environment if this is not suitably managed [5, 8, 9]. OPEFB could be utilized as a source of renewable energy [8] and value added chemicals production. Its benefits include the fact that it is produced throughout the year and as it is considered a waste has a low cost and carbon footprint [10] OPEFB lignocellulose is comprised of cellulose (24–65%), hemicellulose (21–34%) and lignin (14–31%) [9, 11]. Due to the complexity and recalcitrance of its lignocellulose, to fully utilize the biomass, pretreatment is necessary to make the constitutive polymers more accessible [12, 13] through changing both the physical and chemical structure. Biological pretreatment utilising enzymes [14] is considered to be safer, less energy consuming and more environmentally friendly than other forms of pretreatment [14,15,16,17]. The use of lignin degrading microbes also shows promise as the microorganisms can convert the lignocellulosic polymers into simple compounds through enzymatic activity in both aerobic and anaerobic conditions [18]. A fungal pretreatment of 5 weeks at 30 °C was shown to be capable of simultaneously degrading the recalcitrant interlinked structure of lignin, cellulose, and hemicellulose [19]. The brown rot fungus Serpula lacrymans has been identified as one of fungi most capable of modifying lignin [20,21,22]. It is thought to act through a combination of enzymes and the Fenton reaction to produce hydroxyl radicals capable of depolymerizing lignin [23, 24]. The activity of such microorganisms can release various economically important chemicals compounds including sugars, organic acids, and phenolic derivatives [25]. The products that can be generated from lignin include aromatic aldehydes (vanillin, p-hydroxybenzaldehyde, dan syringaldehyde) and hydroxycinnamic or phenolic acids (vanillic acid, ferulic acid, and p-coumaric acid [26, 27]. Vanillin can be produced through bioconversion using microbes from ferulic acid, eugenol, isoeugenol [28, 29], guaiacol [30], and lignin [26, 30, 31]. The use of lignin for vanillin production is more environmentally friendly compare to guaiacol [30]. However, due to the complexity structure of lignin, the separation of vanillin from other lignin degradation products is still to be effectively resolved [32] although organic solvents such as ethyl acetate can separate bioactive compound such as vanillin [33, 34].

The biorefinery concept envisages the production of value added products and energy from biomass feedstock [35]. The concept being the complete utilization of all lignocellulosic components and other plant components to produce various biobased products and to convert the low value remaining elements to energy if no other more valuable use can be found [36]. The efficient use of all such lignocellulose biomass is important if a sustainable biorefinery model is to be developed [37]. Combining different processes can increase the efficacy of the entire process through reducing energy consumption and the environmental impacts [38, 39]. In this study, fungal treatment of lignocellulosic OPEFB was used to release lignin components and the remaining residues were tested for their potential for biogas production via anaerobic digestion (AD), which is recognised as one of the most sustainable means to remove organic matter from the waste streams [40] through converting residual biomass into renewable energy [41]. Various studies have reported that biomass pretreatments can enhance AD performance. Previously it has been shown that the pretreatment of OPEFB with Trichoderma reesei resulted in increased methane yields and a 60–75% higher biodegradation efficiency without any additional energy input or undesired by-product inhibition [42].

The objective of this study was to investigate the production of vanillin as an example of a value-added chemicals produced from degradation of lignocellulosic OPEFB and to demonstrate that the residue following its extraction the waste biomass can be utilized as a substrate for biogas production using as measured using Biochemical Methane Potential (BMP) test. Therefore, it demonstrates the implementation of an integrated biorefinery system could be implemented through the sequential bioconversion of OPEFB.

Materials and Methods

Feedstock, Fungal Strain, and Inoculum

The OPEFB was obtained from PT Sawit Madani, Blitar, Indonesia. OPEFB was dried in the sun for 48 h and chopped (0.5–1.0 cm), then put 10 g in honey jars and 10 mL of distilled water was added. The samples were then double sterilized at 121 °C for 20 min each time to ensure no other microbes were present. The pure culture of S. lacrymans was supplied by Laboratory Bioindustry, Department Agroindustry, Universitas Brawijaya and maintained in malt extract agar (MEA) at 22 ± 2 °C. Agar plugs with mycelia were added to barley grain to produce inoculum (grain spawn). Anerobic digestate for use as this inoculum was obtained from anaerobic digestion plant at Balai Besar Penelitian Peternakan (BBPP), Batu City, Indonesia. The inoculum was filtered through a 60-mesh sifter to separate dirt or large particles. The filtrate then was degassed for 48 h at 37 °C before being used for BMP test.

Pretreatment and Aqueous Extraction

The sterilized of OPEFB jars were inoculated with 0.2 g S. lacrymans grain spawn of and incubated at 22 ± 2 °C for 42 days. The aqueous extraction was conducted to determine the amount of total reducing sugar and total soluble phenols. The incubated samples were analyzed for sugar and phenols released at every 7 days. For aqueous extraction, 100 mL of distilled water was heated to 80 °C, then added to each inoculated sample and shaken at 150 rpm for 1 h. The jars were subsequently emptied separately into fine muslin netting and the extract sample was filtered again using Whatman filter paper No.1. The filtrate was used to measure total reducing sugars (TRS) and total soluble phenols (TSP), while the residue was subsequently used for vanillin analysis and as the substrate for BMP testing.

Physical and Chemical Characterization

Physical and chemical characterization was carried out on non-treated and fungal treated samples of OPEFB. The physical analysis measured water content, ash, total solid (TS) and volatile solid (VS) based on the NREL (National Renewable Energy Laboratory) method [43,44,45]. The chemical analysis included lignin and cellulose analysis, proximate analysis, elemental analysis (CHNS) and calorific value (CV).

Lignin and cellulose content were measured every 7 days during the 42 days of cultivation. This was carried out according to Anderson and Ingram [46], using the Tropical Soil, Biology and Fertility (TSBF) Program method. Elemental analysis was calculated to estimate the methane production potential according to the the Buswell equation [47].

Total Soluble Phenol (TSP), Total Reducing Sugar (TRS), pH, and Weight Loss Analysis

Total soluble phenols (TSP), total reducing sugars (TRS), pH and weight loss were also measured every 7 days over the 42 days period. Both TSP and TRS was carried out using UV–Vis spectrophotometer (Thermo Scientific type Genesys 10 UV). TSP measurement was conducted according to Singleton and Rossi [48] and used Folin-Ciocalteu reagent, while the TRS method refers to Miller [49] and uses 3,5-Dinitrosalicylic acid (DNS). pH was measured using a digital pH meter, calibrated using pH standard solution at 4 and 7 [50] and weight loss calculated using the oven drying method [51]. Each sample was analysed in triplicate.

Scanning Electron Microscope (SEM) Analysis

The morphology of non-treated and pretreated OPEFB samples were compared using scanning electron microscope (a NanoSEM-FEI Nova 200, type Inspect-S50, Hillsboro, Oregon, USA) analysis using a range of magnifications. The OPEFB samples were fixed to a carbon tip and placed on a sputter coater (mini sputter coater EMITECH type SC7620, Laughton, East Sussex, UK) for the vacuum coating process to prepare the samples for SEM.

Vanillin Identification

Vanillin extraction was carried out using 100 mL ethyl acetate. The solid cake from aqueous extraction was weighed and placed into a conical flask and heated in a shaking water-bath at 30 °C; 150 rpm for 2 h. The residue was then filtered and centrifuged at 13,000 g at 4 °C for 10 min. The filtrate was evaporated using a rotary evaporator (RV 10 control, IKA, Goteborg, Sweden) at 40 °C, 100 rpm. LC–MS/MS (Thermo Scientific Triple Quadrupole MS TSQ Quantum Access Max) analysis was carried out according to Deepa and Dhepe [52] and Tešević et al. [53] using a Hypersil Gold C18 column (2.1 mm × 50 mm × 1.9 m) to determine the vanillin content quantitatively by comparison to a standard. The column heater was set at 30 °C with 0.1% formic acid in water and 0.1% formic acid in acetonitrile (ACN) as the mobile phases. The mobile phase flow rate was maintained at 0.5 mL/min and the injection volume was 1μL. The retention time used was 0–5.5 min. The column was controlled at 30ºC, and the autosampler compartment was set to 16ºC.

Biochemical Methane Potentials (BMP) Test

The estimated methane produced during the experiment was measured using the BMP test [54] to study the methane formation potential in OPEFB residue after extraction for vanillin analysis. BMP test was carried out over 28 days at 37 °C in a water bath. 140 mL bottles with a working volume of 40 mL were used. Blank control samples (inoculum only), positive control samples (α-cellulose and inoculum), sample A (OPEFB non-treated and inoculum), and sample B (pre-treated OPEFB and inoculum) were used for the assay. All the samples were carried out in triplicate. Samples A and B in the form of a mixture of residual and inoculum samples were added to each reactor with a 6:1 ratio of inoculum to substrate (I/S ratio) based on the VS. Gas pressure was measured daily using a Digitron 2026P (Electron Technology, UK). The methane potential is the amount of methane produced on a daily basis. It was calculated using the following equation:

$$BMP = \frac{{V_S - V_B \frac{{m_{IS} }}{{m_{IB} }}}}{{m_{VS,sS} }}$$
(1)

where, BMP is the normalization methane volume (m3 CH4/kg VS); VS is the mean value of accumulated methane volume from reactor (with substrate and inoculum); VB is mean value of methane volume from the reactor with inoculum only (blank sample); mIS is the mass of VS of inoculum added in the sample; mB is the mass of VS of inoculum added in the blank sample; and mVS,sS is the mass of substrate added in the reactor.

The cumulative biogas volume, cumulative methane volume, and specific methane potential were subsequently calculated. Cumulative biogas volume was obtained from the accumulated results of pressure measurements per day to obtain the average gas pressure. Calculation of cumulative biogas volume based on the equation as follows [55]:

$$Biogas\,volume{ }\,(mL) = { }\frac{(P \times Vol \times V_m )}{{(R \times T)}}{ }$$
(2)

where P is bottle headspace pressure (kPa); Vol is bottle headspace volume (mL); Vm is molar volume of ideal gas (22.414 Lmol−1); R is ideal gas constant (8.314m3 Pa K−1 mol−1); and T is incubation temperature (K).

The methane concentration used to calculate specific methane potential (SMP) was the value obtained from calculation using the following Buswell equation [47] which based on the elemental analysis:

$$C_c H_h O_o N_n S_s + 1/4\left( {4c - h - 2o + 3n + 2s} \right)H_2 O = 1/8\left( {4c - h + 2o + 3n + 2s} \right)CO_2 + 1/8\left( {4c + h - 2o - 3n - 2s} \right)CH_4 + nNH_3 + sH_2 S{ }$$
(3)

where C, H, O, N, S is the fraction weight or percentage of the element weight based on VS; and c, h, o, n, s are the moles of each element. The theoretical methane was used as an assumption of methane percentage in biogas to determine the daily methane volume where the assumption that biogas only consists of methane (CH4) and carbon dioxide (CO2). Biogas and methane potentials or called specific biogas potential (SBP) and specific methane potential (SMP), indicated the volume of biogas and methane per gram of organic matter. The SBP and SMP values can be calculated using Eq. (1) based on Strömberg et al. [56].

Stastistical Analysis

The result data was analyzed by one-way analysis of variance (ANOVA) using SPSS version 16.0 software. The significance test and level of treatment were tested using a Duncan Multiple Range Test (DMRT). Mean and standard deviation (error bars) were calculated using Microsoft Excel software. The tests were carried out in three replicates with a confidence level of 95%. The Cronbach's alpha reliability test was performed using SPSS version 16.0 to evaluate the reproducibility of the BMP experiment in this study. The acceptable values of Cronbach’s alpha range from 0.70 to 0.95 [57].

Results and Discussions

Characteristics of OPEFB Before and After Pretreatment

The characteristic of OPEFB before and after pretreatment was determined using proximate analysis in which water content, ash content, total solid (TS), volatile solid (VS) and other parameters were measured (Table 1). The water content of OPEFB slightly increased after pretreatment. According to Aghdam et al. [58], a high water content in the substrate can increase methane production as the high water content of substrate can support the movement of microbes, dissolve nutrients for the assimilation of microorganism, dilute inhibitory compounds and limit oxygen transport. The ash content of OPEFB before pretreatment and in the residue were 0.25% and 0.26% respectively. A higher ash content of biomass indicates a low level of substrate digestibility because biomass contains non-volatile parts.

Table 1 The physico-chemical characteristics of non-treated and pretreated OPEFB

TS and VS values decreased in pretreated OPEFB, this is presumably due to the degradation in the OPEFB following fungal culture as it has initiated breakdown of the complex structure and therefore more organic components are released [59,60,61]. The value of fat, protein and carbohydrates are indicators of the presence of precursors of inhibitory compounds, such as long chain fatty acids and ammonia [62]. The amount of carbohydrate in both non-treated and the pretreated samples were 77.21% and 79.93% respectively. While the number of proteins were 4.35% and 6.89% and fat contents were 9.71% and 3.52%. According to Ohemeng-Ntiamoah and Datta [63], samples which contain high amount of fats (> 60%) produced more biogas than samples with higher protein and carbohydrate. However, samples with high amount of carbohydrate (> 60%) have a faster biogas production rate. Samples which contain high amount of fat and protein in the substrate can inhibit the production of biogas.

The calorific value test aims to determine the amount of energy produced per unit mass on the OPEFB as a substrate. In this study the value of CV in both samples were 11.88 and 9.71 MJ kg-1TS. Theoretically the calorific value was obtained from a calculation using the Boie formula (Table 1). The theoretically value of CV obtained is in accordance with a previous study by Solarte-Toro et al. [64], where the CV of its lignocellulosic biomass ranged between 17-20 MJ/kg. According to Ilminnafik et al. [65], a high calorific value will result in the high production of methane gas (CH4), while a low calorific value will lead to higher carbon dioxide (CO2) production.

C/N ratio is an indicator of the potential to produce methane gas by microorganisms. The C/N ratio of non-treated samples of OPEFB was higher than pretreated OPEFB (Table 1). The optimum C/N ratio for AD process is between 20–30 [66]. If C/N ratio is above 30, methanogenic bacteria will consume more nitrogen to meet their need to produce protein, therefore it will react with carbon in substrate [67]. However, if carbon content is too high, then the degradation process will take longer [68], and this will result in lower biogas production. Therefore, in most biogas production facilities which use lignocellulosic biomass, livestock manure is mixed with the biomass to produce allowing the ideal C/N ratio.

Evaluation of Lignocellulose Degradation From OPEFB

The breakdown of OPEFB lignocellulose by the fungus S. lacrymans is indicated by a change in specific parameters, including increases in total soluble phenol (TSP), total reducing sugars (TRS), pH, and weight loss over 42 days (Fig. 1). The increased availability of organic compounds resulting from lignocellulose degradation will also stimulate fungal growth which results in the absorption of some of the lignocellulose breakdown products by the fungus [69,70,71]. The quantification of phenols released from the substrate during cultivation is therefore one of the strongest indicators of breakdown by the fungus as these are not reabsorbed. The value of TSP was observed to increase during the period of cultivation, the highest levels of phenolic compound release being seen after 35 days (0.195 mg g−1) with these levels subsequently falling. This decreases is most likely due to the participation of these phenolic compounds as reducing agent in Fenton reaction [72], which helps to depolymerize lignin structure. The brown rot fungi are known to produce oxalic acid during the fungal growth which then dissolved iron and initiates the Fenton reaction [73, 74]. S. lacrymans has been shown to be capable of depolymerized lignin through Fenton reaction [22, 75, 76].

Fig. 1
figure 1

The change of total reducing sugar (mg g−1), total soluble phenol (mg g−1), pH, and weight loss (%) of lignocellulosic OPEFB incubated by S. lacrymans for 42 days. Error bars represent the standard deviation based on triplicate measurements

It has previously been reported that the change to the lignocellulose structure can be caused by the Basidiomycota and that this dominates the earlier stages of wood decomposition [77]. In this study, the average detectable total reducing sugar fluctuated during the period of fungal growth, this ranged from 14.289 mg g−1 to 27.938 mg g−1. The highest TRS was detected at 7 days incubation (27.938 mg g−1), and susbsequently dropped during the later incubation period of 7–21 days. The increase in TRS during early incubation is likely related to fungal enzyme activity, as it coincides with the breakdown of cellulose and hemicellulose [78, 79]. However the fungus also needs carbon sources to grow and the consumption of these resources will affect the detectable sugar as the fungus grows [80, 81] and therefore the sugar values fluctuate. Previous studies using either chemical or physicals pretreatments resulted in reducing sugars yields ranging from 388.26–728.45 mg g−1 [82] however in a previous study, using S. lacrymans grown on corn leaves it peaked at 207.37 mg g−1. The low TRS released from OPEFB treated by S. lacrymans was probably due to a relatively small amount of lignin breakdown, which consequently restricted access by the enzymes required to degrade the cellulose.pH is also be used as an indicator for lignocellulose breakdown by fungus. In this study, the of pH value decreased during the first two weeks incubation, dropping from 7.65 to 6.65 (Fig. 1). The decrease of pH is likely due to the production of organic acid released during fungal growth over the first two weeks of incubation [83]. After two weeks the pH then increased possibly as a consequence of an increase of ammonium alkali produced [84].

The measurement of biomass sample before and after the fungal treatment allowed the change of weight loss to be determined [85]. Weight loss is a useful parameter to determine the effectiveness of any pretreatment method [86] as weight loss of lignocellulosic biomass can also indicate the extent of lignin-carbohydrate degradation [16]. In this study, the rate of weight loss increased during S. lacrymans cultivation (Fig. 1). The weight loss detected following S. lacrymans cultivation ranged up to 12.35% (Fig. 1), the longer the cultivation period, the greater the percentage of weight loss obtained. This indicates that a greater breakdown of the lignocellulose structure is achieved using fungus and corresponds with Zhang et al. [87].

Pretreatment can enhance the digestibility of lignocellulosic substrates by reducing cellulose crystallinity, thus increasing the porosity of substrate and its ability to release value added compounds [88]. The amount of cellulose and lignin obtained from OPEFB inoculated with S. lacrymans for 42 days culture is shown in Fig. 2. The cellulose percentage following S. lacrymans cultivation dropped from 35.58% to 28.08% and corelates with the change in total reducing sugar (Fig. 1). Previous study have shown some fungi are able to degrade lignin effectively, but prefer to consume cellulose [16].

Fig. 2
figure 2

Percentage of cellulose and lignin obtained for 42 days of incubation by S. lacrymans. Error bars represent the standard deviation based on triplicate measurements

Lignin content is one of the key factors that controls the gas produced during AD of lignocellulosic biomass. It appears to be important to breakdown lignin in order to aid the release of sugars from both the cellulose and hemicellulose component of the cell walls. A decreasing trend in the amount of lignin detectable was observed during S. lacrymans cultivation (Fig. 2), as a result of the modification of the lignocellulose and its lignin by the fungus [17]. The lignin content in OPEFB is normally high which acts as a shield for cellulose and hemicellulose, and therefore OPEFB cannot be easily to be converted to biogas.

Microscopic Analysis (Scanning Electronic Microscopy)

Scanning electronic microscopy (SEM) of OPEFB before and after pretreatment indicates structural changes in OPEFB biomass (Fig. 3). Biological pretreatment of OPEFB using S. lacrymans caused significant changes in the surface structure of OPEFB. The non-treated OPEFB structure shows that the surface is normally rigid, dense, and well structured (Fig. 3a). This is supported by Razali et al. [6] which stated that the initial OPEFB before pretreatment had a hard, coarse texture and pores were filled with silica. The surface structure of OPEFB after pretreatment shows damage, the surface is cracked, and the structure is stretched when it is compared to samples without pretreatment (Fig. 3b).

Fig. 3
figure 3

Scanning electron micrographs of OPEFB using 1000 × magnification: a untreated and b following cultivation with S. lacrymans for 42 days, red circles show fungi mycelium

The changes in the OPEFB indicates that the biological pretreatment with this fungus is effective and contributes to modification of the lignocellulosic structure. Kamcharoen et al. [16], showed that during Trametes versicolor cultivation, mycelium covered and penetrated into OPEFB surface which led to greater porosity and roughness than OPEFB without pretreatment and indicated that cellulose digestibility of the pretreated sample was higher than untreated. Singh et al. [89], showed pores and cracks caused by the weakening of cell wall during delignification which led to increase dissolution efficiency of cellulose and increased yield of reducing sugars.

The Identification of Vanillin Using LC–MS/MS

Vanillin is a key component of natural vanillin extract, and is used as a flavoring agent in food, beverages, and medicines [90]. In this study, the release of vanillin as a derivative of lignin breakdown from OPEFB cultured with S. lacrymans was monitored using LC–MS/MS. The total ion chromatogram (TIC) can be seen in Fig. 4. The identification of vanillin was based on its molecular weight (152.149 g mol−1) and comparison to industrial standards. The main peak of vanillin was identified along with several other minor lignin derivative products were detcted. This is in accordance with the study conducted by Shen et al. [91] that also used a molecular weight of vanillin 153 g mol−1. Tešević et al. [53], carried out a full scan mass spectrum of aldehydes for vanillin with the mass spectrometer set to monitor the transition of the precursor to product ion m/z 153/93. The qualitative analysis on this study showed that vanillin was detected in OPEFB extracted samples with retention time of 2.27 min out of a total retention of 5.5 min (Fig. 4a, b). This indicates that during pretreatment process using S. lacrymans, the metabolite products were formed due to biotransformation of phenolic components into vanillin.

Fig. 4
figure 4

Chromatogram of LC–MS/MS sample of a vanillin standard and b vanillin compound extracted from OPEFB

In this study, vanillin production was assayed quantitatively using a standard curve based on vanillin solution as a comparison. The amount of vanillin released was calculated based on a peak area of vanillin standard. Based on the LC–MS/MS result, vanillin yield obtained was 3.48ug mL−1. This result is much lower compared to Harshvardhan et al. [31], which used lignin degrader bacteria to degrade 100 g bamboo. The natural consortium of bacteria can directly convert biomass to vanillin, which is comparatively equivalent to ferulic acid. However, the results of this study are not much different when it is compared to Taira et al.[92], that used Aspergillus luchuensis to rice koji fermentation. The vanillin obtained from Taira et al.[92] was maximally about 3 g mL−1 but decreased to around 2 g mL−1 after 15 days of cultivation. This evidence revealed that vanillin yield produced from bioconversion process depends on microorganism type. According to Messaoudi et al. [93], vanillin is formed in small quantities, that known as precursors in lignin biosynthesis and degradation by some rot fungi.

BMP Measurements

Theoretically, the biogas component can be determined by analyzing the C, H, O, and N content of untreated and pretreated OPEFB samples. The theoretical methane potential of non-treated and pretreated samples of OPEFB sample was calculated based on the Buswell equation [47]. The theoretical methane potential value in non-treated and pretreated OPEFB samples was 50.81% and 51.66%, respectively. This study was assumed that the methane content in all treatments obtained the same methane percentage as the pretreated OPEFB (51.66%).

Specific biogas and methane potential (SBP and SMP) are shown in Fig. 5a and b. The highest SBP and SMP were obtained from α-cellulose sample as a positive control which showed an increase in the cumulative biogas and methane volume as well as the specific biogas and methane potential during fungal cultivation for 28 days (Fig. 5b). SBP and SMP from non-treated samples were lower than pretreated OPEFB samples. This result indicated that pretreatment causes an increase in the value of SBP and SMP which is thought to be due to an increase in VS value of the substrate used. The presence of pretreatment can increase the depolymerization of lignin and accelerate the anaerobic digestion process for biogas production [59]. The accessibility of cellulose and hemicellulose by fungus is due to the loss of some lignin structure, which enables microorganisms to convert the substrate to produce methane [94].

Fig. 5
figure 5

Comparison of a SBP (m3 kg−1 VS), and b SMP (m3 kg−1 VS) between non-treated and pretreated OPEFB (residue after extraction) for 28 days BMP test

The average of SBP in non-treated and pretreated OPEFB was 0.058m3 kg−1 VS and 0.091m3 kg−1 VS. While the average of SMP in non-treated and pretreated OPEFB was 0.029 m3 kg−1 VS and 0.047 m3 kg−1 VS. Thus, the increase in SBP and SMP of non-treated to pretreated OPEFB were 56.89% and 62.07%, respectively. This study showed that both SBP and SMP average of non-treated OPEFB was lower than pretreated OPEFB sample (Fig. 6a and b), which is presumably because parts of cellulose and hemicellulose structures in non-pretreated samples are still bound with lignin. This is highly recalcitrant and therefore limits methane production. Lignin has a complex structure that can limit biomass conversion to biogas by the AD system. Furthermore, microbial activity at all stages of the AD process depends on substrate type, particle size, surface area, and type of AD system applied [95]. The reduction of substrate particle size can increase the lignocellulosic degradation, while the larger particle size can reduce methane production and make it difficult for microbes to degrade the organic compounds.

Fig. 6
figure 6

The average of a SBP and b SMP in blank, α-cellulose, non-treated, and pretreated OPEFB for 28 days BMP test. Error bars represent the standard deviation based on triplicate measurements

The reliability test showed that all tested samples have Cronbach's alpha values higher than 0.7. Cronbach's alpha for SBP and SMP were 0.866, and 0.867, respectively. This showed that the reproducibility and consistency of BMP experiment were acceptable and reliable, as stated by Adadana and Savasci [96].

Mass Balance

The overall mass balance in the sequential bioconversion process of lignocellulosic OPEFB for the generation of vanillin and biomethane shows the total lignocellulosic content, vanillin yield, and methane potential produced (Fig. 7). The biological pretreatment of OPEFB using S. lacrymans removed 25.48% of initial lignin following 42 days of cultivation, 19.4% of total solids content, and the vanillin yield obtained was 3.48 µg g−1. While for the BMP test, the results after 28 days showed a biogas production of 15.92 mL, and also biomethane and SMP were 8.22 mL and 0.077 m3 kg−1 VS respectively. Where the results of biogas volume, biomethane volume and SMP for non-treated OPEFB were 12.79 mL, 6.50 mL, and 0.059 m3 kg−1 VS, respectively.

Fig. 7
figure 7

Overall mass balance of vanillin and biogas production process from OPEFB pretreatment by S. lacrymans

Lignin removal was lower than study by Angelo et al. [97], where during OPEFB pretreatment using white rot fungus Pleurotus ostreatus for 60 days, the highest lignin removal was 30.72%, obtained on 30 days pretreatment. BMP test results, compared to non-treated OPEFB, showed an increase in biogas volume, methane volume, and SMP were 24.47%, 26.46% and 30.51%, respectively. This result is lower than research by Suksong et al. [42] where after pretreatment using Trichoderma reesei and Pleurotus ostreatus, methane yields increased by 44–52% compared to raw OPEFB.

Conclusion

S. lacrymans was shown to be capable of modifying OPEFB to increase the release of biomethane from residual biomass following vanillin extraction in agreement with previous studies utilising dry rot fungi. The degree and selectivity of delignification following the fungal treatment of OPEFB was improved. This was reflected in all parameters used to measure lignocellulose breakdown such as the value of TSP, TRS, weight loss, cellulose, and lignin. The depolymerization of lignin from OPEFB resulted in the production of phenolic compounds as revealed by the detection of vanillin. Following subsequent extraction, vanillin yields of 3.48ug mL−1 was obtained. This results clearly show that fungal treatment with S. lacrymans also enhanced its specific biomethane potential reflecting an improvement in the residues potential for conversion into biogas. The solvent extraction of vanillin carried out did not significantly impair the subsequent methane production. The advantages of using fungal pretreatment followed by solvent extraction of high value prodcuts before susbsequent use of the residues is clearly indicated. The results suggest that further development of the approach could lead to improved treatment of OPEFB reducing the environmental consequences of its accumulation.