SimScape Gas simulation error

조회 수: 8 (최근 30일)
Federico Avino
Federico Avino 2021년 3월 4일
답변: Juan Sagarduy 2021년 3월 16일
Hi, I'm working to a simscape project, and the results of the simulations were fine (no warnings, no errors, physical results accurate and control logics accomplished) till yesterday. Today I opened the project, I executed it without applying any modifications in the model parameters nor in the simulator parameters, and I riceived the following warnings:
First solve for initial conditions failed to converge. Trying again with all high priorities relaxed to low.
Component:Simulink | Category:Model warning
Second solve for initial conditions failed to converge. Trying again with all variable targets ignored.
Component:Simulink | Category:Model warning
Unable to satisfy all initial conditions. The variables involved are listed below.
The following variables' targets could not be honored:
'Tank_1.T_I' (Temperature of gas volume)
'Tank_1.p_I' (Pressure of gas volume)
'Tank_2.T_I' (Temperature of gas volume)
'Tank_2.p_I' (Pressure of gas volume)
'Tank_3.T_I' (Temperature of gas volume)
'Tank_3.p_I' (Pressure of gas volume)
'Tank_4.T_I' (Temperature of gas volume)
'Tank_4.p_I' (Pressure of gas volume)
'Tank_5.T_I' (Temperature of gas volume)
'Tank_5.p_I' (Pressure of gas volume)
'Tank_6.T_I' (Temperature of gas volume)
'Tank_6.p_I' (Pressure of gas volume)
'Tank_9.T_I' (Temperature of gas volume)
'Tank_9.p_I' (Pressure of gas volume)
Those are pressures and temperatures of the tanks in my plant.
As a consequence, the simulation doesn't run because of simulation errors. The fact is that I didn't modify anything. Between the two runs I didn't even use my PC.
If I try to modify slightly the initial conditions the simulation runs, but way faster than before and it gives an error after a few seconds.
Does anyone have ever experienced something like this? And how did you manage?
Thank you a lot

채택된 답변

Juan Sagarduy
Juan Sagarduy 2021년 3월 16일
Hello Federico
Debugging such model is often difficult, and various settings may affect. My recommendation would be to reach MathWorks technical support and share the files as well.
Br Juan

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Gas Models에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by