How to fix initial conditions solve failed to converge error message?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Yifeng Tang
2024-3-27
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Variable Initialization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!