Solver could not solve the system of algebraic equations, how do I solve that?
37 次查看(过去 30 天)
显示 更早的评论
An error occurred while running the simulation and the simulation was terminated
Caused by:
- Solver encountered an error while simulating model 'maincircuit' at time 0 and cannot continue. Please check the model for errors.
- Solver could not solve the system of algebraic equations because a singular iteration matrix was encountered. Consider providing more accurate initial conditions. If the problem persists, check the model structure and values of parameters.
0 个评论
回答(2 个)
Shravan Kumar Vankaramoni
2021-8-19
Hi,
The error occurred because one of the parameters might be given a value "NaN". You can check this by enabling the "Show value label of selected port" for the signals and checking where the value is Inf or NaN.
0 个评论
Abhinash Moka
2022-7-13
ime 0 and cannot continue. Please check the model for errors.
Solver could not solve the system of algebraic equations because a singular iteration matrix was encountered. Consider reducing the fixed step size and/or providing more accurate initial conditions. If the problem persists, check the model structure and values of parameters.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linearization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!