COMPUTER MODELING METHOD FOR BATTERY CHARGE AND DISCHARGE PROCESSES
DOI:
https://doi.org/10.35546/kntu2078-4481.2025.3.2.43Keywords:
lithium iron phosphate battery, charging and discharging processes, historical data, equivalent circuit model, Least Squares Method, Genetic Algorithms methodAbstract
This paper addresses the challenge of modeling the charging and discharging processes of a lithium iron phosphate battery using historical operational data. The work’s main idea is to develop a method that can determine the terminal voltage, which characterizes the battery’s energy potential. This method takes into account key battery parameters and operating modes under various conditions.The research was carried out in two stages. First, historical data on the operation of a hybrid power supply system with an electrical energy storage battery was collected and analyzed. The structure and parameters of the equivalent circuit were substantiated, along with the dependencies for determining them based on statistical data. Statistical information on the battery’s operating modes within the power supply system was processed.In the second stage, we substantiated the feasibility and practicality of applying the Least Squares Method (LSM) or Genetic Algorithms (GA) to determine the coefficients for the arguments of the regression function representing the battery’s available (remaining) capacity. Coefficients were obtained for eight operating modes of the battery, which fully cover its operational range.This study is relevant due to the growing demand for effective tools to investigate the characteristics of power supply systems equipped with energy storage devices. Charging and discharging processes are fundamental to assessing battery lifespan, developing monitoring systems, and controlling operating modes. The developed method is useful when direct access to laboratory data is unavailable or when the manufacturer does not provide all the necessary information. Notably, the method enables simulation of battery operation under various usage conditions and for different power system configurations.The results can be applied when designing electrical systems that take into account the specific characteristics of this type of battery. The findings also allow for refining the operating parameters of an already installed battery, which can be beneficial during power supply system upgrades.
References
A. Seaman, T. Dao, J. McPhee. A survey of mathematics-based equivalent-circuit and electrochemical battery models for hybrid and electric vehicle simulation. Journal of Power Sources. Volume 256. 2014. Pages 410–423. DOI: https://doi.org/10.1016/j.jpowsour.2014.01.057
A. Fotouhi, D. J. Auger, K. Propp, S. Longo. A Study on Battery Model Parametrisation Problem – Application- Oriented Trade-offs between Accuracy and Simplicity. IFAC-PapersOnLine. Volume 49, Issue 11. 2016. Pages 48–53. DOI: https://doi.org/10.1016/j.ifacol.2016.08.008
N. Campagna, V. Castiglia, R. Miceli, R. A. Mastromauro, C. Spataro, M. Trapanese, F. Viola. Battery Models for Battery Powered Applications: A Comparative Study. Energies. Volume 13, Issue 16. 2020. Article 4085. DOI: https://doi.org/10.3390/en13164085
L. Zhang, H. Peng, Z. Ning, Z. Mu, C. Sun. Comparative Research on RC Equivalent Circuit Models for Lithium- Ion Batteries of Electric Vehicles. Appl. Sci. Volume 7, Issue 10. 2017. Article 1002. DOI: https://doi.org/10.3390/app7101002
K. Thirugnanam, H. Saini, P. Kumar. Mathematical Modeling of Li-Ion Battery for Charge/Discharge Rate and Capacity Fading Characteristics using Genetic Algorithm Approach. Conference: Transportation Electrification Conference and Expo (ITEC), IEEE. June 2012. Pages 1–6. DOI: https://doi.org/10.1109/ITEC.2012.6243431
O. Plakhtii, V. Nerubatskyi, A. Mashura, D. Hordiienko. The Analysis of Mathematical Models of Charge-Discharge Characteristics in Lithium-Ion Batteries. 2020 IEEE 40th International Conference on Electronics and Nanotechnology (ELNANO). 2020. Pages 635–640. DOI: https://doi.org/10.1109/ELNANO50318.2020.9088827
T. Zahid, W. Li. A Comparative Study Based on the Least Square Parameter Identification Method for State of Charge Estimation of a LiFePO4 Battery Pack Using Three Model-Based Algorithms for Electric Vehicles. Energies. Volume 9, Issue 9. 2016. Article 720. DOI: https://doi.org/10.3390/en9090720
C. Zhang, W. Allafi, Q. Dinh, P. Ascencio, J. Marco. Online estimation of battery equivalent circuit model parameters and state of charge using decoupled least squares technique. Energy. Volume 142. 2018. Pages 678–688. DOI: https://doi.org/10.1016/j.energy.2017.10.043
V. Duong, H. A. Bastawrous, K. C. Lim, K. W. See, P. Zhang, S. X. Dou. Online state of charge and model parameters estimation of the LiFePO4 battery in electric vehicles using multiple adaptive forgetting factors recursive least-squares. Journal of Power Sources. Volume 296. 2015. Pages 215–224. DOI: https://doi.org/10.1016/j.jpowsour.2015.07.041
J. Zhengxin, S. Qin, W. Yujiang, W. Hanlin, G. Bingzhao, H. Lin. An Immune Genetic Extended Kalman Particle Filter approach on state of charge estimation for lithium-ion battery. Energy. Volume 230. 2021. Article 120805. DOI: https://doi.org/10.1016/j.energy.2021.120805
O. Pavliuk, M. Medykovskyy, T. Steclik. Predicting AGV Battery Cell Voltage Using a Neural Network Approach with Preliminary Data Analysis and Processing. IEEE International Conference on Big Data (BigData). 2023. Pages 5087–5096. DOI: https://doi.org/10.1109/BigData59044.2023.10386137.
DEYE. BOS-G-H-L Product Information. 2025. Available at: https://deye.com/product/bos-g-h-l/. [Accessed: 19 August 2025].







