Introduction

Over the past 20 years, significant research has been done on the advantages of utilizing biochar on land. The outcome of these studies has been reported as positive. The usage of compost in agronomy and its various aids to the quality of soil with time have been extensively clarified for several years (Guo et al. 2020). In the past 10 years, there has been a focus on utilizing a blend of biochar and compost as a final product for soil application. However, only a small fraction of these studies have focused on introducing biochar to the feed materials during composting and examining its subsequent effects on the process of composting the resulting co-composting product and its application in soil (Jain et al. 2018a, b). While the existing research predominantly indicates positive outcomes, there is a notable scarcity of studies concentrating on the enduring impacts of co-composting of biochar application (Gao et al. 2023). Consequently, it is strongly recommended that additional research be undertaken specifically aimed at assessing the potential of co-composting of biochar aging in agricultural soils. Biochar, when used as an additive in compost, enhances various aspects of the composting process. It enhances composting efficiency, speeds up the process of humification, boosts microbial variety and activity, decreases the emission of greenhouse gases, and traps harmful metals in compost (Xiao-xia Guo et al. 2020). The presence of biochar during composting leads to a quicker rise in temperature and prolongs the thermophilic phase. Moreover, biochar improves the moisture retention capacity, thereby maintaining the optimal moisture level typically between 50 and 60% w/w in most composts when introduced at the onset of composting. It is important to acknowledge that biochars and composts originating from different sources exhibit diverse carbon-to-nitrogen (C/N) ratios that impact the rate at which organic matter decomposes (Godlewska et al. 2017). The biochar obtained through various processes like pyrolysis or hydrothermal carbonization and sourced from diverse materials displays a spectrum of pH levels, extending from alkaline to acidic. The leaching of alkaline and acidic compounds from biochar influences the pH of the surroundings, generating a conducive atmosphere for the activity of microbes (Murtaza et al. 2024). Moreover, certain types of biochar, characterized by high porosity and large specific surface area, serve as natural protective habitats that promote the proliferation of microbes. In specific biochar types, a high cation exchange capacity resulting from functional groups functions as an electron carrier, aiding in the transfer and transport of biochar (Antonangelo et al. 2021).

This heightened microbial activity plays a role in the mineralization of essential nutrients while concurrently reducing gas emissions (Jacoby et al. 2017). The integration of biochar into the composting procedure not only influences the compost itself and its functionality but also leads to significant modifications in biochar properties. For example, the cation exchange capacity of biochar rises post-composting, which is a beneficial trait for retaining nutrients and stabilizing pH levels (Munera-Echeverri et al. 2018). Co-composting of biochar, employed as a soil amendment, has demonstrated excellent efficacy in enhancing soil properties and promoting plant growth, as evidenced by studies (Awasthi et al. 2017; Oldfield et al. 2018; Wang et al. 2019). Its advantages also include alleviating soil drought (Lashari et al. 2013) and salinity pressures (Busch and Glaser, 2015), along with immobilizing organic pollutants and potential harmful metals (Ye et al. 2019; Teodoro et al. 2020). Furthermore, co-composting of biochar reduces the bioavailability of these substances to plants and soil microorganisms (Rodríguez-Vila et al. 2016). The favorable results allied to co-composting with biochar exceed those when simply blending the biochar with the final compost product, potentially owing to interactions between the two components throughout the process of composting.

The objective of the study is to present current findings regarding the impact of MSW char addition on the composting process. Also, a detailed analysis was done to explore the resulting product from the co-composting of MSW char and vegetable waste in a rotary drum composting and to assess its application in agriculture and soil contaminated with metal. Additionally, this manuscript provides a concise overview of the most recent research on using co-composed char products to enhance the quality of soil, increase plant yields, and mitigate the bioavailability of potentially toxic metals to crops and animals. The primary aim is to enhance the production of co-composting of char and application in agriculture, serving as a foundation for future research endeavors. The presented overwhelming evidence demonstrates the numerous advantages that outweigh the drawbacks of employing co-composted MSW char to enhance the fertility of soil and plant yield while also highlighting the viability of utilizing this product for remediating soils contaminated with potentially toxic metals.

