Introduction

Biological processes are widely used for the recovery of organic waste. Around the world, organic waste processing units are increasingly present in discussions about clean and renewable energy sources (Pang et al. 2021).

The concept of the circular economy suggests the use of technologies that enhance the use of waste as inputs for common use, where the exploitation and contamination of natural resources are minimized by the cycle of use. Composting, an emerging circular economy approach, amplifies the process and improves compost quality by incorporating and eliminating the waste stream, which in turn increases nutrient recycling through microbial activity (Ofei-Quartey et al. 2023).

Composting, in turn, consists of the biotransformation of organic matter by microorganisms and related enzymes, which convert organic residues into stable and complex macromolecules. The final product is a nutritious compound from an agronomic perspective, usable in agricultural crops, and can be an alternative to chemical fertilization (He et al. 2022).

Organic waste with less potential for biodegradation, such as green waste (GW) derived from tree and grass pruning, is generally used in composting processes as a structuring material. As they contain a high percentage of lignocellulosic material, they are difficult to metabolize, making their application in anaerobic digestion (AD) processes challenging.

Even in the composting process, GW presents difficulties in biodegradation and delays in stabilization due to its chemical characteristics. With high concentrations of lignocellulose, nitrogen deficit, and consequent low C/N ratio (Meng et al. 2019), the process becomes slow, and the final product is deficient in nutrients (dal Bosco 2017). Recent studies show that the use of lignocellulosic residues associated with biogas waste (BW) in the composting process brings benefits to the stabilization and quality of both residues, reducing BW ammonia concentrations, and increasing nitrogen and ammonium nitrate levels in the final compost (Li et al. 2020; Zhong et al. 2021).

The effluent from the AD process, or BW, is considered an interesting soil conditioner and agricultural biofertilizer (Dutta et al. 2021). However, BW derived from short methanization processes may not be stabilized, presenting a high organic load and high concentrations of ammonia. Unstable BW should be used with reservations due to the volume produced and environmental problems that can arise, such as leaching of toxic compounds, unpleasant odors, pathogens, and phytotoxins (Meng et al. 2020; Sheng et al. 2022; Xu et al. 2022).

The total stabilization of biogas residue occurring inside the anaerobic reactor prolongs the hydraulic retention time (HRT), which increases the demand for reactor volume to process the same volume of residues. Thus, stabilization in composting processes becomes interesting for BW, allowing for the reduction of reactor dimensions and consequently minimizing the costs of implementing the system, in addition to avoiding environmental impacts resulting from the inadequate disposal of waste (Pramanik et al. 2019; Meng et al. 2019; Bai et al. 2020).

The co-composting of structuring residues and BW is essential due to the reduced granulometry of BW, preventing the formation of anaerobic zones (Meng et al. 2019). Additionally, benefits observed in other studies include increased C/N ratio, process temperature, shorter compost stabilization time, higher material degradation rate, and nutritional improvement of the final compost (Tambone et al. 2015; Bai et al. 2020; Meng et al. 2020).

Various structuring substrates have already been reported in the literature, such as rice straw and food residues (Bai et al. 2020); residue from the industrialization of mushrooms; and residues from swine breeding (Meng et al. 2019), rice straw, and swine manure (Zhong et al. 2021), associated with BW of reactors fed with rice straw, corn residues, and rice straw and swine manure, respectively. Therefore, the use of GW associated with BW of a reactor that treats food waste is proposed in this study as a suggestion for the combination of co-substrates.

In this study, waste with reckless disposal was transformed into compost applicable for improving soil quality, emphasizing the concept of the circular economy and closing the material cycle. To this end, the effects of adding RV on RV composting time of trees and grass clippings generated in small volumes were evaluated. The physical and chemical parameters were monitored during the process, and the stabilization and interaction between them were used to evaluate maturation. In addition, the toxicity of the produced compounds was evaluated by means of a germination test at three composting periods. Finally, these values were related to assessing the maturity and quality of the compounds.

Materials and methods

Collection and characterization of substrates

