Abstract

Due to the disparity between energy supply and demand, forecasting power consumption plays a crucial role in the global economy, especially during current turbulent times. Energy managers can enhance their power management and bring in energy efficiency with the use of machine learning models, which have gained widespread recognition for their accurate prediction. The author found random forest as the best-performing model for forecasting power generation based on the meteorological factors in his previous paper. On the basis of that, in this paper author has employed only tree-based algorithms and did a comparative analysis among them for predicting power consumption. We have used a publically available dataset of Tetouan city for our analysis and used a variety of evaluation metrics to gauge how well each model performs. Based on the experimentation, XGBoost came out as the best-performing model which performed equally well on both the training and test set.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now
Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Zhong H, Wang J, Jia H, Mu Y, Lv S (2019) Vector field-based support vector regression for building energy consumption prediction. Appl Energy 242:403–414

    Article  Google Scholar 

  2. Lei R, Yin J (2022) Prediction method of energy consumption for high building based on LMBP neural network. Energy Rep 8:1236–1248

    Article  Google Scholar 

  3. Moon J, Park S, Rho S, Hwang E (2022) Robust building energy consumption forecasting using an online learning approach with R ranger. J Build Eng 47:103851

    Article  Google Scholar 

  4. Paudel S, Elmitri M, Couturier S, Nguyen PH, Kamphuis R, Lacarrière B, Le Corre O (2017) A relevant data selection method for energy consumption prediction of low energy building based on support vector machine. Energy Build 138:240–256

    Article  Google Scholar 

  5. Liu Y, Chen H, Zhang L, Wu X, Wang X-J (2020) Energy consumption prediction and diagnosis of public buildings based on support vector machine learning: a case study in china. J Clean Prod 272:122542

    Article  Google Scholar 

  6. Wong SL, Wan KK, Lam TN (2010) Artificial neural networks for energy analysis of office buildings with daylighting. Appl Energy 87(2):551–557

    Article  Google Scholar 

  7. Aydinalp-Koksal M, Ugursal VI (2008) Comparison of neural network, conditional demand analysis, and engineering approaches for modeling end-use energy consumption in the residential sector. Appl Energy 85(4):271–296

    Article  Google Scholar 

  8. Azadeh A, Ghaderi S, Sohrabkhani S (2008) Annual electricity consumption forecasting by neural network in high energy consuming industrial sectors. Energy Convers Manage 49(8):2272–2278

    Article  Google Scholar 

  9. Amber K, Ahmad R, Aslam M, Kousar A, Usman M, Khan MS (2018) Intelligent techniques for forecasting electricity consumption of buildings. Energy 157:886–893

    Article  Google Scholar 

  10. Ahmad MW, Mourshed M, Rezgui Y (2017) Trees vs. neurons: comparison between random forest and ANN for high-resolution prediction of building energy consumption. Energy Build 147:77–89

    Article  Google Scholar 

  11. Salam A, El Hibaoui A (2018) Comparison of machine learning algorithms for the power consumption prediction:-case study of Tetouan city-. In: 2018 6th international renewable and sustainable energy conference (IRSEC). IEEE 2018, pp 1–5

    Google Scholar 

  12. Swain PH, Hauska H (1977) The decision tree classifier: design and potential. IEEE Trans Geosci Electron 15(3):142–147

    Article  Google Scholar 

  13. Rawat DS, Padmanabh K (2021) Prediction of solar power in an IoT-enabled solar system in an academic campus of India, pp 419–431

    Google Scholar 

  14. Dua D, Graff C (2017) UCI machine learning repository. [Online]. Available: http://archive.ics.uci.edu/ml

  15. Wang Z, Wang Y, Zeng R, Srinivasan RS, Ahrentzen S (2018) Random forest based hourly building energy prediction. Energy Build 171:11–25

    Article  Google Scholar 

  16. Lu H, Ma X (2020) Hybrid decision tree-based machine learning models for short-term water quality prediction. Chemosphere 249:126169

    Article  Google Scholar 

  17. Zogaan WA, Power consumption prediction using random forest model

    Google Scholar 

  18. Asvapoositkul S, Preece R (2021) Decision tree-based prediction model for small signal stability and generation-rescheduling preventive control. Electr Power Syst Res 196:107200

    Article  Google Scholar 

  19. Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J, Passos A, Cournapeau D, Brucher M, Perrot M, Duchesnay E (2011) Scikit-learn: machine learning in Python. J Mach Learn Res 12:2825–2830

    MathSciNet  MATH  Google Scholar 

  20. Ma Z, Ye C, Li H, Ma W (2018) Applying support vector machines to predict building energy consumption in China. Energy Proc 152:780–786

    Article  Google Scholar 

  21. Vinagre E, Pinto T, Ramos S, Vale Z, Corchado JM (2016) Electrical energy consumption forecast using support vector machines. In: 27th international workshop on database and expert systems applications (DEXA). IEEE 2016, pp 171–175

    Google Scholar 

  22. Ngo N-T, Truong TTH, Truong N-S, Pham A-D, Huynh N-T, Pham TM, Pham VHS (2022) Proposing a hybrid metaheuristic optimization algorithm and machine learning model for energy use forecast in non-residential buildings. Sci Rep 12(1):1–18

    Article  Google Scholar 

  23. Jiang R, Tang W, Wu X, Fu W (2009) A random forest approach to the detection of epistatic interactions in case-control studies. BMC Bioinform 10(1):1–12

    Google Scholar 

  24. Genuer R, Poggi J-M, Tuleau-Malot C (2010) Variable selection using random forests. Pattern Recogn Lett 31(14):2225–2236

    Article  Google Scholar 

  25. Freund Y, Schapire RE (1997) A decision-theoretic generalization of on-line learning and an application to boosting. J Comput Syst Sci 55(1):119–139

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dev Mithunisvar Premraj .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rawat, D.S., Premraj, D.M. (2023). Predicting Power Consumption Using Tree-Based Model. In: Devedzic, V., Agarwal, B., Gupta, M.K. (eds) Proceedings of the International Conference on Intelligent Computing, Communication and Information Security. ICICCIS 2022. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-99-1373-2_15

Download citation

Publish with us

Policies and ethics

Navigation