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

22 vues (au cours des 30 derniers jours)
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 commentaire
Hitesh
Hitesh le 24 Nov 2024 à 19:12
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 ?

Connectez-vous pour commenter.

Réponses (1)

Sabin
Sabin le 29 Nov 2024 à 9:33
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.

Catégories

En savoir plus sur Simscape Electrical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by