IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v346y2026ics0360544226002501.html

Adaptive optimization of BESS and grid set points: A model-free framework for energy management under dynamic tariff pricing

Author

Listed:
  • Selim, Alaa
  • Mo, Huadong
  • Pota, Hemanshu
  • Dong, Daoyi

Abstract

This paper introduces an enhanced framework for managing Battery Energy Storage Systems (BESS) in residential communities. The non-convex BESS control problem is first addressed using a gradient-based optimizer, providing a benchmark solution. Subsequently, the problem is tackled using multiple Deep Reinforcement Learning (DRL) agents, with a specific emphasis on the off-policy Soft Actor-Critic (SAC) algorithm. This version of SAC incorporates reward refinement based on this non-convex problem, applying logarithmic scaling to enhance convergence rates. Additionally, a safety mechanism selects only feasible actions from the action space, aimed at improving the learning curve, accelerating convergence, and reducing computation times. Moreover, the state representation of this DRL approach now includes uncertainties quantified in the entropy term, enhancing the model’s adaptability across various entropy types. This developed system adheres to strict limits on the battery’s State of Charge (SOC), thus preventing breaches of SOC boundaries and extending the battery lifespan. The robustness of the model is validated across several Australian states’ districts, each characterized by unique uncertainty distributions. By implementing the refined SAC, the SOC consistently surpasses 50 percent by the end of each day, enabling the BESS control to start smoothly for the next day with some reserve. Finally, this proposed DRL method achieves a mean reduction in optimization time up to 50 percent and an average cost saving up to 40 percent compared to the gradient-based optimization benchmark.

