Dual-Stream CNN-GRU Model with Spatial and Self-Attention for Power Forecasting in Electrical Automation

Chengjiang Tang

Abstract


Accurate power forecasting is critical for electrical automation within smart grids, enabling intelligent energy management to balance demand and supply. We propose a dual-stream hybrid model that processes multivariate time series data from the DKASC (solar generation) and IHEPC (household consumption) datasets through parallel Convolutional Neural Networks (CNNs) with spatial attention and Gated Recurrent Units (GRUs) with self-attention. This unified model captures cross-variable correlations (e.g., weather, power output) and long-term temporal dependencies to predict both generation and consumption, enhancing grid stability. Evaluated using RMSE, MAE, and MSE, our model achieves a 32–93% reduction in RMSE compared to baseline methods like RCC-LSTM and CNN-LSTM hybrids on DKASC and IHEPC datasets. Designed for integration with electrical automation systems, it offers superior accuracy, robustness, and efficiency, advancing smart grid operations.


Full Text:

PDF

References


J. Ma and X. Ma, "A review of forecasting algorithms and energy management strategies for microgrids," Systems Science & Control Engineering, vol. 6, no. 1, pp. 237-248, 2018.

Y. Wang, Y. Shen, S. Mao, X. Chen, and H. Zou, "LASSO and LSTM integrated temporal model for short-term solar intensity forecasting," IEEE Internet of Things Journal, vol. 6, no. 2, pp. 2933-2944, 2018.

X. Lu, X. Xiao, L. Xiao, C. Dai, M. Peng, and H. V. Poor, "Reinforcement learning-based microgrid energy trading with a reduced power plant schedule," IEEE Internet of Things Journal, vol. 6, no. 6, pp. 10728-10737, 2019.

G. Xu, W. Yu, D. Griffith, N. Golmie, and P. Moulema, "Toward integrating distributed energy resources and storage devices in smart grid," IEEE internet of things journal, vol. 4, no. 1, pp. 192-204, 2016.

U. S. Doe, "DOE Microgrid Workshop Report," ed: Office of Elect. Del. and Energy Rel., San Diego, CA, USA, 2011.

K. Amasyali and N. M. El-Gohary, "A review of data-driven building energy consumption prediction studies," Renewable and Sustainable Energy Reviews, vol. 81, pp. 1192-1205, 2018.

X. Ma, Y. Wang, and J. Qin, "Generic model of a community-based microgrid integrating wind turbines, photovoltaics and CHP generations," Applied energy, vol. 112, pp. 1475-1482, 2013.

Z. A. Khan, T. Hussain, W. Ullah, and S. W. Baik, "A trapezoid attention mechanism for power generation and consumption forecasting," IEEE Transactions on Industrial Informatics, 2023.

Z. A. Khan, S. A. Khan, T. Hussain, and S. W. Baik, "DSPM: Dual sequence prediction model for efficient energy management in micro-grid," Applied Energy, vol. 356, p. 122339, 2024.

Z. A. Khan et al., "Modelling electricity consumption during the COVID19 pandemic: Datasets, models, results and a research agenda," Energy and Buildings, vol. 294, p. 113204, 2023.

W. Zheng and G. Chen, "An accurate gru-based power time-series prediction approach with selective state updating and stochastic optimization," IEEE Transactions on Cybernetics, 2021.

Z. A. Khan et al., "Efficient short-term electricity load forecasting for effective energy management," Sustainable Energy Technologies and Assessments, vol. 53, p. 102337, 2022.

M. Xia, H. Shao, X. Ma, and C. W. de Silva, "A stacked GRU-RNN-based approach for predicting renewable energy and electricity load for smart grid operation," IEEE Transactions on Industrial Informatics, vol. 17, no. 10, pp. 7050-7059, 2021.

S. M. J. Jalali, S. Ahmadian, A. Khosravi, M. Shafie-khah, S. Nahavandi, and J. P. S. Catalão, "A novel evolutionary-based deep convolutional neural network model for intelligent load forecasting," IEEE Transactions on Industrial Informatics, vol. 17, no. 12, pp. 8243-8253, 2021.

