simMechanics: local solver not supported
1 view (last 30 days)
Show older comments
When using different physical domains in a simscape model, I prefer to use a local solver for each domain, since some domains require a faster sampling time than others. When including simMechanics components, a warning is issued during compilation: "local solver not supported in simMechanics, global solver will be used instead". Essentially this means that the simMechanis part of the model will run at a stepsize equal to or smaller than that of the fastest physical domain. Clearly, this greatly increases simulation time. Am I seeing this right, or am I missing something? Does there exist a work-around?
Then I have a second question concerning this issue. From the warning described above, one would suspect that it does not make a difference whether the local solver option is selected or not for simMechanics components. I do however get very different results for each case. The simulation will run extremely slow when not selecting the local solver option. Wherein lies the difference?
0 Comments
Answers (0)
See Also
Categories
Find more on Numerical Integration and Differential Equations 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!