Predicting Biogas Quality for Renewable Energy System: An Implementation of Gaussian Naïve Bayes Classifier

Authors

  • Ria Amanda Salsabella Politeknik Negeri Malang
  • Mochammad Junus Politeknik Negeri Malang
  • Koesmarijanto Koesmarijanto Politeknik Negeri Malang

DOI:

https://doi.org/10.33795/jartel.v16i1.8851

Keywords:

Alternative Energy, Gaussian Naïve Bayes, Internet of Things (IoT), Household Waste, Biogas Classification

Abstract

The utilization of organic household waste for biogas production presents a promising alternative energy solution; however, it is often limited by the lack of intelligent monitoring and control systems. This study proposes the design and implementation of an Internet of Things (IoT)-based monitoring and control system integrated with a Gaussian Naïve Bayes (GNB) algorithm to classify biogas quality in real time. The system employs an ESP32 microcontroller combined with a K-Type thermocouple sensor, MQ-4 and MQ-135 gas sensors, and an MPX5700 pressure sensor to collect environmental data during the biogas production process. A dataset consisting of 120 samples was collected and divided into training (80%) and testing (20%) sets. The GNB model classifies biogas into three categories: Good, Moderate, and Poor. Experimental results show that the model achieved an accuracy of 95.83%, with high precision and recall across all classes. The system also demonstrated an energy conversion efficiency of 33.3% when converting biogas into electrical energy to power a fan. These results indicate that the proposed system effectively integrates IoT and machine learning to automate and optimize biogas utilization, providing a scalable and cost-effective solution for renewable energy applications in community-based waste management systems.

References

I. Tryhuba et al., “Prediction of Biogas Production Volumes from Household Organic Waste Based on Machine Learning,” Energies, vol. 17, no. 1786, pp. 1–20, 2024, doi: 10.3390/en17071786.

A. A. Damayanti, Z. N. Fuadina, N. N. Azizah, Y. Karinta, and I. K. Mahardika, “Pemanfaatan Sampah Organik Dalam Pembuatan Biogas Sebagai Sumber Energi Kebutuhan Hidup Sehari-Hari,” Eksergi, vol. 17, no. 3, p. 182, 2021, doi: 10.32497/eksergi.v17i03.2803.

R. N. Mukti, A. Salsabilla, A. S. Muamar, E. C. Prima, and M. N. Hana, “Biogas Effectiveness Test from Household Waste (Vegetable Waste) with Cow Dung Starter and EM4,” Indonesian Journal of Multidisciplinary Research, vol. 1, no. 1, pp. 73–78, 2021, doi: 10.17509/ijomr.v1i1.33779.

KLHK, “Capaian Kinerja Pengelolaan Sampah,” Sistem Informasi Pengelolaan Sampah Nasional (SIPSN) – Kementerian Lingkungan Hidup dan Kehutanan. [Online]. Available: https://sipsn.menlhk.go.id/sipsn/public/data/komposisi

M. Junus, A. D. Rahman, and R. F. Shodiq, “Micro-Controller Based Biogas Production Monitoring System,” Indonesian Journal of Electrical and Electronic Engineering, vol. 8, no. 2, pp. 69–75, 2025.

P. Organiściak et al., “Machine Learning–Based Prediction of Biogas Production from Sludge Characteristics in Four Anaerobic Digesters – Development of the AD2Biogas Prediction Tool,” Advances in Science and Technology Research Journal, vol. 18, no. 8, pp. 1–15, 2024.

Onu Peter et al., “Artificial Intelligence-based IoT-enabled Biogas Production,” IEEE, 2023.

R. Situmeang, J. Mazancová, and H. Roubík, “Technological, Economic, Social and Environmental Barriers to Adoption of Small-Scale Biogas Plants: Case of Indonesia,” Energies, vol. 15, no. 14, 2022, doi: 10.3390/en15145105.

Karina Thapa, “Implementing Naïve Bayes’ Classifier using Python,” Medium. [Online]. Available: https://medium.com/%40karinathpa/implementing-naïve-bais-classifier-using-python-fa19d1279a9a

W. A. P. B. D. M. Alvina Felicia, “Implementasi Algoritma Naive Bayes untuk Memprediksi Tingkat Penyebaran COVID,” Journal of Applied Computer Science and Technology, vol. 1, no. 1, pp. 7–14, 2020, doi: 10.55606/jurritek.v1i1.127.

M. Junus, D. F. Putradi, F. A. Soelistianto, M. A. Anshori, and R. Ardiansyah, “Internet of Things Enabled Landfill Pollution Gas Monitoring,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 37, no. 1, pp. 48–55, 2025, doi: 10.11591/ijeecs.v37.i1.pp48-55.

M. Junus, S. Wirayoga, and Adzikirani, System Design Renewable Energy Using Applications Bright Energy Solar Meter Panel Based on the Internet of Things. Atlantis Press International BV, 2023. doi: 10.2991/978-94-6463-358-0_10.

M. Junus, Marjono, Aulanni’am, and S. Wahyudi, “Modelling, Simulation, and Enhancement of Hybrid Renewable Energy Systems for Purification Utilization,” International Energy Journal, vol. 23, no. 2, pp. 71–82, 2023.