The residues used in the composting windrows were collected on the campus of Universidade Estadual de Londrina (UEL), Paraná, Brazil. The GW consisted of tree branch pruning (TP) and grass pruning (GP). The TP was obtained after pruning the Azalea bush (Rhododendron simsii) and tree species such as Ingá Feijão (Inga cylindrica), Flamboyant (Delonix regia), and Santa Bárbara (Melia azedarach). The GPs were collected after mowing.

The BW corresponds to the sedimented fraction of the effluent after 48 h at rest. It was collected from the bottom of the effluent tank of a continuous stirred-tank reactor (CSTR), which treats food waste, with an HRT of 40 days, an average volumetric organic load (OLR) of 0.72 kgVS m−3 day−1, and biogas production of 0.63 m3 kgVS−1, as reported in the study conducted by Bortoloti et al. (2023). The residues were characterized physicochemically (Table 1) following the analyses of the American Public Health Association (APHA 2017).

Table 1 Physicochemical characterization of substrates used in the composting test

Composting

The TPs were mechanically crushed into pieces smaller than 20 cm. A preliminary quantitative study of the waste generated within the limits of the University campus of UEL was carried out to determine the treatments tested, as follows: mixture only of GW proportional to the respective generation between TP and GP (T1); mixing the proportions of GW with the addition of BW in the proportions of generation between the sources of waste (T2); and the third condition (T3) considering a C/N ratio of 30.

The windrows were assembled in layers of approximately 10 cm, interspersing the constituent substrates, to ensure better mixing (Table 2). In T2, 5 L of water was added to the layers that did not receive BW. The BW added to each layer was proportional to the number of layers and the amount in each treatment. After finishing the layers, all the windrows received a GP coverage, which was considered in the sum of the total mass of the windrows (Table 2).

Table 2 Composition of treatments in the composting experiment

The windrows were set up in a trapezoidal format with dimensions of 2.4 m × 1.2 m (W × B). The height of the windrows varied according to the treatment composition. The treatments that received the addition of BW showed a lower height, due to the liquid characteristic of the substrate. Thus, the heights were 60, 55, and 50 cm for treatments T1, T2, and T3, respectively. It is noteworthy that the experiment was conducted in an area with a roof and a waterproofed floor.

The dynamics of analyses and monitoring carried out throughout the study are shown in Fig. 1; however, the analyses carried out before the windrows were assembled and after completion are not presented.

Fig. 1
figure 1

Chronological events and activities carried out in the composting experiment

Physicochemical analyses

For daily temperature measurement, a digital thermometer with a metal rod (Jenco Model 701) was used in three positions in the vertical section of the windrows (right side, center, and left side). To obtain the horizontal temperature profile, three points of the same depth were used. The sum of these points corresponds to the average temperature of each treatment.

The ambient, maximum, and minimum temperatures at the experiment location were obtained daily at the time of measuring the temperatures of the windrows using an HTC-1 thermometer.

The determination of the percentages of total solids (TS), volatile total solids (VS), fixed total solids (FS), and moisture was performed weekly using the gravimetric method (APHA 2017). The value of organic carbon was quantified fortnightly by dividing the value of VS by the factor 1.8 (Jimnez and Garcia 1992).

The pH and electrical conductivity (EC) of the samples were measured fortnightly using a soluble stratum (SE), produced with 10 g of sample in 100 mL of deionized water. The mixture was stirred for 30 min on a shaker table at 100 rpm. The samples were kept at rest for 60 min, and then the supernatant was submitted for analysis (Tedesco et al. 1995). Nitrogen analysis was performed by the Micro-Kjeldhal method (APHA 2017) using a Digester Block and Buchi Distiller.

The aeration of the windrows was maintained by manual turning, with the frequency of turnings varying between two and three times a week.

Lignocellulosic complex

To determine the lignocellulosic complex (lignin, cellulose, and hemicellulose), the method for determining the fibrous components of lignocellulosic residues proposed by Van Soest (1964) was used. This method is based on the use of detergents and reagents that result in the separation and quantification of the different constituent fractions of the material, and its use has been well established (Hindrichsen et al. 2006; Farias et al. 2015; Carvalho et al. 2021).