Materials and methods

Sample collection and preparation

The MSW sample was collected from the Boragaon dumpsite, the sole disposal site in Guwahati, which is located in northeastern India. After conducting a compositional analysis, the combustible portion of the waste was selected as pyrolysis feedstock, which consists of paper, plastic, rubber, leather, cardboard, clothes, and biomass material such as coconut shells and husk, wood, tree branches, and leaves (see supplementary material). For co-composting, vegetable wastes were collected from the different hostel messes of the Indian Institute of Technology Guwahati (IITG), and fresh cow dung was used as an inoculum to enhance the microbial activity in the study. The moisture content of vegetable waste and cow dung was very high (Table 2), so to avoid the probability of generation of leachate, a bulking agent such as grass cutting, dry leaves (collected from the vicinities of IITG), and sawdust (collected from a sawmill located in Amingaon, Guwahati, Assam) was mixed during the composting process as shown in Figs. 1 and 2 (Sudharsan Varma and Kalamdhad 2015).

Fig. 1
figure 1

a Pyrolysis setup using fixed bed reactor and b internal perspective of pyrolysis reactor

Fig. 2
figure 2

a Vegetable waste, b cow dung, c sawdust, d MSW char

Pyrolysis of MSW for char production

In each batch of pyrolysis experiment, 2 kg of combustible fragment of MSW, without segregation or shredding, was placed on the grate inside the pyrolizer, as depicted in Fig. 1. To preserve an inert atmosphere within the reactor, nitrogen gas was introduced through an inlet valve, while the pyrolysis gas produced was condensed in ice bath. Subsequently, the reactor was equipped with a temperature controller and operated at 250 °C, with a heating rate of 10 °C/min, and a holding time of 180 min, as per the optimized conditions for achieving the highest yield of MSW char in a fixed bed pyrolizer (Saikia and Kalamdhad 2023). The MSW char formed was collected from the grate and used for further analysis.

Co-composting of MSW char and vegetable waste

Co-composting was done utilizing in-vessel composting in the rotary drum composter (RDC), which outperforms all other composting methods in terms of degradation rate and waste materials stabilization (Singh and Kalamdhad 2016; Sharma et al., 2017). Therefore, a retention period of 20 days was selected for the experiment. The lab-scale RDC had a volume capacity of 550 l and operated in batch mode, as shown in Fig. 3. The apparatus is affixed to a metal frame with four rubber rollers and is mechanically rotated using a handle. The main body of the drum was made from mild steel and has dimensions of 1.022 m in length and 0.76 m in diameter. Inside the drum, 40 × 40 mm angles are welded along its length to facilitate proper blending, stirring, and aeration of feedstock during rotation (Maturi et al., 2022b). Additionally, two head-to-head holes, each 10 cm in diameter, are positioned at the top to allow for the drainage of additional water. Rotation of the RDC was done manually every 24 h to ensure appropriate aeration. Three different composting ratios of vegetable waste, sawdust, cow dung, and MSW char were added in three different rotary drum composters comprising 100 kg of waste materials. Vegetable wastes were cut into 2 to 5 cm in size by the mechanical shredder for the uniform blending of the composting material. The optimal blend consisting of cow dung, vegetable waste, and sawdust was prepared, taking into account their respective mixing ratios as documented in previous studies on the RDC of vegetable waste (Sudharsan Varma and Kalamdhad 2015). The addition of more than 20% of the MSW char is not recommended as it may interfere with the biodegradation of organic waste (Camps and Tomlinson 2015). As shown in Table 1, 2.5% and 5% (w/w) MSW char was added to the 100 kg of waste material, and it was homogenized and mixed before it was put in the rotary drum.

Fig. 3
figure 3

Schematic diagram of rotary drum composter and b and c rotary drum composter

Table 1 Mix proportion of composting material and MSW char

Sampling

Sampling was conducted on even alternative days throughout the 20 days. From each reactor, triplicate samples were collected at three specific locations, each 20 cm from the surface and distinct from one another. A portion of the samples was kept at 4 °C for immediate biological examination, while some were air-dried, crushed, and sieved for subsequent physicochemical analysis.

