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
Please refer to the Wiki of this project for information about installation and requirements.
- 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
The equation for the ionic flux reported in Table I and Table III has a typo in the formulation. Indeed the version on the paper reports the Faraday's constant (F) at the denominator, while the universal gas constat at the numerator. This should be inverted. The correct equation is:
Thanks to sarasyha for pointing it out in Issue#11
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
- Fixed bug in the analytical initialisation of the model equations that was not allowing simulations with ageing (issue#6, thanks to mariapaygani for spotting it)
- Implemented functions to support execution in Octave
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