How to apply SPM battery model in simscape battery builder?

7 views (last 30 days)
I am building a battery module in simscape battery builder. Is there a way to apply the SPM battery model for cells instead of the default equivalent circuit model? Thank you for your response. I am using the 2024b Matlab.

Answers (1)

Xiangchun
Xiangchun on 27 Jun 2025
If we use the API method to build a battery module or pack, for example, as described here: Build Detailed Model of Battery Pack from Pouch Cells - MATLAB & Simulink, we can use the following syntax to specify that we want to use the Battery Single Particle block (essentially a SPMe model for battery electrochemical modeling) for the cell model options of the cell object:
cell.CellModelOptions.CellModelBlockPath = 'batt_lib/Cells/Electrochemical/Battery Single Particle';
We can also achieve the same by using the Battery Builder App as shown in the screenshot below.
Here is an explanation of how to use the App Get Started with Battery Builder App - MATLAB & Simulink.
Best wishes,
Xiangchun

Community Treasure Hunt

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

Start Hunting!