MATLAB Answers

0

Nonlinear solver

Asked by razevedo on 18 Jul 2011
how to solve when appear the error: "Nonlinear solver: failed to converge, residual norm too large."

  0 Comments

Sign in to comment.

Tags

1 Answer

Guy Rouleau
Answer by Guy Rouleau
on 18 Jul 2011

This often happens when your model is too ideal and there is a sudden transition.
In a hydraulic model, this could for example be that you have a flow without restriction and a sudden pressure drop.
In that case, the Simscape solver needs to go through the "transient Initialization" phase:
and the initial guess he has is too far from the results... consequently it fails to converge.
So I would try to add more realist conditions to your model... depending on the domain, it can mean many different things.
If this does not work, I recommend contacting support with your model.

  0 Comments

Sign in to comment.