Physicochemical and nutritional parameters

The temperature was monitored every 6 h with the help of a digital thermometer. To measure pH and electrical conductivity, approximately 10 g of the compost sample, which was sieved through a 0.22-mm sieve, was mixed with 100 mL of distilled water in a 1:10 ratio (w/v). The mixture was then subjected to horizontal shaking for 2 h at 120 rpm. Subsequently, the pH of the suspension was determined using the pH meter. The conductivity of the suspension was measured using the EC meter. To measure volatile solids, approximately 10 g of the compost was placed in a crucible (W1), which was subsequently placed in a muffle furnace for 2 h at 550 °C. After this duration, the final weight of the sample was recorded as W2. The measurement of volatile solids in the sample was calculated as follows according to the Brandi (2013) standard method:

$$\text{VS }= \frac{\left(10-\left(W2-W1\right)\right)}{10}\times 100$$
(1)

Total organic carbon was determined by dividing the value of the volatile solids by factor 1.8, according to the Brandi (2013) standard method (Maturi et al. 2022a). The ash content was determined according to Maturi et al. 2022a. TKN was measured using the Kjeldahl distillation method. For this procedure, approximately 0.2 g of dried sample was mixed with a catalyst mixture consisting of 3 g of potassium sulfate and cupric sulfate in a 5:1 ratio. The mixture was then digested with 10 mL of H2SO4 at 400 ℃ for a duration of 4 h. After digestion, the volume of the digested sample was diluted to 100 mL and underwent distillation using the Kelplus distillation unit (Kauser et al. 2020). The distilled samples were titrated using 0.02 N H2SO4/0.01 N H2SO4.

$$\text{TKN }= \frac{14\times (S-B)\times N}{\text{Weight of the sample}}$$
(2)

In this context, S represents the volume of standard sulfuric acid used for the sample, B represents the volume of standard sulfuric acid used for the blank, N signifies the normality of the standard sulfuric acid, and W denotes the weight of the compost sample in grams.

The nitrate (NO3-N) and ammonical nitrogen (NH4-N) were determined spectrophotometrically after extraction with a 2 M KCL solution (Varma et al. 2018). Determination of available phosphorus and total phosphorus is done by colorimetric method according to the Brandi (2013) standard method (Kauser et al. 2020). The overall concentration of sodium, potassium, and calcium was assessed using a flame photometer (Systronic 128) after digestion of the 0.2 g sample in a block digester with 10 mL of mixed acid (H2SO4 and HClO4 in ratio 5:1) (Kauser et al. 2020).

Heavy metal analysis

Total concentrations of heavy metals such as iron (Fe), lead (Pb), manganese (Mn), zinc (Zn), chromium (Cr), copper (Cu), and nickel (Ni) were determined by atomic adsorption spectrometer (AAS) (Varian Spectra 55B).

Biological analysis

Evolution of CO2

According to Kalamdhad et al., (2008), the direct approach to assess the stability of compost is CO2 evolutions measured by static measurement method. About 10 g of soda lime was oven-dried and mixed with 25 g of fresh compost inside a container. The evolution of CO2 was calculated as follows (Kalamdhad et al. 2008):

$$\text{CO}2\text{ evolution }(\text{mg}/\text{gVS}/\text{day}) =\frac{{W}_{2}-{W}_{1}}{W\times T}\times 1000$$
(3)

In Eq. (3), W1 and W2 represent the initial and final weight of the soda lime (in grams) after incubated at 25 °C and oven-dried, respectively, W denotes the weight of the compost sample (in grams), and T indicates the period of incubation (in hours).

Soluble biochemical oxygen demand (sBOD) (APHA, 2005)

The sample was diluted in a ratio of 1:10 and placed on a horizontal shaker for 2 h. Following this, the solution was filtered, and the resulting supernatant was collected for analysis of BOD using the BOD5 test.

$$\text{sBOD }= \frac{{D}_{1}-{D}_{2}}{P}\times \text{DF}$$
(4)

