Help me to solve this error please. it is a simple modelling of vehicle HVAC system.

3 views (last 30 days)
=== Simulation (Elapsed: 5 sec) ===
Warning:First solve for initial conditions failed to converge. Trying again with all high priorities relaxed to low.
Warning:Second solve for initial conditions failed to converge. Trying again with all variable targets ignored.
Warning:Unable to satisfy all initial conditions. The variables involved are listed below.
The following variables' targets could not be honored:
'Car_Cabin.T_I' (Temperature of gas volume)
'Car_Cabin.p_I' (Pressure of gas volume)
'HVAC_Duct_Right.p_I' (Pressure of gas volume)
'HVAC_Duct_Right.T_I' (Temperature of gas volume)
'Thermal_Mass1.T' (Temperature)
'Thermal_Mass2.T' (Temperature)
'Thermal_Mass3.T' (Temperature)
'Thermal_Mass_HVAC_Duct_Right.T' (Temperature)
Error:An error occurred while running the simulation and the simulation was terminated
Caused by:
['AC_duct_sample1/Solver Configuration']: At time 0.000000e+00, one or more assertions are triggered. See causes for specific information.
Temperature must be greater than absolute zero The assertion comes from:
Block path: AC_duct_sample1/Thermal Mass HVAC Duct Right
Assert location:
o In between line: 105, column: 5 and line: 105, column: 11 in file: C:\Program Files\MATLAB\R2023a\toolbox\physmod\simscape\library\m\+foundation\+thermal\+elements\mass.ssc

Answers (1)

Saurav
Saurav on 7 Mar 2024
Edited: Saurav on 8 Mar 2024
Hi Alen,
From the provided information, I understand that you are getting errors while modelling a custom vehicle HVAC system in “Simscape”.
The error messages you have encountered during the simulation of your vehicle HVAC system suggest issues with the initialization of the model, particularly concerning the temperatures of the system. The critical error that led to the termination of the simulation is due to a temperature being set to below absolute zero. Absolute zero is 0 Kelvin (-273.15°C or -459.67°F), and no temperature should be set below this value (because it is physically impossible).
The specific error mentioned is related to a temperature assertion in the `AC_duct_sample1/Thermal Mass HVAC Duct Right` block.Here are some possible solutions to resolve the error:
  • Go to the indicated block and examine any parameters or initial conditions set for this block. Ensure that the temperature is initialized correctly and is not below absolute zero (0 Kelvin).
  • If there is any custom script or equations influencing this block's parameter, ensure they cannot result in a temperature below absolute zero.
I hope this helps!

Categories

Find more on Gas Models in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!