D. Van Der Meer, G. R. C. Mouli, G. M.-E. Mouli, L. R. Elizondo, and P. Bauer, "Energy management system with PV power forecast to optimally charge EVs at the workplace," IEEE transactions on industrial informatics, vol. 14, no. 1, pp. 311-320, 2016.

X. Yao, Z. Wang, and H. Zhang, "A novel photovoltaic power forecasting model based on echo state network," Neurocomputing, vol. 325, pp. 182-189, 2019.

L. Tang, X. Wang, X. Wang, C. Shao, S. Liu, and S. Tian, "Long-term electricity consumption forecasting based on expert prediction and fuzzy Bayesian theory," Energy, vol. 167, pp. 1144-1154, 2019.

S. N. Singh and A. Mohapatra, "Repeated wavelet transform based ARIMA model for very short-term wind speed forecasting," Renewable energy, vol. 136, pp. 758-768, 2019.

S. S. Pappas, L. Ekonomou, D. C. Karamousantas, G. E. Chatzarakis, S. K. Katsikas, and P. Liatsis, "Electricity demand loads modeling using AutoRegressive Moving Average (ARMA) models," Energy, vol. 33, no. 9, pp. 1353-1360, 2008.

L. Wu, X. Gao, Y. Xiao, Y. Yang, and X. Chen, "Using a novel multi-variable grey model to forecast the electricity consumption of Shandong Province in China," Energy, vol. 157, pp. 327-335, 2018.

S. Ding, K. W. Hipel, and Y.-g. Dang, "Forecasting China's electricity consumption using a new grey prediction model," Energy, vol. 149, pp. 314-328, 2018.

O. A. Maatallah, A. Achuthan, K. Janoyan, and P. Marzocca, "Recursive wind speed forecasting based on Hammerstein Auto-Regressive model," Applied Energy, vol. 145, pp. 191-197, 2015.

D. Yang, "On post-processing day-ahead NWP forecasts using Kalman filtering," Solar Energy, vol. 182, pp. 179-181, 2019.

Z. Zheng, H. Chen, and X. Luo, "A Kalman filter-based bottom-up approach for household short-term load forecast," Applied Energy, vol. 250, pp. 882-894, 2019.

D. Wu, B. Wang, D. Precup, and B. Boulet, "Multiple kernel learning-based transfer regression for electric load forecasting," IEEE Transactions on Smart Grid, vol. 11, no. 2, pp. 1183-1192, 2019.

Z. Tan et al., "Combined electricity-heat-cooling-gas load forecasting model for integrated energy system based on multi-task learning and least square support vector machine," Journal of Cleaner Production, vol. 248, p. 119252, 2020.

L.-L. Li, X. Zhao, M.-L. Tseng, and R. R. Tan, "Short-term wind power forecasting based on support vector machine with improved dragonfly algorithm," Journal of Cleaner Production, vol. 242, p. 118447, 2020.

J. Wang, N. Zhang, and H. Lu, "A novel system based on neural networks with linear combination framework for wind speed forecasting," Energy Conversion and Management, vol. 181, pp. 425-442, 2019.

P.-H. Kuo and C.-J. Huang, "A high precision artificial neural networks model for short-term energy load forecasting," Energies, vol. 11, no. 1, p. 213, 2018.

M. Ali and R. Prasad, "Significant wave height forecasting via an extreme learning machine model integrated with improved complete ensemble empirical mode decomposition," Renewable and Sustainable Energy Reviews, vol. 104, pp. 281-295, 2019.

M. Rafiei, T. Niknam, J. Aghaei, M. Shafie-Khah, and J. P. S. Catalão, "Probabilistic load forecasting using an improved wavelet neural network trained by generalized extreme learning machine," IEEE Transactions on Smart Grid, vol. 9, no. 6, pp. 6961-6971, 2018.

A. Rahman, V. Srikumar, and A. D. Smith, "Predicting electricity consumption for commercial and residential buildings using deep recurrent neural networks," Applied energy, vol. 212, pp. 372-385, 2018.

G. Li, H. Wang, S. Zhang, J. Xin, and H. Liu, "Recurrent neural networks based photovoltaic power forecasting approach," Energies, vol. 12, no. 13, p. 2538, 2019.

