Skip to content

A Matlab framework based on a finite volume model suitable for Li-ion battery design, simulation, and control

License

Notifications You must be signed in to change notification settings

michaelorella/LIONSIMBA

 
 

Repository files navigation

LIONSIMBA - Lithium-ION SIMulation BAttery Toolbox

Sublime's custom image

A Matlab framework based on a finite volume model suitable for Li-ion battery design, simulation, and control


Official Web Page

Connect to the official web page to get the latest news

http://sisdin.unipv.it/labsisdin/lionsimba.php


Installation video on different platforms

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

Requirements

Sundials: http://computation.llnl.gov/projects/sundials/download/sundials-2.6.2.tar.gz

CasADi: https://github.com/casadi/casadi/wiki/InstallationInstructions

Suitable Compiler

MinGW: https://it.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c++-compiler

SDK: https://developer.microsoft.com/it-it/windows/downloads/windows-10-sdk


Authors

Contributors to LIONSIMBA 2.0 besides the previous authors

Acknowledgments

  • 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

Citations

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

How to start using LIONSIMBA

You can get LIONSIMBA in two ways:

1 - Download the latest version in zip format

Download the latest zip package from HERE

2 - Clone the repository

$ git clone https://github.com/lionsimbatoolbox/LIONSIMBA.git

Bugs report

Please feel free to use the 'issue' section on GitHub or write to

davide (dot) raimondo (at) unipv (dot) it

Forks

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.


Changelog

Last Update 04/02/2018 - V 2.0 Released

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

Last Update 06/24/2017 - V 1.024 Released

  • Feedback-based custom current profile
  • New examples
  • Handling of input current discontinuities
  • Minor changes

Last Update 04/04/2017

  • Minor fixes and bug corrections (thanks to Jeesoon Choi for pointing the bugs out)

Last Update 01/03/2017 - V 1.023 Released

  • 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.

Last Update 09/23/2016 - V 1.022 Released

  • 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.

08/27/2016

  • Fixed bug in multicell simulation (Thanks to Chintan Pathak for pointing out the bug)

V 1.021b

  • Fixed SOC calculation bug for Fick's diffusion
  • Minor fixes

About

A Matlab framework based on a finite volume model suitable for Li-ion battery design, simulation, and control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%