blips in simulated muscle variables
Posted: Mon Aug 29, 2022 10:06 am
We're experimenting with a simple arm model, based on build_and_simulate_simple_arm.m which comes with the OpenSim installation.
A TableReporter is used to report some variables, and the plots have some strange glitches in the muscle variables. This happens for both muscle models we tried; DeGrooteFregly2016 (figure 1) and Millard2012Equilibrium (figure 2). Sometimes the glitches are very large.
The glitches are very short and I suspect that the simulation is still accurate. But it makes the output look ugly, and real muscles can never produce such output, of course.
Is there a way to avoid this?
I experimented with manager.setIntegratorMaximumStepSize but that did not make a difference.
Ton van den Bogert
A TableReporter is used to report some variables, and the plots have some strange glitches in the muscle variables. This happens for both muscle models we tried; DeGrooteFregly2016 (figure 1) and Millard2012Equilibrium (figure 2). Sometimes the glitches are very large.
The glitches are very short and I suspect that the simulation is still accurate. But it makes the output look ugly, and real muscles can never produce such output, of course.
Is there a way to avoid this?
I experimented with manager.setIntegratorMaximumStepSize but that did not make a difference.
Ton van den Bogert