In summary, the dried and ground compost was packed into TNT (non-woven fabric) packages and subjected to baths in neutral detergents (FDN) and acid detergents (FDA) in autoclaves under internal environmental conditions of 105 °C for 60 min, washed with water, and dried in a forced-air oven until constant weight. Based on the dry mass values, the FDN (hemicellulose) and FDA (cellulose) contents were calculated (Eq. 1).

$$\mathrm{FDN\;or\;FDA }(\mathrm{\%})= \frac{(package\;weight+waste)-(empty\;package\;weight)}{\mathrm{sample\;weight\;}(\mathrm{in\;dry\;matter})}*100$$
(1)

For lignin, the packages are immersed in a solution of H2SO4 (72%) for 3 h (Eq. 2). Subsequently, the packages were washed and dried in a forced air oven at 60 °C until constant weight.

$$\mathrm{Lignin\;}(\mathrm{\%})= \frac{(package\;weight+waste)-(ash\;weight)}{\mathrm{sample\;weight }(\mathrm{in\;dry\;matter})}*100$$
(2)

The ash content was calculated after the samples were calcined in a muffle furnace at 500 °C for 4 h.

Attenuated total reflectance–Fourier transform infrared spectroscopy (ATR-FTIR)

Infrared spectra were generated using a Frontier FTIR spectrophotometer (PerkinElmer, USA) equipped with a diamond crystal attenuated total reflectance accessory and zinc selenide support. Samples from different composting times, dried and finely ground, were prepared by adding three drops of glycerin, using the same material as the background spectrum. A small amount of each sample was deposited onto the crystal, and a torque of 20 N was applied with an articulated arm. The spectra were acquired at a resolution of 4 cm−1 by averaging 32 scans in the wave number range from 550 to 4000 cm−1.

Phytotoxicity analysis

To verify the toxicity of the compounds obtained at 60, 75, and 90 days of conducting the experiment, an assay was carried out to verify the germination index (GI), widely accepted for the evaluation of the compounds produced. For this, an SE of the treatments was produced in the proportion of 1:10 (m:v) of compost and deionized water (Tiquia et al. 1996; Huang et al. 2016). The mixture was kept in orbital agitation at 150 rpm for 24 h. The supernatant was centrifuged at 1200 rpm for 20 min, filtered through a 1.2-µm cellulose ester microfilter, using a vacuum filtration system. The filtrate was frozen at – 10 °C until used.

For sowing, two sheets of Germitest paper were used under 9-cm diameter Petri dishes. Ten milliliters of filtered SE was added onto the leaves, where 10 seeds of Lipidium sativum (garden cress) were arranged on each plate. SE was tested at 100% concentration. For the control, deionized water was used. All conditions tested were performed in triplicate.

After sowing, the treatments remained incubated at 25 °C (± 1 °C) and in the absence of light for 72 h (Zeng et al. 2017). Means of counting the germinated seeds and measuring the length of the roots: The number of germinated seeds was considered to calculate the seed germination rate (SGR) and the germination index (GI) through Eqs. (3) and (4) (Zucconi et al. 1981).

$$SGR=\frac{ANGS*100\%}{NSP}$$
(3)
$$GI=\frac{ANGS*ALR*100\%}{ANGSC*ALRC}$$
(4)
ANGS:

average number of germinated seeds;

NSP:

number of seeds per plate;

ALR:

average length of root;

ANGSC:

average number of germinated seeds in the control;

ALRC:

average length of root in control.

The results were subjected to statistical analysis using the R Software. With the guarantee of the model’s assumptions, normality of residues, and homogeneity of variance, the means of the analyzed treatments were compared to verify the toxicity or not of the compounds. To verify the influence of the composting time on the final compost with ES at 100%, the factorial analysis was carried out in a 3 × 3 arrangement with the parameters treatment (swaths) and composting time, for SGR and GI.

Results and discussion

Physicochemical parameters

Temperature

Temperature is a primary indicator of efficiency in the composting process, closely linked to the speed of organic material degradation and the growth of microorganisms and their communities (Meng et al. 2020). Throughout the experiment, the temperature exhibited different behaviors in the treatments (Fig. 2).

