How do I test if the battery pack I made using Simscape Battery works as intended in Simulink? I want to connect it later to a three-phase network.
14 views (last 30 days)
Show older comments
Good day! I built a battery pack using Simscape Battery, and I want to use it for grid support. Before that, I want to test how it works, but I am unsure how to do so. I am mainly interested in the battery's SoC and power delivery and absorption (temperature is not crucial). Is there a way to simply test the battery model (such as using a current source)?
Here is what I've modeled so far:

Cell Model: U27_12XP
Parallel Assembly: 80 (y-axis)
Module: 60 (x-axis)
Module Assembly: 2 modules
Pack: 2 module assemblies
So far, I tried connecting it directly to a network. However, I am confused why the SoC is showing 4 outputs, which makes it difficult to compute. I don't know what that means, but I hope someone could also give any clarifications regarding this.
I plan on asking a separate question with regards to battery parameters. If any further context is needed, I am willing to provide more.
Thank you!!
0 Comments
Answers (1)
Yoshi Minagawa
on 20 Oct 2025 at 11:31
Hi Timothy Joel,
As you mentioned, it’s easy to test the battery model by directly connecting it to a current source block (for example, to observe changes in SOC and temperature).
The reason why the SoC shows four outputs is probably related to the ModelResolution property in either the ParallelAssembly or Module object.
The ModelResolution property can be set to Lumped, Detailed, or Grouped. In this case, it seems the battery cells are modeled at the “Grouped” level, divided into four groups. As a result, the SOC is calculated for each group, which is why you see four SOC outputs.
For more details about the ModelResolution property, please refer to the following URL:
0 Comments
See Also
Categories
Find more on Energy Storage 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!