In this context, D1 and D2 represent the initial and final levels of dissolved oxygen in the sample after 5 days of incubation, measured in mg/L, P denotes the volume of the sample diluted to a total volume of 300 mL with dilution water, and DF equals dilution factor.

Soluble chemical oxygen demand (sCOD) (APHA, 2005)

The sCOD analysis was conducted by diluting the compost in a 1:10 ratio, and the resulting filtrate was analyzed using the closed reflux method. In this method, 1.5 mL of K2Cr2O7 and 3.5 mL of H2SO4 reagent were mixed with 2.5 mL of the filtered sample in a COD vial. The mixture was then digested for 2 h at 150 °C and subsequently cooled to ambient temperature. It was then titrated against ferrous ammonium sulfate (FeH8N2O8S2) using a ferroin indicator until the color changed from green to deep red hue (Kauser et al. 2020)

$$\text{sCOD }= \frac{(\text{A}-\text{B}) \times \text{M}\times 8000}{\text{ml of sample}}$$
(5)

In this scenario, A and B represent the volume of FeH8N2O8S2 used for the blank and sample, respectively; M denotes the molarity of FeH8N2O8S2, and 8000 signifies the milliequivalent weight of oxygen multiplied by 1000 mL/L.

Microbial analysis

Ten grams of fresh samples were placed into 100 mL of sterile distilled water in an Erlenmeyer flask. The solution is mechanically mixed at 220 rpm in a horizontal shaker. The diluted samples were inoculated in culture media tubes to measure the amount of total and Fecal coliform using the most probable number (MPN) (APHA 2012). Total counts of heterotrophic bacteria were determined by inoculation of diluted samples in culture media Petri dish using the pour plate method (APHA, 2015).

Results and discussions

Initial characterization of substrate

The preliminary characterization of the composting material char is shown in Table 2. The moisture content of vegetables was very high (89.23%), whereas the moisture content of MSW char was very low, about 1.14%. To avoid leachate formation during the composting process and to optimize the C/N ratio, bulking agent sawdust was used. The presence of optimum moisture is significant for regulating temperature within the compost pile. Composting is characterized as an exothermic phenomenon, signifying its capacity to produce thermal energy. The presence of appropriate moisture levels promotes the effective dispersion of heat inside the pile, hence sustaining the optimal temperature range required for decomposition. The initial pH values of vegetable waste, cow dung, sawdust, and MSW char were 5.87, 6.2, 6.35, and 7.10, respectively. These values fell within the optimal range for fungal growth (5.0–8.5) and bacterial development (6.0–7.5) (Meena et al. 2021). The electrical conductivity of vegetable waste measured at 1.93 mS/cm indicates a low presence of soluble salts, reflecting the material salinity arising from exchangeable chloride, sodium, sulfate, nitrate, potassium, and soluble salts or due to the presence of highly conductivity metal ions (Feng et al. 2021). The sBOD of vegetable waste was higher than cow dung, indicating more degradable carbonaceous materials (Mangkoedihardjo et al., 2006). Vegetable waste also contained 79.84% volatile solids, 2.45% TKN, and 18.51 g/kg of total phosphorus, which resembles nutrient richness and is a feasible option for composting (Maturi and Kalamdhad 2024). The C/N ratio of sawdust indicated a higher amount of carbonaceous matter. The fecal coliform of cow dung was 2.4 × 1011, which determines the high concentrations of pathogenic bacteria (Hazarika and Khwairakpam 2018). The concentration of Ca, K, Mg, and Na was in the order of Ca > K > Mg > Na for Control, Trial 1, and Trial 2. The initial concentration of metals in MSW char was observed to be high, as depicted in Table 2.

Table 2 Initial characterization of substrate

Variation of temperature and moisture content during the composting process

