Optimization of Sizing of Battery Energy Storage System for Residential Households by Load Forecasting with Artificial Intelligence (AI): Case of EV Charging Installation
Abstract
:1. Introduction
2. Methodology
2.1. Long Short-Term Memory (LSTM)
2.1.1. Forget Gate Layer
- is denotes the forget gate control signal;
- is about the hidden layer weights of state vector;
- is indicates the hidden state of the previous moment;
- is represents the input of the current moment;
- is respective corresponding doors on the bias vector.
2.1.2. Input Gate Layer
- is denotes the input gate control signal;
- is about the hidden layer weights of state vector;
- is respective corresponding doors on the bias vector;
- is represents the information candidate state;
- is about the hidden layer weights of state vector;
- is respective corresponding doors on the bias vector;
- is denotes the memory cell of the current moment;
- is denotes the memory cell (cell state) of the previous moment.
2.1.3. Output Gate Layer
- is denotes the output gate control signal;
- is about the hidden layer weights of state vector;
- is respective corresponding doors on the bias vector;
- is denotes the hidden state of the current moment.
2.2. Root Mean Squared Error (RMSE)
- Ft is the forecasted value for the time period or observations at t;
- At is the actual observations value at time;
- n is the number of observations.
2.3. Battery Energy Storage System Design
- is the maximum power rating of the battery energy storage system;
- is Size of the battery energy storage system (kWh);
- is The Length of The Time Period: 0.25 h;
- t1 and t2 is the start and end time when the battery energy storage system is charging (h).
3. Simulation and Results
3.1. The Load Profile Collection of Residential
3.2. Load Forecasting
3.2.1. Specifications for Developing an LSTM Model
3.2.2. Data Training and Testing
3.2.3. Forecasting and Evaluation
3.3. Battery Energy Storage System
3.3.1. Actual Load
3.3.2. Load from the Forecast
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Fathia, C.; Zoubeyr, S.; Achour, M.; Madjid, C.; Smail, B. An energy flow management algorithm for a photovoltaic solar home. Energy Procedia 2017, 111, 934. [Google Scholar]
- Li, S.; He, H.; Chen, Y.; Huang, M.; Hu, C. Optimization Between the PV and the Retired EV Battery for the Residential Microgrid Application. Energy Procedia 2015, 75, 1138–1146. [Google Scholar] [CrossRef]
- Natarajan, P.; Pietro, E.C.; Amalorpavaraj, R.J.; Kaliannan, P. A new approach for grid integration of solar photovoltaic system with maximum power point tracking using multi-output converter. Energy Procedia 2019, 159, 521–526. [Google Scholar]
- Bounechba, H.; Bouzid, A.; Nabti, K.; Benalla, H. Comparison of perturb & observe and fuzzy logic in maximum power point tracker for PV systems. Energy Procedia 2014, 50, 677–684. [Google Scholar]
- Zhang, Q.; Wang, Z.; Shi, Y.; Qu, S. The optimal dispatch with combination of wind power and photovoltaic power systems. Energy Procedia 2016, 103, 94–99. [Google Scholar]
- Kante, V. An Investigation of Incremental Conductance Based Maximum Power Point Tracking For Photovoltaic System. Energy Procedia 2014, 54, 11–20. [Google Scholar]
- Evgenii, G.; Cedric, D.C.; Gilles, V.K.; Thierry, C.; Maarten, M. Forecasting flexibility of charging of electric vehicles: Tree and cluster-based Methods. Appl. Energy 2024, 353, 121969. [Google Scholar]
- Shahid, H. Hybrid coordination scheme based on fuzzy inference mechanism for residential charging of electric vehicles. Appl. Energy 2023, 352, 121939. [Google Scholar]
- Erotokritos, X.; Charalampos, M.; Liana, M.C.; Nick, J.; Steve, C.; Myles, B. A data driven approach for characterising the charging demand of electric vehicles: A UK case study. Appl. Energy 2016, 162, 763–771. [Google Scholar]
- Ulrich, F.; Mohammad, A.; Tobias, B. Temporal city-scale matching of solar photovoltaic generation and electric vehicle charging. Appl. Energy 2021, 282, 116160. [Google Scholar]
- Neaimeh, M. A probabilistic approach to combining smart meter and electric vehicle charging data to investigate distribution network impacts. Appl. Energy 2015, 157, 688–698. [Google Scholar] [CrossRef]
- Chandra Mouli, G.R.; Bauer, P.; Zeman, M. System design for a solar powered electric vehicle charging station for workplace. Appl. Energy 2016, 168, 434–443. [Google Scholar] [CrossRef]
- Li, Y.; Davis, C.; Lukszo, Z.; Margot, W. Electric vehicle charging in China’s power system: Energy, eco-nomic and environmental trade-offs and policy implications. Appl. Energy 2016, 173, 535–554. [Google Scholar] [CrossRef]
- Hasan, M. Dynamic and multi-stage capacity expansion planning in microgrid integrated with electric vehicle charging station. J. Energy Storage 2020, 29, 101351. [Google Scholar]
- Andre, L.; Markus, F.; Kevin, D.; Anna, L.K.; Michael, D.M. Optimizing electric vehicle fleet integration in industrial demand response: Maximizing vehicle-to-grid benefits while compensating vehicle owners for battery degradation. Appl. Energy 2024, 374, 123995. [Google Scholar]
- Pablo, D.C.; Jose, I.M.; Javier, C. Integrated operational planning model, considering optimal delivery routing, incentives and electric vehicle aggregated demand management. Appl. Energy 2021, 304, 117698. [Google Scholar]
- Benedikt, T.; Jan, F.; Stefan, E.; Dirk, U.S.; Andreas, J.; Holger, H. Optimal pool composition of commercial electric vehicles in V2G fleet operation of various electricity markets. Appl. Energy 2022, 308, 118351. [Google Scholar]
- Muhandiram, A.S.; Tharangi, I.; Peter, K. Uncertainties in model predictive control for decentralized autonomous demand side management of electric vehicles. J. Energy Storage 2024, 83, 110194. [Google Scholar]
- Muhammad, A.; Abhisek, U. Battery degradation model of electric vehicle with grid integration. J. Energy Storage 2024, 97, 112709. [Google Scholar]
- Fabian, R.; Jan, F.; Ilka, S.; Dirk, U.S. Battery Electric Vehicles in Commercial Fleets: Use profiles, battery aging and open-access data. J. Energy Storage 2024, 86, 111030. [Google Scholar]
- Lindiwe, B.; Kanzumba, K.; Herman, V.; Andrew, H. Optimal power dispatching for a grid-connected electric vehicle charging station microgrid with renewable energy, battery storage and peer-to-peer energy sharing. J. Energy Storage 2024, 96, 112435. [Google Scholar]
- Swantje, G.; Katrin, M.; Mark, B.; Bernd, H. Acceptance of Ancillary Services and Willingness to Invest in PV-storage-systems. Energy Procedia 2015, 73, 29–36. [Google Scholar]
- Johannes, W.; Tjarko, T.; Volker, Q. Sizing of residential PV battery systems. Energy Procedia 2014, 46, 78–87. [Google Scholar]
- Alexander, Z.; Rolf, W. Operational strategies for battery storage systems in low-voltage distribution grids to limit the feed-in power of roof-mounted solar power systems. Energy Procedia 2014, 46, 114–123. [Google Scholar]
- Peter, S.; Jochen, L.; Johannes, F. Impact of Different Load Profiles on Cost Optimal System Designs for Battery Supported PV Systems. Energy Procedia 2015, 75, 1862–1868. [Google Scholar]
- Sichilalu, S.M.; Xia, X. Optimal power control of grid tied PV-battery-diesel system powering heat pump water heaters. Energy Procedia 2015, 75, 1514–1521. [Google Scholar] [CrossRef]
- Simani, K.N.; Genga, Y.O.; Yen, Y.-C.J. Using LSTM to Perform Load Predictions for Grid-Interactive Buildings. Afr. Res. J. 2024, 115, 42–47. [Google Scholar] [CrossRef]
- Fayaz, A.; Ammar, A.; Attique, U.R. Comparative Analysis of Time Series Forecasting of a Household Load Consumption with LSTM Neural Networks and XGBoost Model. In Proceedings of the International Conference on Engineering & Computing Technologies (ICECT), Islamabad, Pakistan, 23 May 2024. [Google Scholar]
- Feng, C.; Shao, L.; Wang, J.; Zhang, Y.; Wen, F. Short-term Load Forecasting of Distribution Transformer Supply Zones Based on Federated Model-Agnostic Meta Learning. IEEE Trans. Power Syst. 2025, 40, 31–45. [Google Scholar] [CrossRef]
- Establishment of Thailand Greenhouse Gas Management Organization (Public Organization). Emission Faction Report. 2023. Available online: https://ghgreduction.tgo.or.th (accessed on 1 November 2024).
- Jarvis, P.; Climent, L.; Arbelaez, A. Smart and sustainable scheduling of charging events for electric buses. TOP 2024, 32, 22–56. [Google Scholar] [CrossRef]
- Fahd, S.A.; Ahmad, A.A. Enhancing environmental sustainability with federated LSTM models for AI-driven optimization. Alex. Eng. J. 2024, 108, 640–653. [Google Scholar]
- Faizan, Y.; Ali, R.; Nisrean, T.; Laith, A.; Raed, A.Z.; Heming, J. An efficient artificial intelligence approach for early detection of cross-site scripting attacks. Decis. Anal. J. 2024, 11, 100466. [Google Scholar]
- Toqeer, A.S.; Muhammad, Y.K.; Salman, J.; Sami, A.; Saad, S.A.; Muhammad, T.N. Integrating Digital Twins and Artificial Intelligence Multi-Modal Transformers into Water Resource Management: Overview and Advanced Predictive Framework. AI 2024, 5, 1977–2017. [Google Scholar] [CrossRef]
- Ilyass, B.; Afaf, B.; Ahmed, Z. Enhancing Traffic Accident Severity Prediction Using Res Net and SHAP for Interpretability. AI 2024, 5, 2568–2585. [Google Scholar] [CrossRef]
- Sakorn, M.; Anuchit, J.A. Deep Learning Network with Aggregation Residual Transformation for Human Activity Recognition Using Inertial and Stretch Sensors. Computers 2023, 12, 141. [Google Scholar] [CrossRef]
- Alaa, E.; Ebrahim, A. Electrocardiogram Signals Classification Using Deep-Learning-Based Incorporated Convolutional Neural Network and Long Short-Term Memory Framework. Computers 2024, 13, 55. [Google Scholar] [CrossRef]
- Elias, D.; Maria, T. Application of Deep Learning for Heart Attack Prediction with Explainable Artificial Intelligence. Computers 2024, 13, 244. [Google Scholar] [CrossRef]
- Tuan, A.T.; Tamás, R.; János, A. The Use of eXplainable Artificial Intelligence and Machine Learning Operation Principles to Support the Continuous Development of Machine Learning-Based Solutions in Fault Detection and Identification. Computers 2024, 13, 252. [Google Scholar] [CrossRef]
- Xu, C.; Li, C.; Zhou, X. Interpretable LSTM Based on Mixture Attention Mechanism for Multi-Step Residential Load Forecasting. Electronics 2022, 11, 2189. [Google Scholar] [CrossRef]
- Yang, J.; Hu, J.; Yu, T. Federated AI-Enabled In-Vehicle Network Intrusion Detection for Internet of Vehicles. Electronics 2022, 11, 3658. [Google Scholar] [CrossRef]
- Alzahrani, A.; Aldhyani, T.H. Aldhyani. Artificial Intelligence Algorithms for Detecting and Classifying MQTT Protocol Internet of Things Attacks. Electronics 2022, 11, 3837. [Google Scholar] [CrossRef]
- Peng, H.; Zhang, X.; Li, H.; Xu, L.; Wang, X. An AI-Enhanced Strategy of Service Offloading for IoV in Mobile Edge Computing. Electronics 2023, 12, 2719. [Google Scholar] [CrossRef]
- Huang, Z.; Ma, Y.; Wang, R.; Li, W.; Dai, Y. A Model for EEG-Based Emotion Recognition: CNN-Bi-LSTM with Attention Mechanism. Electronics 2023, 12, 3188. [Google Scholar] [CrossRef]
- Alonazi, M.; Alshahrani, H.J.; Alotaibi, F.A.; Maray, M.; Alghamdi, M.; Sayed, A. Automated Facial Emotion Recognition Using the Pelican Optimization Algorithm with a Deep Convolutional Neural Network. Electronics 2023, 12, 4608. [Google Scholar] [CrossRef]
- Wang, L.; Chen, Z.; Liu, W.; Huang, H. A Temporal–Geospatial Deep Learning Framework for Crop Yield Prediction. Electronics 2024, 13, 4273. [Google Scholar] [CrossRef]
- Alkahtani, H.; Aldhyani, T.H.; Alsubari, S.N. Application of Artificial Intelligence Model Solar Radiation Prediction for Renewable Energy Systems. Sustainability 2023, 15, 6973. [Google Scholar] [CrossRef]
- Zabin, R.; Haque, K.F.; Abdelgawad, A. PredXGBR: A Machine Learning Framework for Short-Term Electrical Load Prediction. Electronics 2024, 13, 4521. [Google Scholar] [CrossRef]
- Lee, D.; Koo, S.; Jang, I.; Kim, J. Comparison of Deep Reinforcement Learning and PID Con-trollers for Automatic Cold Shutdown Operation. Energies 2022, 15, 2834. [Google Scholar] [CrossRef]
- Liu, B.; Lei, J.; Xie, J.; Zhou, J. Development and Validation of a Nuclear Power Plant Fault Diagno-sis System Based on Deep Learning. Energies 2022, 15, 8629. [Google Scholar] [CrossRef]
- Kong, X.; Liu, Y.; Xue, L.; Li, G.; Zhu, D. A Hybrid Oil Production Prediction Model Based on Artificial Intelligence Technology. Energies 2023, 16, 1027. [Google Scholar] [CrossRef]
- Su, C.; Yang, Q.; Wu, X.; Lai, C.S.; Lai, L.L. A Two-Terminal Fault Location Fusion Model of Transmission Line Based on CNN-Multi-Head-LSTM with an Attention Module. Energies 2023, 16, 1827. [Google Scholar] [CrossRef]
- Osman, U.; Mehmet, S.B.; Melih, K. Raster Angle Prediction of Additive Manufacturing Process Using Machine Learning Algorithm. Appl. Sci. 2024, 14, 2046. [Google Scholar] [CrossRef]
- Chi, D.J.; Chu, C.C. Artificial Intelligence in Corporate Sustainability: Using LSTM and GRU for Going Concern Prediction. Sustainability 2021, 13, 11631. [Google Scholar] [CrossRef]
- Asaad, M.N.; Eryürük, Ş.; Eryürük, K. Forecasting of Streamflow and Comparison of Artificial Intelligence Methods: A Case Study for Meram Stream in Konya, Turkey. Sustainability 2022, 14, 6319. [Google Scholar] [CrossRef]
- Li, K.; Wang, K.; Tang, C.; Pan, Y.; He, Y.; Cai, S.; Chen, S.; Zhou, Y. Prediction of Key De-velopment Indicators for Offshore Oilfields Based on Artificial Intelligence. Energies 2024, 17, 4594. [Google Scholar] [CrossRef]
- Pir, D.S.; Xianping, F.; Muhammad, A.; Dani, E.M.; Arsalan, A. Deep Q Network Based on a Fractional Political–Smart Flower Optimization Algorithm for Real-World Object Recognition in Federated Learning. Appl. Sci. 2023, 13, 13286. [Google Scholar] [CrossRef]
- Li, E.; Wang, Z.; Liu, J.; Huang, J. Renewal of the Concept of Diverse Education: Possibility of Further Education Based on a Novel AI-Based RF–ISSA Model. Appl. Sci. 2025, 15, 250. [Google Scholar] [CrossRef]
- Stergiou, K.; Karakasidis, T. Optimizing Renewable Energy Systems Placement Through Advanced Deep Learning and Evolutionary Algorithms. Appl. Sci. 2024, 14, 10795. [Google Scholar] [CrossRef]
- Tamer, D. A Comparison of the Use of Artificial Intelligence Methods in the Estimation of Thermoluminescence Glow Curves. Appl. Sci. 2023, 13, 13027. [Google Scholar] [CrossRef]
- Mo, C.; Jiang, C.; Lei, X.; Lai, S.; Deng, Y.; Cen, W.; Sun, G.; Xing, Z. Combining Standard Artificial Intelligence Models, Pre-Processing Techniques, and Post-Processing Methods to Improve the Accuracy of Monthly Runoff Predictions in Karst-Area Watersheds. Appl. Sci. 2023, 13, 88. [Google Scholar] [CrossRef]
- Mohsen, B.; Hossein, B.H.; Mehdi, T.; Mohammad, K.; Esmail, K.; Jacek, D. Forecasting of Power Output of a PVPS Based on Meteorological Data Using RNN Approaches. Sustainability 2022, 14, 3104. [Google Scholar] [CrossRef]
- Pramuk, U.; Panot, S. Reduction of Reverse Power Flow Using the Appropriate Size and Installation Position of a BESS for a PV Power Plant. IEEE Access 2020, 8, 102897–102906. [Google Scholar]
Type of Parameter | Name of Parameter | Rate |
---|---|---|
Trainable Parameters | Total Parameters | 10,451 |
LSTM Units | 50 | |
Dense Units | 1 | |
Hyperparameters | Sequence Length | 30 |
Batch Size | 32 | |
Epochs | 20 | |
Optimizer | Adam | |
Loss Function | Root Mean Squared Error (RMSE) | |
Validation Split | 30 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Promasa, N.; Songkoh, E.; Phonkaphon, S.; Sirichunchuen, K.; Ketkaew, C.; Unahalekhaka, P. Optimization of Sizing of Battery Energy Storage System for Residential Households by Load Forecasting with Artificial Intelligence (AI): Case of EV Charging Installation. Energies 2025, 18, 1245. https://doi.org/10.3390/en18051245
Promasa N, Songkoh E, Phonkaphon S, Sirichunchuen K, Ketkaew C, Unahalekhaka P. Optimization of Sizing of Battery Energy Storage System for Residential Households by Load Forecasting with Artificial Intelligence (AI): Case of EV Charging Installation. Energies. 2025; 18(5):1245. https://doi.org/10.3390/en18051245
Chicago/Turabian StylePromasa, Nopphamat, Ekawit Songkoh, Siamrat Phonkaphon, Karun Sirichunchuen, Chaliew Ketkaew, and Pramuk Unahalekhaka. 2025. "Optimization of Sizing of Battery Energy Storage System for Residential Households by Load Forecasting with Artificial Intelligence (AI): Case of EV Charging Installation" Energies 18, no. 5: 1245. https://doi.org/10.3390/en18051245
APA StylePromasa, N., Songkoh, E., Phonkaphon, S., Sirichunchuen, K., Ketkaew, C., & Unahalekhaka, P. (2025). Optimization of Sizing of Battery Energy Storage System for Residential Households by Load Forecasting with Artificial Intelligence (AI): Case of EV Charging Installation. Energies, 18(5), 1245. https://doi.org/10.3390/en18051245