Pack (Generated Block) BatteryBuilder: How can I limit my SOC from 0 to 1
Show older comments
I use the new battery simscape blocks for a battery simulation. Now I want to limit the SOC from 1 to 0. Actually I want to limit the single cell voltage (4.2V to 2.5V). Is this possible via the parameter table or do you have any other suggestions?
The saturator block in the Figure is actually only used to embellish my graphics and not to limit the voltage.
That only a maximum of 4.2 volts are available with a SOC of 1.
Properties: CellV = 4.2 V 24s5p with 8 Module in the pack

Accepted Answer
More Answers (1)
Ayush
on 17 Jul 2024
0 votes
Hi Felix,
I understand you are facing an issue with limiting the single cell voltage in your battery simulation from 4.2V to 2.5V using Simscape blocks. Although there are multiple ways to do this such as using parameter table or power electronics(using a dc-dc converter) , here's a concise solution to address this using parameter table:
Adjust Voltage Limits:
- Open the battery block parameters.
- Set the Maximum Voltage to 4.2V and the Minimum Voltage to 2.5V.
Configure Voltage vs. SOC Table:
- In the battery block, populate the Voltage vs. SOC table:
- SOC of 1 corresponds to 4.2V.
- SOC of 0 corresponds to 2.5V.
- Ensure intermediate SOC values interpolate linearly between these voltages.
Exclude Unneeded Cells:
- Modify your battery configuration to exclude cells that are not needed. Adjust the series and parallel connections accordingly.
Optional Saturation Block:
- Use a Saturation block to enforce the voltage limits graphically, setting an upper limit of 4.2V and a lower limit of 2.5V.
For more information related to battery modelling, you can refer to the following documentation link: https://www.mathworks.com/discovery/battery-models.html
Hope this helps!
Regards
Categories
Find more on Battery Pack Modeling 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!