Modeling Lithium ion battery
8 views (last 30 days)
Show older comments
Can I model a lithium ion battery and optimize the parameters using m file only and not using simulink? If so can you please send the m file?
Answers (1)
Joel Van Sickel
on 5 May 2022
Hello Hend,
existing battery models that ship from MathWorks exist specifically in Simulink. If you want a Matlab based battery model, you will need to develop one yourself or find one on file exchange. You can use m files to work with Simulink models, but there is no way to use the shipping models without a license of Simulink and the other appropriate toolboxes (Simscape Electrical).
For instance, this is a collection of relevant library models someone has provided in File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/62220-cell-resolved-matlab-oop-model-of-a-lithium-iron-phosphate-battery-pack?s_tid=srchtitle
Regards,
Joel
2 Comments
Joel Van Sickel
on 5 May 2022
From a brief look, it seems that way, but you'll have to download and read the files to see if they actually meet your needs.
If you don't know much about Matlab, there is free training here:
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!