Search found 40 matches
- Thu Jun 16, 2022 1:11 am
- Forum: OpenSim
- Topic: Analysis Tool computing normalised muscle fiber lengths
- Replies: 5
- Views: 394
Re: Analysis Tool computing normalised muscle fiber lengths
Hi Nicos, thanks for your fast reply. I am using OpenSim Moco to compute muscle activations and excitations. I am using the output from the Moco solution as controls for the AnalyzeTool() + the coordinates. Maybe the code snipet below helps to clarify what I am doing. solution = osim.MocoTrajectory(...
- Wed Jun 15, 2022 8:04 am
- Forum: OpenSim
- Topic: Analysis Tool computing normalised muscle fiber lengths
- Replies: 5
- Views: 394
Analysis Tool computing normalised muscle fiber lengths
Dear OpenSim Team, I am trying to compute normalised muscle fiber lengths with the AnalyzeTool in OpenSim GUI and Python. The problem I encountered is that the output is just a straight line at some value. It does happen with different models and interfaces (Python vs GUI). Is anybody else encounter...
- Mon Jun 13, 2022 2:12 am
- Forum: OpenSim Moco
- Topic: tendon compliance runtime error
- Replies: 20
- Views: 1572
Re: tendon compliance runtime error
Dear Nick, @MocoParameters: I did a ParameterOptimization but still the solution would not converge....I think the first step would now be to get more grip on the underlying causes as you suggest as well. However, I have some trouble to implement the .analyze() function. What I do: I use MocoInverse...
- Fri Jun 10, 2022 12:30 am
- Forum: OpenSim Moco
- Topic: tendon compliance runtime error
- Replies: 20
- Views: 1572
Re: tendon compliance runtime error
Dear Nick and Ross, I now performed the optimization with tendon-compliance on individual muscles (gastroc, peroneus longus and tibialis posterior). If I only allow tendon compliance for one individual muscle at a time the solution does converge. However, once I run the optimization with more than 1...
- Mon May 30, 2022 11:40 pm
- Forum: OpenSim Moco
- Topic: tendon compliance runtime error
- Replies: 20
- Views: 1572
Re: tendon compliance runtime error
Dear Pasha, thanks for your reply. I think the model is strong enough.....it does converge once tendon compliance is ignored. Only when adding tendon compliance it does not converge. Is it maybe possible to switch off tendon compliance for individual muscles? Then I could systematically increase com...
- Sat May 28, 2022 4:32 am
- Forum: OpenSim Moco
- Topic: tendon compliance runtime error
- Replies: 20
- Views: 1572
Re: tendon compliance runtime error
Dear Ross and Nick, I added solver.set_minimize_implicit_auxiliary_derivatives(true) and solver.set_implicit_auxiliary_derivatives_weight(waux) to the solver as recommended. However, the Casadi solver fails to find a solution and reports the Warning: Restoration failed (after 12 hours and >4000 iter...
- Thu May 19, 2022 11:43 am
- Forum: OpenSim Moco
- Topic: tendon compliance runtime error
- Replies: 20
- Views: 1572
Re: tendon compliance runtime error
Thanks Nick, that was indeed the problem. The simulation starts running fine now. But is seems that I increased complexity so much that the solution won't converge. I am running on an HPC cluster with 20 cores but still requires > 12 hrs and > 6 thousand iterations....have not managed to let it fini...
- Thu May 12, 2022 9:05 am
- Forum: OpenSim Moco
- Topic: tendon compliance runtime error
- Replies: 20
- Views: 1572
tendon compliance runtime error
Dear community, I am performing an optimization with MocoInverse and EMGTracking and try to incorporate tendon compliance. The problem: the solution would not start running and report the following error: [/code]std::exception in 'OpenSim::MocoSolution OpenSim::MocoStudy::solve() const': casVector s...
- Thu Mar 24, 2022 4:07 am
- Forum: OpenSim Moco
- Topic: Parameter optimization verification
- Replies: 15
- Views: 861
Re: Parameter optimization verification
I use EMG tracking and the effort goal. When optimizing on both optimal_fibre_length and tendon slack I get the attached results on normalized muscle fibre length. Please see also the code for clarification. Thanks Christian def solveMocoInverse_AND_OptimizeParameter(Scaled_modelFileName,GRF_SourceF...
- Mon Mar 21, 2022 12:10 am
- Forum: OpenSim Moco
- Topic: Parameter optimization verification
- Replies: 15
- Views: 861
Re: Parameter optimization verification
@reasonable results: the proposed changes in muscle parameters look reasonable but this is still hard to verify I think. When I run muscle analysis with the adjusted model and plot the normalized fibre length it does still look odd.....I attached a .png of the muscle analysis output. This is after o...