IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v320y2025ics0360544225009302.html
   My bibliography  Save this article

Explainable machine learning for predicting thermogravimetric analysis of oxidatively torrefied spent coffee grounds combustion

Author

Listed:
  • Pambudi, Suluh
  • Jongyingcharoen, Jiraporn Sripinyowanich
  • Saechua, Wanphut

Abstract

Understanding the combustion behavior of oxidatively torrefied spent coffee grounds (SCG) is crucial for advancing sustainable fuel technologies. This study introduces a novel, explainable machine learning (ML) framework as a cost-effective alternative to traditional thermogravimetric analysis (TGA) that is designed to accelerate the evaluation of oxidatively torrefied SCG combustion properties. Four ML models: artificial neural network (ANN), k-nearest neighbor (k-NN), random forest (RF), and decision tree (DT), were compared to predict TGA data using proximate analysis and combustion temperature (CT). Among the evaluated models, k-NN exhibited the highest performance, achieving near-perfect R2 values that exceeded 0.9904 and RMSE values below 0.9552 on the validation set for both TG (mass loss) and DTG (derivative mass loss). It also accurately predicted key combustion properties, including ignition, peak, and burnout temperature when tested on unknown data. LIME (Local Interpretable Model-agnostic Explanations) analysis revealed that CT was the most influential predictor for TG and DTG, enhancing model interpretability. The results highlight the effectiveness of the k-NN-LIME approach in analyzing the combustion of oxidatively torrefied SCG, offering a robust and explainable model with significant implications for bioenergy research and sustainable fuel development.

