- 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.
Help me to solve this error please. it is a simple modelling of vehicle HVAC system.
5 次查看(过去 30 天)
显示 更早的评论
=== 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1631851/image.jpeg)
0 个评论
回答(1 个)
Saurav
2024-3-7
编辑:Saurav
2024-3-8
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:
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Oil, Gas & Petrochemical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!