Fig. 2
figure 2

Average temperature verified in the process for the treatments studied. T1 (TP + GP – 2.5:1); T2 (TP + GP + BW – 1.8:0.7:1); T3 (TP + GP + BW – 0.9:0.6:1)

The temperatures for treatments T2 and T3 rose relatively slowly, reaching peak temperatures after day 8 of processing. These results are similar to those reported by Meng et al. (2019), who, using BW from corn AD mixed with residue from mushroom production and swine manure, observed temperatures above 50 °C only around the 10th day. In contrast, Bai et al. (2020) observed temperatures around 50 °C on the first day of processing BW from rice straw, food leftovers, cattle manure, and raw rice straw.

T1 exhibited a slower temperature rise rate than the other treatments, with peak temperatures observed only after 30 days of the process. This was attributed to the high C/N ratio at the beginning of the process. As T1 did not receive the addition of BW, the nitrogen concentration was very low, resulting in an initial C/N ratio of 65, which is considerably higher than the optimal C/N ratio of 30 for the effective development of the composting process (Fourti 2013; dal Bosco 2017; Bai et al. 2020; Meng et al. 2020).

El Ouaqoudi et al. (2015) suggested that the difficulty in raising temperatures in processes involving lignocellulosic materials is related to the high lignin content and its distribution in cells, which can hinder biological activity and act as physical or chemical barriers to the decomposition of cellulose and other carbohydrates.

The size of the windrows may have affected the heating dynamics, as windrows smaller than 1 m3 may lack thermal inertia (Kiehl 1985). Temperatures exceeding 55 °C are essential for compost sanitization and proper process development, resulting in stable and moist compost (dal Bosco 2017).

Despite their reduced dimensions, the windrows experienced periods of low temperatures, approximately 5 °C at the beginning of processing, when temperatures should ideally rise to their peak levels. In contrast to the current study, Sun et al. (2017) managed to maintain temperatures above 50 °C even in low ambient temperatures around 10 °C by inoculating the process with microorganisms adapted to the prevailing temperature.

Although lower than expected, the process temperature tends to continue, albeit at a slower pace in stabilizing the material (dal Bosco 2017). Treatments T2 and T3 reached average temperatures above 40 °C (thermophilic phase) only after the 8th day of monitoring, lasting for 3 days for T3 and 5 days for T2, which according to Meng et al. (2019) is sufficient time for compost sanitization.

The highest temperature observed, 50 °C in T2 on the 9th day of monitoring, was below the expected values. Veras et al. (2020), comparing static and aerated windrow systems, reported temperatures of 64 °C and 59 °C, respectively.

As the process progressed, compost temperature tended to decrease, indicating compound maturation. This decrease in temperature is considered an indicator of compound maturation by Meng et al. (2020). dal Bosco (2017) noted that the temperature drop is associated with reduced biological activity due to the depletion of available organic material for metabolism. The treatments began to exhibit temperatures close to room temperature after 50 days of monitoring, indicating the initiation of compound maturation.

Electric conductivity

The pH of the composting process must be maintained at values close to neutrality to ensure adequate conditions for microbiological activity (Maragno et al. 2007). For all treatments, the pH values remained stable, remaining close to neutrality (Fig. 3).

Fig. 3
figure 3

Variation of pH and EC for the treatments studied. T1 (TP + GP – 2.5:1); T2 (TP + GP + BW – 1.8:0.7:1); T3 (TP + GP + BW – 0.9:0.6:1)

After the initiation of the process, treatments 2 and 3 exhibited a gradual reduction in pH up to 45 days. Treatment 1, however, showed a reduction in pH only at 45 days. Meng et al. (2020) attribute the decrease in pH values to intense microbiological activity. In this study, treatment 1 presented a nutritional deficit due to the absence of BW, resulting in lower microbiological activity.

After 60 days of processing, the pH values began to increase again. At the end of the stabilization phase, acids formed through protein synthesis decompose, generating ammonia (NH4 +), which raises the pH value of the process. Such an occurrence is mentioned by Meng et al. (2020), who report the increase in pH as an indication of the stabilization of organic matter and the initiation of compound mineralization.

