Have a personal or library account? Click to login
PyBatteryID – A Python Package for Data-Driven Battery Model Identification using LPV Framework Cover

PyBatteryID – A Python Package for Data-Driven Battery Model Identification using LPV Framework

Open Access
|Feb 2026

Abstract

An open-source Python package named PyBatteryID has been developed for data-driven identification of battery models using the linear parameter-varying (LPV) modelling framework. The package provides a convenient way to specify the model dependence on relevant signals affecting the battery behaviour, such as the battery state-of-charge (SOC), current magnitude, current direction, and temperature. Furthermore, multiple optimisation methods to estimate the model parameters can be employed in a sequence, for instance, the user may employ the least absolute shrinkage and selection operator (LASSO) followed by the ridge-regression method to perform the variable selection and parameter estimation steps, respectively. Moreover, the package allows the generation of suitable current and temperature profiles to obtain an informative dataset for the model identification procedure. In addition, the package provides various utilities to streamline the model identification procedure, such as (i) analysing experimental datasets, (ii) plotting desired signals, (iii) exporting the identified models in a cross-compatible format, and more. The code, documentation and examples related to the package can be found at https://github.com/tue-battery/PyBatteryID.

DOI: https://doi.org/10.5334/jors.595 | Journal eISSN: 2049-9647
Language: English
Submitted on: Jul 7, 2025
|
Accepted on: Jan 21, 2026
|
Published on: Feb 4, 2026
Published by: Ubiquity Press
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2026 Muiz Sheikh, Tijs Donkers, Henk Jan Bergveld, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.