SimScape Gas simulation error

7 vues (au cours des 30 derniers jours)
Federico Avino
Federico Avino le 4 Mar 2021
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

Réponse acceptée

Juan Sagarduy
Juan Sagarduy le 16 Mar 2021
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

Plus de réponses (0)

Catégories

En savoir plus sur Gas Models dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by