Battery model (table-based) error
3 views (last 30 days)
Show older comments
Hi,
I am using the tabled version of the Simscape battery model with pre-set values for Panasonic NCR18650BF. To test the issue, I have a simple ciruit to discarge the battery, see picture. This works fine, until I enable self discharge, when I have the error message shown below.
I have not changed any data in the model, as I prefer to use it as it is. The parameters are shown below:
I raised this, as I use a library block, selected a predifined data set, which is expected to be validated and enabled one option from the panel.
I can spend time to find the problem with sizes, but the data is expected to be validated and I am not sure how should I modify it.
Before I had access to Simscape, I build up a Simulink only based battery model, so I know what is inside, but the point of a library block is that, it is ready, validated, etc.
Do you have a solution to resolve this issue? Thanks.
Regards,
Zoltan
0 Comments
Accepted Answer
Sabin
on 26 Jun 2023
The preset parametrizations are based on manufacturer’s datasheet. Not all parameters are available from the datasheet. The block will simulate with the preset data but if you change any parameter such as enable or disable functionality it may not. The parameters that are not computed from the datasheet will have the comment ‘% Parameter not set’ after the value. In this specific case you will need to update Rleak(T) to be a vector of the same size as ‘Vector of temperatures, T’. Please note the Rleak(T) will have the default value when you enable and not the specific value for the preset parameterization. I hope this helps.
More Answers (0)
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!