residual norm and unconverged equation error
33 views (last 30 days)
Show older comments
hi. i use a simulink and simscape model to buildd an aplifier for audio use. class d.
when i start simulation I get this error:
_Steady state solve failed to converge. ...Nonlinear solver: failed to converge, residual norm too large. ......Here is the set of components with unconverged equations:
'mosfet_driver/N-Channel MOSFET' 'mosfet_driver/gate driver 2/NPN Bipolar Transistor'_
the strange about this error is that i did not change actually anything on my model since the previous time, that the simulation worked! so strange and wuote annoying I'd say. I suppose it is some kind of numerical linear algebra error inside the simulink computation engine.. but i cannot tell what the problem exactly is! so any help!?
thanx. andreas
0 Comments
Answers (2)
Guy Rouleau
on 29 Oct 2012
Here are a few tips to make your model more robust to this error:
- Try increasing the Consistency tolerance in the Solver Configuration block. The default is 1e-9. Try something like 1e-6.
- Some components in your circuit probably have parameters like snubbers or "Open resistance" or "Closed Conductance". Those are there for numerical reasons. Making them less ideal should help.
PENG SHI
on 21 Dec 2018
I have encountered this problem as well. It is resolved by reducing min time step in my case.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!