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

59 vues (au cours des 30 derniers jours)
Tiange He
Tiange He le 17 Juin 2021
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.

Réponses (2)

Shravan Kumar Vankaramoni
Shravan Kumar Vankaramoni le 19 Août 2021
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 le 13 Juil 2022
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.

Catégories

En savoir plus sur Manual Performance Optimization dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by