A Matlab framework based on a finite volume model suitable for Li-ion battery design, simulation, and control
Connect to the official web page to get the latest news
http://sisdin.unipv.it/labsisdin/lionsimba.php
Windows: https://www.youtube.com/watch?v=jmVh6F44C2I&t=19s
Mac: https://www.youtube.com/watch?v=TKrbP7POU8U&t=16s
Ubuntu: https://www.youtube.com/watch?v=6fAGzPgbN-o
Sundials: http://computation.llnl.gov/projects/sundials/download/sundials-2.6.2.tar.gz
CasADi: https://github.com/casadi/casadi/wiki/InstallationInstructions
SDK: https://developer.microsoft.com/it-it/windows/downloads/windows-10-sdk
- Andrea Pozzi for his extensive support for LIONSIMBA 2.0 beta testing and continous support
- Alessio Stefanini for his contribution to the maintenance of the LIONSIMBA 2.0 user's guide
If LIONSIMBA Toolbox is used for research purposes, the authors would like to have it mentioned. Here below the necessary information can be found
-
Title: LIONSIMBA: A Matlab framework based on a finite volume model suitable for Li-ion battery design, simulation, and control
-
Journal: The Electrochemical Society
-
Volume: 163
-
Number: 7
-
Pages: A1192-A1205
-
Year: 2016
Download here the BibTeX file
Read the Journal paper here
You can get LIONSIMBA in two ways:
Download the latest zip package from HERE
$ git clone https://github.com/lionsimbatoolbox/LIONSIMBA.git
Please feel free to use the 'issue' section on GitHub or write to
davide (dot) raimondo (at) unipv (dot) it
Feel free to fork the project and modify at your best convenienve. The framework is continously under development, and contributions through push requests are welcome.
Major changes
- Constant and variable profile power input mode added
- Analytical initialisation of the model equations
- Added thermal lumped model
- Added stoichiometry indices for SOC calculation
- Added possibility to initialize cell SOC through Parameters_init call
- Added solid phase diffusion scheme based on spectral methods (provides proper results, but still in beta version)
Minor changes
- General code review, polishing and variable renaming
- Added possibility to chose the interpolation scheme at the control volumes edges
- Normalized the finite-difference numerical scheme for the solid phase diffusion (it reduces numerical inaccuracies)
Known bugs/issues
- Thermal diffusivities are different when considering thermal enabled or isothermal scenario
- SOC initialization through initial cell (dis)charge and through Parameters_init leads to different results due to numerical inaccuracies
- Feedback-based custom current profile
- New examples
- Handling of input current discontinuities
- Minor changes
- Minor fixes and bug corrections (thanks to Jeesoon Choi for pointing the bugs out)
- The code has been reorganized and some functions have been modularized for a better maintenance.
- Added support in the user's guide for the installation and configuration of the SUNDIALS Matlab interface.
- Added support for analytical Jacobian. LIONSIMBA is now able to derive automatically the analytical form of the Jacobian describing the P2D dynamics. This knowledge is the exploited from the integration process to speed up the resolution of the DAEs. (Thanks to Dr. Sergio Lucia and Prof. Rolf Findeisen for pointing us out the automatic differentiation provided by CasADi toolbox)
- Minor fixes in the examples.
- Fixed bug in multicell simulation (Thanks to Chintan Pathak for pointing out the bug)
- Fixed SOC calculation bug for Fick's diffusion
- Minor fixes