Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
A hybrid LSTM-transformer model for short-term urban electricity load forecasting: a two-city case study
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 11 April 2026

A hybrid LSTM-transformer model for short-term urban electricity load forecasting: a two-city case study

  • Hongli Liu1,2,
  • Yang Wei1,2,
  • Han Zhang1,2,
  • Yang Wang1,2,3,
  • Jie Zhang1,2 &
  • …
  • Zhongqiang Luo4 

Scientific Reports , Article number:  (2026) Cite this article

  • 523 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Energy science and technology
  • Engineering
  • Mathematics and computing

Abstract

Accurate short-term urban power load forecasting is crucial for power system dispatching, peak load management, and data-driven urban energy planning. To improve the forecasting performance of multivariate load time series under complex temporal dependencies and external influencing factors, this paper proposes a hybrid LSTM-Transformer model, combining the temporal representation capabilities of Long Short-Term Memory (LSTM) networks with the global dependency modeling capabilities of Transformer encoders. Based on multi-source 15-minute time series data from two representative cities, the proposed model is evaluated on a short-term power load forecasting task and compared with baseline models including traditional LSTM and DE-LSTM. Experimental results show that, under a given evaluation protocol, the hybrid model achieves lower prediction errors and higher fitting accuracy. These results demonstrate that the proposed structure can effectively capture the local temporal dynamics and long-distance feature interactions in urban load sequences.

Similar content being viewed by others

A robust solution for power grid management using a hybrid deterministic and probabilistic model for short term load forecasting

Article Open access 25 November 2025

A hybrid TimeGAN–xLSTM–Transformer framework for photovoltaic power forecasting under complex environmental conditions

Article Open access 13 February 2026

CLM-former for enhancing multi-horizon time series forecasting and load prediction in smart microgrids using a robust transformer-based model

Article Open access 28 January 2026

Data availability

The datasets generated during and/or analyzed during the current study are not publicly available but are available from the corresponding author on reasonable request.

References

  1. Legg, S. & IPCC. Climate change 2021-the physical science basis. Interact. 2021. 49, 44–45 (2021).

    Google Scholar 

  2. Shan, Y. et al. City-level climate change 956 mitigation in China. Sci. Adv. 4, eaaq0390 (2018).

    Google Scholar 

  3. International Energy Agency (IEA). Empowering Urban Energy Transitions; IEA: Paris, France. Available online: (2024). https://www.iea.org/reports/empowering-urban-energy-transitions (accessed on 11 November 2025). Licence: CC BY 4.0.

  4. Chen, L. et al. Strategies to achieve a carbon neutral society: a 958 review. Environ. Chem. Lett. 20, 2277–2310 (2022).

    Google Scholar 

  5. Sala, K. S. et al. J. AI-based data mining approach to 960 control the environmental impact of conventional energy technologies [J]. J. Clean. Prod. 472, 143473–143474 (2024).

    Google Scholar 

  6. Yan, H. et al. Evaluation of urban energy transition and identification of barrier factors under the 962 dual carbon goals: an empirical study of the Yangtze River economic belt. Front. Environ. Sci. 13, 1545626 (2025).

    Google Scholar 

  7. Han, F. et al. Towards Sustainable Industry: A Comprehensive Review of Energy– 964 Economy–Environment System Analysis and Future Trends. Sustainability 16, 5085 (2024).

    Google Scholar 

  8. Li, H. & Zhang, Y. J. Environmental performance of carbon emissions trading policy: evidence from a new comprehensive analysis 966 model. IEEE Trans. Eng. Manage. 71, 4336–4350 (2022).

    Google Scholar 

  9. Li, B. et al. Suggestions on Carbon Asset Management of Power Grid Company 968 under Double Carbon Targets. In Proceedings of the 2022 7th International Conference on Financial Innovation and Economic 969 Development (ICFIED 2022). Atlantis Press, pp. 3103–3107. (2022).

  10. Jiang, K., Liu, N., Yan, X., Xue, Y. & Huang, J. Modeling strategic behaviors for GenCo with joint consideration on electricity and 971 carbon markets. IEEE Trans. Power Syst. 38, 4724–4738 (2022).

    Google Scholar 

  11. Shi, A. et al. Research on power market mechanism under the background of carbon 973 trading. In Proceedings of the 7th International Symposium on Advances in Electrical, Electronics, and Computer Engineering. 974 SPIE, Vol. 12294, pp. 178–182. (2022).

  12. Zhou, R., Li, Y., Sun, J., Zhang, H. & Liu, D. Low-Carbon Economic Dispatch considering carbon capture unit and demand response 976 under carbon trading. In Proceedings of the 2016 IEEE PES Asia-Pacific Power and Energy Engineering Conference (APPEEC). 977 IEEE, pp. 1435–1439. (2016).

  13. Liao, H., Michalenko, E. & Vegunta, S. C. Review of big data analytics for smart electrical energy systems. Energies 16, 3581 (2023).

    Google Scholar 

  14. Yuan, Q. et al. Multi-source data processing and fusion method for power distribution 980 internet of things based on edge intelligence. Front. Energy Res. 10, 891867 (2022).

    Google Scholar 

  15. Zhang, N. et al. Data-driven security and stability rule in high renewable 982 penetrated power system operation. Proc. IEEE. 111, 788–805 (2022).

    Google Scholar 

  16. Wu, Y. C. A Study on the Carbon Decoupling Pathways in the Power Industry: Based on Panel Data from 20 984 Power Enterprises. J. Sci. Technol. Manage. 26, 104–116. https://doi.org/10.16315/j.stm.2024.01.008 (2024).

    Google Scholar 

  17. Yajuan, Z., Zheng, W. & Shuangcheng, L. Environmental impact assessment of energy and power system transformation in China. 986 Resour. Sci. 45, 1830–1843 (2023).

    Google Scholar 

  18. Pentsos, V., Tragoudas, S., Wibbenmeyer, J. & Khdeer, N. A hybrid LSTM-Transformer model for power load forecasting. IEEE 988 Transactions on Smart Grid 2025.

  19. Lebedev, A., Das, A., Pappert, S. & Schlüter, S. Analyzing Uncertainty Quantification in Statistical and Deep Learning Models for 990 Probabilistic Electricity Price Forecasting. arXiv preprint arXiv:2509.19417 (2025).

  20. Liu, T. et al. Intelligent load forecasting technologies for diverse scenarios in the new power systems[J]. Renew. Sustain. Energy Rev. 226, 116366 (2026).

    Google Scholar 

  21. Li, J. et al. A combined short-term power load forecasting system based on generative adversarial networks[J]. Eng. Appl. Artif. Intell. 163, 112884 (2026).

    Google Scholar 

  22. Peng, Z., Han, H. & Ma, J. IAVOA–EATCN: An Adaptive Deep Framework for Accurate Power Load Forecasting[J]. Symmetry 18 (1), 102 (2026).

    Google Scholar 

  23. Das, R., Juel, M. A. A. & Islam, M. R. Hybrid Deep Learning and Machine Learning Approaches for Industrial Power Load Forecasting: A Review[J]. Front. Comput. Sci. Artif. Intell. 5 (2), 69–79 (2026).

    Google Scholar 

  24. Guo, Y. et al. A multi-scale spatiotemporal spiking neural model for power load forecasting considering extreme weather impact[J]. Int. J. Electr. Power Energy Syst. 175, 111604 (2026).

    Google Scholar 

  25. Yu, Y. et al. Deep learning short-term load forecasting method based on adaptive mode decomposition[J]. Electr. Power Syst. Res. 252, 112450 (2026).

    Google Scholar 

  26. Vaswani, A. et al. Attention is all you need. Adv. Neural. Inf. Process. Syst. 30, 992 (2017).

    Google Scholar 

  27. Song, P., Zhu, H. & Yang, Q. Short-term high-volatility power load forecasting in smart port energy systems using FeatureGating-BiLSTM enhanced by DualAttention mechanisms[J]. Energy. Conv. Manag. 348, 120664 (2026).

    Google Scholar 