The vegetable waste, which contains the highest quantity of organic content, triggers the activity of microbes at the onset of the composting process, resulting in a rise in temperature. This temperature increase was observed during the initial phases of composting, i.e., within 12 h in Control, Trial 1, and Trial 2. The highest temperature of 53.8 °C was observed when 5% MSW char was applied in Trial 2, followed by 50.8 °C in Trial 1 and 46.8 °C in Control, as shown in Fig. 4a. The thermophilic phase lasted longer in Trial 2 due to the cumulative increase of MSW char, which was comparable to biochar amendment during composting (Jain et al. 2018a, b). The rise in temperature during the composting process is attributed to the destruction of pathogenic bacteria and a higher rate of decomposition of biodegradable carbon. The introduction of MSW char elevates the maximum temperature and accelerates the timeframe to attain high temperatures. This is attributed to the increased porosity caused by the addition of MSW char during the composting, facilitating greater oxygen availability. Consequently, the heightened porosity boosts the metabolic activities of microorganisms, leading to increased heat release. Additionally, the incorporation of char extends the duration of the high-temperature phase, as MSW char effectively sustains elevated temperatures owing to its microporous structure. However, excessive MSW char can elevate temperatures excessively, leading to undesirable moisture loss, which is unfavorable for composting (Jain et al. 2018a, b).

Fig. 4
figure 4

Changes in a temperature and b moisture content during the process of composting

The moisture content of vegetable waste (89%) and cow dung (90%) was very high. To avoid leachate formation due to organic waste with high moisture content and for proper circumferential degradation, bulking agents such as grass cutting, dry leaves, sawdust, and MSW char were minced with inoculum and the substrate. Maturi et al., (2022a) reported that microbial activity decreases at low moisture content, and at high moisture content, the composting process slows down to anaerobic conditions. The rise in temperature was observed in a few days due to readily biodegradable matter, and there was no formation of leachate during the process of composting. The heat produced due to biological decomposition results in vaporization or moisture loss due to the rise in the rate of the decomposition process (Jain et al. 2018a, b). The inclusion of MSW char led to a decrease in moisture content, as depicted in Fig. 4b. This occurred as the addition of char lowered bulk density, promoting improved aeration and enhanced microbial activity. Consequently, there was increased heat loss, leading to greater moisture evaporation comparable to the moisture loss with biochar application during composting (Jain et al. 2018a, b). Additionally, char contributed to the loosening of the compost structure, facilitating enhanced ventilation. This, in turn, boosted microbial activity, resulting in increased water absorption by the microbes.

Variation of pH and electrical conductivity

The pH has a significant impact on microbial activity, and it has been observed that a neutral pH is optimal for the composting process. Metabolic process is more at 7.5–8.5 (Wong et al. 2009). The initial pH of mixes was recorded as 6.6, 6.72, and 6.84, which was increased to 7.5, 7.87, and 8.2 in Control, Trial 1, and Trial 2, respectively, as shown in Fig. 5a. The introduction of MSW char in the process of composting elevates the pH values in all treatments during the initial warming stage compared to the control. The pH of the final compost with the addition of MSW char was within the range of the pH of the biochar-added compost (7.4–8.5) (Jain et al. 2018a, b). In the warming phase, NH3 is generated, facilitating the breakdown of organic matter by bacteria and fungi. Subsequently, the pH gradually decreases in the middle and concluding stages of composting as bacteria and fungi convert some organic matter into organic acids, aiding the breakdown of lignocellulosic structures. During the cooling period, the pH stabilizes. Additionally, the ash content of char, containing Na+, Ca+, K+, and Mg+, undergoes ion exchange with H+ ions, further contributing to an increase in pH.

Fig. 5
figure 5

Variation of a pH and b electrical conductivity

The EC value higher than 4 mScm−1 causes a toxic effect on plants after its application (Qu et al. 2022). At the beginning of the composting process, the EC value was maximum, resulting from the release of ammonium ions and salts due to increased biodegradation of organic matter during the thermophilic phase. As shown in Fig. 5b, with the application of MSW char in Trial 1, it was detected that the EC values reduced in the later stage of composting as compared to control due to precipitation of mineral salts, volatilization of ammonia, and conversion of NH4+ into nitrate. Moreover, humification might bind small molecules during the maturation phase, lowering their abundance in the solutions obtained from solid samples through water extraction for EC analysis (Feng et al. 2021).

