How can I build a 4s6p module using battery builder with cells of different capacities?

4 views (last 30 days)
I'm interested in using Battery Builder to build a 4s6p module. My requirement is that each of the 24 cells have different capacities and internal resistances. How can I achieve this?
I've already tried this, but I can only build ParallelAssembly, Module, and ModuleAssembly with the same cell type.

Answers (2)

Gayathri
Gayathri on 15 Apr 2025
Currently I am not sure if there is any function to create a battery pack of cells with different capacitance and internal resistance. It is achievable by creating single cell of required configuration and then stacking them in series or parallel as required.
This can also be achieved by coding from MATLAB. A sample example can be seen below.
battPset = batteryParallelAssembly(battCell, 1,"Rows",1);
battModule = batteryModule(battPset);
battPset1 = batteryParallelAssembly(battCell, 1,"Rows",1);
battModule1 = batteryModule(battPset5, Position=[0,0.01,0]);
batteryModAssembly = batteryModuleAssembly([battModule,battModule1], StackingAxis="X", CircuitConnection="Parallel"); % The circuit connection can be mentioned as series when required
buildBattery(batteryModAssembly, LibraryName="Option1")
The desired battery pack can created in this way using loops to connect 24 cells. Please make sure to mention the required resistance and capacitance for each cell. The resistance and capacitance can be set by using the properties mentioned in the below link.
Please refer to the documentation link below to build a simple battery module.

Sebastian Arias Alfaro
Sebastian Arias Alfaro on 29 Apr 2025
Hello Victor,
The pack builder has a property just for this purpose. You can apply a manufacturing variability to the parameters of the cell models by following this example: https://www.mathworks.com/help/simscape-battery/ug/apply-parameter-variation-to-cells-module.html. Hope it helps.

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!