{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,24]],"date-time":"2026-06-24T04:46:27Z","timestamp":1782276387039,"version":"3.54.5"},"reference-count":29,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2026,6,22]],"date-time":"2026-06-22T00:00:00Z","timestamp":1782086400000},"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>To address the insufficient accuracy of short-term load forecasting caused by the strong randomness of distributed energy output, variable electricity consumption patterns, and complex meteorological factors, this study proposes a load forecasting method that integrates K-means scene clustering and a Transformer\u2013BiGRU\u2013Attention (CTBA) hybrid deep learning architecture. Different from conventional Transformer\u2013BiGRU hybrid forecasters that train a single global predictor across all operating conditions, the proposed CTBA framework first partitions daily load curves into representative scenes and then routes each sample to a scene-specific Transformer\u2013BiGRU\u2013Attention predictor, thereby reducing distributional heterogeneity before temporal modeling. First, the K-means algorithm is used to perform scene clustering on historical daily load curves, and the optimal number of clusters is selected according to the silhouette coefficient and downstream prediction performance. Subsequently, the CTBA model is trained separately for each clustering subset. The Transformer encoder captures the long-range global dependencies of load sequences through the self-attention mechanism, the BiGRU module extracts local bidirectional temporal fluctuation features, and the Attention mechanism further focuses on key time nodes such as morning and evening peaks while fusing multi-source data including historical load, day-ahead electricity price, and multi-dimensional meteorological factors. Experimental results based on the German ENTSO-E power dataset show that the coefficient of determination R2 of the proposed model reaches 0.9893, with MAE, RMSE, and MAPE as low as 0.0141, 0.0187, and 3.92%, respectively, which are significantly improved compared to benchmark models such as SVR, LSTM, CNN, and TCN-BiGRU. Ablation experiments further demonstrate that removing the clustering, Transformer, BiGRU, or attention layer will degrade performance, thus verifying the effectiveness and superiority of the method in short-term load forecasting and providing an accurate solution for the short-term load forecasting of power systems.<\/jats:p>","DOI":"10.3390\/a19060498","type":"journal-article","created":{"date-parts":[[2026,6,24]],"date-time":"2026-06-24T03:09:17Z","timestamp":1782270557000},"page":"498","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Short-Term Load Forecasting Based on Scene Clustering and Transformer\u2013BiGRU\u2013Attention"],"prefix":"10.3390","volume":"19","author":[{"given":"Qinglei","family":"Zhang","sequence":"first","affiliation":[{"name":"China Institute of FTZ Supply Chain, Shanghai Maritime University, Shanghai 201306, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yao","family":"Wang","sequence":"additional","affiliation":[{"name":"Institute of Logistics Science and Engineering, Shanghai Maritime University, Shanghai 201306, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ying","family":"Zhou","sequence":"additional","affiliation":[{"name":"China Institute of FTZ Supply Chain, Shanghai Maritime University, Shanghai 201306, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,6,22]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"13","DOI":"10.1186\/s43067-020-00021-8","article-title":"Electricity load forecasting: A systematic review","volume":"7","author":"Nti","year":"2020","journal-title":"J. Electr. Syst. Inf. Technol."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"114216","DOI":"10.1016\/j.apenergy.2019.114216","article-title":"A hybrid deep learning model for short-term PV power forecasting","volume":"259","author":"Li","year":"2020","journal-title":"Appl. Energy"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"550","DOI":"10.1016\/j.egyr.2023.01.060","article-title":"Short term load forecasting based on ARIMA and ANN approaches","volume":"9","author":"Tarmanini","year":"2023","journal-title":"Energy Rep."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Pierre, A.A., Akim, S.A., Semenyo, A.K., and Babiga, B. (2023). Peak Electrical Energy Consumption Prediction by ARIMA, LSTM, GRU, ARIMA-LSTM and ARIMA-GRU Approaches. Energies, 16.","DOI":"10.3390\/en16124739"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"49","DOI":"10.1186\/s42162-021-00148-6","article-title":"A scoping review of deep neural networks for electric load forecasting","volume":"4","author":"Vanting","year":"2021","journal-title":"Energy Inform."},{"key":"ref_6","first-page":"60","article-title":"Short-term Load Forecasting Modeling of Regional Power Grid Considering Real-time Meteorological Coupling Effect","volume":"44","author":"Bin","year":"2020","journal-title":"Autom. Electr. Power Syst."},{"key":"ref_7","unstructured":"Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, \u0141., and Polosukhin, I. (2017). Attention is All You Need. Adv. Neural Inf. Process. Syst., 30."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"L\u2019Heureux, A., Grolinger, K., and Capretz, M.A.M. (2022). Transformer-Based Model for Electrical Load Forecasting. Energies, 15.","DOI":"10.3390\/en15144993"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Wang, Y., Sun, H., Wang, H., Zhao, L., Yuan, B., Xiang, W., Shao, J., and Zhang, Q. (2024, January 27\u201329). A Transformer-Based Load Forecasting Approach for Power Systems in Cold Regions. Proceedings of the 2024 6th International Conference on Energy, Power and Grid, Guangzhou, China.","DOI":"10.1109\/ICEPG63230.2024.10775519"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"110549","DOI":"10.1016\/j.ijepes.2025.110549","article-title":"TFTformer: A novel transformer based model for short-term load forecasting","volume":"166","author":"Ahmad","year":"2025","journal-title":"Int. J. Electr. Power Energy Syst."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., and Zhang, W. (2021, January 2\u20139). Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada.","DOI":"10.1609\/aaai.v35i12.17325"},{"key":"ref_12","first-page":"22419","article-title":"Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting","volume":"34","author":"Wu","year":"2021","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_13","unstructured":"Zhou, T., Ma, Z., Wen, Q., Wang, X., Sun, L., and Jin, R. (2022, January 17\u201323). FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting. Proceedings of the 39th International Conference on Machine Learning, Baltimore, MD, USA."},{"key":"ref_14","unstructured":"Nie, Y., Nguyen, N.H., Sinthong, P., and Kalagnanam, J. (2023, January 1\u20135). A Time Series is Worth 64 Words: Long-term Forecasting with Transformers. Proceedings of the International Conference on Learning Representations, Kigali, Rwanda."},{"key":"ref_15","unstructured":"Wu, H., Hu, T., Liu, Y., Zhou, H., Wang, J., and Long, M. (2023, January 1\u20135). TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis. Proceedings of the International Conference on Learning Representations, Kigali, Rwanda."},{"key":"ref_16","unstructured":"Zhang, Y., and Yan, J. (2023, January 1\u20135). Crossformer: Transformer Utilizing Cross-Dimension Dependency for Multivariate Time Series Forecasting. Proceedings of the International Conference on Learning Representations, Kigali, Rwanda."},{"key":"ref_17","unstructured":"Zeng, A., Chen, M., Zhang, L., and Xu, Q. (2023, January 7\u201314). Are Transformers Effective for Time Series Forecasting?. Proceedings of the AAAI Conference on Artificial Intelligence, Washington, DC, USA."},{"key":"ref_18","unstructured":"Katharopoulos, A., Vyas, A., Pappas, N., and Fleuret, F. (2020, January 13\u201318). Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention. Proceedings of the 37th International Conference on Machine Learning, Virtual Conference (Online)."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"178","DOI":"10.1016\/j.ins.2022.11.139","article-title":"K-means Clustering Algorithms: A Comprehensive Review, Variants Analysis, and Advances in the Era of Big Data","volume":"622","author":"Ikotun","year":"2023","journal-title":"Inf. Sci."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"693","DOI":"10.1016\/j.egyr.2020.11.148","article-title":"Study on Power Consumption Load Forecast Based on K-means Clustering and FCM-BP Model","volume":"6","author":"Bian","year":"2020","journal-title":"Energy Rep."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"2703","DOI":"10.1109\/TSG.2022.3166600","article-title":"A Transformer-Based Method of Multienergy Load Forecasting in Integrated Energy System","volume":"13","author":"Wang","year":"2022","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Gurumoorthy, S., Kokku, A.K., Falkowski-Gilski, P., and Divakarachari, P.B. (2023). Effective air quality prediction using reinforced swarm optimization and bi-directional gated recurrent unit. Sustainability, 15.","DOI":"10.3390\/su151411454"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"501","DOI":"10.1109\/JSYST.2023.3319643","article-title":"A novel air target intention recognition method based on sample reweighting and attention-Bi-GRU","volume":"18","author":"Zhang","year":"2023","journal-title":"IEEE Syst. J."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"107387","DOI":"10.1109\/ACCESS.2021.3100105","article-title":"Two-stage attention over LSTM with Bayesian optimization for day-ahead solar power forecasting","volume":"9","author":"Aslam","year":"2021","journal-title":"IEEE Access"},{"key":"ref_25","unstructured":"Tukey, J.W. (1977). Exploratory Data Analysis, Addison-Wesley."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"460","DOI":"10.1016\/j.scs.2018.12.013","article-title":"Nonlinear Autoregressive and Random Forest Approaches to Forecasting Electricity Load for Utility Energy Management Systems","volume":"45","author":"Ahmad","year":"2018","journal-title":"Sustain. Cities Soc."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"5481","DOI":"10.5194\/gmd-15-5481-2022","article-title":"Root-mean-square Error (RMSE) or Mean Absolute Error (MAE): When to Use Them or Not","volume":"15","author":"Hodson","year":"2022","journal-title":"Geosci. Model Dev."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Vivas, E., Allende-Cid, H., and Salas, R. (2020). A Systematic Review of Statistical and Machine Learning Methods for Electrical Power Forecasting with Reported MAPE Score. Entropy, 22.","DOI":"10.3390\/e22121412"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"108885","DOI":"10.1016\/j.epsr.2022.108885","article-title":"Short-term Load Forecasting Based on CEEMDAN and Transformer","volume":"214","author":"Ran","year":"2023","journal-title":"Electr. Power Syst. Res."}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/19\/6\/498\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,24]],"date-time":"2026-06-24T03:47:47Z","timestamp":1782272867000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/19\/6\/498"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,22]]},"references-count":29,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2026,6]]}},"alternative-id":["a19060498"],"URL":"https:\/\/doi.org\/10.3390\/a19060498","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,22]]}}}