IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v381y2025ics0306261924025601.html
   My bibliography  Save this article

Feature engineering and selection for prosumer electricity consumption and production forecasting: A comprehensive framework

Author

Listed:
  • Wen, Qianyun
  • Liu, Yang

Abstract

The integration of prosumers—entities that both consume and produce energy—into the electricity grid marks a pivotal shift towards decentralized and renewable energy systems. While the involvement of prosumers promotes sustainability and energy independence, it also introduces complexities in grid management due to the unpredictable nature of decentralized energy generation. This paper addresses the operational challenges and forecasting inaccuracies arising from the integration of prosumers by leveraging advanced analytical methodologies. Specifically, time series analysis and Fast Fourier Transform are employed to dissect the temporal dynamics and identify key cycles in energy usage and production patterns. Utilizing a dataset provided by Enefit, a leading energy company in the Baltic region, 615 features along with three transformed targets are developed, employing feature generation techniques to enhance the predictive accuracy of models. The study emphasizes the importance of feature selection and the application of ensemble Light Gradient Boosting Machine models to improve forecasting performance. Findings demonstrate that targeted feature selection significantly bolsters forecasting accuracy, with the ensemble model achieving an R2 of 0.96 and a NMBE of −0.39 for energy consumption and production predictions. Feature selection reduced the number of features by 34.36 % while improving model performance, with NMBE and CV-RMSE decreasing by 9.40 % and 9.25 % respectively. The analysis reveals distinct patterns in electricity consumption and production across different prosumer categories and provides insights into the critical factors influential in forecasting accuracy. This research helps mitigate energy imbalances and sets a foundation for adaptive energy management practices that can be generalized across the energy sector. Through these efforts, the study contributes to the evolution of energy management strategies, paving the way for more reliable, efficient, and sustainable energy systems in the prosumer era.

Suggested Citation

  • Wen, Qianyun & Liu, Yang, 2025. "Feature engineering and selection for prosumer electricity consumption and production forecasting: A comprehensive framework," Applied Energy, Elsevier, vol. 381(C).
  • Handle: RePEc:eee:appene:v:381:y:2025:i:c:s0306261924025601
    DOI: 10.1016/j.apenergy.2024.125176
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0306261924025601
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2024.125176?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:eee:appene:v:381:y:2025:i:c:s0306261924025601. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    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.