Clear Filters
Clear Filters

Why do I encounter an error message when attempting to plot discharge characteristics in the Battery block with Simscape Power Systems Specialized Technology?

1 view (last 30 days)
I have a model with two Battery blocks, upon entering the values for everything and trying to plot the discharge characteristics it works for one and for the other I get the following error:
Error evaluating 'MaskDialog' callback of Battery block (mask) 'modelName/Battery'.
Callback string is 'BatteryCback(gcb,0)'
Value must be a 1x2 vector of numeric type in which the second element is larger than the first and may be Inf
I even get this when the values in the two batteries are the same, is it possible that this error occurs because there are two battery blocks or am I missing something?

Answers (1)

Harshit
Harshit on 13 Sep 2023
Edited: Harshit on 13 Sep 2023
Hello,
I understand that you are experiencing an error when trying to plot the discharge characteristics for the Battery block.
The error in this case is most likely caused by a simple oversight of not specifying correct battery parameters in the "Temperature" tab. The battery parameters specified in the "Parameters" and "Discharge" tabs need to be valid for both the temperatures T1 and T2.
To resolve this issue, kindly review the "Temperature" tab within the "Battery" block. There should be a section labeled "Discharge parameters at T2," which must be configured in alignment with the remaining battery model.
I hope the above information helps!
Regards,
Harshit

Categories

Find more on Energy Storage in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!