Research on Home Electricity Prediction Based on LSTM

This article proposes a deep learning model based on Long Short Term Memory (LSTM) network for multivariate time series prediction of household electricity consumption. The study is based on a household electricity dataset that includes global active power, voltage, current, and sub meter readings. Missing values are processed through mean interpolation, and time series continuity is optimized through hourly granularity resampling. Normalize 7 power features using MinMaxScaler, construct a sliding window supervised learning structure, and use historical time step features as input to predict the global active power (Global'active_power) at the current time step. The model adopts a single-layer LSTM unit (100 neurons) combined with Dropout regularization (ratio 0.1) to prevent overfitting, and is trained with mean square error (MSE) as the loss function and Adam as the optimizer. The experiment used the first 4000 hours of data as the training set and subsequent data as the testing set. After 100 rounds of training, the model achieved a prediction accuracy of RMSE [insert specific value] on the testing set. The visual comparison shows that the predicted values are highly consistent with the actual values in the first 500 hours. The results indicate that LSTM networks can effectively capture the complex temporal patterns of household electricity consumption, providing a reliable technical path for load forecasting and energy management in smart grids. This study further revealed the periodic patterns of electricity consumption through multi-scale data resampling (monthly, daily, hourly), providing data support for the interpretability of the model.

Authors

Institutions

Publication Details

Journal
Applied and Computational Engineering
Published
2025-06-09
DOI
https://doi.org/10.54254/2755-2721/2025.tj23583
Primary Topic
Smart Grid and Power Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Home Electricity Prediction Based on LSTM

Yiwen Chen
Applied and Computational Engineering
Smart Grid and Power Systems
article

Research on Home Electricity Prediction Based on LSTM

Yiwen Chen
article en

Abstract

This article proposes a deep learning model based on Long Short Term Memory (LSTM) network for multivariate time series prediction of household electricity consumption. The study is based on a household electricity dataset that includes global active power, voltage, current, and sub meter readings. Missing values are processed through mean interpolation, and time series continuity is optimized through hourly granularity resampling. Normalize 7 power features using MinMaxScaler, construct a sliding window supervised learning structure, and use historical time step features as input to predict the global active power (Global'active_power) at the current time step. The model adopts a single-layer LSTM unit (100 neurons) combined with Dropout regularization (ratio 0.1) to prevent overfitting, and is trained with mean square error (MSE) as the loss function and Adam as the optimizer. The experiment used the first 4000 hours of data as the training set and subsequent data as the testing set. After 100 rounds of training, the model achieved a prediction accuracy of RMSE [insert specific value] on the testing set. The visual comparison shows that the predicted values are highly consistent with the actual values in the first 500 hours. The results indicate that LSTM networks can effectively capture the complex temporal patterns of household electricity consumption, providing a reliable technical path for load forecasting and energy management in smart grids. This study further revealed the periodic patterns of electricity consumption through multi-scale data resampling (monthly, daily, hourly), providing data support for the interpretability of the model.

Applied and Computational EngineeringVol. 160(1)
Hangzhou Normal University (CN)
Openalex Percentile: Top 89%
Smart Grid and Power Systems
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.

Research on Home Electricity Prediction Based on LSTM — Yiwen Chen · Applied and Computational Engineering (2025) | TGRS Research Map | TGRS