Why do I keep getting solver errors when using custom SSC blocks in SimDriveline 2.4, SimMechanics 4.2 (R2013a)?
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simscape Driveline에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!