error while simulating the model

26 views (last 30 days)
tripura rangabatla
tripura rangabatla on 19 Apr 2022
Answered: Joel Van Sickel on 5 May 2022
  • Solver encountered an error while simulating model 'project2' 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.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 5 May 2022
Hello Tripura,
this probablem could be coming from the mechanical model that your motor is attatched to. Setting initial conditions there might help as well as making a more realistic model to ensure the load has a realistic model. It looks like you based your work off of this example:
This works with nothing attatched to the shaft of the motor. Does your model also work if there is no load? If that is the case, then the issue is definitely with the external mechanical model not included in the screenshot. Otherwise it might be that the paramters for one of your blocks is incorrect.
Regards,
Joel

Community Treasure Hunt

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

Start Hunting!