Suggested Citation

  • Pambudi, Suluh & Jongyingcharoen, Jiraporn Sripinyowanich & Saechua, Wanphut, 2025. "Explainable machine learning for predicting thermogravimetric analysis of oxidatively torrefied spent coffee grounds combustion," Energy, Elsevier, vol. 320(C).
  • Handle: RePEc:eee:energy:v:320:y:2025:i:c:s0360544225009302
    DOI: 10.1016/j.energy.2025.135288
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0360544225009302
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.energy.2025.135288?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Pan, Junting & Shahbeik, Hossein & Shafizadeh, Alireza & Rafiee, Shahin & Golvirdizadeh, Milad & Ghafarian Nia, Seyyed Alireza & Mobli, Hossein & Yang, Yadong & Zhang, Guilong & Tabatabaei, Meisam & A, 2024. "Machine learning optimization for enhanced biomass-coal co-gasification," Renewable Energy, Elsevier, vol. 229(C).
    2. Kim, Jun Young & Kim, Dongjae & Li, Zezhong John & Dariva, Claudio & Cao, Yankai & Ellis, Naoko, 2023. "Predicting and optimizing syngas production from fluidized bed biomass gasifiers: A machine learning approach," Energy, Elsevier, vol. 263(PC).
    3. Zhang, Congyu & Ho, Shih-Hsin & Chen, Wei-Hsin & Fu, Yujie & Chang, Jo-Shu & Bi, Xiaotao, 2019. "Oxidative torrefaction of biomass nutshells: Evaluations of energy efficiency as well as biochar transportation and storage," Applied Energy, Elsevier, vol. 235(C), pages 428-441.
    4. Xing, Jiangkuan & Luo, Kun & Wang, Haiou & Gao, Zhengwei & Fan, Jianren, 2019. "A comprehensive study on estimating higher heating value of biomass from proximate and ultimate analysis with machine learning approaches," Energy, Elsevier, vol. 188(C).
    5. Cardarelli, Alessandro & Pinzi, Sara & Barbanera, Marco, 2022. "Effect of torrefaction temperature on spent coffee grounds thermal behaviour and kinetics," Renewable Energy, Elsevier, vol. 185(C), pages 704-716.
    6. Pambudi, Suluh & Jongyingcharoen, Jiraporn Sripinyowanich & Saechua, Wanphut, 2024. "Machine learning based prediction and iso-conversional assessment of oxidatively torrefied spent coffee grounds pyrolysis," Renewable Energy, Elsevier, vol. 237(PB).
    7. A. E. Atabani & Eyas Mahmoud & Muhammed Aslam & Salman Raza Naqvi & Dagmar Juchelková & Shashi Kant Bhatia & Irfan Anjum Badruddin & T. M. Yunus Khan & Anh Tuan Hoang & Petr Palacky, 2023. "Emerging potential of spent coffee ground valorization for fuel pellet production in a biorefinery," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 25(8), pages 7585-7623, August.
    8. Guo, Feihong & He, Yi & Hassanpour, Ali & Gardy, Jabbar & Zhong, Zhaoping, 2020. "Thermogravimetric analysis on the co-combustion of biomass pellets with lignite and bituminous coal," Energy, Elsevier, vol. 197(C).
    9. Ma, Jiao & Feng, Shuo & Zhang, Zhikun & Wang, Zhuozhi & Kong, Wenwen & Yuan, Peng & Shen, Boxiong & Mu, Lan, 2022. "Effect of torrefaction pretreatment on the combustion characteristics of the biodried products derived from municipal organic wastes," Energy, Elsevier, vol. 239(PD).
    10. Dudziak, M. & Werle, S. & Marszałek, A. & Sobek, S. & Magdziarz, A., 2022. "Comparative assessment of the biomass solar pyrolysis biochars combustion behavior and zinc Zn(II) adsorption," Energy, Elsevier, vol. 261(PB).
    11. Wang, Jiong & Mingshen, Jiang & Zhang, Pin & Liu, Qunsheng & Zhang, Shuqing & Wang, Ke & Li, Chong & Cai, Junmeng, 2024. "Elucidating kinetic mechanisms of lignin and biomass pyrolysis by distributed activation energy model with genetic algorithm," Energy, Elsevier, vol. 312(C).
    12. Dessì, Federica & Mureddu, Mauro & Ferrara, Francesca & Fermoso, Javier & Orsini, Alessandro & Sanna, Aimaro & Pettinau, Alberto, 2021. "Thermogravimetric characterisation and kinetic analysis of Nannochloropsis sp. and Tetraselmis sp. microalgae for pyrolysis, combustion and oxy-combustion," Energy, Elsevier, vol. 217(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Peng Liu & Panpan Lang & Ailing Lu & Yanling Li & Xueqin Li & Tanglei Sun & Yantao Yang & Hui Li & Tingzhou Lei, 2022. "Effect of Evolution of Carbon Structure during Torrefaction in Woody Biomass on Thermal Degradation," IJERPH, MDPI, vol. 19(24), pages 1-11, December.
    2. Kartal, Furkan & Özveren, Uğur, 2022. "Prediction of torrefied biomass properties from raw biomass," Renewable Energy, Elsevier, vol. 182(C), pages 578-591.
    3. Zhao, Zhong & Feng, Shuo & Zhao, Yaying & Wang, Zhuozhi & Ma, Jiao & Xu, Lianfei & Yang, Jiancheng & Shen, Boxiong, 2022. "Investigation on the fuel quality and hydrophobicity of upgraded rice husk derived from various inert and oxidative torrefaction conditions," Renewable Energy, Elsevier, vol. 189(C), pages 1234-1248.
    4. Yek, Peter Nai Yuh & Cheng, Yoke Wang & Liew, Rock Keey & Wan Mahari, Wan Adibah & Ong, Hwai Chyuan & Chen, Wei-Hsin & Peng, Wanxi & Park, Young-Kwon & Sonne, Christian & Kong, Sieng Huat & Tabatabaei, 2021. "Progress in the torrefaction technology for upgrading oil palm wastes to energy-dense biochar: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 151(C).
    5. Wang, Xin & Jin, Xiaodong & Wang, Hui & Wang, Yi & Zuo, Lu & Shen, Boxiong & Yang, Jiancheng, 2023. "Catalytic pyrolysis of microalgal lipids to liquid biofuels: Metal oxide doped catalysts with hierarchically porous structure and their performance," Renewable Energy, Elsevier, vol. 212(C), pages 887-896.
    6. Ong, Mei Yin & Milano, Jassinnee & Nomanbhay, Saifuddin & Palanisamy, Kumaran & Tan, Yeong Hwang & Ong, Hwai Chyuan, 2025. "Insights into algae-plastic pyrolysis: Thermogravimetric and kinetic approaches for renewable energy," Energy, Elsevier, vol. 314(C).
    7. Santhappan, Joseph Sekhar & Boddu, Muralikrishna & Gopinath, Arun S. & Mathimani, Thangavel, 2024. "Analysis of 27 supervised machine learning models for the co-gasification assessment of peanut shell and spent tea residue in an open-core downdraft gasifier," Renewable Energy, Elsevier, vol. 235(C).
    8. Laougé, Zakari Boubacar & Merdun, Hasan, 2021. "Investigation of thermal behavior of pine sawdust and coal during co-pyrolysis and co-combustion," Energy, Elsevier, vol. 231(C).
    9. Chen, Xiaoling & Zhang, Yongxing & Xu, Baoshen & Li, Yifan, 2022. "A simple model for estimation of higher heating value of oily sludge," Energy, Elsevier, vol. 239(PA).
    10. Soria-Verdugo, Antonio & Guil-Pedrosa, José Félix & García-Hernando, Néstor & Ghoniem, Ahmed F., 2024. "Evolution of solid residue composition during inert and oxidative biomass torrefaction," Energy, Elsevier, vol. 312(C).
    11. Cardarelli, Alessandro & Pinzi, Sara & Barbanera, Marco, 2022. "Effect of torrefaction temperature on spent coffee grounds thermal behaviour and kinetics," Renewable Energy, Elsevier, vol. 185(C), pages 704-716.
    12. Cheng, Wei & Shao, Jing'ai & Zhu, Youjian & Zhang, Wennan & Jiang, Hao & Hu, Junhao & Zhang, Xiong & Yang, Haiping & Chen, Hanping, 2022. "Effect of oxidative torrefaction on particulate matter emission from agricultural biomass pellet combustion in comparison with non-oxidative torrefaction," Renewable Energy, Elsevier, vol. 189(C), pages 39-51.
    13. Sánchez-Ávila, N. & Cardarelli, Alessandro & Carmona-Cabello, Miguel & Dorado, M.P. & Pinzi, Sara & Barbanera, Marco, 2024. "Kinetic and thermodynamic behavior of co-pyrolysis of olive pomace and thermoplastic waste via thermogravimetric analysis," Renewable Energy, Elsevier, vol. 230(C).
    14. Kung, Kevin S. & Thengane, Sonal K. & Shanbhogue, Santosh & Ghoniem, Ahmed F., 2019. "Parametric analysis of torrefaction reactor operating under oxygen-lean conditions," Energy, Elsevier, vol. 181(C), pages 603-614.
    15. Ivan Brandić & Lato Pezo & Nikola Bilandžija & Anamarija Peter & Jona Šurić & Neven Voća, 2023. "Comparison of Different Machine Learning Models for Modelling the Higher Heating Value of Biomass," Mathematics, MDPI, vol. 11(9), pages 1-14, April.
    16. Zhao, Jingyu & Hang, Gai & Song, Jiajia & Lu, Shiping & Ming, Hanqi & Chang, Jiaming & Deng, Jun & Zhang, Yanni & Shu, Chi-Min, 2023. "Spontaneous oxidation kinetics of weathered coal based upon thermogravimetric characteristics," Energy, Elsevier, vol. 275(C).
    17. Chen, Wei-Hsin & Teng, Chen-Hsiang & Chein, Rei-Yu & Nguyen, Thanh-Binh & Dong, Cheng-Di & Kwon, Eilhann E., 2025. "Co-production of hydrogen and biochar from methanol autothermal reforming combining excess heat recovery," Applied Energy, Elsevier, vol. 381(C).
    18. Wang, Zheng & Meng, Xiang & Yang, Jialin & Chen, Mingjie & Leng, Lijian & Li, Hailong & Zhan, Hao, 2025. "Co-combustion of brewery spent grain and coal: optimization strategies and synergistic effects," Energy, Elsevier, vol. 327(C).
    19. Qi, Jingwei & Wang, Yijie & Xu, Pengcheng & Hu, Ming & Huhe, Taoli & Ling, Xiang & Yuan, Haoran & Chen, Yong, 2024. "Study on the Co-gasification characteristics of biomass and municipal solid waste based on machine learning," Energy, Elsevier, vol. 290(C).
    20. Vershinina, Ksenia Yu & Dorokhov, Vadim V. & Romanov, Daniil S. & Strizhak, Pavel A., 2022. "Combustion stages of waste-derived blends burned as pellets, layers, and droplets of slurry," Energy, Elsevier, vol. 251(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:energy:v:320:y:2025:i:c:s0360544225009302. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/energy .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.