Why do I keep getting solver errors when using custom SSC blocks in SimDriveline 2.4, SimMechanics 4.2 (R2013a)?
Show older comments
I have created a custom SSC block for SimDriveline and I am using it in conjunction with other SSC related blocks (SimMechanics, SimDriveline, etc). I am getting solver errors such as:
Transient initialization, solving for consistent states and modes, failed to converge.
...Nonlinear solver: failed to converge, residual norm too large.
......Here is the set of components with unconverged equations:
This error will then point to numerous blocks in the model. When checking for zero crossings at the solver error time, there were not as many zero crossings occuring during the crash time as expected. Changing the solver from variable to fixed step fixes the issue. However, it seems that no matter what settings are used, the variable step solver does not work.
Why is this occurring?
Accepted Answer
More Answers (0)
Categories
Find more on Brakes and Detents in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!