This repo contains the supported files to reproduce the paper results using the stationary wavelet transform and deep transfomers
In this paper, we present a new method for forecasting power consumption. Household power consumption prediction is essential to manage and plan energy utilization. This study proposes a new technique using machine learning models based on the stationary wavelet transform (SWT) and transformers to forecast household power consumption in different resolutions. This approach works by leveraging self-attention mechanisms to learn complex patterns and dynamics from household power consumption data. The SWT and its inverse are used to decompose and reconstruct the actual and the forecasted household power consumption data, respectively, and deep transformers are used to forecast the SWT subbands. Experimental findings show that our hybrid approach achieves superior prediction performance compared to the existing power consumption prediction methods.
The proposed deep transformer SWT model for the household power consumption forecasting.
- Install Python 3.7, Tensorflow 2.4, and Keras 2.4
- Download all files and put them in the same folder.
- cd to path.
- Run the file Transformers_Houses1to5_5min.py
Please cite it as: L. Saad Saoud, H. Al-Marzouqi and R. Hussein, "Household Energy Consumption Prediction Using the Stationary Wavelet Transform and Transformers," in IEEE Access, vol. 10, pp. 5171-5183, 2022, doi: 10.1109/ACCESS.2022.3140818.
Emails: lyes.saoud@ku.ac.ae, hasan.almarzouqi@ku.ac.ae, ramyh@stanford.edu