Abstract
The paper presents a Machine Learning (ML) approach to household Electrical Energy (EE) consumption prediction. It includes: data preprocessing, feature engineering, learning a classification model, and experimental evaluation on one of the largest datasets for household EE consumption – DataPort dataset. Beside the features extracted on the historical EE consumption, we additionally analyze weather and contextual-calendar related features. We believe that the combination of multiple sources of data (calendar, weather, historical EE consumption) provides more information to the model in order to learn better performing model. The experimental results showed that in all the cases the ML algorithms outperform the baselines, with the best performing the XGBoost - achieved 0.69 RMSE score, 0.41 MAE score and 0.67 R2 score which is significantly better than the best performing baseline model (the value from 24 h ago). Additionally, the results show that the largest errors are made for the weekends, which was expected due to the irregularities in the schedule - trips, vacations, etc.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Adilah, N., Jalil, A., Ahmad, M.H., Mohamed, N.: Electricity load demand forecasting using exponential smoothing methods. World Appl. Sci. J. 22(11), 1540–1543 (2013)
Bakirtzis, A.: A neural network short term load forecasting model for the greek power system. IEEE Trans. Power Syst. 11(2), 858–863 (1996)
Chen, T.: XGBoost: a scalable tree boosting system. ArXiv e-prints (2016)
Cheng, Y.-Y., Chan, P., Qiu, Z.-W.: Random forest based ensemble system for short term load forecasting. In: 2012 International Conference on Machine Learning and Cybernetics (ICMLC), Xian, vol. 1, pp. 52–56 (2012)
Aha, D.: Instance-based learning algorithms. Mach. Learn. 6(1), 37–66 (1991)
Dataport dataset used for this research. https://www.pecanstreet.org/dataport/about/
Freedman, D.A.: Statistical Models: Theory and Practice, p. 26. Cambridge University Press, Cambridge (2009). https://doi.org/10.1007/3-540-62858-4, https://doi.org/10.1109/smartgridcomm.2018.8587489
Dudek, G.: Short-term load forecasting using random forests. In: Filev, D., Jablkowski, J., Kacprzyk, J., Krawczak, M., Popchev, I., Rutkowski, L., et al. (eds.) Intelligent Systems’2014. AISC, vol. 323, pp. 821–828. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-11310-4_71
Egauge device. https://www.egauge.net/
Friedman, J.H.: Greedy function approximation: a gradient boosting machine. Ann. Stat. 29(5), 1189–1232 (2001)
Friedman, J.H.: Stochastic gradient boosting. Comput. Stat. Data Anal. 38(4), 367–368 (2002)
Göb, R.: Electrical load forecasting by exponential smoothing with covariates. Appl. Stoch. Models Bus. Ind. 29(6), 629–645 (2013). http://dx.doi.org/10.1109/ICMLC.2012.6358885, https://www.egauge.net/. Accessed 28 May 2019, https://www.pecanstreet.org/dataport/. Accessed 15 May 2019
Huang, S.-J.: Short-term load forecasting via ARMA model identification including non-Gaussian process considerations. IEEE Trans. Power Syst. 18(2), 673–679 (2003)
International Journal of Forecasting, Official Publication of the International Institute of Forecasters. https://robjhyndman.com/hyndsight/benchmarks/?fbclid=IwAR0o34h8CSmkKGpqNdIFRHvSj_ib5bNL5MihUQLXSYyLKtdD6xTbOhfw_tA. Accessed 10 June 2019
Kim, J., Cho, S., Ko, K., Rao, R.R.: Short-term electric load prediction using multiple linear regression method. In: 2018 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Aalborg, pp. 1–6 (2018)
Lee, Y.-S.: Forecasting time series using a methodology based on autoregressive integrated moving average and genetic programming. Knowl.-Based Syst. 24, 66–72 (2011)
Li, G., Cheng, C., Lin, J., Zeng, Y.: Short-term load forecasting using support vector machine with SCE-UA algorithm. In: Third International Conference on Natural Computation (ICNC 2007), Haikou, pp. 290–294 (2007). https://doi.org/10.1109/icnc.2007.660
Mandal, P.: Neural networks approach to forecast several hours ahead electricity prices and loads in deregulated market. Energy Convers. Manage. 47(15–16), 2128–2142 (2006)
Marino, D.L., Amarasinghe, K., Manic, M.: Building energy load forecasting using Deep Neural Networks. In: IECON 2016 - 42nd Annual Conference of the IEEE Industrial Electronics Society, Florence, pp. 7046–7051 (2016). https://doi.org/10.1109/iecon.2016.7793413
Pappas, S.S.: Electricity demand loads modeling using AutoRegressive Moving Average (ARMA) models. Energy 33, 1353–1360 (2008)
Lu, Q.: An adaptive nonlinear predictor with orthogonal escalator structure for short-term load forecasting. IEEE Trans. Power Syst. 4(1), 158–164 (1989)
Reddy, S.S., Momoh, J.A.: Short term electrical load forecasting using back propagation neural networks. In: 2014 North American Power Symposium (NAPS), Pullman, WA, pp. 1–6 (2014). https://doi.org/10.1109/naps.2014.6965453
Shevade, S.K.: Improvements to the SMO algorithm for SVM regression. IEEE Trans. Neural Networks 11(5), 1188–1193 (2000)
Shi, H.: Deep learning for household load forecasting – a novel pooling deep RNN. IEEE Trans. Smart Grid 9(5), 5271–5280 (2018)
Wang, Y., Witten, I.H.: Induction of model trees for predicting continuous classes. In: van Someren, M., Widmer, G. (eds.) Poster papers of the 9th European Conference on Machine Learning, Prague (1997)
Acknowledgment
We gratefully acknowledge the support of NVIDIA Corporation with the donation of the Titan Xp GPU used for this research. Additionally, we would like to thank the DataPort portal for providing the dataset for research purposes.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Stankoski, S., Kiprijanovska, I., Ilievski, I., Slobodan, J., Gjoreski, H. (2019). Electrical Energy Consumption Prediction Using Machine Learning. In: Gievska, S., Madjarov, G. (eds) ICT Innovations 2019. Big Data Processing and Mining. ICT Innovations 2019. Communications in Computer and Information Science, vol 1110. Springer, Cham. https://doi.org/10.1007/978-3-030-33110-8_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-33110-8_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-33109-2
Online ISBN: 978-3-030-33110-8
eBook Packages: Computer ScienceComputer Science (R0)