This research focused on developing a predictive model for mass loss during the pyrolysis of oxidatively torrefied spent coffee grounds (SCG) using machine learning techniques. Four algorithms were employed: artificial neural networks (ANN), k-nearest neighbors (k-NN), random forest (RF), and decision tree (DT), with the RF model demonstrating superior performance (R2 > 0.9981, RMSE <1.346) for both training and testing sets. The pyrolysis behavior, kinetics, and thermodynamics of SCG were also investigated using thermogravimetric analysis (TGA) under an inert atmosphere at different heating rates. Higher heating rates in TGA cause Tpeak values to shift to higher temperatures with increased DTGpeak values, while also resulting in lower Tonset and higher Toffset. Kinetic analysis, using the Flynn-Wall-Ozawa (FWO) method, was identified as the most suitable approach for determining activation energy (Ea), with values ranging from 192.66 to 288.13 kJ mol−1, indicating differences in energy requirements for pyrolysis across samples. Thermodynamic analysis further revealed that both raw SCG and oxidatively torrefied SCG pyrolysis were endothermic reactions. These findings contribute valuable insights into the optimization of biomass conversion technologies, highlighting the potential of machine learning in improving predictive accuracy and efficiency in thermal behavior modeling. This research advances sustainable bioenergy production by promoting the use of SCG, an abundant waste material, as a renewable feedstock in pyrolysis-based processes.
Read full abstract