Select a predefined Simscape battery for Simulink "Battery Pack Short Circuit".

4 views (last 30 days)
I would like to use the "Battery Pack Short Circuit" model (mathworks.com/help/sps/ug/lithium-pack-short-circuit.html) to model a short circuit for an specific battery.
This simulink model has a "Battery Module" block that is based on the "Battery (Table-Based)" model of Simscape (mathworks.com/help/sps/ref/batterytablebased.html#mw_be661e7b-a0ea-457a-b51f-21e711a9141d) but I haven't been able to breakdown the battery module block into the Battery (Table-Based). I would like to select one of the cell battery that its predefined in the library (https://it.mathworks.com/help/sps/ug/pre-parameterized-components.html) that is connected to the Battery (Table-Based) model but not to the "Battery Module" that is implemented inside the Battery Pack Short Circuit.
I tried getting in the code or the mask of the Battery Module but it's very complicated and not clear if would be possible to insert all the data tabulated in the library into the code. Nevertheless, inside the Battery Module block it's possible to change some parameters like type of cell (Compact cylindrical, Pouch, Regular cylindrical, Can), capacity, among others but not inserting a cell that is already exisitng in the library.
Thanks in advance!

Answers (1)

Yoshi Minagawa
Yoshi Minagawa on 22 Apr 2025
Hi Jose,
Unfortunately, it is not easy to replace the parameters of the Battery Module block in this demo model with those of a predefined cell battery.
However, by using either the Battery (Table-Based) block or the Battery Equivalent Circuit block instead of the Battery Module block, you can use the parameters of predefined cell batteries and still perform nearly equivalent simulations.
Furthermore, if you use the Equivalent Circuit block, you can inject short-circuit faults directly within the block itself, so there is no need to prepare an external short-circuit fault circuit.
For more details, please refer to the following documentation:
Battery (Table-Based) block
Equivalent Circuit block

Categories

Find more on Energy Storage 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!