Dear OpenSim Moco community,
I am testing the effect of parameter optimization on muscle force computations during gait. The problem I encounter is that after- optimizing tendon lack and opt fiber length Moco does not find a solution. With the scaled-only model it does find a solution. The solver settings are exactly the same for both approaches.
When generating muscle lengths and activations of the failed solution I found that muscle activations are high at the first frames of the analysis in the solution with the optimized but not the scaled-only model. Also one specific muscle is having activations at 1. Since the normalized muscle fiber length and velocities are well in the recommended boundaries (0.6 - 1.4 norm fiber length) in the solution of the optimized model I do not understand why this is happening. To add, this is not a coincidence. The simulation with the optimized model fails across different attempts and experimental trials.
My questions are:
1. Do you have any suggestions what I could check on to solve this issue and get the solution with the optimized model succeeding?
2. Is it possible that the high activations at the start of the simulation and/or the muscle with activation being 1 are causing the simulation to fail?
3. Is it possible to somehow control for the high activations in the solution with the optimized model file?
Attached are some plots for clarification.
Thanks and kind reards
Christian
MocoStudy fails after parameter optimization
- Christian Greve
- Posts: 41
- Joined: Mon Jun 13, 2016 11:14 pm
MocoStudy fails after parameter optimization
- Attachments
-
- Muscle Lengths from Solution Optimized Model.jpg (300.92 KiB) Viewed 290 times
-
- High activations at start of simulation and of one muscle
- Activations from Solution Optimized Model.jpg (169.3 KiB) Viewed 290 times
-
- Muscle Lengths from Solution Scaled-only Model.jpg (325.96 KiB) Viewed 290 times
-
- Activations from Solution Scaled-only Model.jpg (216.7 KiB) Viewed 290 times
- Nicholas Bianco
- Posts: 1041
- Joined: Thu Oct 04, 2012 8:09 pm
Re: MocoStudy fails after parameter optimization
Hi Christian,
Are you using the DeGrooteFregly2016Muscle? If so, this is probably due to a known bug where some of the don't get updated properly when performing a parameter optimization problem. I've been meaning to fix this for a while, so thank you for the reminder!
Creating an issue now on GitHub to keep track of this.
Best,
Nick
Are you using the DeGrooteFregly2016Muscle? If so, this is probably due to a known bug where some of the don't get updated properly when performing a parameter optimization problem. I've been meaning to fix this for a while, so thank you for the reminder!
Creating an issue now on GitHub to keep track of this.
Best,
Nick
- Christian Greve
- Posts: 41
- Joined: Mon Jun 13, 2016 11:14 pm
Re: MocoStudy fails after parameter optimization
Dear Nicholas,
thanks for your fast response. Yes I am using "DeGrooteFregly2016Muscle" but I am not sure that 'not updating' is the problem.
I first use parameter optimization to define new values for tendon slack and opt fibre length--> then generate a moco solution with MocoInverse. If I use the optimized model, MocoInverse fails. But If I use the scaled-only model it finds a solution.
So I would think it is not in the parameter optimization. Could that be?
Regards
Christian
thanks for your fast response. Yes I am using "DeGrooteFregly2016Muscle" but I am not sure that 'not updating' is the problem.
I first use parameter optimization to define new values for tendon slack and opt fibre length--> then generate a moco solution with MocoInverse. If I use the optimized model, MocoInverse fails. But If I use the scaled-only model it finds a solution.
So I would think it is not in the parameter optimization. Could that be?
Regards
Christian