G. Trierweiler Ribeiro, J. Guilherme Sauer, N. Fraccanabbia, V. Cocco Mariani, and L. dos Santos Coelho, "Bayesian optimized echo state network applied to short-term load forecasting," Energies, vol. 13, no. 9, p. 2390, 2020.

H. Zhou, Y. Zhang, L. Yang, Q. Liu, K. Yan, and Y. Du, "Short-term photovoltaic power forecasting based on long short term memory neural network and attention mechanism," IEEE Access, vol. 7, pp. 78063-78074, 2019.

S. Wang, X. Wang, S. Wang, and D. Wang, "Bi-directional long short-term memory method based on attention mechanism and rolling update for short-term load forecasting," International Journal of Electrical Power & Energy Systems, vol. 109, pp. 470-479, 2019.

Y. Wang, W. Liao, and Y. Chang, "Gated recurrent unit network-based short-term photovoltaic forecasting," Energies, vol. 11, no. 8, p. 2163, 2018.

Y. Wang, M. Liu, Z. Bao, and S. Zhang, "Short-term load forecasting with multi-source data using gated recurrent unit neural networks," Energies, vol. 11, no. 5, p. 1138, 2018.

Z. A. Khan et al., "Efficient Short-Term Electricity Load Forecasting for Effective Energy Management," Sustainable Energy Technologies and Assessments, vol. 53, p. 102337, 2022.

D. Korkmaz, "SolarNet: A hybrid reliable model based on convolutional neural network and variational mode decomposition for hourly photovoltaic power forecasting," Applied Energy, vol. 300, p. 117410, 2021.

J. Kim, J. Moon, E. Hwang, and P. Kang, "Recurrent inception convolution neural network for multi short-term load forecasting," Energy and buildings, vol. 194, pp. 328-341, 2019.

N. Khan, F. U. M. Ullah, I. U. Haq, S. U. Khan, M. Y. Lee, and S. W. Baik, "AB-Net: A Novel Deep Learning Assisted Framework for Renewable Energy Generation Forecasting," Mathematics, vol. 9, no. 19, p. 2456, 2021.

M. Sajjad et al., "A novel CNN-GRU-based hybrid approach for short-term residential load forecasting," Ieee Access, vol. 8, pp. 143759-143768, 2020.

F. Wang, Y. Yu, Z. Zhang, J. Li, Z. Zhen, and K. Li, "Wavelet decomposition and convolutional LSTM networks based improved deep learning model for solar irradiance forecasting," applied sciences, vol. 8, no. 8, p. 1286, 2018.

S. Woo, J. Park, and J. Park, "Predicting wind turbine power and load outputs by multi-task convolutional LSTM model," 2018: IEEE, pp. 1-5.

J. Liu, H. Zang, L. Cheng, T. Ding, Z. Wei, and G. Sun, "A Transformer-based multimodal-learning framework using sky images for ultra-short-term solar irradiance forecasting," Applied Energy, vol. 342, p. 121160, 2023.

T. Cabello-López, M. Carranza-García, J. C. Riquelme, and J. García-Gutiérrez, "Forecasting solar energy production in Spain: A comparison of univariate and multivariate models at the national level," Applied Energy, vol. 350, p. 121645, 2023.

C. Jiang and Q. Zhu, "Evaluating the most significant input parameters for forecasting global solar radiation of different sequences based on Informer," Applied Energy, vol. 348, p. 121544, 2023.

M. Abou Houran, S. M. S. Bukhari, M. H. Zafar, M. Mansoor, and W. Chen, "COA-CNN-LSTM: Coati optimization algorithm-based hybrid deep learning model for PV/wind power forecasting in smart grid applications," Applied Energy, vol. 349, p. 121638, 2023.

Z. A. Khan, T. Hussain, and S. W. Baik, "Boosting energy harvesting via deep learning-based renewable power generation prediction," Journal of King Saud University-Science, vol. 34, no. 3, p. 101815, 2022.

