Problem with creating simscape models

5 ビュー (過去 30 日間)
Thomas De Bauw
Thomas De Bauw 2021 年 2 月 15 日
回答済み: Pratheek Punchathody 2021 年 2 月 18 日
Hello everybody
I am a student from antwerp and trying to recreate the cooling system of a ship with simscape. I am writing this post because I am experiencing a lot of problem with rebuilding the circuit. I don't really know what causes the errors so was hoping someone could help me.
There are two errors that I often encounter. The first is: 'Transient initialization at time 6, solving for consistent states and modes, failed to converge. ' The second is: 'At time 0.000000, one or more assertions are triggered. See causes for specific information.' Since I haven't worked with Simscape very much yet, I don't really know what the problem is with these errors.
Can someone tell me where to start looking for the solution to this problem, is it in the solver? Or to the settings of the components themselves.
Thank you very much in advance

回答 (1 件)

Pratheek Punchathody
Pratheek Punchathody 2021 年 2 月 18 日
As per my understanding,
Refering to the first error:
Error messages stating that transient initialization failed to converge, or that a set of consistent initial conditions could not be generated, indicate transient initialization issues. They can be a result of parameter discontinuity. Review your model to find the possible sources of discontinuity.
You can also try to decrease the "Consistency Tolerance" parameter value (that is, tighten the tolerance) in the Solver Configuration block.
Troubleshooting Simulation Errors documentation will help you for more information.
Refering to the second error:
You may look into the causes for specific information and troubleshoot on what type of assertions have been occured. This will help you in resolving the error caused by the specific assertion during simulation.




Community Treasure Hunt

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

Start Hunting!

Translated by