H. Kurniawan, A. Rahim, T. Azhima, and Y. Siswa, “Implementasi Algoritma Gaussian Naïve Bayes dalam Klasifikasi Status Gizi pada Balita,” Building Informatics, Technology and Science, vol. 6, no. 2, pp. 627–634, 2024.

J. A. Rieuwpassa, Sugito, and T. Widiharih, “Implementasi Metode Naive Bayes Classifier untuk Klasifikasi Sentimen Ulasan Pengguna Aplikasi Netflix pada Google Play,” Jurnal Gaussian, vol. 12, no. 3, pp. 362–371, 2023, doi: 10.14710/j.gauss.12.3.362-371.

M. F. F. Fadilah, A. Hanani, and T. Chamidy, “Naive Bayes untuk Pengukuran Kualitas Media pada Larva BSF (Black Soldier Fly) Berbasis Internet of Things,” Jurnal Informatika Sunan Kalijaga, vol. 8, no. 2, pp. 125–139, 2023.

A. Akbar, Z. Zaenudin, Z. Mutaqin, and L. D. Samsumar, “IoT-Based Smart Room Using Web Server-Based ESP32 Microcontroller,” Formosa Journal of Computer and Information Science, vol. 1, no. 2, pp. 91–98, 2022, doi: 10.55927/fjcis.v1i2.1241.

K. C. Obileke, E. L. Meyer, S. Mamphweli, and G. Makaka, “Design and Evaluation of a Gas, Temperature Profiling and Data Acquisition System to Monitor the Performance of a Batch Fixed Dome Biogas Digester,” Scientific Reports, vol. 14, no. 1, p. 24960, 2024, doi: 10.1038/s41598-024-76080-y.

I. G. A. I. F. Ramadhani, “Karakterisasi dan Pengujian Sensor MQ-4 dan MG-811 untuk Pengembangan Sistem Monitoring Konsentrasi Gas Metana dan Karbon Dioksida di Udara,” Prosiding Seminar Nasional Fisika, vol. XII, pp. 81–86, 2024, doi: 10.21009/03.1201.fa12.

A. A. Rosa, B. A. Simon, and K. S. Lieanto, “Sistem Pendeteksi Pencemaran Udara Portabel Menggunakan Sensor MQ-7 dan MQ-135,” Ultima Computing: Jurnal Sistem Komputer, vol. 12, no. 1, pp. 23–28, 2020, doi: 10.31937/sk.v12i1.1611.

A. Roja, Jamaluddin, and Azhar, “Rancang Bangun Sistem Kendali Proses Produksi Biogas,” Jurnal TEKTRO, vol. 8, no. 1, pp. 1–7, 2024.

N. Rahman, R. Purnamasari, and Y. Eliskar, “Rancang Bangun Alat Otomatisasi Pengomposan dari Sampah Organik Berbasis Internet of Things,” vol. 6, no. 4, pp. 674–682, 2024.

Rusdiyanto, Ibrahim, and Insani Abdi Bangsa, “Implementasi Motor Servo MG996R sebagai Robot Pemegang Batang Nosel pada Sprayer Elektrik Berbasis Arduino Mega2560,” Elkom: Jurnal Elektronika dan Komputer, vol. 14, no. 1, pp. 162–170, 2021, doi: 10.51903/elkom.v14i1.443.

M. Y. Iqbar and K. P. Kartika Riyanti, “Rancang Bangun Lampu Portable Otomatis Menggunakan RTC Berbasis Arduino,” Antivirus: Jurnal Ilmiah Teknik Informatika, vol. 14, no. 1, pp. 61–72, 2020, doi: 10.35457/antivirus.v14i1.1115.

S. Mukhtar, S. Muhammad, H. A. Alyousef, W. Khan, R. Shah, and S. A. El-Tantawy, “Enviro-economic and Optimal Hybrid Energy System: Photovoltaic–Biogas–Hydro–Battery System in Rural Areas of Pakistan,” Heliyon, vol. 10, no. 16, 2024, doi: 10.1016/j.heliyon.2024.e35182.

Raju, S. Panggabean, and Y. Maharani, “Utilization of Biogas in Generators to Generate Electricity,” IOP Conference Series: Earth and Environmental Science, vol. 1241, no. 1, 2023, doi: 10.1088/1755-1315/1241/1/012068.

S. H. Mun, Y. Kwak, Y. Kim, and J. H. Huh, “A Comprehensive Thermal Comfort Analysis of the Cooling Effect of the Stand Fan Using Questionnaires and a Thermal Manikin,” Sustainability, vol. 11, pp. 1–18, 2019, doi: 10.3390/su11185091.

Downloads

Published

31-03-2026

How to Cite

Salsabella, R. A., Junus, M., & Koesmarijanto, K. (2026). Predicting Biogas Quality for Renewable Energy System: An Implementation of Gaussian Naïve Bayes Classifier. JURNAL JARTEL: Jurnal Jaringan Telekomunikasi, 16(1), 1–9. https://doi.org/10.33795/jartel.v16i1.8851