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

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.

Authors

Institutions

Publication Details

Journal
PLoS ONE
Published
2026-02-04
DOI
https://doi.org/10.1371/journal.pone.0340268
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Fahmy Rinanda Saputri, Nicholas Pranata
PLoS ONE
Energy Load and Power Forecasting
article

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

Fahmy Rinanda Saputri, Nicholas Pranata
article en

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.

PLoS ONEVol. 21(2)
Multimedia Nusantara University (ID)
Sustainable cities and communities
Openalex Percentile: Top 67%
Energy Load and Power Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Short-term forecasting of Indonesia electricity generation using MATLAB based on NARX neural network — Fahmy Rinanda Saputri, Nicholas Pranata · PLoS ONE (2026) | TGRS Research Map | TGRS