SoftwareX (Sep 2024)
JuBat: A Julia-based framework for battery modelling using finite element method
Abstract
The rapid development of electric vehicles necessitates lithium-ion batteries with high energy densities. To gain a deeper comprehension of lithium-ion batteries, JuBat has been created in Julia programming language for battery modelling. It is an open-source framework implemented by Julia functions, with excellent execution speed and a user-friendly implementation environment. JuBat covers three battery models: P2D, SPM, and SPMe, and uses finite element method to solve the governing equations. The results of JuBat demonstrate good agreement with that of PyBaMM. Moreover, JuBat provides additional options of quadratic element to achieve higher accuracy. These features of JuBat promote the parametric study, analysis, and design of battery cells, all of which are instrumental in advancing lithium-ion batteries.