Comparative Analysis of Computational Times of Lithium-Ion Battery Management Solvers and Battery Models Under Different Programming Languages and Computing Architectures
Open Access
Abstract
With the global rise in consumer electronics, electric vehicles, and renewable energy, the demand for lithium-ion batteries (LIBs) is expected to grow. LIBs present a significant challenge for state estimations due to their complex non-linear electrochemical behavior. Currently, commercial battery management systems (BMSs) commonly use easier-to-implement and faster equivalent circuit models (ECMs) than their counterpart continuum-scale physics-based models (PBMs). However, despite processing more mathematical and computational complexity, PBMs are attractive due to their higher accuracy, higher fidelity, and ease of integration with thermal and degradation models. Various reduced-order PBM battery models and their computationally efficient numerical schemes have been proposed in the literature. However, there is limited data on the performance and feasibility of these models in practical embedded and cloud systems using standard programming languages. This study compares the computational performance of a single particle model (SPM), an enhanced single particle model (ESPM), and a reduced-order pseudo-two-dimensional (ROM-P2D) model under various battery cycles on embedded and cloud systems using Python and C++. The results show that reduced-order solvers can achieve a 100-fold reduction in solution times compared to full-order models, while ESPM with electrolyte dynamics is about 1.5 times slower than SPM. Adding thermal models and Kalman filters increases solution times by approximately 20% and 100%, respectively. C++ provides at least a 10-fold speed increase over Python, varying by cycle steps. Although embedded systems take longer than cloud and personal computers, they can still run reduced-order models effectively in Python, making them suitable for embedded applications.Keywords
Funding Information
- Strategic Priority Research Program of the Chinese Academy of Sciences (XDB0600400)
This publication has 43 references indexed in Scilit:
- Analysis of ternary hybrid nanofluid in microchannel-cooled cylindrical Li-ion battery pack using multi-scale multi-domain frameworkApplied Energy, 2023
- Adaptive robust unscented Kalman filter-based state-of-charge estimation for lithium-ion batteries with multi-parameter updatingElectrochimica Acta, 2022
- A multi scale multi domain model for large format lithium-ion batteriesElectrochimica Acta, 2021
- A review of using object-orientation properties of C++ for designing expert system in strategic planningComputer Science Review, 2020
- MicroPython or Arduino C for ESP32 - Efficiency for Neural Network Edge Devices2020
- A single particle model with chemical/mechanical degradation physics for lithium ion battery State of Health (SOH) estimationApplied Energy, 2018
- A comparative study of different equivalent circuit models for estimating state-of-charge of lithium-ion batteriesElectrochimica Acta, 2018
- Li‐ion batteries: basics, progress, and challengesEnergy Science & Engineering, 2015
- State of charge estimation of a lithium ion cell based on a temperature dependent and electrolyte enhanced single particle modelEnergy, 2015
- Electrochemistry2013