Simscape Thermal Model Error "Thermal Temperature must be greater than absolute zero"
22 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Can
el 7 de Nov. de 2021
Comentada: Fionn
el 22 de Feb. de 2024
I'm designing a thermal model of a battery cabin. Using Simulink, I found the heat rejection from the battery packs.
I built my model based on the featured examples of thermal systems, Modeling Heat Transfer of a Projector and an article called "Development of a multi-room building thermodynamic model using Simscape library".
For modeling the FRP cabin and battery shell structure, I used a simplified 2R-1C network (2 resistors and 1 capacitor). My model is given below.
And here is my solar radiation subsystem:
I made beginning temperature values of my thermal masses 300 K and used the ode15s as my solver. When I run the model I face with the error:
Error compiling Simscape network for model thermal_model.
Caused by:
- One or more assertions failed at compile time.
- ['thermal_model/Air inside FRP cabin']: Temperature must be greater than absolute zero In foundation.thermal.elements.mass (line 35)
Even when I run the model for 1 second I get this error. It doesn't make sense that with solar radiation and ambient temperature air temperature goes below absolute zero.
What am I doing wrong? Any help would be appreciated.
4 comentarios
Joel Van Sickel
el 19 de Mayo de 2022
Hello Riccardo,
make sure you aren't using a heat flow sensor incorrectly to connect your system to a thermal reference (absolute zero)
Regards,
Joel
Respuesta aceptada
Joel Van Sickel
el 19 de Mayo de 2022
It is highly likely that your heat flow sensor is grounding the Air Inside FRP cabin thermall mass block. heat flow must be measured as a through variable, while temperature is an across variable. This means a temperature sensor can be connected directly to a thermal reference. However, the heat flow sensor should be between the thermal mass and the rest of the thermal network.
I realize this is too late for the original question but the updated comment kicked this back up on the list so I figured I'd answer it.
Regards,
Joel
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Elements 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!