hi, im a student from madrid, im trying to model a simple battery with the battery (table-based) block, but im getting a temperature related error
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
this is the error im getting:
At time 2025.000000, one or more assertions are triggered. See causes for specific information.
Temperature adjusted first time constant must be greater than zero. The assertion comes from:
Block path: BATERIA_EJERCICIO_3/Battery (Table-Based)
the problem is that i have all the temperature related variables inside the battery deactivated and since it worked fine I tried putting the simulation time at 1800 and i know the battery is correctly build because i have another model made with simulink blocks doing all the necessary calculations and when comparing it below that 2025 its almost identical
1 Kommentar
Hitesh
am 24 Nov. 2024
Could you share the simulink file or sample file which would generate the similar error, so that I can investigate the root cause of this error ?
Antworten (1)
Sabin
am 29 Nov. 2024
I don’t have the model, but I suspect is issue arises from the data extrapolation. There is a mask parameter ‘Extrapolation method for all tables. If this parameter is set to ‘Linear’ we may end up with some unrealistic values depending upon the simulation scenario. Setting this parameter to nearest should use the nearest grid point and we should have protection against unrealistic values. I hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Simscape Electrical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!