IDEAS home Printed from https://ideas.repec.org/a/eee/matcom/v238y2025icp296-305.html
   My bibliography  Save this article

Deep reinforcement learning based electricity bill minimization strategy for residential prosumer

Author

Listed:
  • Cardo-Miota, Javier
  • Khadem, Shafi
  • Bahloul, Mohamed

Abstract

This paper presents a reinforcement learning (RL)-based optimization strategy for minimizing the electricity bill of a residential prosumer equipped with a photovoltaic (PV) system and a battery energy storage system (BESS). Specifically, we implement a Twin Delayed Deep Deterministic Policy Gradient (TD3) agent, an actor–critic RL algorithm with a continuous action space. The proposed model leverages historical PV generation and household consumption data to optimize the charging and discharging schedule of the BESS under a three-period tariff scheme. To enhance the learning process, a Long Short-Term Memory (LSTM) layer is integrated into both the actor and critic networks, allowing the agent to capture temporal dependencies in energy demand and PV generation. The RL agent is trained and evaluated using real-world data from a residential PV installation in Ireland, a region characterized by high variability of solar generation. The results demonstrate that the TD3-based approach effectively reduces electricity bill costs by strategically charging during low-tariff periods and discharging during peak-price hours, achieving an approximate 30% reduction in the monthly bill compared to a PV-only scenario, and a 21% relative to a benchmark strategy. In addition, the TD3 agent is compared to a Deep Deterministic Policy Gradient (DDPG) agent, another RL-based approach for continuous action spaces. The results confirm that TD3 outperforms DDPG in both cost savings and learning stability, validating the effectiveness of our proposed method.

