Bulletin of Network Engineer and Informatics (BUFNETS)
Vol. 4 No. 1 (2026): BUFNETS (Bulletin of Network Engineer and Informatics) April 2026

Comparative Analysis of Machine Learning and Deep Learning Approaches for Renewable Energy Output Forecasting: An Evaluation of XGBoost, LightGBM, and LSTM Models

Ayang Kinasih (Politenik Negeri Lampung)
Iqbal May Aryanto (Politenik Negeri Lampung)
Tomy Pratama Zuhelmi (Politenik Negeri Lampung)
Syaiful Mansur (Politenik Negeri Lampung)
Ayu Sintianingrum (Politenik Negeri Lampung)
Eko Hari Tiarto (Politenik Negeri Lampung)



Article Info

Publish Date
17 Jun 2026

Abstract

The increasing integration of renewable energy into smart grids requires accurate forecasting to maintain grid stability and optimize energy management. This study compares the performance of three forecasting models—XGBoost, LightGBM, and Long Short-Term Memory (LSTM)—for predicting solar photovoltaic (PV) output, wind power output, and total renewable energy generation. To improve forecasting capability, the study applied feature engineering techniques, including time-based variables, rolling averages, and lag features to capture temporal dependencies within the dataset. An 80/20 chronological train-test split was used to maintain time-series integrity. Model performance was evaluated using Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and coefficient of determination (R²). Results show that gradient boosting models significantly outperformed the LSTM model across all forecasting targets. LightGBM achieved the best performance for solar PV forecasting (RMSE: 3.27, R²: 0.987) and total renewable energy prediction (RMSE: 4.66, R²: 0.988), while XGBoost produced the highest accuracy for wind power forecasting (RMSE: 3.26, R²: 0.987). In contrast, the LSTM model generated negative R² values, indicating poor predictive performance. These findings demonstrate that gradient boosting methods are highly effective for structured renewable energy forecasting datasets and offer strong potential for intelligent smart grid applications. The forecasting framework is designed to support IoT-enabled smart grid systems, where renewable energy data are continuously collected through distributed sensors and transmitted via intelligent communication networks. The proposed models can assist real-time energy monitoring, edge-based prediction, and intelligent network management for modern smart grid infrastructures.

Copyrights © 2026






Journal Info

Abbrev

bufnets

Publisher

Subject

Computer Science & IT

Description

The Journal invites original articles and is not simultaneously submitted to another journal or conference. Scopes: Information Technology: Software Engineering, Knowledge and Data Mining, Multimedia Technologies, Mobile Computing, Parallel/Distributed Computing, Computer Graphics, Virtual Reality, ...