Ho et al. (2022) highlight the observed dynamics of pH reduction, elevation, and stabilization as typical of the composting process, attributing these changes to variations in the chemical composition of the mixtures during the process.

Regarding electrical conductivity (EC), similar effects were observed. Treatments 2 and 3 presented higher ion concentrations compared to treatment 1, which did not receive BW addition. Despite BW being the result of sedimentation of the AD effluent, some residual salts from the anaerobic process remained in the sludge mass used, influencing the EC of the treatments, as reported by Bustamante et al. (2008), Silva et al. (2009), and Akyol et al. (2019).

Decreases in EC values were observed at the beginning of the process, with values reduced to 489 μS cm−1, 680 μS cm−1, and 862 μS cm−1 for treatments 1, 2, and 3, respectively, on day 45 of monitoring. This reduction was likely due to the addition of water to maintain windrow humidity, which could have led to the leaching of some salt ions. Ammonia volatilization and precipitation of mineral salts are also factors that can contribute to a decrease in EC (Meng et al. 2020).

After day 45 of monitoring, EC values increased, indicating the decomposition of organic matter and mineralization of the compost, resulting in a higher concentration of salts and an increase in EC levels (Tambone et al. 2015; Meng et al. 2019). From this point until the end of the experiment, EC values for treatments 2 and 3 continued to increase, reaching values of 939 μS cm−1 and 1210 μS cm−1, respectively, by the end of the process.

Treatment 1 exhibited an increase in EC only on the 90th day, indicating that the reduction in carbon concentration was delayed due to the high initial C/N ratio. The influence of BW on EC values can be observed, with treatment 3, which had the highest BW addition, showing the highest parameter values. The sodium concentration in BW proportionally increased the EC values, albeit remaining below 4000 μS cm−1, considered the maximum EC limit (Meng et al. 2019). Values greater than 2500 μS cm−1 are sufficient to inhibit the growth of plants and microorganisms (Meng et al. 2020).

Carbon, nitrogen, and C/N ratio

In composting, the most assimilated carbon (C) is consumed by microorganisms and excreted in the form of CO2, while the recalcitrant C products of lignocellulosic materials are humified (Meng et al. 2020). Green wastes (GW) are rich in recalcitrant C; therefore, they require longer processing time to be stabilized. Thus, the C/N ratio is a parameter that exhibits gradual and constant changes.

The carbon corrections (Fig. 4) showed a decrease at the end of the 90-day composting period compared to the initial values. The reduction in carbon is linked to the degradation of organic matter and the reduction of microbiological activity during aerobic degradation (Vig et al. 2011). Similar to known foods, variations in organic concentration are indicative of biological activity. After 45 days of processing, it was observed that the material was reduced, and the fluctuation period was similar to that indicated by Meng et al. (2020), who observed stabilization of the C concentration after 30 days.

Fig. 4
figure 4

Variation of carbon, nitrogen, and total ammonia and C/N ratio for the treatments studied. T1 (TP + GP – 2.5:1); T2 (TP + GP + BW – 1.8:0.7:1); T3 (TP + GP + BW – 0.9:0.6:1)

Total nitrogen (TN) is fundamental in the process, aiding in the synthesis of microbial cells, which ensures the reproduction of organisms at rates compatible with the process requirements (Meng et al. 2020). TN deficiency implies a reduction in microbial replication and a consequent increase in processing time (dal Bosco 2017).

During the composting process, part of the TN derived from the substrates is metabolized and assimilated by microorganisms for cellular synthesis, while part is released in the form of NH3, N2, and NOx. The largest portion of TN is fixed in the humus through microbial mineralization in the form of nitrate (Meng et al. 2020).

The addition of BW to treatments T2 and T3 increased the concentration of nutrients, enabling an improvement in the C/N ratio of these treatments. With initial ratios of 9.3 g kg−1 and 12.2 g kg−1 for T2 and T3, respectively, the greater supply of TN for these treatments resulted in an overall improvement of the parameters.