Variation of volatile solid, total organic carbon, and ash content during the composting period

The greater the volatile solids concentration, the higher the content of organic matter. When MSW char was introduced, Trial 2 exhibited a maximum reduction of 21.02% in volatile solids, in contrast to 19.11% in Trial 1 and 17.67% in the Control, as shown in Fig. 6a. Maximum reduction of volatile solids was observed in the thermophilic phase as thermophilic bacteria decompose the organic matter rapidly (Jain et al. 2018a, b). Initially, TOC was in the range of 27.28, 33.26, and 26.82%; after the application of MSW char, it finally reduced to 22.35, 26.17 and 21.18% in Control, Trial 1, and Trial 2, respectively, during the co-composting process, as depicted in Fig. 6b. Consumption of organic carbon as an energy source by microbes and CO2 produced by bacteria during the metabolic process are causes of the decrease of TOC during the process of composting (Daga et al., 2018). As shown in Fig. 6c, the ash content increases by 14.82, 26.65, and 19.62% in Control, Trial 1, and Trial 2, respectively, due to organic matter degradation and high ash content of MSW char. The decrease in volatile solids synchronized with an increase in ash content in all three treatments.

Fig. 6
figure 6

Variation of a volatile solid, b total organic carbon, and c ash content during the process of composting

Nitrogen dynamics (TKN and NH4-N) and phosphorus (total phosphorus and available phosphorus) dynamics during the composting period

Nitrogen and phosphorus are the essential macronutrients that are required by the plant for its growth. The TKN was observed in the range of 0.96, 1.12 and 1.19% on day 0 and increased to 2.17, 2.24, and 2.35% on day 20 in Control, Trial 1, and Trial 2, respectively, as shown in Fig. 7, which was in the range of increase in the percentage of TKN value with the amendment of biochar during composting (Jain et al. 2018a, b). Because of the overall loss of dry mass caused by CO2 emission and water loss due to evaporation resulting from the heat generated during the oxidation of organic material, TKN increased during the rotary drum composting process. In the cooling phase, there is a gradual rise in TKN content. The inclusion of MSW char facilitates the breakdown of cellulose, supplying nutrients to the composting process. Additionally, char contributes to nitrogen fixation, serving as a source of nitrogen for the growth and reproduction of microorganisms (Qu et al. 2022). The NH4 was observed in the range 94.12, 102.49, and 93.41 mg/kg on day 0, reducing to 34.1, 38, and 32.37 mg/kg on day 20 in Control, Trial 1, and Trial 2, respectively, which was comparable to the biochar application during composting of various substrate (Xiao xia Guo et al. 2020). The result shows that the concentration of NH4-N has significantly decreased throughout all treatments, and the decrease was greater when 2.5% MSW char was added in Trial 1. As the temperature increases rapidly with the addition of MSW char, the composting enters the high-temperature phase where volatilization of NH3 takes place, which results in a decrease of the NH4+-N content, which is similar to the case of biochar amendment (Agyarko-Mintah et al. 2017). The organic nitrogen transforms to ammoniacal nitrogen in the initial period of the composting process. Due to intense aeration, a significant rise in pH, and the loss of CO2 during the process, NH4+-N decreases during the maturation stage (Kauser et al. 2020). The high amount of total phosphorus was observed on the initial day, which may have been caused by a higher concentration of vegetable waste, cow dung, and MSW char (Kalamdhad et al. 2008). During the process of composting, total phosphorus increased from 14.13, 14.1, and 16.79 mg/kg to 20.1, 20.89, and 23.48 mg/kg in Control, Trial 1, and Trial 2, respectively. The percentage increase of total phosphorus was highest about 6.7%, when 5% of MSW char was applied. Available phosphorus increased from 0.84, 0.95 and 1.02 mg/kg to 2.28, 2.38, and 2.49 mg/kg in Control, Trial 1, and Trial 2, respectively, as shown in Fig. 7. The maximum increment of available phosphorus and total phosphorus was observed in Trial 2, when 5% MSW char was co-composted with vegetable waste, compared to Trial 1 and Control which was comparable to biochar addition with compost (Doan et al. 2015). Bacterial mineralization and the decomposition of organic biomass during the composting process lead to an increase in phosphorus (Kauser et al. 2020).