Download references

Funding

This research was funded by Science &Technology Project of Sichuan Province Electric Power Company, grant number 52199723002T.

Author information

Authors and Affiliations

  1. Electric Power Science Research Institute, State Grid Corporation of Sichuan Province, Chengdu, 610095, China

    Hongli Liu, Yang Wei, Han Zhang, Yang Wang & Jie Zhang

  2. Power System Security and Operation Key Laboratory of Sichuan Province, Chengdu, 610095, China

    Hongli Liu, Yang Wei, Han Zhang, Yang Wang & Jie Zhang

  3. China Power Supply Company, Suining, China

    Yang Wang

  4. School of Automation and Information Engineering, Sichuan University of Science & Engineering, Yibin, 644000, Sichuan, China

    Zhongqiang Luo

Authors
  1. Hongli Liu
    View author publications

    Search author on:PubMed Google Scholar

  2. Yang Wei
    View author publications

    Search author on:PubMed Google Scholar

  3. Han Zhang
    View author publications

    Search author on:PubMed Google Scholar

  4. Yang Wang
    View author publications

    Search author on:PubMed Google Scholar

  5. Jie Zhang
    View author publications

    Search author on:PubMed Google Scholar

  6. Zhongqiang Luo
    View author publications

    Search author on:PubMed Google Scholar

Contributions

Conceptualization: Hongli Liu, Yang Wei; Methodology: Han Zhang; Software: Yang Wang; Validation: Jie Zhang; Investigation: Hongli Liu, Yang Wei, Zhongqiang Luo; Writing-Original Draft: Hongli Liu, Yang Wei; Writing-Review & Editing: All of the authors. All authors have read and agreed to the published version of the manuscript.

Corresponding author

Correspondence to Yang Wei.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, H., Wei, Y., Zhang, H. et al. A hybrid LSTM-transformer model for short-term urban electricity load forecasting: a two-city case study. Sci Rep (2026). https://doi.org/10.1038/s41598-026-47905-9

Download citation

  • Received: 16 December 2025

  • Accepted: 03 April 2026

  • Published: 11 April 2026

  • DOI: https://doi.org/10.1038/s41598-026-47905-9

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Download PDF

Associated content

Collection

AI-driven electrical systems

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics