IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v17y2024i8p1827-d1373790.html

Investigation of Load, Solar and Wind Generation as Target Variables in LSTM Time Series Forecasting, Using Exogenous Weather Variables

Author

Listed:
  • Thomas Shering

    (Department of Computer Science, City, University of London, London EC1V 0HB, UK)

  • Eduardo Alonso

    (Department of Computer Science, City, University of London, London EC1V 0HB, UK)

  • Dimitra Apostolopoulou

    (Oxford Institute for Energy Studies, Oxford OX2 6FA, UK)

Abstract

Accurately forecasting energy metrics is essential for efficiently managing renewable energy generation. Given the high variability in load and renewable energy power output, this represents a crucial area of research in order to pave the way for increased adoption of low-carbon energy solutions. Whilst the impact of different neural network architectures and algorithmic approaches has been researched extensively, the impact of utilising additional weather variables in forecasts have received far less attention. This article demonstrates that weather variables can have a significant influence on energy forecasting and presents methodologies for using these variables within a long short-term memory (LSTM) architecture to achieve improvements in forecasting accuracy. Moreover, we introduce the use of the seasonal components of the target time series, as exogenous variables, that are also observed to increase accuracy. Load, solar and wind generation time series were forecast one hour ahead using an LSTM architecture. Time series data were collected in five Spanish cities and aggregated for analysis, alongside five exogenous weather variables, also recorded in Spain. A variety of LSTM architectures and hyperparameters were investigated. By tuning exogenous weather variables, a 33% decrease in mean squared error was observed for solar generation forecasting. A 22% decrease in mean absolute squared error (MASE), compared to 24-h ahead forecasts made by the Transmission Service Operator (TSO) in Spain, was also observed for solar generation. Compared to using the target variable in isolation, utilising exogenous weather variables decreased MASE by approximately 10%, 15% and 12% for load, solar and wind generation, respectively. By using the seasonal component of the target variables as an exogenous variable itself, we demonstrated decreases in MASE of 19%, 12% and 8% for load, solar and wind generation, respectively. These results emphasise the significant benefits of incorporating weather and seasonal components into energy-related time series forecasts.

Suggested Citation

  • Thomas Shering & Eduardo Alonso & Dimitra Apostolopoulou, 2024. "Investigation of Load, Solar and Wind Generation as Target Variables in LSTM Time Series Forecasting, Using Exogenous Weather Variables," Energies, MDPI, vol. 17(8), pages 1-23, April.
  • Handle: RePEc:gam:jeners:v:17:y:2024:i:8:p:1827-:d:1373790
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/17/8/1827/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/17/8/1827/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Rodríguez, Fermín & Fleetwood, Alice & Galarza, Ainhoa & Fontán, Luis, 2018. "Predicting solar energy generation through artificial neural networks using weather forecasts for microgrid control," Renewable Energy, Elsevier, vol. 126(C), pages 855-864.
    2. Mellit, A. & Pavan, A. Massi & Lughi, V., 2021. "Deep learning neural networks for short-term photovoltaic power forecasting," Renewable Energy, Elsevier, vol. 172(C), pages 276-288.
    3. Saima Akhtar & Sulman Shahzad & Asad Zaheer & Hafiz Sami Ullah & Heybet Kilic & Radomir Gono & Michał Jasiński & Zbigniew Leonowicz, 2023. "Short-Term Load Forecasting Models: A Review of Challenges, Progress, and the Road Ahead," Energies, MDPI, vol. 16(10), pages 1-29, May.
    4. Hyndman, Rob J. & Koehler, Anne B., 2006. "Another look at measures of forecast accuracy," International Journal of Forecasting, Elsevier, vol. 22(4), pages 679-688.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Eluã Ramos Coutinho & Jonni G. F. Madeira & Dérick G. F. Borges & Marcus V. Springer & Elizabeth M. Oliveira & Alvaro L. G. A. Coutinho, 2025. "Multi-Step Forecasting of Meteorological Time Series Using CNN-LSTM with Decomposition Methods," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 39(7), pages 3173-3198, May.
    2. Sobhy, Ahmed S.M. & Caesary, Desy & Kim, Hana & Eom, Jiyong, 2025. "When and where it counts: enhancing demand response in electric vehicle charging," Applied Energy, Elsevier, vol. 401(PB).
    3. Falah Dakheel & Mesut Çevik, 2025. "Optimizing Smart Grid Load Forecasting via a Hybrid Long Short-Term Memory-XGBoost Framework: Enhancing Accuracy, Robustness, and Energy Management," Energies, MDPI, vol. 18(11), pages 1-21, May.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Negri, Simone & Giani, Federico & Blasuttigh, Nicola & Massi Pavan, Alessandro & Mellit, Adel & Tironi, Enrico, 2022. "Combined model predictive control and ANN-based forecasters for jointly acting renewable self-consumers: An environmental and economical evaluation," Renewable Energy, Elsevier, vol. 198(C), pages 440-454.
    2. Rita Teixeira & Adelaide Cerveira & Eduardo J. Solteiro Pires & José Baptista, 2024. "Advancing Renewable Energy Forecasting: A Comprehensive Review of Renewable Energy Forecasting Methods," Energies, MDPI, vol. 17(14), pages 1-30, July.
    3. Wu, Zhiyuan & Fang, Guohua & Ye, Jian & Zhu, David Z. & Huang, Xianfeng, 2025. "A reinforcement learning-based ensemble forecasting framework for renewable energy forecasting," Renewable Energy, Elsevier, vol. 244(C).
    4. Bintao Wu & Jianlong Hao, 2025. "Enhanced xPatch for Short-Term Photovoltaic Power Forecasting: Supporting Sustainable and Resilient Energy Systems," Sustainability, MDPI, vol. 17(16), pages 1-22, August.
    5. Sarmas, Elissaios & Spiliotis, Evangelos & Stamatopoulos, Efstathios & Marinakis, Vangelis & Doukas, Haris, 2023. "Short-term photovoltaic power forecasting using meta-learning and numerical weather prediction independent Long Short-Term Memory models," Renewable Energy, Elsevier, vol. 216(C).
    6. Jinfeng Wang & Wenshan Hu & Lingfeng Xuan & Feiwu He & Chaojie Zhong & Guowei Guo, 2024. "TransPVP: A Transformer-Based Method for Ultra-Short-Term Photovoltaic Power Forecasting," Energies, MDPI, vol. 17(17), pages 1-19, September.
    7. repec:prg:jnlcfu:v:2022:y:2022:i:1:id:572 is not listed on IDEAS
    8. Chang, Andrew C. & Hanson, Tyler J., 2016. "The accuracy of forecasts prepared for the Federal Open Market Committee," Journal of Economics and Business, Elsevier, vol. 83(C), pages 23-43.
    9. Andrikopoulos, Andreas & Merika, Anna & Stoupos, Nikolaos, 2025. "The effect of oil prices on the US shipping stock prices: The mediating role of freight rates and economic indicators," Journal of Commodity Markets, Elsevier, vol. 38(C).
    10. Lim, Juin Yau & Safder, Usman & How, Bing Shen & Ifaei, Pouya & Yoo, Chang Kyoo, 2021. "Nationwide sustainable renewable energy and Power-to-X deployment planning in South Korea assisted with forecasting model," Applied Energy, Elsevier, vol. 283(C).
    11. Dima, Bogdan & Dima, Ştefana Maria & Ioan, Roxana, 2025. "The short-run impact of investor expectations’ past volatility on current predictions: The case of VIX," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 98(C).
    12. Cui, Ye & E, Hanyu & Pedrycz, Witold & Fayek, Aminah Robinson, 2022. "A granular multicriteria group decision making for renewable energy planning problems," Renewable Energy, Elsevier, vol. 199(C), pages 1047-1059.
    13. Ling Tang & Chengyuan Zhang & Tingfei Li & Ling Li, 2021. "A novel BEMD-based method for forecasting tourist volume with search engine data," Tourism Economics, , vol. 27(5), pages 1015-1038, August.
    14. Hewamalage, Hansika & Bergmeir, Christoph & Bandara, Kasun, 2021. "Recurrent Neural Networks for Time Series Forecasting: Current status and future directions," International Journal of Forecasting, Elsevier, vol. 37(1), pages 388-427.
    15. Wang, Tao & Xu, Ye & Qin, Yu & Wang, Xu & Zheng, Feifan & Li, Wei, 2025. "Short-term PV forecasting of multiple scenarios based on multi-dimensional clustering and hybrid transformer-BiLSTM with ECPO," Energy, Elsevier, vol. 334(C).
    16. Mousavi, Navid & Kothapalli, Ganesh & Habibi, Daryoush & Das, Choton K. & Baniasadi, Ali, 2020. "A novel photovoltaic-pumped hydro storage microgrid applicable to rural areas," Applied Energy, Elsevier, vol. 262(C).
    17. Michael Vössing & Niklas Kühl & Matteo Lind & Gerhard Satzger, 2022. "Designing Transparency for Effective Human-AI Collaboration," Information Systems Frontiers, Springer, vol. 24(3), pages 877-895, June.
    18. Frank, Johannes, 2023. "Forecasting realized volatility in turbulent times using temporal fusion transformers," FAU Discussion Papers in Economics 03/2023, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    19. Kourentzes, Nikolaos & Petropoulos, Fotios & Trapero, Juan R., 2014. "Improving forecasting by estimating time series structural components across multiple frequencies," International Journal of Forecasting, Elsevier, vol. 30(2), pages 291-302.
    20. Jeon, Yunho & Seong, Sihyeon, 2022. "Robust recurrent network model for intermittent time-series forecasting," International Journal of Forecasting, Elsevier, vol. 38(4), pages 1415-1425.
    21. Paulo Júlio & Pedro M. Esperança, 2012. "Evaluating the forecast quality of GDP components: An application to G7," GEE Papers 0047, Gabinete de Estratégia e Estudos, Ministério da Economia, revised Apr 2012.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:17:y:2024:i:8:p:1827-:d:1373790. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.