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
24 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jorge Portillo
el 24 de Nov. de 2024 a las 18:07
Respondida: Sabin
el 29 de Nov. de 2024 a las 9:33
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 comentario
Hitesh
el 24 de Nov. de 2024 a las 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 ?
Respuestas (1)
Sabin
el 29 de Nov. de 2024 a las 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.
0 comentarios
Ver también
Categorías
Más información sobre Simscape Electrical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!