In all tested treatments, there was an increase in concentrations throughout the process. The increases observed in TN concentrations for all treatments, according to Kiehl (1985), are related to the mineralization of organic matter, as reported by Chikae et al. (2006).

Nitrogen (N) is related to the pH values of the process. Nitrogen losses can occur at pH above 9.5 due to the conversion of ammonium ion (NH4+) into ammonia. For the present study, the highest pH value observed was 8.13, in T3 on the 3rd day of monitoring. Thus, it is suggested that ammonia volatilization was low. If the pH rises above the indicated levels, Zhang et al. (2013) suggest adjusting the parameters to reduce ammonia volatilization, aiding in retaining nutrients in the compost.

The concentrations of ammoniacal nitrogen (NH4–N) varied throughout the monitoring period, with the highest values identified at 30 days of the process. The increases observed in NH4–N concentrations may be related to the release of free ammonia (NH3). Zhang et al. (2013) mention that the release of NH3 may be associated with the increase in pH. Thus, the observed increase in pH at 45 days into the process led to a reduction in the concentration of ammoniacal nitrogen, as reported by Jumnoodoo and Mohee (2011). They suggest that high pH values inhibit microbiological activity, reducing NH4–N absorption and resulting in ammonia volatilization. Zhang et al. (2013) also mention reductions in the pH of the composting process and suggest that this was due to ammonium ion volatilization in the windrows, as observed in the present study.

It is recommended that the composting process starts with a C/N ratio close to 30. Fourti (2013) states that if the C/N ratio deviates from the optimal range, composting progresses slowly. Excess carbon is converted into CO2, or excess nitrogen is converted into ammonia, until the correct balance is restored, slowing down degradation and increasing the time required for stabilization of the process.

Treatment 1 had the highest initial C/N ratio at 65. High C/N ratio values can inhibit microbial activity due to nitrogen deficiency, which, at low concentrations, inhibits the microbiological activity responsible for synthesizing proteins (Meng et al. 2020). Treatment 2 had a C/N ratio of 43, a value above the recommended range, but with a greater supply of TN compared to treatment 1, allowing for better conditions for microbial activity, although still above the ideal level. After the beginning of the process, microbiological activity degraded the most volatile fraction of organic matter, reducing the percentages of volatile solids (VS) and, consequently, carbon contents.

At the end of the process, the final C/N ratios for the treatments were 24, 14, and 14 for T1, T2, and T3, respectively. dal Bosco (2017) consider C/N ratio values close to 10 indicative of process stability, and for all treatments, the C/N ratio stabilized above the indicated range.

Lignin, cellulose, and hemicellulose

During the compost processing period, the percentages of cellulose and hemicellulose decreased continuously, showing a tendency to stabilize after 60 days (Fig. 5), consistent with the findings of Bai et al. (2020), Liu et al. (2017), and Wang et al. (2017).

Fig. 5
figure 5

Variation of the lignocellulosic complex for the treatments studied. T1 (TP + GP – 2.5:1); T2 (TP + GP + BW – 1.8:0.7:1); T3 (TP + GP + BW – 0.9:0.6:1)

Among the constituent compounds of lignocellulose, hemicellulose is the most easily biodegradable fraction, serving as a source of carbon and energy for microorganisms involved in the process (Bai et al. 2020). The decline in the degradation curve of cellulose and hemicellulose is more pronounced at the beginning of the process, coinciding with higher temperatures during the thermophilic phase. This suggests that hemicellulose was the primary lignocellulosic compound actively degraded during this phase (Liu et al. 2017), while the degradation of cellulose was relatively slower.

Bai et al. (2020) observed a similar reduction in hemicellulose percentages in the initial days, attributing it to high temperatures and biological activity. In our study, the percentages of hemicellulose at the start of the process were 26.26% ± 3.84, 29.97% ± 0.76, and 25.28% ± 0.41 for T1, T2, and T3, respectively. By the end of the processing, these percentages decreased to 19.23% ± 0.37, 17.99% ± 1.31, and 18.45% ± 1.37 for T1, T2, and T3, respectively, representing reductions of 26.76%, 39.98%, and 27.01%, respectively.

