How to fix initial conditions solve failed to converge error message?
1 view (last 30 days)
Show older comments
Hi,
I am modelling the compression of air from an upstream reservoir to a constant volume chamber using a positive displacement compressor (G). I keep getting the error message;
initial conditions solve fialed to converge.
- Here is a set of componenets with unconverged equations
the block in question is the poisitive displacement compressor (G).
I have looked online and have tried all the fixes suggested; Steady start on/off, increasing consistency tolerance in solver, reducing step time, chnaged block parameters...
I also have not set any initial conditions but get the warning, initial conditions failed to converge.
any suggestions appreciated.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1530947/image.png)
2 Comments
Divyanshu
on 15 Dec 2023
Edited: Divyanshu
on 15 Dec 2023
Hi Aiden,
Can you share the model file? It is really difficult to track the issue from the image of the model, instead sharing the model file would help in finding out the root cause of the issue and providing a workaround/solution for the same.
Yifeng Tang
on 27 Mar 2024
Just commenting to follow the activities in case any model gets uploaded.
One possible thing to try: start the compressor from zero speed instead of a constant. That way one can at least look at the results in Simscape Result Explorer and try to tell what's happening.
Answers (0)
See Also
Categories
Find more on Variable Initialization 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!