Productivity evaluation, multi-scale characterisation, and safety assessment of biochar derived from green and woody agricultural biomass in Qatar Authors: Rashad Al-Gaashani, Omar Shahid, Ojima Z Wada, Simjo Simson, Tricia A Gomez, Mujaheed Pasha, Omar El Hassan, Abdulaziz Suwailem, Kashif Rasool, Gordon McKay, Tareq Al-Ansari, Khaled A Mahmoud Published: 2026 ABSTRACT AbstractQatar produces approximately 2 million tons of agricultural biomass waste annually. Less than 20% is currently recycled or valorized, mainly through limited composting, landfilling, and, in some cases, open burning. This study presents a systematic production and multi-scale characterization of biochar derived from local mixed green agricultural waste (GAGW) and woody agricultural waste (WAGW), providing a characterization-based foundation to inform their potential integration into the energy-water-food (EWF) nexus of arid regions. Each feedstock was analyzed for moisture content (MC), volatile matter (VM), ash content, fixed carbon (FC), elemental composition (C, H, N, S), molar ratios (H/C, O/C), structural, elemental, morphological, thermal combustion and specific surface area properties. The experimental design follows a double-split arrangement. GAGW and WAGW were considered as the main plots, pyrolysis temperature (300, 400, 500, and 600 °C) as the sub-main plots, and residence time (20, 60, 90, and 120 min) as the sub-sub plots. Results demonstrate a fundamental divergence in carbonization pathways. WAGW achieved a peak solid yield of 71.28% at 300 °C in 20 min, significantly outperforming GAGW (60%). As thermal severity increased to 600 °C, WAGW underwent superior structural development, reaching a specific surface area of 684 m2/g, about 3 times higher than GAGW. Van Krevelen analysis validated the transition to highly recalcitrant aromatic frameworks, with WAGW reaching a superior H/C ratio of 0.30 compared to 0.35 for GAGW. While WAGW produced a carbon-dense matrix (82.6 atom% C), GAGW evolved into a nutrient-active medium, concentrating potassium (88,780 mg/kg) and calcium (63,932 mg/kg) in stable sylvite and calcite phases, as affirmed via X-ray Diffraction (XRD). Crucially, all produced biochar samples were free from hazardous heavy metals (As, Cd, Cr, Pb, Hg < 0.1 mg/kg), confirming their safety profile and suitability for further evaluation in potential soil and water applications.Supplementary InformationThe online version contains supplementary material available at 10.1038/s41598-026-54140-9.Keywords: Biochar, Pyrolysis, Biomass, Agricultural waste, Safety assessmentSubject terms: Engineering, Environmental sciences Introduction The world’s production of agricultural waste is estimated to be 1.3 to 2.1 billion tons1–4. In Qatar, more than 2 million tons of agricultural waste is produced annually, including waste from farms and livestock. Due to high living standards, the country is positioned as one of the top 3 countries globally for waste production per capita (1.8 kg per day)5,6. However, less than 20% of this waste is recycled or reused, indicating a significant opportunity to develop innovative ways to manage these resources more efficiently. Slow pyrolysis is an established thermochemical valorization process for biomass, yielding value products like biochar, tar, and syngas7. However, this method has not been extensively considered for the country’s growing agricultural biomass waste. The current prevalent waste management practice via landfilling, along with incomplete combustion, represents a significant source of greenhouse gas emissions and other associated adverse environmental impacts8,9. Thus, there is a global push to explore sustainable alternatives, with increasing attention given to thermochemical conversion technologies, particularly pyrolysis, which enable biomass valorization into stable carbon form (biochar)10,11. Biochar is a stable, carbon-rich byproduct from biomass pyrolysis. It has long been recognized for its ability to sequester carbon in the soil, thus mitigating climate change. Biochar produced from different biomass materials has been studied worldwide for its potential to improve soil fertility, enhance water retention, facilitate pollutant adsorption in water, and for gas capture12. Several studies on biochar’s efficacy in arid and semi-arid regions have affirmed their ability to improve soil quality and crop yield13–16. However, the properties and effectiveness of biochar are highly dependent on the feedstock used and the pyrolysis conditions. While previous local studies have closely examined other waste biomass sources like sludge and food waste17–23. There is still insufficient data to support the widespread adoption of biochar from Qatar’s budding agricultural sector. Therefore, further research is necessary to validate biochar’s potential role in the local EWF nexus water treatment, through the valorization of abundant local agricultural biomass. The suitability of biochar for environmental applications is commonly evaluated based on internationally recognized quality standards and application-specific criteria. For agricultural use, guidelines such as those established by the European Biochar Certificate24 and the International Biochar Initiative emphasize parameters including low concentrations of potentially toxic elements, appropriate pH, high organic carbon content, and stable aromatic structure to ensure soil safety and long-term carbon sequestration25–27. In addition, nitrogen content and nitrogen-containing functional groups play a key role in improving soil fertility and nutrient retention28. In contrast, biochar intended for water treatment applications is typically characterized by high specific surface area, well-developed porosity, and the presence of functional groups that enhance adsorption capacity for organic and inorganic contaminants. Several studies have demonstrated that biochar with BET surface areas exceeding 300 m2/g and tailored surface chemistry exhibit high removal efficiencies for heavy metals and emerging pollutants. Therefore, aligning the physicochemical properties of produced biochar with these established criteria provides a rational basis for assessing its potential applicability in soil amendment and water treatment systems24,29–31. Pyrolysis temperature and residence time are key factors influencing biochar properties. Previous studies have shown that biochar is typically produced within a temperature range of 300–700 °C under oxygen-limited conditions, with temperature strongly influencing carbonization, aromaticity, and surface development32. Lower temperatures (300–400 °C) favor higher yield and functional groups, while higher temperatures (500–700 °C) enhance carbonization and surface area33,34. Residence time also affects pore development, with moderate durations improving structural properties of biochar. BET and morphology are also significantly influenced by residence time (10–100 min)35. Therefore, the selected conditions (300–600 °C and 20–120 min) were chosen to systematically evaluate these effects, consistent with previous studies32,36,37. In this study, mixed green agricultural waste (GAGW) and woody agricultural waste (WAGW) were selected as representative feedstocks following consultation with local Qatari farms. This selection aims to address the environmental risks associated with improper disposal, such as pathogen transmission and greenhouse gas emissions from open burning. To provide a data-driven roadmap for their high-value valorization, the thermochemical evolution of these materials was systematically investigated. The study employed a rigorous experimental matrix with four pyrolysis temperatures (300–600 °C) and four residence times (20–120 min). The produced biochar samples were subjected to a multi-scale characterization suite. This included CHNS-O ultimate analysis, X-ray Diffraction (XRD), X-ray fluorescence (XRF), thermal gravimetric analysis (TGA), and field emission scanning electron microscopy (FE-SEM) combined with energy dispersive spectroscopy (EDS). These analyses were used to elucidate the complex trade-offs between solid yield, aromatization, and mineral concentration. Furthermore, a critical safety assessment was conducted. Elemental screening for 31 target metals was performed using ICP-OES to establish a non-toxic baseline for environmental applications. Materials and methods Feedstock collection and categorization Feedstocks shown in Fig. 1 for biochar production were selected in consultation with two local farms in Qatar, based on availability and local agricultural practices. Eleven agricultural waste samples were collected and classified into GAGW and WAGW. GAGW included soft biomass such as leaves, stems, and dried vegetables, while WAGW comprised lignocellulosic materials such as date palm residues and Sidra branches. Prior to pyrolysis, all feedstocks were cleaned, dried to eliminate residual moisture, and ground to ensure uniformity for thermal conversion and characterization. This systematic categorization and preparation ensured a reliable basis for comparing the pyrolysis behavior and resulting biochar properties across a diverse set of agricultural residues. Feedstocks were collected from local farms. Table 1 presents a comparative overview of the 11 biomass feedstocks utilized in this study for biochar production. The samples are categorized into two groups: GAGW (Samples 1–7), comprising vegetables, and processed organic matter; and WAGW (Samples 8–11), consisting of tree-derived materials such as date palm frond midrib, Sidra branches, and rachis. The table highlights key characteristics of each feedstock, including physical form, estimated MC based on visual assessment, and observations from the grinding process. This classification provides insight into the inherent variability among feedstocks and the operational considerations required for their preparation. Such differences play a crucial role in influencing pyrolysis behavior, biochar yield, and suitability for specific applications, underscoring the importance of detailed feedstock assessment in biochar research. Table 1Biomass feedstocks used for biochar production. Composite samples (Samples 7 and 11, highlighted in bold) represent the mixed fractions selected for systematic pyrolysis and characterization, reflecting the heterogeneous nature of real agricultural waste streams.GroupsSample noFeedstockCategoryFormMC (%)Grinding notesGreen agricultural waste (GAGW)1Eggplant-fresh wasteVegetableThin dried slices93.87Smooth grind, minimal resistance2Zucchini-fresh wasteVegetableSliced and dried92.95Easy to handle and grind3Tomatoes-fresh wasteVegetableSticky dried pieces92.85Sticky residue4Cucumber-fresh wasteVegetableThin dry chips96.39Similar to zucchini5Capsicum-fresh wasteVegetableWrinkled, dried skin91.23Lightweight, easy to powder6Green leaves and stems-fresh wastePlant MatterFibrous dried parts83.25Slightly fibrous, but grinds well 7 Mixed Agricultural Waste (1–6) Composite / Processed Pre-ground mixture 87.75 Easy grinding, fine powder Woody agricultural waste (WAGW)8Dried* date Palm Frond MidribWoody Agricultural WasteRigid stem segment9.06Tough fiber, needs coarse grinding9Dried sidra BranchWoody Agricultural WasteThin woody twigs7.44Dry and woody; moderate grinding effort10Dried date Palm RachisWoody Agricultural WasteFibrous central stalk6.98Dense core, requires powerful grinding 11 Mixed Woody Agricultural Waste (8–10) Blended / Composite Mixing woody feedstocks 7.83 Fine ground *Naturally sun-dried on the farm. Moisture content (MC) values reported in this table reflect the initial as-received condition of each feedstock prior to laboratory pre-treatment. All feedstocks were subsequently oven-dried at 105 °C for 8 h under standardized laboratory conditions prior to pyrolysis to eliminate residual MC and ensure experimental reproducibility. Biomass feedstocks used for biochar production. Composite samples (Samples 7 and 11, highlighted in bold) represent the mixed fractions selected for systematic pyrolysis and characterization, reflecting the heterogeneous nature of real agricultural waste streams. *Naturally sun-dried on the farm. Moisture content (MC) values reported in this table reflect the initial as-received condition of each feedstock prior to laboratory pre-treatment. All feedstocks were subsequently oven-dried at 105 °C for 8 h under standardized laboratory conditions prior to pyrolysis to eliminate residual MC and ensure experimental reproducibility. The decision to pool individual feedstock into two representative composite groups was driven by both practical and scientific considerations. In real agricultural settings, waste streams are inherently heterogeneous and mixed; valorization strategies must therefore be designed for aggregated fractions rather than isolated materials. Moreover, the individual physicochemical properties of the constituent biomass types, including date palm fronds, Sidra branches, and common vegetable residues are well-documented in the literature. Grouping by biomass category (green/herbaceous vs. woody/lignocellulosic) is consistent with established classification frameworks and allowed for meaningful comparison of two fundamentally distinct biochemical compositions under identical pyrolysis conditions. Feedstock samples preparation Initial pre-treatment involved the removal of physical contaminants, after which the cleaned wastes were bagged and clearly labelled for identification and traceability. Each waste type was weighed before and after drying using a Binder ED23 heating oven at 105 ℃ for 8 h to determine MC (%)38,39. Following drying, each waste type was individually grounded using a mechanical grinder (IKA M20 Universal Mill) and sieved (0.25 mm) to produce a uniform and fine particle size ≤ 0.25 mm suitable for pyrolysis and characterization. The ground materials were then stored in labeled containers to maintain sample integrity. Pyrolysis procedure Pyrolysis experiments were conducted using an SH Scientific SH-FU-18.7MHV furnace (18.7 L capacity, maximum temperature of 1500 °C; SH Scientific Co., Ltd., Sejong, South Korea), equipped with a mass flow controller, back pressure regulator, digital vacuum gauge, and vacuum pump, under controlled inert conditions. A constant heating rate of 5 °C/min was applied in all experiments, in accordance with the manufacturer’s recommended operating conditions for stable and uniform thermal decomposition. The system was heated from ambient temperature to the target temperature (300–600 °C), followed by an isothermal holding period (20–120 min), and then allowed to cool naturally to room temperature while maintaining continuous nitrogen flow (0.2 L/min). The nitrogen flow rate (0.2 L/min) was selected based on the small sample mass (~ 3 g) and reactor volume. This flow rate is sufficient to maintain oxygen-free conditions by continuously purging volatile products and preventing oxidative reactions. Similar flow rates (0.1–0.5 L/min) are commonly reported for laboratory-scale fixed-bed pyrolysis systems, where excessive flow is avoided to prevent heat loss and unnecessary gas consumption while still ensuring an inert environment40. All feedstocks were dried, ground, and sieved to a particle size of approximately 0.25 mm to ensure uniform heat transfer and reproducibility. The sample mass used in each experiment was approximately 3 g, which is appropriate for the furnace capacity and ensures consistent thermal behavior. The reactor operates as a batch-type fixed-bed system, where gas residence time is governed by the nitrogen flow rate and reactor geometry. Due to the small sample size and continuous purge, secondary reactions are minimized and volatile products are efficiently removed. All experiments were conducted in duplicate, and the reported results represent averaged values to ensure reproducibility and reliability. To facilitate tracking and identification, each sample was assigned a unique code (e.g., BC-3-60-1), as illustrated in Fig. 2. Experimental settings for producing biochar from GAGW and WAGW via pyrolysis are shown in Fig. 3, Figs. S1 and S2. Biochar samples abbreviation. Experimental setup for producing biochar from green agricultural waste (GAGW) and woody agricultural waste (WAGW) collected from a local farm in Qatar via pyrolysis. Samples characterization Thermogravimetric analysis Thermogravimetric analysis (TGA) was performed on a TA Instruments Discovery TGA. Approximately 10 ± 0.5 mg of each sample was loaded into a tared platinum pan. Each sample was analyzed twice: once under a 100% nitrogen atmosphere (Grade 5) and once under a 70/30 nitrogen/oxygen mixture (both Grade 5), with a constant purge gas flow rate of 50 mL/min for both runs. All samples were heated from 40 to 1000 °C at a ramp rate of 5 °C/min. Proximate and yield analysis Moisture content (MC), ash, volatile matter (VM), and fixed carbon (FC) contents in the biochar samples were determined following American Standard Testing and Materials (ASTM) D1762-84 Standard38,39 and TGA data. Approximately 1 g of ground sample (0.25 mm sieve) was used for the test, and all crucibles were pre-heated at 105 °C for 2 h and cooled in a desiccator before weighing. MC (%) was measured by heating the sample into an open crucible at 105 °C for 8 h in a box muffle furnace (Thermo Scientific-Thermolyne), followed by cooling in a desiccator for 1 h and reweighing . The mass loss due to evaporation represents the moisture content. Volatile matter (%) was determined by placing the previously dried sample in a covered crucible and heated it rapidly to 950 °C for 6 min in the muffle furnace. The weight loss during this step corresponds to the VM released from the sample. Ash (%) was measured by transferring the residue to an uncovered crucible and burning it at 750 °C in the muffle furnace for 6 h under air. Cool the crucibles with lids in place in a desiccator for 1 h and weigh. The mass of material remaining after burning is called ash. The FC (%), and yield concentration were determined by the following Equations: All measurements were performed in duplicate using an analytical balance with 0.1 mg precision, and results were reported to be at the nearest 0.05%. Proximate measurements from TGA data Volatile matter was also determined using TGA under an inert nitrogen (N₂) atmosphere. The sample was heated from ambient temperature to 600 °C at a controlled heating rate, and the mass change was continuously recorded. MC was first quantified as the mass loss occurring up to 105 °C under N2. Following moisture removal, VM was defined as the mass loss associated with thermal devolatilisation of non-aqueous organic components in the absence of oxygen. In this study, VM was also calculated as the mass loss occurring between 105 and 600 °C under N2. Ash content was determined separately as the residual mass remaining at 900 °C under an oxidative (O2) atmosphere to ensure complete combustion of the remaining carbonaceous material. Fixed carbon was calculated by difference using the mass remaining at 600 °C under N2 after subtracting the ash fraction. The proximate analysis parameters were calculated according to the following Equations: where represents the percentage mass remaining at temperature T. Physicochemical characterization Biochar pH and electrical conductivity (EC) were measured using a Thermo Scientific Orion Versa Star Pro pH meter and a Thermo Scientific Orion Star A212 conductivity meter, respectively, at a 1:20 (w/v) biochar-to-deionized-water ratio. The specific surface area was determined by N2 adsorption using the Brunauer–Emmett–Teller (BET) method (Micromeritics ASAP 2020 surface area analyzer, Georgia, USA) after degassing the samples at 200 °C for 8 h. Ultimate and heavy metal analysis The carbon (C), hydrogen (H), nitrogen (N), and sulfur (S) composition of the samples was determined using a Flash 2000 organic elemental analyzer (ThermoScientific, Waltham, MA, USA). Each analysis was performed on approximately 3.5 mg of sample on a dry, ash-free basis. Total oxygen content (O%) was calculated by difference, based on the following formula: Approximately 0.1 g of each dried feedstock and biochar sample was processed using microwave-assisted acid digestion (CEM MARS 6, Matthews, NC, USA). Each sample was digested at 200 °C in 8 mL of a 7:1 (v/v) solution of concentrated nitric acid (HNO3) and hydrochloric acid (HCl). Following digestion and appropriate dilution, the concentrations of 31 target metals were measured by Inductively Coupled Plasma-Optical Emission Spectrometry (ICP-OES; Agilent 5800, Santa Clara, CA, USA), with typical instrument detection limits of 1–50 µg/L. Consequently, elemental concentrations reported as < 0.1 mg/kg in Table 8 indicate that measured values fell below this analytical detection threshold and should not be interpreted as absolute absence of the element. Table 8Metal analysis of feedstock and resulting biochar.MaterialGAGWWAGWBC-6-120-7BC-6-120-11Metals (mg/ kg)Al < 0.1 < 0.1 < 0.1 < 0.1As < 0.1 < 0.1 < 0.1 < 0.1B < 0.1 < 0.1 < 0.1 < 0.1Ba10.2 < 0.128.7 < 0.1Be < 0.1 < 0.1 < 0.1 < 0.1Ca17,6292,35463,93215,673Cd < 0.1 < 0.1 < 0.1 < 0.1Co < 0.1 < 0.1 < 0.1 < 0.1Cr < 0.1 < 0.1 < 0.1 < 0.1Cu < 0.1 < 0.1 < 0.1 < 0.1Fe < 0.1 < 0.1 < 0.1 < 0.1Hg < 0.1 < 0.1 < 0.1 < 0.1K32,5037,39888,78038,390Li < 0.1 < 0.1 < 0.1 < 0.1Mg < 0.1 < 0.1 < 0.1 < 0.1Mn25.925.372.269.2Mo < 0.1 < 0.1 < 0.1 < 0.1Na < 0.1 < 0.1 < 0.1 < 0.1Ni < 0.1 < 0.1 < 0.1 < 0.1P < 0.1 < 0.1 < 0.1 < 0.1Pb < 0.1 < 0.1 < 0.1 < 0.1Si < 0.1 < 0.1 < 0.1 < 0.1Sb < 0.1 < 0.1 < 0.1 < 0.1Sn19.423.929.930.9Sr5401671,635389Th < 0.1 < 0.1 < 0.1 < 0.1Tl < 0.1 < 0.1 < 0.1 < 0.1U < 0.1 < 0.1 < 0.1 < 0.1V < 0.1 < 0.1 < 0.1 < 0.1Zn < 0.1 < 0.1 < 0.1 < 0.1 < 0.1 mg/kg indicate that measured values fell below this analytical detection threshold. Metal analysis of feedstock and resulting biochar. < 0.1 mg/kg indicate that measured values fell below this analytical detection threshold. Structural and morphological analysis Crystalline mineral phases were identified by X-ray diffraction using a Bruker D8 Advance diffractometer with Cu-Kα radiation over a 2θ range of 10°–80°. Surface morphology and microstructural features were examined using a field emission scanning electron microscope (FE-SEM), QUANTA FEG 650 (Thermo Fisher Scientific, USA). X-ray fluorescence analysis (XRF, Rigaku Sequential, Japan) was used to determine the elemental composition of the biomass samples. Dried and finely ground samples were analyzed using an XRF spectrometer under standardized operating conditions. Data analysis Data were processed and visualized in Microsoft Excel and Origin 2020. Descriptive statistics are reported as mean ± standard deviation. To assess statistically significant differences in biochar properties between the two feedstock groups (GAGW and WAGW), one-way ANOVA was performed using JASP (Version 0.95) at a 95% confidence interval. Data were pooled by feedstock type across pyrolysis conditions, as the primary objective was to characterize inherent differences between the two biomass categories. Levene’s test was used to verify equality of variances prior to comparison; where this assumption was not met (p < 0.05), Welch’s t-test was applied. Differences were considered statistically significant at p < 0.05. Results and discussion Feedstock analysis XRF analysis of GAGW and WAGW X-ray fluorescence (XRF) analysis highlights pronounced differences in the inorganic composition of GAGW and WAGW, as shown in Table 2. GAGW exhibits a nutrient-rich ash profile, with major contributions from K₂O (12.6 wt%), CaO (9.47 wt%), P2O5 (1.61 wt%), MgO (0.92 wt%), and measurable SO3 and Cl. This composition is characteristic of plant-based agricultural residues and aligns with earlier findings for nutrient-rich biomass such as coffee husk biomass, rice husk, and mixed crop residues, all of which exhibit elevated K, Ca, and P contents in their ash fraction41,42. Such high-ash biochar derived from Ca- and K-rich biomass have been reported in the literature to exhibit potential as mineral fertilizer supplements, with the capacity to improve cation-exchange properties and soil nutrient retention43. Table 2XRF analysis of green agricultural waste (GAGW) and woody agricultural waste (WAGW).NoComponent-GAGWGAGW (wt%)Component-WAGWWAGW (wt%)1Na₂O0.185Na₂O0.1332MgO0.920MgO0.2443Al₂O₃0.0231Al₂O₃0.01444SiO₂0.658SiO₂0.4135P₂O₅1.61P₂O₅0.1166SO₃1.56SO₃0.3307Cl1.84Cl0.6858K₂O12.6K₂O1.1609CaO9.47CaO0.66910MnO–MnO0.002611Fe₂O₃0.104Fe₂O₃0.014012NiO0.0297ZnO0.001013Br0.0180Br0.003014SrO0.218SrO0.013115LOI*70.8LOI96.20*LOI is loss on ignition. XRF analysis of green agricultural waste (GAGW) and woody agricultural waste (WAGW). *LOI is loss on ignition. The lower loss on ignition (LOI) (70.8 wt%) further confirms a higher mineral-to-organic ratio in GAGW compared with woody biomass. In contrast, WAGW has much lower mineral content, with total oxides barely exceeding 3–4 wt% and a very high LOI (96.2 wt%), indicating that woody agricultural residues are predominantly carbonaceous with minimal ash. This chemical pattern is consistent with typical wood-derived biochar reported in the literature, which generally show low ash, high fixed carbon, and reduced concentrations of basic oxides43,44. Such biochar is widely recognized for its stability, high aromatic carbon content, and long-term carbon sequestration potential. Upon pyrolysis, these oxides signatures become further concentrated in the biochar. GAGW-derived biochar retains high levels of K, Ca, and P, making it function as a slow-release, multi-nutrient soil amendment. Similar K–P–Ca-rich biochar and ashes have been proposed as alkaline fertilizers, liming agents, and soil conditioners in agricultural applications45,46. However, the relatively high chlorine content (1.84 wt%) must be considered, as it may impact soil salinity and corrosion processes. The very low mineral content and high carbon purity of WAGW-derived biochar suggest potential suitability for applications requiring high porosity and structural stability, such as pollutant adsorption, soil structure improvement, or long-term carbon sequestration, though direct application performance remains to be validated experimentally. These properties match those reported for wood-derived biochar used in the removal of toxic elements from water and wastewater, environmental remediation, and soil enhancement44,47. Together, the XRF results indicate a complementary role for the two feedstocks: GAGW is a promising precursor for nutrient-rich, ash-active biochar and fertilizer or liming products, while WAGW is better suited for high-carbon, structurally stable biochar targeted at soil conditioning and environmental remediation. Importantly, these compositional divergences are fully consistent with the anticipated behavior of the individual constituent biomass types comprising each composite group, as established in the broader literature. The elevated K₂O, CaO, and P₂O₅ content of GAGW reflects the well-documented nutrient-rich ash profiles of vegetable and leafy residues, while the high LOI and minimal oxide fraction of WAGW mirrors the low-ash, carbon-dominant chemistry characteristic of date palm and woody lignocellulosic feedstocks43,44. This agreement between the mixed composite results and the expected individual feedstock behavior validates the representativeness of the pooled groups and confirms that the mixing strategy did not introduce confounding effects on inorganic composition. XRD of biomass and biochar Biochar samples produced at higher temperatures (500–600 °C) and longer residence time (120 min) were selected for XRD study because these conditions yielded the highest surface area and most developed structure, making them the most representative samples for advanced characterization. Figure 4 shows XRD patterns of the raw biomasses (GAGW and WAGW) and the derived biochar produced at 500–600 °C for 120 min reveal a predominantly amorphous carbon matrix superimposed with distinct crystalline mineral phases originating from the inorganic ash fraction. All samples exhibit a broad diffraction halo centered at 2θ approximately 22–25°, assigned to turbostratic/disordered carbon domains, confirming limited graphitization even at the highest pyrolysis temperature. Superimposed on this background, sharp reflections indicate the presence of thermally stable mineral phases. The dominant crystalline phase in all biochar is calcium carbonate (calcite), identified by its intense (104) reflection at 2θ ≈ 29.4°, together with secondary reflections at ~ 23.0, 35.9, 39.4, 43.1, and 47–49°, in excellent agreement with reference calcite patterns (PDF 01-086-2334, 01-083-4602, and 01-078-3262). Potassium chloride (sylvite) is clearly detected by its characteristic cubic reflections at 2θ ≈ 28.3° (200), 40.5° (220), 50.2° (222), and 58.6°(400), corresponding to PDF No. 00-041-1476, indicating significant concentration and recrystallization of K-bearing salts during pyrolysis. Disordered carbon is further supported by weak reflections near 22.7° and 26.6° (PDF No. 00-050-0926), while sodium oxalate (natroxalate, PDF No. 04-013-1750) is detected mainly in WAGW-derived samples through reflections at about 30.8–31.6° and 34–35°, suggesting incomplete decomposition or secondary salt formation. In selected biochar (e.g., BC-5-120-11), minor reflections attributable to calcium silicon phosphide (Ca₃Si₂P₄, PDF No. 04-021-8537) are observed, indicating mineral reorganization and solid–state reactions among Ca-, Si-, and P-rich ash components under reducing pyrolytic conditions. Crystallite sizes estimated using the Scherrer equation applied to the most intense peaks produce values of approximately 45–65 nm for calcite (104) and 70–95 nm for sylvite (200), confirming the presence of relatively coarse, well-crystallized mineral domains embedded within an amorphous carbon framework. From a Rietveld-style semi-quantitative perspective, although full refinement was not performed, relative peak intensities and phase persistence across samples indicate that calcite constitutes the major crystalline fraction, followed by sylvite, with carbon contributing predominantly as an amorphous phase and natroxalate and Ca3Si2P4 present only as minor constituents. The sharpening and intensity increase of calcite and KCl peaks with increasing pyrolysis severity suggest mineral concentration and recrystallization due to organic matter volatilization rather than new carbonate formation. It is clear that the coexistence of a disordered carbon matrix with stable alkaline mineral phases (CaCO3 and KCl) is expected to strongly influence the surface chemistry, alkalinity, and ion-exchange behavior of the biochar, which is highly relevant for water treatment and environmental remediation applications48. Phase summary and calculated crystallite size was listed in Table S1 (see supplementary data). XRD patterns of the raw biomasses green agricultural waste (GAGW)and woody agricultural waste (WAGW) and the derived biochar produced at 500–600 °C for 120 min. pH and electrical conductivity of biomass and biochar samples The pH and electrical conductivity (EC) values of the raw biomass and resulting biochar samples show a clear thermochemical progression associated with increasing pyrolysis severity (temperature and time) as displayed in Fig. 5 and Table S2 (see supplementary data). The raw biomass, GAGW and WAGW, show near-neutral to slightly acidic pH values (7.0 and 5.1, respectively) and moderate EC levels (6.17 and 4.29 mS/cm), reflecting their inherent organic acid composition and relatively low concentrations of soluble mineral ions. Following pyrolysis at 300 °C for 60 min, the BC-3-60-7 and BC-3-60-11 biochar show a modest increase in alkalinity (pH 7.47–9.30) and EC (5.09–5.19 mS/cm), indicating partial decomposition of weak acidic oxygen-containing functional groups and the early mobilization of mineral salts. A more pronounced shift is observed in the biochar produced at 600 °C (BC-6-60-7 and BC-6-60-11), where substantial increases in both pH (7.96–10.79) and EC (10.05–13.50 mS/cm) demonstrate intensified carbonization, ash enrichment, and the formation of basic mineral phases such as carbonates and oxides as conformed by XRD and EDS analysis. Extending the residence time at 600 °C to 120 min (BC-6-120-7 and BC-6-120-11) further elevates pH (10.83–12.36) while producing slightly lower EC values (8.36–10.83 mS/cm), suggesting increased structural stabilization and partial immobilization of soluble inorganic constituents as pyrolysis progresses. These thermal-response patterns are fully consistent with previous studies reporting progressive increases in pH and EC with rising pyrolysis temperature due to the loss of acidic functionalities and concentration of inorganic ash components49–51, confirming the systematic transition from raw biomass to highly carbonized, mineral-rich biochar. Li et al.52 reported that biochar pH and EC are mainly controlled by its chemical functional groups. In rice straw biochar, both pH and EC are governed by fused-ring aromatic structures and anomeric O-C-O carbons. In rice bran biochar, pH is influenced by both aromatic structures and aliphatic O-alkyl (HCOH) groups, indicating that different feedstocks retain different functional groups that regulate the alkalinity and conductivity of the resulting biochar. pH and electrical conductivity of biomass and biochar samples. When pooled by feedstock group across all pyrolysis conditions, mean pH was slightly higher for GAGW-derived biochar (10.02 ± 0.71) compared to WAGW-derived biochar (9.70 ± 1.93), though this difference was not statistically significant (p = 0.799); similarly, EC was higher for GAGW (10.35 ± 4.51 mS/cm) than WAGW (7.14 ± 1.78 mS/cm) but did not reach statistical significance (p = 0.315), suggesting that while GAGW consistently trends toward higher ionic activity, the considerable within-group variation across pyrolysis conditions moderates the between-group contrast. TGA analysis of GAGW and WAGW Figure 6 displays the TGA analysis of GAGW (a and b) and WAGW (c and d) feedstocks from 40 to 1000 ℃ under N2 and O2 flow. The 10% weight loss at about 105 °C is related to the removal of moisture. However, the weight loss observed between 100 and 400 °C, is due to the decomposition of organic compounds53. Finally, the weight loss observed above 600 °C is mainly due to the conversion of cellulose and hemi-cellulose into more stable carbon forms and the partial decomposition of inorganic compounds as also reported in other studies. Cellulose is the most extensively studied and best understood among the three main biomass components: cellulose, hemicellulose, and lignin. According to the widely accepted Waterloo mechanism, cellulose pyrolysis proceeds through a series of competitive reactions, including dehydrogenation, depolymerisation, and fragmentation, each becoming dominant within specific temperature ranges54. TGA revealed that hemicellulose undergoes maximum degradation between 185 and 325 ℃, cellulose between 270 and 400 ℃, and lignin between 200 and 500 ℃55. Consequently, raised temperatures lead to an augmented degradation of these components, leading to decreased biochar yield. The moisture, volatile matter content, ash, fixed carbon and biochar yield produced from the feedstocks can be accurately determined from TG analysis which is called TGA-based proximate analysis method56–58. The calculated proximate analysis of GAGW and WAGW from TGA data is shown in Table 3. TGA analysis of green agricultural waste (GAGW) (a and b) and woody agricultural waste (WAGW) (c and d). Table 3Proximate analysis of green agricultural waste (GAGW) and WAGW from TGA data.Sample on a dry basisMC (db)* (wt.%)VM (wt.%)FC (wt.%)Ash (wt.%)GAGW4.262.323.510WAGW3.3277.9814.704*(db) dry basis under the sun. Proximate analysis of green agricultural waste (GAGW) and WAGW from TGA data. *(db) dry basis under the sun. Morphological, structural, and elemental analysis Figure 7 shows SEM images of WAGW biochar produced at 600 °C for 120 min (5 °C min−1, N2 0.2 L min1), which exhibited a more fibrous, layered microstructure with potential for a high surface area 680 m2/g with more porous. EDS analysis of WAGW biochar had high carbon (82.62 atom%) and (11 atom%) oxygen and traces (Na, Mg, Si, Ca, P, S, Cl, K and Al). The SEM and EDS results reveal a carbonized plant-tissue framework with longitudinal channels and ribbed walls that preserve the original xylem/fiber architecture, providing continuous macropore pathways; higher magnifications show rough, lamellar carbon domains with slit-type voids and micro-fractures formed by devolatilization, consistent with entrances to meso/micropores (the latter not directly resolved by SEM). Bright, electron-dense particulates anchored on the surface are frequent and correspond to mineral ash inclusions that partly decorate and locally obstruct pore mouths. EDS (semi-quantitative) indicates a carbon-rich matrix (C = 71.94 mass %) with residual oxygen (O 12.84 mass %) implying surface oxygenated functionalities (e.g., –OH/–COOH/C=O), together with appreciable alkali/alkaline-earths and siliceous phases (K = 4.80, Ca = 2.83, Cl = 2.70, Mg = 1.83, Si = 1.72, Na = 0.76, S = 0.45, Al = 0.08, P = 0.06 = mass %), which appear as the bright particles; hydrogen is not detected by EDS and oxygen quantification is approximate. The moderate heating rate and long hold promote gradual volatile release, mitigate structural collapse, and allow migration/sintering of these minerals (e.g., K/Ca/Mg salts, carbonates, and phytolithic silica), which can catalyze in-situ activation and increase basicity but may require post-washing to minimize leachable ions (notably Cl, K, Na) and pore blockage. The material exhibits a hierarchical pore system (macro-channels feeding smaller pores) and a largely aromatic carbon backbone with oxygenated sites and basic ash domains. SEM images and EDS analysis of woody agricultural waste (WAGW) biochar pyrolyzed at 600 ℃ for 120 min, HR ℃ 5/min and N2 (0.2 L/min). Figure 8 shows the SEM micrographs and corresponding EDS spectra of GAGW-derived biochar produced at 600 °C for 120 min under an N₂ atmosphere (0.2 L min−1) with a heating rate of 5 °C min−1. The SEM images reveal a well-developed porous and heterogeneous carbon matrix, indicating extensive devolatilization and structural rearrangement at high pyrolysis temperature, which is favorable for adsorption-related applications. The EDS analysis confirms that carbon (73.11% atom%) and oxygen (20.41% atom%) are the dominant elements, accompanied by inorganic constituents such as K, Ca, Si, Al, P, S, Cl, Na and Mg, originating from the intrinsic ash content of the feedstock. The homogeneous distribution of these mineral elements suggests their incorporation within the carbon matrix, which may influence surface reactivity, alkalinity, and potential catalytic or adsorption behavior of the biochar. SEM images and EDS analysis of green agricultural waste (GAGW) biochar pyrolyzed at 600 ℃ for 120 min, HR ℃ 5/min and N2 (0.2 L/min). Effect of pyrolysis temperature on the yield and BET surface area Figure 9 illustrates that the yield of biochar production from both GAGW and WAGW systematically decreases with the increase in pyrolysis temperature from 300 to 600 ℃, and to a lesser extent with the increase in residence time from 20 to 120 min. This behavior aligns with the typical volatilization pattern of lignocellulosic biomass, where hemicellulose, cellulose, and lignin gradually decompose into gases and condensable vapors, leaving a smaller portion of solid carbonaceous residues (biochar)59–61. At 300 ℃, only limited decomposition occurred and leaves substantial amounts of cellulose, hemicellulose, and lignin, only partially decomposed, so GAGW and WAGW show their highest yields (71–60%), similar to the high biochar yields recorded in wood and agricultural residues under mild carbonization conditions54,62. As the temperature rises to 400–500 ℃, the yield of both raw materials sharply decreases, reflecting the main devolatilization window of cellulose and lignin; similar decreases in the yield of softwood and hardwood, as well as green biomass such as crop residues and grasses, have been described within this range63. Yield versus temperature at different residual times (a) BC from green agricultural waste (GAGW) and (b) BC from woody agricultural waste (WAGW). At 600 ℃, the productivity approaches a steady level, indicating the removal of most thermally unstable components, and further heating will only cause a slight loss in mass, which is consistent with the coal densification system mentioned in other studies on the slow pyrolysis of wood and forest residues64–66. Residence time exerts a secondary effect: extending the residence time from 20 to 120 min at a specified temperature leads to a slight but consistent decrease in yield, which aligns with previous studies on the slow pyrolysis of woody and green biomass, where prolonged residence time enhances secondary cracking of vapors and allows for polymerization reactions to increase solid-phase volatiles67. Under all conditions, the yields of WAGW were consistently higher than the yields of GAGW, reflecting observations that indicate that woody raw materials generally produce more char and contain a higher proportion of thermally stable lignin compared to green biomass, which tend to be richer in volatile components and ash as seen in TGA analysis63,68. This observation was statistically confirmed: when pooled across all pyrolysis conditions, WAGW yielded significantly more biochar (50.92 ± 9.2%) compared to GAGW (42.50 ± 8.8%), a difference that was statistically significant (p = 0.012), reflecting the higher thermally stable lignin content of woody feedstocks relative to the more volatile-rich green biomass. Table 4 summarizes and reviews pyrolysis operating conditions and textural properties of biochar reported in the literature. Table 4Pyrolysis operating conditions and textural properties of biochar reported in the literature.Sample IDFeedstockTemperature (°C)Heating Rate (°C/min)Time (min)Yield (%)BET (m2/g)Refs.BC700Date Palm Waste700–240–283.62 69 BC900Date Palm Waste900–240–291.11 69 DP-BCDate Palm Fronds400–––6.12 70 Poplar BiocharPoplar Wood60030––411.06 71 TW250Woody Chips250–30–– 62 TW275Woody Chips275–30– < 1 62 TW300Woody Chips300–30–– 62 CW325Carbonized Wood Chips325–30–– 62 CW350Carbonized Wood Chips350–30– < 1 62 CW375Carbonized Wood Chips375–30–– 62 RG-BCRhodes Grass400–––3.45 70 Wood-derived biochar5502.512020–23320 72 Wood-derived biochar8002.512020–23456 72 B-6–120-7GAGW600512034.67238.07This studyB-6–120-11WAGW600512042.67683.88This study Pyrolysis operating conditions and textural properties of biochar reported in the literature. The effect of pyrolysis temperature on the BET surface area of biochar derived from WAGW and GAGW is shown in Fig. 10. The BET surface area of biochar produced from both WAGW and GAGW increased substantially with rising pyrolysis temperature, reflecting the progressive thermal degradation of hemicellulose, cellulose, and lignin and the corresponding release of volatiles that generate new pore structures. At low temperature (300 °C), both materials exhibited minimal surface development due to incomplete devolatilization and the presence of tarry residues that remain within the pore system. As the temperature increased to 400–600 °C, extensive volatilization and secondary cracking reactions led to the removal of thermally labile compounds, resulting in significant pore enlargement and the formation of well-defined micro- and mesopores, consistent with the mechanisms described by59,73. It was reported that microporosity is established at about 500 °C, and further heating volatilizes the residual material that blocks the micropores59,74. WAGW consistently shows much higher BET surface area (348–684 m2/g) compared to GAGW (27–238 m2/g). The significantly higher surface area observed for WAGW compared to GAGW at all temperatures can be attributed to the inherently higher lignin content and lower ash fraction in woody biomass, which promotes a more stable carbon framework and prevents pore blockage trends. BET surface areas obtained closely align with previous findings for wood-derived biochar exhibiting surface areas up to 320–456 m2/g at 550–800 ℃72 and higher than (7.68–351 m2/g) at (300–900 ℃)75. Chen et al.71 achieved a BET surface area of 411.06 m2/g for poplar wood biochar at 600 ℃ and a heating rate of 30 ℃/min. In contrast, the lower surface areas measured for GAGW correspond well with typical values for green and herbaceous biomass. The results confirm that pyrolysis temperature is the dominant parameter controlling surface area evolution as shown in Fig. 10 and Table 5. In contrast, biomass type exerts a secondary but significant influence, with woody feedstocks consistently producing more porous, high-surface-area biochar due to their favourable biochemical composition. BET surface area of biochar derived from woody agricultural waste (WAGW) and green agricultural waste (GAGW) at various pyrolysis temperatures. Table 5Summary of textural properties of biochar derived from green agricultural waste (GAGW) and woody agricultural waste (WAGW) at different pyrolysis temperatures.SampleTemp (°C)BET surface area (m2/g)Micropore area (m2/g)External surface area (m2/g)Micropore volume (cm3/g)BJH surface area (m2/g)BJH pore volume (cm3/g)Calculated apparent pore diameter (nm)B-3-120-73002.88Not reliableNot reliable0.00371.3–2.90.00375.1B-4-120-740026.75Not reliableNot reliable0.030511–170.03054.6B-5-120-7500168.4496.7171.730.040945.47–63.410.0789 -0.08591.87- 2.04B-6-120-7600238.07221.7316.340.087811–120.08781.48B-3-120-1130013.71Not reliableNot reliable0.0241Not detected0.02417.03B-4-120-11400348.6309.7438.850.125526–270.12551.44B-5-120-11500614.65552.4762.170.215238.25–47.860.21521.4B-6-120-11600683.88559.29124.60.27975.82–95.210.2751.61 Summary of textural properties of biochar derived from green agricultural waste (GAGW) and woody agricultural waste (WAGW) at different pyrolysis temperatures. BJH surface area values reported as adsorption–desorption range. BJH surface area values reported as adsorption–desorption range. Values where the t-plot micropore area exceeded the BET surface area were marked as not reliable and were not used for mechanistic interpretation. BJH values are reported only as mesopore range indicators because BJH analysis is less reliable for micropore dominated carbonaceous materials and may underestimate pore size in mesoporous systems 76. Values where the t-plot micropore area exceeded the BET surface area were marked as not reliable and were not used for mechanistic interpretation. BJH values are reported only as mesopore range indicators because BJH analysis is less reliable for micropore dominated carbonaceous materials and may underestimate pore size in mesoporous systems 76. The pore diameter was estimated using the following Equation 77: The pore diameter was estimated using the following Equation 77: These trends are entirely consistent with what would be anticipated from the individual biomass types constituting each composite group. The notably lower surface area of GAGW biochar is plausibly attributable to its inherently higher ash content, which promotes pore-mouth obstruction by inorganic particulates a mechanism directly confirmed by high-magnification SEM imaging in this study. Conversely, the high BET surface areas achieved by WAGW biochar (up to 684 m2/g) reflect the stable lignin-rich framework of date palm and woody feedstocks, which resists structural collapse during thermal treatment and facilitates well-defined micropore formation. The clear and predictable divergence in surface area between the two composite groups therefore validates the representativeness of the mixing strategy and confirms that pooling biomass by category did not mask individual feedstock behavior. Textural properties of biochar derived from GAGW and WAGW at different pyrolysis temperatures are summarized in Table 5. Ultimate analysis Elemental analysis of waste feedstocks and biochar samples is shown in Table 6. The elemental profiles of the raw feedstocks, GAGW and WAGW, were characterized to establish a baseline before pyrolysis. The carbon content was similar for both materials, with GAGW at 47.3% and WAGW at 50.0%. Upon pyrolysis, carbon content increased progressively with thermal severity for both groups, with WAGW-derived biochar achieving significantly higher carbon enrichment (66.12 ± 5.3%) compared to GAGW-derived biochar (54.84 ± 2.6%), a difference that was statistically significant (p = 0.009), confirming the superior carbonization efficiency of woody lignocellulosic feedstocks. Correspondingly, ash content was significantly higher in GAGW-derived biochar (10.55 ± 2.3%) than in WAGW-derived biochar (3.90 ± 2.2%; p = 0.006), consistent with the mineral-dense, nutrient-rich nature of green and vegetable-based feedstocks, which inherently limits the extent of carbon densification during pyrolysis. A notable difference was also observed in nitrogen content, which was significantly higher in GAGW-derived biochar (6.69 ± 1.1%) compared to WAGW-derived biochar (1.80 ± 2.1%; p = 0.012), consistent with the general compositional differences between these waste types; green, leafy biomass is typically richer in proteins and other nitrogenous compounds, whereas woody biomass is primarily composed of lignocellulose78–81. The absence of detectable sulfur in both feedstocks is an advantageous characteristic, minimizing the potential for SOx emissions during pyrolysis and the presence of undesirable sulfur compounds in the final product82,83. Table 6Elemental analysis of waste feedstocks and produced biochar samples.SampleAsh (%)N (%)C (%)H (%)S (%)O (%)H/Cmolar ratioO/Cmolar ratioWAGW6.250.5450.0254.7178038.471.120.58GAGW13.352.3247.275.46031.601.380.50BC-3-60-79.26.4253.274.420.4926.200.990.37BC-3-60-112.1058.833.900.3234.850.790.44BC-4-60-788.3758.482.72022.430.550.29BC-4-60-112.53.4967.953.150.2822.630.550.25BC-5-60-7126.0954.771.840.0425.260.400.35BC-5-60-114071.342.5022.160.420.23BC-6-60-7135.8852.841.56026.720.350.38BC-6-60-1173.8266.341.68021.160.300.24 Elemental analysis of waste feedstocks and produced biochar samples. Figure 11 shows the evolution of atomic H/C and O/C ratios for raw GAGW, WAGW, and their derived biochar produced under different pyrolysis temperatures (300, 400. 500, and 600 ℃) for 60 min. The raw GAGW and WAGW feedstocks exhibit relatively high H/C ratios (1.38 and 1.12, respectively) and O/C ratios (~ 0.50–0.58), reflecting their hydrogen- and oxygen-rich organic structures; this is consistent with the higher protein, carbohydrate, and nitrogenous compound content typically found in green, leafy biomass, whereas woody biomass is dominated by lignocellulosic polymers with inherently lower hydrogen content78–81. Upon pyrolysis, both H/C and O/C ratios decrease systematically with increasing temperature and residence time, indicating progressive dehydrogenation, deoxygenation, and aromatization of the carbon matrix. Biochar produced at lower temperatures (300 ℃) retain moderate H/C values about (0.79–0.99), suggesting partial carbonization, while those produced at higher temperatures (≥ 500–600 °C) exhibit markedly lower H/C about (0.30–0.42) and O/C (< 0.24) ratios, indicative of a high degree of carbonization and the formation of condensed polycyclic aromatic structures84. These trends are fully consistent with previous studies reporting that biochar with H/C < 0.5 possess highly aromatic, recalcitrant structures and enhanced long-term stability in environmental applications85–87. Moreover, according to the European Biochar Certificate (EBC) guidelines, an H/Corg ratio below 0.7 is required for certified biochar, while values below 0.4 correspond to highly carbonized, long-term stable biochar; all high-temperature biochar in this study clearly satisfy these criteria, confirming their suitability for carbon sequestration, soil amendment, and advanced environmental remediation applications24. H/C and O/C atomic ratios of feedstock and biochar samples. Table 7 summarizes the proximate and ultimate properties of biochar produced from various biomass feedstocks under different pyrolysis conditions. The results demonstrate that both feedstock type and pyrolysis temperature strongly influence biochar composition and thermal characteristics. The biochar produced in the present study (BC-6-120-7 and BC-6-120-11) exhibit compositional characteristics consistent with literature-reported materials produced at comparable temperatures. Their moderate fixed carbon contents, relatively low ash fractions, and elevated carbon percentages indicate successful carbonization under optimized conditions. Moreover, their elemental compositions indicates a balanced combination of structural stability and surface functionality that is characteristic of biochar explored for water treatment and adsorption applications. The comparative analysis in Table 7 highlights the strong coupling between feedstock type, pyrolysis temperature, and biochar composition. High-temperature treatment promotes carbon enrichment, aromaticity, and fixed carbon formation, whereas low-temperature processing preserves volatile compounds and surface functionalities. These trends emphasize the importance of tailoring pyrolysis conditions and feedstock selection to achieve biochar with properties optimized for specific environmental and technological applications. Fig. S3 shows TGA analysis of BC-6-120-7 (a and b) and BC-6-120-11 (c and d). Table 7Proximate and ultimate analyses of biochar samples from different biomass feedstocks reported in the literature.Sample IDFeedstockTemperature (°C)MC (%)VM (%)FC (%)Ash (%)C (%)H (%)N (%)S (%)Refs.BC700Date Palm Waste7003.48––20.5766.701.010.19– 69 BC900Date Palm Waste9003.06––21.3569.380.650.21– 69 DP-BC (400°C) Date Palm Fronds4004.843.245.07.160.92.51.22.2 70 RG-BC (400°C) Rhodes Grass4001.811.856.628.856.72.21.91.6 70 GW Green waste–69.0a68.4a17.4a13.4a44.3a–1.01a– 88 TW250Woody Chips2503.1981.1915.510.1152.225.180.55– 62 TW275Woody Chips2752.9073.4723.460.1757.334.950.37– 62 TW300Woody Chips3002.8167.5829.360.2559.034.780.34– 62 CW325Carbonized Wood Chips3253.2944.7151.570.4368.434.310.35– 62 CW350Carbonized Wood Chips3503.4043.5752.560.4769.204.280.32– 62 CW375Carbonized Wood Chips3754.0334.1361.360.4871.393.800.31– 62 Poplar BiocharPoplar Wood600–––1–488.56–88.891.02–1.050.64–0.92– 71 ANB-300Acacia nilotica bark3002.6740.0357.900.9371.313.870.35– 89 ANB-600Acacia nilotica bark6001.815.8492.012.2989.802.280.38– 89 BC-6-120-7GAGW60080.75b and 4.2c62.3c23.5c10c51.91.11.80.00This studyBC-6-120-11WAGW6004c78.914.3c2.8c-761.11.40.60.00This studyaAverage values reported in the literature of GW.bMoisture content (MC) for fresh green agricultural waste (GAGW).cBased on TGA data of biochar. Proximate and ultimate analyses of biochar samples from different biomass feedstocks reported in the literature. aAverage values reported in the literature of GW. bMoisture content (MC) for fresh green agricultural waste (GAGW). cBased on TGA data of biochar. Metal analysis and safety assessment of biomass and biochar The metal profiles of both the raw agricultural feedstocks and the resulting biochar samples (BC-6-120-7 and BC-6-120-11) were analyzed to determine their elemental composition and assess their safety for potential environmental applications (Table 8). A crucial finding from this analysis is that both the GAGW and WAGW feedstocks, as well as them pyrolyzed biochar counterparts, were notably free from heavy metals of major public health concern. Essential toxic metals including Arsenic (As), Cadmium (Cd), Chromium (Cr), Lead (Pb), and Mercury (Hg) were all below the analytical detection limit of < 0.1 mg/kg. Furthermore, radioactive elements such as Uranium (U) and Thorium (Th) were also absent. This clean elemental profile is a significant advantage, indicating that the biochar produced from these waste streams pose a low risk of introducing harmful contaminants into the soil or water, supporting their safety profile for a broad range of applications, including agricultural soil amendment90. While free from major contaminants, the materials contained several beneficial micronutrients. The GAGW feedstock was particularly rich in Calcium (Ca; 17,629 mg/kg), Potassium (K; 32,503 mg/kg), and Strontium (Sr; 540 mg/kg), with concentrations consistently higher than those in the WAGW feedstock. This trend has also been reported in previous studies91–93, and is likely attributable to the distinct physiological roles and higher nutrient uptake rates characteristic of green, leafy biomass compared to the more structurally focused woody biomass94. Upon pyrolysis, the loss of volatile organic matter led to a significant concentration of these mineral elements in the biochar. Such concentration effects have been previously reported with sludge95,96. In this study, this effect was particularly pronounced for Calcium, which increased by approximately 3.6-fold in the GAGW-derived biochar and 6.7-fold in the WAGW-derived biochar. This mineral enrichment enhances the potential value of the biochar as a soil conditioner, capable of returning essential nutrients to the soil but must be cautiously monitored so it does not indue toxicity due to nutrient overload93. On the other hand, Tin (Sn), which was present in the feedstocks at 19.4 mg/kg (GAGW) and 23.9 mg/kg (WAGW), showed only a modest increase in concentration in the final biochar (29.9 and 30.9 mg/kg, respectively). This contrasts sharply with the significant concentration factor observed for elements like Ca and K. The subtle increase in tin concentration may suggest that certain tin compounds could be partially volatilized at the pyrolysis temperature of 600 °C97 which would counteract the concentration effect caused by the loss of biomass. The results of the metal analysis confirm the safety and highlights the potential agronomic value of both biochar, with the GAGW-derived biochar being an especially rich source of key plant-available nutrients. These findings are also consistent with the expected elemental behavior of the individual feedstocks constituting each composite group. The elevated Ca and K concentrations in GAGW and its derived biochar are characteristic of vegetable and leafy residues, which are physiologically enriched in these macronutrients due to their higher nutrient uptake rates compared to WAGW. The fact that both composite groups behave in a manner fully predictable from their constituent biomass types further confirms that the pooling strategy preserved the essential chemical signatures of each biomass category and did not introduce significant confounding variability into the safety or nutrient assessment. The elemental composition of the raw feedstocks (GAGW and WAGW) and their corresponding biochar samples (BC-6-120-7 and BC-6-120-11) was systematically evaluated using ICP-OES and XRF to assess metal content, ash chemistry, and environmental safety (Table 8 and Table 2). The ICP-OES results show that potentially toxic elements such as As, Cd, Cr, Cu, Hg, Ni, Pb, Zn, Sb, Tl, and U were below the detection limit (< 0.1 mg kg−1) in both biomass and biochar samples, indicating a low inherent contamination risk and compliance with international biochar safety thresholds, including those defined by the EBC24. The elevated Ca and K contents observed by ICP-OES are consistent with the XRF results, which reveal dominant CaO and K₂O phases in the ash fraction, especially for GAGW-derived materials. XRF analysis further highlights compositional differences between GAGW and WAGW ashes. GAGW exhibits higher contents of K₂O, CaO, P₂O₅, SO₃, and Cl, reflecting its nutrient-rich and mineral-dense nature, whereas WAGW shows a significantly higher LOI, indicating a lower inorganic residue. Such differences are critical for environmental applications, as alkaline oxides enhance biochar alkalinity and buffering capacity, which promotes metal immobilization through precipitation, ion exchange, and surface complexation mechanisms98,99. From a safety mitigation perspective, the absence of hazardous metals combined with the predominance of benign alkaline and alkaline earth elements confirms that both feedstocks and their derived biochar are environmentally safe for valorization pathways such as soil amendment and pollutant adsorption. Moreover, the transformation of inorganic elements into stable oxide and carbonate phases during pyrolysis reduces metal mobility and bioavailability, further minimizing potential environmental risks98,100,101. The relative enrichment factors (RE) was calculated using Eq. 8 as shown in Table 9. The calculated RE values indicate moderate enrichment of alkaline and alkaline earth metals, particularly Ca and K, in WAGW-derived biochar (RE = 2.22–2.84), whereas GAGW-derived biochar exhibited near-unity values (RE = 0.95–1.26). This discrepancy reflects the combined effects of feedstock composition and mass loss during thermal conversion. Table 9 gives the relative enrichment (RE) factors of selected inorganic nutrients in biochar samples (BC-6-120-7 and BC-6-120-11) derived from GAGW and WAGW, respectively. The results demonstrate a systematic concentration of mineral elements in the biochar relative to their parent feedstocks, primarily because of organic matter volatilization and mass loss during pyrolysis, which leads to the accumulation of thermally stable inorganic constituents in the solid residue100,102. Calcium and potassium exhibited the highest enrichment factors, particularly in WAGW-derived biochar (RE = 2.84 and 2.22, respectively), reflecting both the lower initial mineral content of WAGW and the preferential retention of alkaline and alkaline earth elements in the ash fraction during thermal conversion86,99. Similar enrichment behavior has been widely reported for lignocellulosic biomass subjected to high-temperature pyrolysis, where Ca and K are predominantly retained in oxide, carbonate, and silicate phases103,104. The near-unity values enrichment was observed for manganese and strontium (RE = 1.17–0.99), indicating partial stabilization of these elements within the biochar matrix. This behavior is consistent with previous studies reporting the incorporation of transition and alkaline earth metals into mineral phases during pyrolysis, which enhances their retention and reduces their mobility101,105. Generally, the RE analysis confirms that pyrolysis of GAGW and WAGW effectively concentrates essential nutrients while maintaining low levels of potentially toxic elements. These findings are consistent with previous reports on agricultural and lignocellulosic biomass-derived biochar and emphasize the importance of feedstock selection and process optimization to produce environmentally sustainable biochar100,103. In addition, the low levels of potentially toxic elements, supporting the environmentally safe use of the produced biochar for soil amendment and environmental remediation applications24. Table 9Relative Enrichment (RE) Factors of Nutrients in Biochar Derived from green agricultural waste (GAGW) and woody agricultural waste (WAGW).ElementGAGW (mg/kg)BC-6-120-7 (mg/kg)RE (BC-6-120-7, yield-normalized)Yield = 34.67%WAGW (mg/kg)BC-6-120-11 (mg/kg)RE (BC-6-120-11, yield-normalized) Yield = 42.67%Ca17,62963,9321.262,35415,6732.84K32,50388,7800.957,39838,3902.22Mn25.972.20.9725.369.21.17Sr5401,6351.051673890.99Sn19.429.90.5323.930.90.55Ba10.228.70.97 < 0.1* < 0.1*–*Elements reported as < 0.1 mg kg−1 in feedstocks were excluded from RE calculation. Relative Enrichment (RE) Factors of Nutrients in Biochar Derived from green agricultural waste (GAGW) and woody agricultural waste (WAGW). *Elements reported as < 0.1 mg kg−1 in feedstocks were excluded from RE calculation. Relative enrichment factor (RE) was calculated as: where is the concentration of the element in the biochar samples (BC-6-120-7 and BC-6-120-11), and is the concentration in the corresponding raw biomass (GAGW and WAGW). Economic evaluation of the biochar production process A preliminary capital cost estimate was developed using the purchase prices of the main laboratory-scale equipment required for biomass drying, grinding, and pyrolysis, as presented in Table 10. Based on the available quotations, the total direct equipment purchase cost is estimated at USD 40,866. This value represents the core process equipment only and excludes installation, instrumentation, utilities, civil works, contingency, and indirect costs. Table 10Capital cost elements of the processEquipmentQuantityCapital cost (USD)Share of total (%)Pyrolysis furnace (SH Scientific SH-FU-18.7MHV)134,24683.8Drying oven (Binder ED23)1560013.7Grinder / cutting mill (IKA A10)110202.5Total3 items40,866100.0 Capital cost elements of the process The pyrolysis furnace is the dominant capital item, accounting for approximately 83.8% of the total equipment cost, followed by the drying oven at 13.7% and the grinder at 2.5% (Table 10). These results indicate that the thermal conversion unit is the main economic driver at laboratory scale, and any future scale-up or optimization should primarily focus on reducing reactor-related capital intensity and improving equipment utilization. A simplified techno-economic calculation is performed using the estimated electricity consumption reported in Table 11 together with the direct equipment purchase cost. For transparency, this preliminary analysis assumes an electricity tariff of USD 0.10 per kWh, a project life of 10 years, a discount rate of 8%, and an operating schedule of 250 batches per year. All values should therefore be interpreted as indicative laboratory-scale estimates rather than full commercial production costs. Table 11Pyrolysis energy demands and costCaseEnergy demand (kWh/batch)Electricity cost (USD/batch)Low severity pyrolysis12.51.25High severity pyrolysis29.32.93 Pyrolysis energy demands and cost Based on these assumptions, the electricity cost is estimated at approximately USD 1.25 per batch under low-severity conditions and USD 2.93 per batch under high-severity conditions. Furthermore, using a capital recovery factor approach, the annualized capital charge for the main equipment is estimated at USD 6090 per year. When distributed over 250 batches per year, this corresponds to an annualized capital cost of approximately USD 24.36 per batch. The resulting indicative production costs confirm that energy intensity and biochar yield both strongly affect the unit cost of product. Higher-severity pyrolysis increases electrical consumption and reduces solid yield, leading to a higher cost per kilogram of biochar. The capital cost estimate can be refined further by including the nitrogen supply system required for inert pyrolysis operation. Based on the literature cost range for the gas cylinder, regulator, and fittings, an additional USD 1500 to 2000 should be included. This increases the indicative direct equipment purchase cost from USD 40,866 to approximately USD 42,366–42,866. Maintenance cost at laboratory scale is typically estimated at 5–10% of CAPEX per year. On this basis, the annual maintenance requirement is approximately USD 2,118–4,287 per year. Table 12 presents the specific electricity consumption, corresponding electricity cost, and total unit production cost including annualized capital, demonstrating a strong increase in energy demand and cost with higher pyrolysis temperature and highlighting the influence of feedstock type (WAGW vs. GAGW) on process efficiency. Table 12Techno-economic assessment of pyrolysis energy demand and unit biochar production cost under varying feedstock types and operating temperatures (300 and 600℃)CaseSpecific electricity demand (kWh/kg biochar)Electricity cost (USD/kg biochar)Electricity + annualized capital (USD/kg biochar)WAGW (300 ℃)18.01.8035.98GAGW (300 ℃)21.02.1042.70WAGW (600 ℃)69.06.9063.99GAGW (600 ℃)84.08.4078.67 Techno-economic assessment of pyrolysis energy demand and unit biochar production cost under varying feedstock types and operating temperatures (300 and 600℃) For market benchmarking, biochar prices are commonly reported in the range of about USD 300 to over USD 1300 per ton, depending on product quality, certification status, and end use. This market range is substantially lower than the indicative laboratory-scale production costs estimated in this study, which is expected because bench-scale systems suffer from low throughput, high specific energy demand, and limited process integration. Consequently, the present results should be interpreted primarily as proof-of-concept techno-economic indicators rather than commercial selling-price estimates. Using the updated capital cost range, annual maintenance estimate, and electricity consumption derived from the experimental process, the indicative biochar production cost is calculated for each operating case. The calculation combines electricity cost with annualized capital and maintenance charges distributed across 250 batches per year (Fig. 12). Cost elements contributions by cases. As illustrated in Fig. 13, the estimated production cost ranges from approximately USD 49.1 to 131.6 per kg of biochar, depending on feedstock type and pyrolysis severity. The lowest cost is obtained for WAGW at 300 ℃, while the highest cost is obtained for GAGW at 600 ℃. This confirms that the current laboratory configuration is not economically competitive with typical market prices and should therefore be viewed primarily as a proof-of-concept research system rather than a commercially optimized production process. Estimated biochar production cost range for different feedstocks and pyrolysis conditions. Conclusions This study investigated the production and multi-scale characterization of biochar production from two mixed AGW biomass collected from local farms in Qatar. Each feedstock underwent comprehensive characterization to assess its suitability for biochar production. The pyrolysis process was conducted at temperatures (300–600 °C) and durations (20–120 min). Results showed that biochar yield generally decreased with increasing temperature and residence time, indicating enhanced devolatilization and carbonization at higher thermal conditions. Among the tested feedstocks, WAGW from HSF exhibited the highest biochar yield (71.28%) when pyrolyzed at 300 °C for 20 min. This sample also had a relatively low ash content (2.1–6.25%), making it favorable for applications such as soil amendment and carbon sequestration. Furthermore, BET analysis revealed that WAGW biochar had the highest specific surface area (684 m2/g), a property associated in the literature with potential utility in environmental remediation and soil amendment applications, which represents a promising direction for future experimental investigation. These results demonstrate that woody agricultural residues from HSF are particularly promising for sustainable biochar production in Qatar. The study contributes to identifying optimal local biomass and pyrolysis conditions for producing high-quality biochar for agricultural and environmental applications. The XRF patterns indicate that GAGW is better suited for nutrient-rich, ash-active biochar products, while WAGW is ideal for high-carbon, adsorption-oriented, or carbon-sequestration biochar. The RE is a critical parameter for evaluating the functional performance and environmental safety of biochar intended for water treatment systems. In the Qatari context, WAGW-derived biochar is particularly suited for adsorption-based treatment of brackish and produced water, while GAGW-derived biochar offers potential for soil conditioning and nutrient retention in arid desert farming systems. This study is scoped as a systematic evaluation of biochar production, characterization, and safety. Application-specific performance validation under the local arid conditions is identified as a critical next step and is strongly recommended. Supplementary Information Below is the link to the electronic supplementary material. Supplementary Material 1 Acknowledgements The authors sincerely acknowledge the Qatar Environment and Energy Research Institute and Hamad Bin Khalifa University for their invaluable support. They also thank HBKU Core Labs for conducting the analytical analysis. Furthermore, the authors appreciate the local farms in Qatar for their assistance in biomass collection. The authors gratefully acknowledge Dr. Jamileh Fouladi for her valuable contribution in conducting the economic evaluation of the biochar production process. Author contributions Rashad Al-Gaashani: The first and corresponding author, Methodology, Data curation, Writing—original draft, Validation, Investigation, Conceptualization, Writing—review & editing. Omar Shahid: Methodology, Formal analysis, Writing—review & editing. Ojima Z. Wada: Formal analysis, Writing—review & editing. Simjo Simson: Formal analysis. Tricia A. Gomez: Formal analysis. Mujaheed Pasha: Formal analysis. Omar El Hassan: Formal analysis. Abdulaziz Suwailem: Formal analysis. Kashif Rasool: Writing—review & editing, project administration. Gordon McKay: Writing—review & editing, Supervision. Tareq Al-Ansari: Writing—review & editing, Supervision. Khaled A. Mahmoud: Writing—review & editing, Project administration, Supervision. Funding No funding. Data availability The datasets used and/or analyzed during the current study available from the corresponding author on reasonable request. Declarations Competing interests The authors declare that they have no known competing financial interests or personal relationships that could have influenced the work reported in this study. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References Associated Data Supplementary Materials Supplementary Material 1 Data Availability Statement The datasets used and/or analyzed during the current study available from the corresponding author on reasonable request.