The variation in cellulose percentage became more evident after 15 days of processing, coinciding with the thermophilic phase onset for treatments T2 and T3. Liu et al. (2017) attribute this dynamic heating to the thermal decomposition of compounds in progress. Cellulose content in treatments T2 and T3 began decreasing later in the composting process, becoming more noticeable between days 30 and 45, mainly due to lignin degradation, albeit mitigated by inhibitory effects (Bai et al. 2020). The percentages of cellulose at the start of the process were 33.26% ± 0.18, 33.94% ± 1.63, and 32.65% ± 0.89 for T1, T2, and T3, respectively, ending at 28.83% ± 5.17, 24.56% ± 0.80, and 24.90% ± 1.01 for T1, T2, and T3, respectively, representing reductions of approximately 13.32%, 27.63%, and 23.75%, respectively.

As a more resistant lignocellulosic constituent (Meng et al. 2019), lignin percentages increased by day 30 compared to the start of the process, then showed reductions before stabilizing by the end of the process. Relative lignin content at the beginning of the process was 21.10% ± 1.10, 22.82% ± 2.00, and 20.93% ± 0.15 for T1, T2, and T3, respectively, increasing to 35.75% ± 3.94, 32.67% ± 1.46, and 34.23% ± 0.67, respectively, by the end of the process, representing increases of 69.43%, 43.14%, and 63.54%, respectively.

Bai et al. (2020) attribute the increase in lignin content to synergistic interactions of microbial communities and biodegradable organic matter, which declined faster than lignin. Despite the treatments showing reductions in dry matter of approximately 28.3%, 27.8%, and 32.3% for T1, T2, and T3, respectively, implying an increase in lignin percentage, this was obscured by the reduction in the amount of dry mass processed.

Liu et al. (2017) explain that while the relative content of lignin increased, the absolute content decreased, albeit at a slower rate than cellulose and hemicellulose. Therefore, they suggest considering only cellulose and hemicellulose as indicative of lignocellulosic material degradation. Regarding absolute content, considering the identified mass reduction, the increases in lignin were approximately 21.15%, 3.25%, and 9.57% for T1, T2, and T3, respectively. Despite the percentage increases, there appears to be differentiation between treatments, suggesting that T2 exhibited more degradation of lignocellulosic compounds.

Analysis of Fourier transform infrared spectroscopy—FTIR

Infrared spectroscopy analyses were employed to identify the presence and variations of functional groups in samples from the three treatments under consideration (Fig. 6). The main peaks observed were located at 1042, 1637, 2913, and 3319 cm−1. Zhu et al. (2021) attribute the bands from 1000 to 1150 cm−1 to the stretching of C–O in alcohols, ethers, and polysaccharide esters. Bands near 1655 cm−1 are related to the stretching of CO in amide I and ketones, which are present in the decomposition of proteins and polysaccharides (Yu et al. 2019).

Fig. 6
figure 6

FTIR spectrum for the treatments studied over the course of monitoring. T1 (TP + GP – 2.5:1); T2 (TP + GP + BW – 1.8:0.7:1); T3 (TP + GP + BW – 0.9:0.6:1)

The 1042 cm−1 band is attributed to variations in the concentration of polysaccharides and carbohydrates (Yang et al. 2019). Initially in the composting process, the reduction is attributed to high biological activity and the consequent increase in temperature. Toward the end of the process, with mature compost, changes in this relationship are attributed to the concentration of carboxylate ions and alkyl carbon after the degradation of more biodegradable organic matter. This is also related to the reduction of carboxylate ions and metabolized sugars in the formation of humic substances.

The typical lignin peak can be observed in the range of 1408–1525 cm−1, as evidenced in this study at 1424 and 1637 cm−1, resulting from the symmetric C–H bonding of aliphatic components, characterizing the CH3 group in lignin (El Ouaqoudi et al. 2015; Wu et al. 2022). Peaks identified within the 1870–1540 cm−1 range are associated with the axial deformation of C = O (carboxylic acids, ketones, and aldehydes), referring to hemicellulose-based compounds. Kong et al. (2023) emphasize that peaks around 1600 cm−1 are associated with the gradual decomposition of proteins and sugars during the composting process, forming aromatic substances and later humus. These substances are related to process stability, and humus is beneficial for agriculture.

