Skip to content
Open access

A PyTorch-Based Long Short-Term Memory (LSTM) Model for Short-Term Electricity Load Forecasting in South Australia

Aug 2026 · Applied and Computational Engineering · 0 citations

TL;DR

This study develops a PyTorch-based LSTM model for short-term electricity load forecasting, using South Australian electricity demand data from 2024, and shows that the LSTM model can follow the main movement of electricity demand, but the prediction curve is smoother than the actual curve and some short-term fluctuations remain difficult to capture.

Abstract

Accurate electricity load forecasting is important for power system operation, energy planning and demand management. With the increasing use of data-driven methods, deep learning models have become useful tools for analysing complex electricity demand patterns. This study develops a PyTorch-based LSTM model for short-term electricity load forecasting, using South Australian electricity demand data from 2024. The original dataset consists of chronological five-minute demand records, and total electricity demand is selected as the target variable. Missing values were checked, the demand series was normalised using training-set statistics, and supervised learning samples were generated by a sliding window method. In the proposed model, the previous 24 five-minute demand observations are used to predict the next demand value. The dataset is divided into training, validation and testing subsets in chronological order. The model is trained using mean squared error loss and the Adam optimiser with a step learning-rate schedule. The results show that the LSTM model can follow the main movement of electricity demand, but the prediction curve is smoother than the actual curve and some short-term fluctuations remain difficult to capture. This limitation is mainly caused by the use of a simple univariate input, because weather, calendar, electricity price and renewable generation variables are not included. Future work should introduce multivariate features, compare LSTM against benchmark models such as GRU and ARIMA, and test longer input windows to further improve forecasting accuracy.

Read PDF

Similar papers

Jul 2026

Performance Evaluation of LSTM, GRU, and Transformer Models with Incremental Learning for Real-Time Streaming Load Forecasting in the West Kalimantan Power System

Accurate short-term load forecasting is essential for reliable and efficient power system operation, yet its accuracy is influenced by prediction horizon and load dynamics. This study evaluates Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and Transformer models under baseline and incremental learning fram...

Arif Rahman Hakim, D. Purwanto, I. M. K. Negara · 0 citations
Open access Aug 2026

Comparative Analysis of LSTM and Hybrid Attention-Based Architectures for Short-Term Electricity Consumption Forecasting: A Case Study in Togo

Overall, the study demonstrates that recurrent deep learning architectures provide reliable and operationally relevant solutions for electricity consumption forecasting in highly structured energy demand series.

Séna Apeke, Yao Bokovi, K. Gbafa et al. · 0 citations
Open access Jul 2026

A Multi-Scale Convolutional Neural Network with Residual Blocks and LSTM for Multi-Step Forecasting of Electricity Load

Experimental results show that MSCNN-ResLSTM achieves higher forecasting accuracy and greater stability across the full 24-step prediction horizon, consistently outperforming all competing baselines while effectively suppressing recursive error propagation.

Yu-Hang Zhang, Yi-Ting Zhao, Yu-Jing Meng et al. · 0 citations
Conference Jul 2026

Enhanced Short-term Temperature Prediction Through ARIMA-LSTM Hybrid Model

Short-term temperature prediction plays a vital role in agriculture, water resource management, energy planning and climate change monitoring. Nevertheless, traditional statistical methods do not account for the nonlinearities in weather patterns, whereas deep learning models may not consider the linear time series cha...

Akkala Yugandhara Reddy, D.Sravani, M.Vaishnavi et al. · 0 citations
Conference Jul 2026

LSTM–GRU Hybrid Deep Learning Model for Short-Term Load Forecasting in Smart Grid Systems

For smart grid power system planning and operation, short-term load forecasting is crucial. Important decisions including determining system safety, scheduling fuel, economically dispatching electricity, and selling energy can be aided by accurate day-ahead estimates. However, due to its reliance on external variables...

L. Jayavani, Banoth Ashwini, Kolkur Swabhavika et al. · 0 citations
Open access Jul 2026

Evaluation of ARIMA, ARIMA-LSTM, LSTM, and CNN-LSTM Models for Daily Air Quality Index Forecasting in Jakarta

Findings indicate that deep learning approaches, particularly CNN-LSTM, are more effective in capturing the complex dynamics of urban air pollution data and have strong potential to support air quality forecasting and pollution control systems in Jakarta.

Mushliha, Nisrinah · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.