Fig. 7
figure 7

Nitrogen dynamics (TKN and NH4-N) and phosphorus (TP and AP) dynamics during the composting period

Variation in C/N ratio during composting period

Another important parameter that is crucial for nutrient balance and microbial growth during the composting process is the C/N ratio. Microorganisms mostly obtain their resources from carbon, while nitrogen is crucial for the synthesis of the protozoa that make up cells. Analyzing the alterations in the C/N ratio allows for the measurement of organic matter decomposition and the stabilization of compost. A C/N ratio exceeding 30/1 could lead to a reduction in the activity of microbes, and below 18/1 may result in nitrogen loss to the atmosphere as ammonia. Therefore, the C/N ratio between 19 and 30 is ideal for microbes during composting (Kauser et al. 2020). In the present study, C/N reduced from 28.55, 28.9, and 22.54 to 11.83, 12.09, and 10 in Control, Trial 1, and Trial 2, respectively, as shown in Fig. 8. Final compost with a C/N ratio between 10 and 15 indicates good degree of maturity (Sudharsan Varma and Kalamdhad 2015). It was observed that when 2.5% of MSW char was added during the co-composting of vegetable waste, the final product had much better maturity as compared to 5% MSW char and control. The range of the C/N ratio for a matured compost was within the range when MSW char was applied during composting akin to biochar (Guo et al. 2020).

Fig. 8
figure 8

Variation in C/N ratio during composting

Variation of macronutrients during the composting period

Potassium is the third most important macronutrient required by the plants for its growth whereas magnesium is required by the plants for chlorophyll production. Calcium is the secondary macronutrient required by the plant for the cell division. It was observed that with the addition of MSW char, the total potassium increased from 3.08, 3.01, and 3.12 to 5.86, 6.9, 6.13 g/kg in Control, Trial 1, and Trial 2, respectively, as shown in Fig. 9. The other macronutrients such as total Na, Mg, and Ca exhibited an upward trend during composting for all trials. The final values found to be 4.23 g/kg (Control), 4.73 g/kg (Trial 1), and 4.58 g/kg (Trial 2) of sodium; 40.89 g/kg (Control), 44.9 g/kg (Trial 1), and 51.79 g/kg (Trial 2) of calcium; and 3.14 g/kg (Control), 3.3 g/kg (Trial 1), and 3.32 g/kg (Trial 2) of magnesium. The highest concentration of macronutrients was observed in Trial 2 when 5% of MSW char was added, which also indicated the highest reduction of volatile solids and was comparable with the co-composting of biochar (Jain et al. 2018a, b). The concentration of total Mg, Na, Ca, and K increased due to the loss of dry mass of materials caused by the decomposition of organic matter and subsequent mineralization during the composting process.

Fig. 9
figure 9

Variation of macronutrients: potassium, sodium, calcium, and magnesium during the composting period

sCOD, sBOD, and variation of CO2 evolution rate during the composting period

Composting involves the aerobic decomposition of organic matter. Changes in sBOD and sCOD levels depend on the organic material degradation. The sBOD and sCOD decreased in all trials during the composting process due to vegetable waste degradation, as shown in Fig. 10. In Trial 2, there was a maximum reduction in sBOD (89.33%) followed by Trial 1 (84.68%) and Control (83%). There was no significant difference in the reduction of the body after 18 days of composting in Trial 1 and Trial 2. Initially, sCOD was in the range of 505, 568, and 450 mg/L and finally reduced to 90, 87, and 48 mg/L in Control, Trial 1, and Trial 2, respectively, during composting. The degradation of organic matter by microbes during the composting reduces sBOD and sCOD, which in turn lowers carbon dioxide emissions. The emission of CO2 decreased because of a decrease in sBOD and sCOD, indicating that the compost had stabilized.

Fig. 10
figure 10