Variations in the ratio between the 1637 and 2913 cm−1 bands (aromatic C = C/aliphatic C–H) are attributed to increased aromaticity, carboxylate concentration, and reduced polysaccharides in the compounds (El Ouaqoudi et al. 2015). This indicates that organic matter becomes more complex during composting as processing stabilizes and matures the material (Som et al. 2009). The peak around 2913 is associated with the stretching of C–H in aliphatic structures (Amir et al. 2010), and the decrease in this peak indicates the degradation of aliphatic compounds and carbohydrates, such as cellulose, hemicellulose, and lignin (Zhang et al. 2023).

Bands in the 3000–2800 cm−1 range are attributed to the hydrophobic properties of organic material and are related to methyl and methylene aliphatic groups. Characteristic aliphatic C–H bands tend to decrease in intensity during the co-composting process, consistent with the microbial oxidation of aliphatic and peptidic compound chains, providing information about the degradation of organic material during the composting process (El Fels et al. 2014).

Wu et al. (2022) attribute the band at 3340.71 cm−1 to the axial vibration of OH stretching of phenols and alcohols, identified in this study at 3332 cm−1. The reduction in the intensity of this band is attributed to the decomposition of aliphatic carbon during the composting process, indicating a reduction in the availability of organic matter to be stabilized. According to Rueda et al. (2023), bands near the 3300 cm−1 region are related to the stretching of hydroxyl OH groups, linked to carboxylic acids, alcohols, and phenols, and are also associated with the stretching of N–H bonds.

Phytotoxicity test

The treatment factors, processing time, and their respective interactions showed no significant effect on SGR or GI at the 5% significance level (p-value > 0.05) (Table 3). The factorial statistical analysis of variance indicated that there is no significant difference between the interactions of the variation factors and the treatments tested. Therefore, it is considered that none of the treatments exhibited toxicity. Consequently, the compounds generated in the treatments after 60 days, under all the conditions tested, could be used for agriculture without causing toxic effects on plant germination. The mean values of the triplicates for each treatment, as well as the standard deviation (SD), for SGR and GI are presented in Table 4.

Table 3 Results of analysis of variance by 3 × 3 factorial arrangement comparing treatments and processing times for SGR and GI
Table 4 Mean results and standard deviation of the phytotoxicity test for SGR and GI and the factor analysis of the results, considering the condition and processing time factors

The highest percentage of seed germination rate (TGS) was observed for T2 at 60 days (86.67%), along with the highest germination index (GI) (148.99%). GI values higher than the control in all tested conditions exclude the phytotoxicity factor of the produced compounds (Zhang et al. 2013). Compounds with a GI greater than 100% are considered stimulant compounds due to their ability to provide nutrients for seed germination and root growth (Wang et al. 2017; Meng et al. 2019). Therefore, all the conditions tested can be considered phytostimulants, as demonstrated by Wang et al. (2017), who composted brewery effluent with sawdust and analyzed the phytotoxicity of the compound throughout the process, finding no toxicity as early as the 12th day of processing.

Conclusion

The co-composting of green waste (GW) and biogas waste (BW) proved to be beneficial by providing complementary substrates to address the deficient characteristics of each. BW, particularly, was effective in supplying nitrogen, thereby improving the C/N ratio and facilitating a more stable and efficient composting process. Its addition enhanced the overall quality of the process by raising temperatures, balancing the C/N ratio, and ensuring optimal conditions for biological activity, ultimately leading to the stabilization of organic material in a shorter duration.

Importantly, the resulting compost from all treatments exhibited characteristics conducive to stimulating seed germination, indicating that the addition of BW did not introduce any toxicity to the mature compost. This underscores the viability and efficacy of incorporating BW into composting processes to enhance nutrient balance and overall compost quality.