residual norm and unconverged equation error
36 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Guy Rouleau
2012-10-29
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
2018-12-21
I have encountered this problem as well. It is resolved by reducing min time step in my case.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!