{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T19:29:09Z","timestamp":1770233349386,"version":"3.49.0"},"reference-count":36,"publisher":"MDPI AG","issue":"11","license":[{"start":{"date-parts":[[2025,11,3]],"date-time":"2025-11-03T00:00:00Z","timestamp":1762128000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>Given the critical importance of accurate energy demand and production forecasting in managing power grids and integrating renewable energy sources, this study explores the application of advanced machine learning techniques to forecast electricity load and wind generation data in Austria, Germany, and the Netherlands at different sampling frequencies: 15 min and 60 min. Specifically, we assess the performance of the convolutional neural networks (CNNs), temporal CNN (TCNN), Long Short-Term Memory (LSTM), bidirectional LSTM (BiLSTM), Gated Recurrent Unit (GRU), bidirectional GRU (BiGRU), and the deep neural network (DNN). In addition, the standard machine learning models, namely the k-nearest neighbors (kNN) algorithm and decision trees (DTs), are adopted as baseline predictive models. Bayesian optimization is applied for hyperparameter tuning across multiple models. In total, 54 experimental tasks were performed. For the electricity load at 15 min intervals, the DT shows exceptional performance, while for the electricity load at 60 min intervals, DNN performs the best, in general. For wind generation at 15 min intervals, DT is the best performer, while for wind generation at 60 min intervals, both DT and TCNN provide good results, in general. The insights derived from this study not only advance the field of energy forecasting but also offer practical implications for energy policymakers and stakeholders in optimizing grid performance and renewable energy integration.<\/jats:p>","DOI":"10.3390\/a18110695","type":"journal-article","created":{"date-parts":[[2025,11,3]],"date-time":"2025-11-03T18:21:46Z","timestamp":1762194106000},"page":"695","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Machine Learning Systems Tuned by Bayesian Optimization to Forecast Electricity Demand and Production"],"prefix":"10.3390","volume":"18","author":[{"given":"Zhen","family":"Wang","sequence":"first","affiliation":[{"name":"Department of Supply Chain and Business Technology Management, John Molson School of Business, Concordia University, Montreal, QC H3H0A1, Canada"}]},{"given":"Salim","family":"Lahmiri","sequence":"additional","affiliation":[{"name":"Department of Supply Chain and Business Technology Management, John Molson School of Business, Concordia University, Montreal, QC H3H0A1, Canada"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9376-8726","authenticated-orcid":false,"given":"Stelios","family":"Bekiros","sequence":"additional","affiliation":[{"name":"Department of Management \u2018Valter Cantino\u2019, University of Turin, 10124 Turin, Italy"}]}],"member":"1968","published-online":{"date-parts":[[2025,11,3]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"107187","DOI":"10.1016\/j.measurement.2019.107187","article-title":"An IoT based intelligent smart energy management system with accurate forecasting and load strategy for renewable generation","volume":"152","author":"Pawar","year":"2020","journal-title":"Measurement"},{"key":"ref_2","unstructured":"Jones, L.E. (2017). Renewable Energy Integration: Practical Management of Variability, Uncertainty, and Flexibility in Power Grids, Academic Press."},{"key":"ref_3","unstructured":"Kariniotakis, G. (2017). Renewable Energy Forecasting: From Models to Applications, Woodhead Publishing."},{"key":"ref_4","unstructured":"Katzenstein, W. (2010). Wind Power Variability, Its Cost, and Effect on Power Plant Emissions, Carnegie Mellon University."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"100","DOI":"10.1016\/j.renene.2015.03.038","article-title":"Development of statistical time series models for solar power prediction","volume":"83","author":"Prema","year":"2015","journal-title":"Renew. Energy"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"117200","DOI":"10.1016\/j.energy.2020.117200","article-title":"A hybrid approach based on autoregressive integrated moving average and least-square support vector machine for long-term forecasting of net electricity consumption","volume":"197","author":"Kaytez","year":"2020","journal-title":"Energy"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"117393","DOI":"10.1016\/j.apenergy.2021.117393","article-title":"Forecasting residential electricity consumption using a hybrid machine learning model with online search data","volume":"300","author":"Gao","year":"2021","journal-title":"Appl. Energy"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"115917","DOI":"10.1016\/j.eswa.2021.115917","article-title":"Machine learning models for forecasting power electricity consumption using a high dimensional dataset","volume":"187","author":"Albuquerque","year":"2022","journal-title":"Expert Syst. Appl."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"7657","DOI":"10.1016\/j.egyr.2022.06.007","article-title":"The electricity consumption forecast: Adopting a hybrid approach by deep learning and ARIMAX-GARCH models","volume":"8","author":"Saranj","year":"2022","journal-title":"Energy Rep."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"390","DOI":"10.1016\/j.ins.2023.03.031","article-title":"Evolving long short-term memory neural network for wind speed forecasting","volume":"632","author":"Huang","year":"2023","journal-title":"Inf. Sci."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"116760","DOI":"10.1016\/j.enconman.2023.116760","article-title":"Deep learning-based multistep ahead wind speed and power generation forecasting using direct method","volume":"281","author":"Yaghoubirad","year":"2023","journal-title":"Energy Convers. Manag."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"126179","DOI":"10.1016\/j.energy.2022.126179","article-title":"A novel combined forecasting system based on advanced optimization algorithm\u2014A study on optimal interval prediction of wind speed","volume":"264","author":"Li","year":"2022","journal-title":"Energy"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"LeCun","year":"2015","journal-title":"Nature"},{"key":"ref_14","unstructured":"Bai, S., Kolter, J.Z., and Koltun, J.V. (2018). An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long Short-Term Memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Cho, K., van Merri\u00ebnboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014). Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv.","DOI":"10.3115\/v1\/D14-1179"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"238","DOI":"10.2307\/1403797","article-title":"Discriminatory Analysis. Nonparametric Discrimination: Consistency Properties","volume":"57","author":"Fix","year":"1989","journal-title":"Int. Stat. Rev."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Breiman, L. (2017). Classification and Regression Trees, Routledge.","DOI":"10.1201\/9781315139470"},{"key":"ref_19","unstructured":"Snoek, J., Larochelle, H., and Adams, R.P. (2012). Practical bayesian optimization of machine learning algorithms. arXiv."},{"key":"ref_20","unstructured":"(2024, January 30). Open Power System Data. Data Package: Time Series (Version 2020-10-06). Available online: https:\/\/data.open-power-system-data.org\/time_series\/."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"111","DOI":"10.1186\/s40854-024-00637-z","article-title":"Deep learning systems for forecasting the prices of crude oil and precious metals","volume":"10","author":"Foroutan","year":"2024","journal-title":"Financ. Innov."},{"key":"ref_22","first-page":"100552","article-title":"Deep learning-based spatial-temporal graph neural networks for price movement classification in crude oil and precious metal markets","volume":"16","author":"Foroutan","year":"2024","journal-title":"Mach. Learn. Appl."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"100001","DOI":"10.1016\/j.meaene.2024.100001","article-title":"Price forecasting through neural networks for crude oil, heating oil, and natural gas","volume":"1","author":"Jin","year":"2024","journal-title":"Meas. Energy"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"105008","DOI":"10.1016\/j.resourpol.2024.105008","article-title":"Fossil energy market price prediction by using machine learning with optimal hyper-parameters: A comparative study","volume":"92","author":"Lahmiri","year":"2024","journal-title":"Resour. Policy"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"100004","DOI":"10.1016\/j.meaene.2024.100004","article-title":"Time series forecasting of electricity consumption using hybrid model of recurrent neural networks and genetic algorithms","volume":"2","author":"Hussein","year":"2024","journal-title":"Meas. Energy"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"110600","DOI":"10.1016\/j.epsr.2024.110600","article-title":"A two-stage electricity consumption forecasting method integrated hybrid algorithms and multiple factors","volume":"234","author":"Wang","year":"2024","journal-title":"Electr. Power Syst. Res."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"131065","DOI":"10.1016\/j.energy.2024.131065","article-title":"A discrete time-varying grey Fourier model with fractional order terms for electricity consumption forecast","volume":"296","author":"Liu","year":"2024","journal-title":"Energy"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"130618","DOI":"10.1016\/j.energy.2024.130618","article-title":"Enhancing the accuracy of China\u2019s electricity consumption forecasting through economic cycle division: An MSAR-OPLS scenario analysis","volume":"293","author":"Xie","year":"2024","journal-title":"Energy"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"100247","DOI":"10.1016\/j.dajour.2023.100247","article-title":"Multifractals and multiscale entropy patterns in energy markets under the effect of the COVID-19 pandemic","volume":"7","author":"Lahmiri","year":"2023","journal-title":"Decis. Anal. J."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"112238","DOI":"10.1016\/j.chaos.2022.112238","article-title":"A singular value decomposition entropy approach to assess the impact of Covid-19 on the informational efficiency of the WTI crude oil market","volume":"160","author":"Rodriguez","year":"2022","journal-title":"Chaos Solitons Fractals"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"100032","DOI":"10.1016\/j.sca.2023.100032","article-title":"A novel multi-phase hierarchical forecasting approach with machine learning in supply chain management","volume":"3","author":"Taghiyeh","year":"2023","journal-title":"Supply Chain Anal."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"100041","DOI":"10.1016\/j.sca.2023.100041","article-title":"A hybrid forecasting model with logistic regression and neural networks for improving key performance indicators in supply chains","volume":"4","author":"Pietukhov","year":"2023","journal-title":"Supply Chain Anal."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"100024","DOI":"10.1016\/j.sca.2023.100024","article-title":"Order-up-to-level inventory optimization model using time-series demand forecasting with ensemble deep learning","volume":"3","author":"Seyedan","year":"2023","journal-title":"Supply Chain Anal."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"100011","DOI":"10.1016\/j.sca.2023.100011","article-title":"A comparative study of statistical machine learning methods for condition monitoring of electric drive trains in supply chains","volume":"2","author":"Lahmiri","year":"2023","journal-title":"Supply Chain Anal."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"100058","DOI":"10.1016\/j.sca.2024.100058","article-title":"A machine learning framework for predicting weather impact on retail sales","volume":"5","author":"Chan","year":"2024","journal-title":"Supply Chain Anal."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"100003","DOI":"10.1016\/j.sca.2023.100003","article-title":"A novel machine learning model for predicting late supplier deliveries of low-volume-high-variety products with application in a German machinery industry","volume":"1","author":"Steinberg","year":"2023","journal-title":"Supply Chain Anal."}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/11\/695\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,11,3]],"date-time":"2025-11-03T18:33:03Z","timestamp":1762194783000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/11\/695"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,11,3]]},"references-count":36,"journal-issue":{"issue":"11","published-online":{"date-parts":[[2025,11]]}},"alternative-id":["a18110695"],"URL":"https:\/\/doi.org\/10.3390\/a18110695","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,11,3]]}}}