Z. A. Khan, T. Hussain, A. Ullah, S. Rho, M. Lee, and S. W. Baik, "Towards Efficient Electricity Forecasting in Residential and Commercial Buildings: A Novel Hybrid CNN with a LSTM-AE based Framework," Sensors, vol. 20, no. 5, p. 1399, 2020.

B. Chen, P. Lin, Y. Lai, S. Cheng, Z. Chen, and L. Wu, "Very-short-term power prediction for PV power plants using a simple and effective RCC-LSTM model based on short term multivariate historical datasets," Electronics, vol. 9, no. 2, p. 289, 2020.

H. Zang, L. Cheng, T. Ding, K. W. Cheung, Z. Wei, and G. Sun, "Day-ahead photovoltaic power forecasting approach based on deep convolutional neural networks and meta learning," International Journal of Electrical Power & Energy Systems, vol. 118, p. 105790, 2020.

L.-L. Li, S.-Y. Wen, M.-L. Tseng, and C.-S. Wang, "Renewable energy prediction: A novel short-term prediction model of photovoltaic output power," Journal of Cleaner Production, vol. 228, pp. 359-375, 2019.

Y. Zhou, N. Zhou, L. Gong, and M. Jiang, "Prediction of photovoltaic power output based on similar day analysis, genetic algorithm and extreme learning machine," Energy, vol. 204, p. 117894, 2020.

L. Cheng, H. Zang, T. Ding, Z. Wei, and G. Sun, "Multi-meteorological-factor-based Graph Modeling for Photovoltaic Power Forecasting," IEEE Transactions on Sustainable Energy, 2021.

P. Li, K. Zhou, X. Lu, and S. Yang, "A hybrid deep learning model for short-term PV power forecasting," Applied Energy, vol. 259, p. 114216, 2020.

K. Wang, X. Qi, and H. Liu, "A comparison of day-ahead photovoltaic power forecasting models based on deep learning neural network," Applied Energy, vol. 251, p. 113315, 2019.

K. Wang, X. Qi, and H. Liu, "Photovoltaic power forecasting based LSTM-Convolutional Network," Energy, vol. 189, p. 116225, 2019.

R. Rajabi and A. Estebsari, "Deep Learning Based Forecasting of Individual Residential Loads Using Recurrence Plots," in 2019 IEEE Milan PowerTech, 2019: IEEE, pp. 1-5.

F. U. M. Ullah, A. Ullah, I. U. Haq, S. Rho, and S. W. Baik, "Short-Term Prediction of Residential Power Energy Consumption via CNN and Multilayer Bi-directional LSTM Networks," IEEE Access, 2019.

I. U. Haq et al., "Sequential learning-based energy consumption prediction model for residential and commercial sectors," Mathematics, vol. 9, no. 6, p. 605, 2021.

E. Mocanu, P. H. Nguyen, M. Gibescu, and W. L. Kling, "Deep learning for estimating building energy consumption," Sustainable Energy, Grids and Networks, vol. 6, pp. 91-99, 2016.

T.-Y. Kim and S.-B. Cho, "Predicting residential energy consumption using CNN-LSTM neural networks," Energy, vol. 182, pp. 72-81, 2019.

K. M. Tao Han, Tanveer Hussain, Jaime Lloret, Sung Wook Baik, "An Efficient Deep Learning Framework for Intelligent Energy Management in Dependable IoT," IEEE Internet of Things Journal, 2020.

M. Abdel-Basset, H. Hawash, K. Sallam, S. S. Askar, and M. Abouhawwash, "STLF-Net: Two-stream deep network for short-term load forecasting in residential buildings," Journal of King Saud University-Computer and Information Sciences, 2022.

J.-Y. Kim and S.-B. Cho, "Electric energy consumption prediction by deep learning with state explainable autoencoder," Energies, vol. 12, no. 4, p. 739, 2019.

Z. A. Khan, A. Ullah, W. Ullah, S. Rho, M. Lee, and S. W. Baik, "Electrical energy prediction in residential buildings for short-term horizons using hybrid deep learning strategy," Applied Sciences, vol. 10, no. 23, p. 8634, 2020.




DOI: https://doi.org/10.31449/inf.v49i31.8377

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.