/SPM_Battery_Model

MATLAB codes for simulating the single particle model (SPM) of a lithium-ion cell

Primary LanguageMATLABMIT LicenseMIT

MATLAB codes for the Single Particle Model of a lithium-ion cell

  1. Please add the entire contents of this repository (excluding the .git folder) to MATLAB Path
  2. Open MATLAB with its working directory set to the root of this repository (for saving of results)
  3. Run the cts_time_spm_simulation.m script for a default 1C-rate discharge simulation

PS: You may peruse the comments within each script/function called by this main script and modify your simulation settings/cell parameters etc.

License

MIT-License