sCOD and sBOD during composting period

The most accurate method for assessing the stability of compost is CO2 evolution as it detects carbon that comes directly from the compost under evaluation. Aerobic respiration has a direct relationship with CO2 emission. As shown in Fig. 11, CO2 emission decreases at the final stages of composting due to a decrease in degradable organic matter and lower microbial activity.

Fig. 11
figure 11

Variation CO2 evolution rate during the composting period

Variation of heavy metals (Fe, Pb, Mn, Zn, Cr, Cu, and Ni) during the composting period

Throughout composting, an increase in heavy metal concentration has been noted, attributed to material loss resulting from organic matter mineralization. Figure 12 illustrates the total concentration of heavy metal during rotary drum composting in Control, Trial 1, and Trial 2. According to Singh and Kalamdhad (2012), the increase in total heavy metal content is the result of mass degradation during composting due to organic matter breakdown, CO2, and moisture emission (Maturi et al., 2021).

Fig. 12
figure 12

Variation of heavy metals (Fe, Pb, Mn, Zn, Cr, Cu, and Ni) during the composting period

Microbial counts

The hygiene of compost can be determined by the presence of coliform bacteria. The recommended values of fecal density for compost hygienization are 5 × 102 and 5 × 103 MPN/g dry weight (Sudharsan Varma and Kalamdhad 2015). The average number of total coliforms was observed in the range of 2.1 × 107, 1.7 × 107, and 3.3 × 107 MPN/g dry weight and finally reduced to 3.3 × 104, 2.4 × 104, and 2.4 × 104 MPN/g dry weight in Control, Trial 1, and Trial 2, respectively, as shown in Table 3. However, Fecal coliform was in the order of 2.1 × 106, 1.4 × 106, and 2.0 × 106 MPN/g dry weight reduced to 2.0 × 103, 2.1 × 103, and 1.1 × 103 MPN/g dry weight in Control, Trial 1, and Trial 2. Maximum reduction of total coliform and fecal coliform was observed in Trial 2 due to high temperature (53.8 °C).

Table 3 Total and fecal coliform count during composting

Heterotrophic plate count

Due to the high amount of initial waste composition, the microbial population was very high during the initial phase of composting. The mesophilic heterophilic bacteria utilize the highly biodegradable organic matter for cell energy and cell division, thereby increasing the temperature of the composting environment. Therefore, there is a gradual decrease in heterotrophic bacteria after the thermophilic phase. The number of heterotrophs was detected as 1.84 × 1011, 2.12 × 1012, and 2.72 × 1012 CFU/g dry weight and finally reduced to 2.1 × 106, 1.23 × 106, and 1.04 × 106 CFU/g dry weight in Control, Trial 1, and Trial 2, respectively, as shown in Table 4. Maximum reduction of total heterotrophic was observed in Trial 2 due to high temperature (53.8 °C).

Table 4 Total heterotrophic colonies during composting

Conclusion

The findings of the study suggest that utilizing rotary drum composting for vegetable waste, in conjunction with MSW char, has proven to be a successful approach in terms of biodegradation, nutrients, and heavy metals adsorption. This process allows for the production of nutrient-rich compost in just 20 days. The introduction of MSW char into the mix enhances the aeration of the composting materials, which accelerates the decomposition process. During the initial composting stages, there was a noticeable increase in temperature, with Trial 2 reaching the highest temperature recorded at 53.8 °C. Trial 2 also exhibits a prolonged thermophilic phase due to the higher quantity of MSW char, signifying greater organic matter degradation during this phase. Additionally, incorporating MSW char into the composting process raises the pH levels in all treatments compared to the control, indicating strong buffering capacity. Trial 2 demonstrates a more pronounced increase in electrical conductivity compared to the control and Trial 1; although it decreased in the later stages of composting. furthermore, all trials exhibit improved nutritional properties when MSW char is added during composting, and there is a reduction in the concentration of heavy metals compared to the control. Therefore, the inclusion of MSW char not only enhances the quality and speed of composting but also encourages the transformation of mixed MSW into valuable products.