EconPapers    
Economics at your fingertips  
 

Short-term forecasting of Indonesia electricity generation using MATLAB based on NARX neural network

Nicholas Pranata and Fahmy Rinanda Saputri

PLOS ONE, 2026, vol. 21, issue 2, 1-11

Abstract: Electricity consumption, production, and supply based on fossil fuels have increased due to population growth, urbanization, and technological development, leading to environmental damage in countries like Indonesia. In response to this issue, electricity forecasting is essential. This study applies to a Nonlinear Autoregressive with Exogenous Input (NARX) neural network to forecast one year ahead of electricity generation using MATLAB. Two algorithms are used for comparison: Levenberg-Marquardt and Bayesian Regularization. The data is classified using a standard method of 70%−30% split, with 30 hidden layers and a standard delay of 2-time steps. The results show that both algorithms achieve an R² value above 0.9 and a Mean Absolute Percent Error (MAPE) of under 3%, with the Levenberg-Marquardt algorithm demonstrating marginally superior performance. These results indicate that the model provides valuable insights for forecasting annual electricity generation in Indonesia over a short timeframe.

Date: 2026
References: Add references at CitEc
Citations:

Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0340268 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 40268&type=printable (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0340268

DOI: 10.1371/journal.pone.0340268

Access Statistics for this article

More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().

 
Page updated 2026-02-08
Handle: RePEc:plo:pone00:0340268