# Data-driven Insights for Informed Decision-Making: Applying LSTM Networks for Robust Electricity Forecasting in Libya

arXiv: https://arxiv.org/abs/2507.01034 · HTML: https://mlsanity.com/paper/2507.01034/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 5 of its 60 references that are in the map.
- First posted on arXiv 20 Jun 2025.

## Builds on (most cited first, 5 of 5)

- [Handling missing values in healthcare data: A systematic review of deep learning-based imputation techniques](https://mlsanity.com/paper/2210.08258/) (2022)
- [Search Algorithms for Automated Hyper-Parameter Tuning](https://mlsanity.com/paper/2104.14677/) (2021)
- [Evaluating the Planning and Operational Resilience of Electrical Distribution Systems with Distributed Energy Resources using Complex Network Theory](https://mlsanity.com/paper/2208.11543/) (2022)
- [Predict stock prices with ARIMA and LSTM](https://mlsanity.com/paper/2209.02407/) (2022)
- [Dynamic linear regression models for forecasting time series with semi long memory errors](https://mlsanity.com/paper/2408.09096/) (2024)

## Abstract (arXiv)

Accurate electricity forecasting is crucial for grid stability and energy planning, especially in Benghazi, Libya, where frequent load shedding, generation deficits, and infrastructure limitations persist. This study proposes a data-driven approach to forecast electricity load, generation, and deficits for 2025 using historical data from 2019 (a year marked by instability) and 2023 (a more stable year). Multiple time series models were applied, including ARIMA, seasonal ARIMA, dynamic regression ARIMA, exponential smoothing, extreme gradient boosting, and Long Short-Term Memory (LSTM) neural networks. The dataset was enhanced through missing value imputation, outlier smoothing, and log transformation. Performance was assessed using mean squared error, root mean squared error, mean absolute error, and mean absolute percentage error. LSTM outperformed all other models, showing strong capabilities in modeling non-stationary and seasonal patterns. A key contribution of this work is an optimized LSTM framework that integrates exogenous factors such as temperature and humidity, offering robust performance in forecasting multiple electricity indicators. These results provide practical insights for policymakers and grid operators to enable proactive load management and resource planning in data-scarce, volatile regions.
