Solver could not solve the system of algebraic equations, how do I solve that?

60 ビュー (過去 30 日間)
Tiange He
Tiange He 2021 年 6 月 17 日
回答済み: Abhinash Moka 2022 年 7 月 13 日
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.

回答 (2 件)

Shravan Kumar Vankaramoni
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.

Abhinash Moka
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.

カテゴリ

Find more on General Applications 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!

Translated by