Modeling Lithium ion battery

8 views (last 30 days)
Hend Mostafa
Hend Mostafa on 1 May 2022
Commented: Joel Van Sickel on 5 May 2022
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?
  1 Comment
Hend Mostafa
Hend Mostafa on 5 May 2022
Can anyone help me? because Iam really stuck

Sign in to comment.

Answers (1)

Joel Van Sickel
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
Hend Mostafa
Hend Mostafa on 5 May 2022
Iam new to matlab, do these files let me model a battery with m files only?
Joel Van Sickel
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:

Sign in to comment.

Categories

Find more on Propulsion and Power Systems in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!