Static Optimization with muscles from MuscleExample

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Tylan Templin
Posts: 40
Joined: Mon Jan 15, 2018 10:55 am

Static Optimization with muscles from MuscleExample

Post by Tylan Templin » Mon Nov 08, 2021 1:51 pm

Hi OpenSim community,

I am trying to run a Static Optimization simulation using the FatigableMuscle model given in OpenSim 4.1\Resources\Code\CPP\MuscleExample.

I was able to create a plugin for the FatigableMuscle, load the plugin into the GUI, load the model with updated FatigableMuscles, and run Static Optimization. However, none of the muscle seem to be fatiguing.

The motion I am testing is going from a seated posture to a bent over posture and holding that posture for an extended period of time. Here is an example force output for a selection of back muscles in the model
Force_Profiles.PNG
Force_Profiles.PNG (10.77 KiB) Viewed 422 times
.

I have changed the fatigue factor and recovery factor for the muscles to various values and have also run the simulation for longer time periods (up to 500 seconds) but continue to get the same results.

Any ideas why there isn't a decline in force output for these "fatigable" muscles?

Thanks!

Ty

Tags:

User avatar
Thomas Uchida
Posts: 1794
Joined: Wed May 16, 2012 11:40 am

Re: Static Optimization with muscles from MuscleExample

Post by Thomas Uchida » Mon Nov 08, 2021 4:45 pm

Any ideas why there isn't a decline in force output for these "fatigable" muscles?
Was the model designed to be used with Static Optimization? There is a description of the model here: https://simtk-confluence.stanford.edu:8 ... ble+Muscle. Given that Static Optimization does not integrate forward in time, I suspect that you would need to modify the muscle model to use it in this condition.

User avatar
Tylan Templin
Posts: 40
Joined: Mon Jan 15, 2018 10:55 am

Re: Static Optimization with muscles from MuscleExample

Post by Tylan Templin » Wed Nov 10, 2021 3:05 pm

Thank you! I was hoping to use Static Optimization because it solves relatively quickly, but that makes sense that the muscle won't fatigue with SO because there is no forward integration. CMC seems to work just fine other than taking quite a bit longer.

Thanks again,

Ty

POST REPLY