How to not surpass 1 SoC when charging a battery in Simscape?

2 views (last 30 days)
Hi Everyone! I am using a battery block in Simscape, the problem is that the SOC is surpassing 1 when I give a positive current to the battery,
while I would like the battery to saturate.
SOC:
When I use this block in my main simulation I can put a limit on the voltage so that the SOC is limited under 1, but how can I make the battery saturate, to have a more loyal model?

Accepted Answer

Jaskirat
Jaskirat on 27 Mar 2025
Hi @Marco,
I understand that you want the battery to saturate instead of surpassing SoC.
This can be done using the “Saturation” block in Simulink.
Alternatively, you can use the “Current Limiter” block to avoid excess charging by cutting off charging when the SoC reaches 1.
Refer the following documentation to learn more about these blocks-
Hope this helps!
  1 Comment
Marco
Marco on 27 Mar 2025
Edited: Marco on 27 Mar 2025
@Jaskirat Thank you, in my case I think I needed something like the current limiter i think, because I want to use this battery in a more complex simulation, where it is attached to a BUS so I want to limit the charge while the BUS could go to higher voltage. Thank you I didn't know about this component.
I will test it now
thanks

Sign in to comment.

More Answers (0)

Categories

Find more on Energy Storage in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!