How to fix State of charge must be greater than or equal to minimum value of the Vector of state-of-charge values, SOC.
10 次查看(过去 30 天)
显示 更早的评论
Hello, I've created my own model for battery cell parameter estimation using simscape, and table based battery cell. In the model workspace I've defined the SOC loockup table ranging as follow [0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1].
When I run my simulation it goes well, up to a moment where it stops and shows this message :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1367549/image.png)
I don't understand why it's displaying that error, any guidance ? Thanks.
回答(1 个)
David John
2023-5-4
Most likely the state-of-charge is crossing 0 at that time of your simulation. Try taking a look at the stateOfCharge variable in the simlog to see its behaviour.
2 个评论
David John
2023-5-26
Did you check to see if the state-of-charge crosses zero? If it does, then your model is no longer valid, and hence the error. It is not physically meaningful to drain a battery beyond zero state-of-charge. Are you forcing current out of your battery?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Propulsion and Power Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!