Suggested Citation

  • Cardo-Miota, Javier & Khadem, Shafi & Bahloul, Mohamed, 2025. "Deep reinforcement learning based electricity bill minimization strategy for residential prosumer," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 238(C), pages 296-305.
  • Handle: RePEc:eee:matcom:v:238:y:2025:i:c:p:296-305
    DOI: 10.1016/j.matcom.2025.06.011
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.matcom.2025.06.011?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

    for a different version of it.

    References listed on IDEAS

    as
    1. Khezri, Rahmat & Mahmoudi, Amin & Aki, Hirohisa, 2022. "Optimal planning of solar photovoltaic and battery storage systems for grid-connected residential sector: Review, challenges and new perspectives," Renewable and Sustainable Energy Reviews, Elsevier, vol. 153(C).
    2. Darcovich, K. & Henquin, E.R. & Kenney, B. & Davidson, I.J. & Saldanha, N. & Beausoleil-Morrison, I., 2013. "Higher-capacity lithium ion battery chemistries for improved residential energy storage with micro-cogeneration," Applied Energy, Elsevier, vol. 111(C), pages 853-861.
    3. Yujian Ye & Dawei Qiu & Huiyu Wang & Yi Tang & Goran Strbac, 2021. "Real-Time Autonomous Residential Demand Response Management Based on Twin Delayed Deep Deterministic Policy Gradient Learning," Energies, MDPI, vol. 14(3), pages 1-22, January.
    4. Cardo-Miota, Javier & Beltran, Hector & Pérez, Emilio & Khadem, Shafi & Bahloul, Mohamed, 2025. "Deep reinforcement learning-based strategy for maximizing returns from renewable energy and energy storage systems in multi-electricity markets," Applied Energy, Elsevier, vol. 388(C).
    5. Yanwei Jia & Xun Yu Zhou, 2021. "Policy Gradient and Actor-Critic Learning in Continuous Time and Space: Theory and Algorithms," Papers 2111.11232, arXiv.org, revised Jul 2022.
    6. Lee, Namkyoung & Woo, Joohyun & Kim, Sungryul, 2025. "A deep reinforcement learning ensemble for maintenance scheduling in offshore wind farms," Applied Energy, Elsevier, vol. 377(PA).
    Full references (including those not matched with items on IDEAS)

    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. Kim, Sunwoo & Choi, Yechan & Park, Joungho & Adams, Derrick & Heo, Seongmin & Lee, Jay H., 2024. "Multi-period, multi-timescale stochastic optimization model for simultaneous capacity investment and energy management decisions for hybrid Micro-Grids with green hydrogen production under uncertainty," Renewable and Sustainable Energy Reviews, Elsevier, vol. 190(PA).
    2. Zhou Fang, 2023. "Continuous-Time Path-Dependent Exploratory Mean-Variance Portfolio Construction," Papers 2303.02298, arXiv.org.
    3. Daniel Cardoso & Daniel Nunes & João Faria & Paulo Fael & Pedro D. Gaspar, 2023. "Intelligent Micro-Cogeneration Systems for Residential Grids: A Sustainable Solution for Efficient Energy Management," Energies, MDPI, vol. 16(13), pages 1-21, July.
    4. Antonio Rosato & Antonio Ciervo & Giovanni Ciampi & Michelangelo Scorpio & Sergio Sibilio, 2020. "Integration of Micro-Cogeneration Units and Electric Storages into a Micro-Scale Residential Solar District Heating System Operating with a Seasonal Thermal Storage," Energies, MDPI, vol. 13(20), pages 1-40, October.
    5. Zhou, Jianing & Cai, Guowei & Wang, Yibo & Liu, Chuang, 2025. "Dual-timescale scheduling approach for power systems with Energy-intensive loads: Wind power accommodation through forecast deviation decomposition and flexible resource coordination," Energy, Elsevier, vol. 332(C).
    6. Yilie Huang & Yanwei Jia & Xun Yu Zhou, 2024. "Mean--Variance Portfolio Selection by Continuous-Time Reinforcement Learning: Algorithms, Regret Analysis, and Empirical Study," Papers 2412.16175, arXiv.org, revised Aug 2025.
    7. D'Adamo, Idiano & Gastaldi, Massimo & Morone, Piergiuseppe & Ozturk, Ilhan, 2022. "Economics and policy implications of residential photovoltaic systems in Italy's developed market," Utilities Policy, Elsevier, vol. 79(C).
    8. Wu, Bo & Li, Lingfei, 2024. "Reinforcement learning for continuous-time mean-variance portfolio selection in a regime-switching market," Journal of Economic Dynamics and Control, Elsevier, vol. 158(C).
    9. Olexandr Shavolkin & Iryna Shvedchykova & Juraj Gerlici & Kateryna Kravchenko & František Pribilinec, 2022. "Use of Hybrid Photovoltaic Systems with a Storage Battery for the Remote Objects of Railway Transport Infrastructure," Energies, MDPI, vol. 15(13), pages 1-19, July.
    10. Seongwoo Lee & Joonho Seon & Byungsun Hwang & Soohyun Kim & Youngghyu Sun & Jinyoung Kim, 2024. "Recent Trends and Issues of Energy Management Systems Using Machine Learning," Energies, MDPI, vol. 17(3), pages 1-24, January.
    11. León, L.M. & Romero-Quete, D. & Merchán, N. & Cortés, C.A., 2023. "Optimal design of PV and hybrid storage based microgrids for healthcare and government facilities connected to highly intermittent utility grids," Applied Energy, Elsevier, vol. 335(C).
    12. Lee, Namkyoung & Lee, Hyuntae & Joung, Seulgi, 2025. "A wake-induced two-phase planning framework for offshore wind farm maintenance with stochastic mixed-integer program," Applied Energy, Elsevier, vol. 380(C).
    13. Khanal, Siraj & Khezri, Rahmat & Mahmoudi, Amin & Kahourzadeh, Solmaz & Aki, Hirohisa, 2024. "Effects of electric vehicles on energy sharing for optimal sizing of solar PV and battery energy storage," Renewable Energy, Elsevier, vol. 237(PC).
    14. Liu, Junling & Li, Mengyue & Xue, Liya & Kobashi, Takuro, 2022. "A framework to evaluate the energy-environment-economic impacts of developing rooftop photovoltaics integrated with electric vehicles at city level," Renewable Energy, Elsevier, vol. 200(C), pages 647-657.
    15. Yanwei Jia & Xun Yu Zhou, 2022. "q-Learning in Continuous Time," Papers 2207.00713, arXiv.org, revised May 2025.
    16. Obara, Shin’ya, 2015. "Dynamic-characteristics analysis of an independent microgrid consisting of a SOFC triple combined cycle power generation system and large-scale photovoltaics," Applied Energy, Elsevier, vol. 141(C), pages 19-31.
    17. Hanane Ait Lahoussine Ouali & Ahmed Alami Merrouni & Shahariar Chowdhury & Kuaanan Techato & Sittiporn Channumsin & Nasim Ullah, 2022. "Optimization and Techno-Economic Appraisal of Parabolic Trough Solar Power Plant under Different Scenarios: A Case Study of Morocco," Energies, MDPI, vol. 15(22), pages 1-20, November.
    18. Darcovich, K. & Kenney, B. & MacNeil, D.D. & Armstrong, M.M., 2015. "Control strategies and cycling demands for Li-ion storage batteries in residential micro-cogeneration systems," Applied Energy, Elsevier, vol. 141(C), pages 32-41.
    19. Elieser Tarigan, 2023. "Financial Analysis of Solar Rooftop PV System: Case Study in Indonesia," International Journal of Energy Economics and Policy, Econjournals, vol. 13(3), pages 15-19, May.
    20. Oh, Ki-Yong & Epureanu, Bogdan I., 2016. "Characterization and modeling of the thermal mechanics of lithium-ion battery cells," Applied Energy, Elsevier, vol. 178(C), pages 633-646.

    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:eee:matcom:v:238:y:2025:i:c:p:296-305. 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: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/mathematics-and-computers-in-simulation/ .

    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.