Suggested Citation

  • Selim, Alaa & Mo, Huadong & Pota, Hemanshu & Dong, Daoyi, 2026. "Adaptive optimization of BESS and grid set points: A model-free framework for energy management under dynamic tariff pricing," Energy, Elsevier, vol. 346(C).
  • Handle: RePEc:eee:energy:v:346:y:2026:i:c:s0360544226002501
    DOI: 10.1016/j.energy.2026.140148
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.energy.2026.140148?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. Hosseini, Ehsan & Horrillo-Quintero, Pablo & Carrasco-Gonzalez, David & García-Triviño, Pablo & Sarrias-Mena, Raúl & García-Vázquez, Carlos A. & Fernández-Ramírez, Luis M., 2024. "Optimal energy management system for grid-connected hybrid power plant and battery integrated into multilevel configuration," Energy, Elsevier, vol. 294(C).
    2. Hassaballah, E.G. & Keshta, H.E. & Abdel-Latif, K.M. & Ali, A.A., 2024. "A novel strategy for real-time optimal scheduling of grid-tied microgrid considering load management and uncertainties," Energy, Elsevier, vol. 299(C).
    3. Shang, Yuwei & Wu, Wenchuan & Guo, Jianbo & Ma, Zhao & Sheng, Wanxing & Lv, Zhe & Fu, Chenran, 2020. "Stochastic dispatch of energy storage in microgrids: An augmented reinforcement learning approach," Applied Energy, Elsevier, vol. 261(C).
    4. Hoppmann, Joern & Volland, Jonas & Schmidt, Tobias S. & Hoffmann, Volker H., 2014. "The economic viability of battery storage for residential solar photovoltaic systems – A review and a simulation model," Renewable and Sustainable Energy Reviews, Elsevier, vol. 39(C), pages 1101-1118.
    5. Ouedraogo, Kiswendsida Elias & Ekim, Pınar Oğuz & Demirok, Erhan, 2023. "Feasibility of low-cost energy management system using embedded optimization for PV and battery storage assisted residential buildings," Energy, Elsevier, vol. 271(C).
    6. Reza Arghandeh & Jeremy Woyak & Ahmet Onen & Jaesung Jung & Robert P. Broadwater, 2014. "Economic Optimal Operation of Community Energy Storage Systems in Competitive Energy Markets," Papers 1407.0433, arXiv.org, revised Sep 2014.
    7. Arghandeh, Reza & Woyak, Jeremy & Onen, Ahmet & Jung, Jaesung & Broadwater, Robert P., 2014. "Economic optimal operation of Community Energy Storage systems in competitive energy markets," Applied Energy, Elsevier, vol. 135(C), pages 71-80.
    8. Koskela, Juha & Rautiainen, Antti & Järventausta, Pertti, 2019. "Using electrical energy storage in residential buildings – Sizing of battery and photovoltaic panels based on electricity cost optimization," Applied Energy, Elsevier, vol. 239(C), pages 1175-1189.
    9. Wu, Xiaohua & Hu, Xiaosong & Yin, Xiaofeng & Zhang, Caiping & Qian, Shide, 2017. "Optimal battery sizing of smart home via convex programming," Energy, Elsevier, vol. 140(P1), pages 444-453.
    10. Hernandez, R.R. & Easter, S.B. & Murphy-Mariscal, M.L. & Maestre, F.T. & Tavassoli, M. & Allen, E.B. & Barrows, C.W. & Belnap, J. & Ochoa-Hueso, R. & Ravi, S. & Allen, M.F., 2014. "Environmental impacts of utility-scale solar energy," Renewable and Sustainable Energy Reviews, Elsevier, vol. 29(C), pages 766-779.
    11. Javadi, Mohammad Sadegh & Gough, Matthew & Lotfi, Mohamed & Esmaeel Nezhad, Ali & Santos, Sérgio F. & Catalão, João P.S., 2020. "Optimal self-scheduling of home energy management system in the presence of photovoltaic power generation and batteries," Energy, Elsevier, vol. 210(C).
    12. Nan, Sibo & Zhou, Ming & Li, Gengyin, 2018. "Optimal residential community demand response scheduling in smart grid," Applied Energy, Elsevier, vol. 210(C), pages 1280-1289.
    13. Sayed, Ahmed & Jaafari, Khaled Al & Eldin, Hatem Zein & Al-Durra, Ahmed & Elsaadany, Ehab, 2025. "Feasibility-guaranteed unsupervised deep learning for real-time energy management in integrated electricity and gas systems," Energy, Elsevier, vol. 316(C).
    14. Guo, Chenyu & Wang, Xin & Zheng, Yihui & Zhang, Feng, 2022. "Real-time optimal energy management of microgrid with uncertainties based on deep reinforcement learning," Energy, Elsevier, vol. 238(PC).
    15. Meeus, Leonardo & Verhaegen, Karolien & Belmans, Ronnie, 2009. "Block order restrictions in combinatorial electric energy auctions," European Journal of Operational Research, Elsevier, vol. 196(3), pages 1202-1206, August.
    16. Boomsma, Trine Krogh & Meade, Nigel & Fleten, Stein-Erik, 2012. "Renewable energy investments under different support schemes: A real options approach," European Journal of Operational Research, Elsevier, vol. 220(1), pages 225-237.
    17. Wu, Yaling & Liu, Zhongbing & Liu, Jiangyang & Xiao, Hui & Liu, Ruimiao & Zhang, Ling, 2022. "Optimal battery capacity of grid-connected PV-battery systems considering battery degradation," Renewable Energy, Elsevier, vol. 181(C), pages 10-23.
    18. Hassan, Aakash & Al-Abdeli, Yasir M. & Masek, Martin & Bass, Octavian, 2022. "Optimal sizing and energy scheduling of grid-supplemented solar PV systems with battery storage: Sensitivity of reliability and financial constraints," Energy, Elsevier, vol. 238(PA).
    19. Nawaz, Arshad & Wu, Jing & Ye, Jun & Dong, Yidi & Long, Chengnian, 2023. "Distributed MPC-based energy scheduling for islanded multi-microgrid considering battery degradation and cyclic life deterioration," Applied Energy, Elsevier, vol. 329(C).
    20. Nebuloni, Riccardo & Meraldi, Lorenzo & Bovo, Cristian & Ilea, Valentin & Berizzi, Alberto & Sinha, Snigdh & Tamirisakandala, Raviteja Bharadwaj & Raboni, Pietro, 2023. "A hierarchical two-level MILP optimization model for the management of grid-connected BESS considering accurate physical model," Applied Energy, Elsevier, vol. 334(C).
    21. Jubril, A.M. & Olaniyan, O.A. & Komolafe, O.A. & Ogunbona, P.O., 2014. "Economic-emission dispatch problem: A semi-definite programming approach," Applied Energy, Elsevier, vol. 134(C), pages 446-455.
    22. Pinciroli, Luca & Baraldi, Piero & Compare, Michele & Zio, Enrico, 2023. "Optimal operation and maintenance of energy storage systems in grid-connected microgrids by deep reinforcement learning," Applied Energy, Elsevier, vol. 352(C).
    23. Sultana, W. Razia & Sahoo, Sarat Kumar & Sukchai, Sukruedee & Yamuna, S. & Venkatesh, D., 2017. "A review on state of art development of model predictive control for renewable energy applications," Renewable and Sustainable Energy Reviews, Elsevier, vol. 76(C), pages 391-406.
    24. Reniers, Jorn M. & Howey, David A., 2023. "Digital twin of a MWh-scale grid battery system for efficiency and degradation analysis," Applied Energy, Elsevier, vol. 336(C).
    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. van der Stelt, Sander & AlSkaif, Tarek & van Sark, Wilfried, 2018. "Techno-economic analysis of household and community energy storage for residential prosumers with smart appliances," Applied Energy, Elsevier, vol. 209(C), pages 266-276.
    2. Resch, Matthias & Bühler, Jochen & Klausen, Mira & Sumper, Andreas, 2017. "Impact of operation strategies of large scale battery systems on distribution grid planning in Germany," Renewable and Sustainable Energy Reviews, Elsevier, vol. 74(C), pages 1042-1063.
    3. Parra, David & Swierczynski, Maciej & Stroe, Daniel I. & Norman, Stuart.A. & Abdon, Andreas & Worlitschek, Jörg & O’Doherty, Travis & Rodrigues, Lucelia & Gillott, Mark & Zhang, Xiaojin & Bauer, Chris, 2017. "An interdisciplinary review of energy storage for communities: Challenges and perspectives," Renewable and Sustainable Energy Reviews, Elsevier, vol. 79(C), pages 730-749.
    4. Seyedfarzad Sarfarazi & Marc Deissenroth-Uhrig & Valentin Bertsch, 2020. "Aggregation of Households in Community Energy Systems: An Analysis from Actors’ and Market Perspectives," Energies, MDPI, vol. 13(19), pages 1-37, October.
    5. Scheller, Fabian & Burkhardt, Robert & Schwarzeit, Robert & McKenna, Russell & Bruckner, Thomas, 2020. "Competition between simultaneous demand-side flexibility options: the case of community electricity storage systems," Applied Energy, Elsevier, vol. 269(C).
    6. Fabian Scheller & Robert Burkhardt & Robert Schwarzeit & Russell McKenna & Thomas Bruckner, 2020. "Competition between simultaneous demand-side flexibility options: The case of community electricity storage systems," Papers 2011.05809, arXiv.org.
    7. Terlouw, Tom & AlSkaif, Tarek & Bauer, Christian & van Sark, Wilfried, 2019. "Optimal energy management in all-electric residential energy systems with heat and electricity storage," Applied Energy, Elsevier, vol. 254(C).
    8. Omar Al-Ani & Sanjoy Das, 2022. "Reinforcement Learning: Theory and Applications in HEMS," Energies, MDPI, vol. 15(17), pages 1-37, September.
    9. Hafiz, Faeza & Rodrigo de Queiroz, Anderson & Fajri, Poria & Husain, Iqbal, 2019. "Energy management and optimal storage sizing for a shared community: A multi-stage stochastic programming approach," Applied Energy, Elsevier, vol. 236(C), pages 42-54.
    10. Hyun Cheol Jeong & Jaesung Jung & Byung O Kang, 2020. "Development of Operational Strategies of Energy Storage System Using Classification of Customer Load Profiles under Time-of-Use Tariffs in South Korea," Energies, MDPI, vol. 13(7), pages 1-17, April.
    11. Mulleriyawage, U.G.K. & Shen, W.X., 2021. "Impact of demand side management on optimal sizing of residential battery energy storage system," Renewable Energy, Elsevier, vol. 172(C), pages 1250-1266.
    12. Weitzel, Timm & Glock, Christoph H., 2018. "Energy management for stationary electric energy storage systems: A systematic literature review," European Journal of Operational Research, Elsevier, vol. 264(2), pages 582-606.
    13. Emilio Ghiani & Riccardo Trevisan & Gian Luca Rosetti & Sergio Olivero & Luca Barbero, 2022. "Energetic and Economic Performances of the Energy Community of Magliano Alpi after One Year of Piloting," Energies, MDPI, vol. 15(19), pages 1-19, October.
    14. Zhu, Ziqing & Hu, Ze & Chan, Ka Wing & Bu, Siqi & Zhou, Bin & Xia, Shiwei, 2023. "Reinforcement learning in deregulated energy market: A comprehensive review," Applied Energy, Elsevier, vol. 329(C).
    15. Cai, Qiran & Xu, Qingyang & Qing, Jing & Shi, Gang & Liang, Qiao-Mei, 2022. "Promoting wind and photovoltaics renewable energy integration through demand response: Dynamic pricing mechanism design and economic analysis for smart residential communities," Energy, Elsevier, vol. 261(PB).
    16. Abdullah M. Alabdullatif & Enrico H. Gerding & Alvaro Perez-Diaz, 2020. "Market Design and Trading Strategies for Community Energy Markets with Storage and Renewable Supply," Energies, MDPI, vol. 13(4), pages 1-31, February.
    17. Wyman-Pain, Heather & Bian, Yuankai & Thomas, Cain & Li, Furong, 2018. "The economics of different generation technologies for frequency response provision," Applied Energy, Elsevier, vol. 222(C), pages 554-563.
    18. Ouedraogo, Kiswendsida Elias & Ekim, Pınar Oğuz & Demirok, Erhan, 2023. "Feasibility of low-cost energy management system using embedded optimization for PV and battery storage assisted residential buildings," Energy, Elsevier, vol. 271(C).
    19. Vibhute, Siddhant & Kowli, Anupama & Kulkarni, Ankur A., 2025. "Improved load approximation models and tractable solution schemes for home energy management," Energy, Elsevier, vol. 335(C).
    20. Chang, Hsiu-Chuan & Ghaddar, Bissan & Nathwani, Jatin, 2022. "Shared community energy storage allocation and optimization," Applied Energy, Elsevier, vol. 318(C).

    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:energy:v:346:y:2026:i:c:s0360544226002501. 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/energy .

    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.