Moco 0.3.0 vs Moco 1.0

OpenSim Moco is a software toolkit to solve optimal control problems with musculoskeletal models defined in OpenSim using the direct collocation method.
POST REPLY
User avatar
Burak Kula
Posts: 31
Joined: Wed Dec 04, 2019 3:34 pm

Moco 0.3.0 vs Moco 1.0

Post by Burak Kula » Fri Jun 25, 2021 12:32 am

Hello Everyone,
As you all know Moco 1.0 was released within Opensim 4.2 and before that I was using Moco 0.3.0 with Opensim 4.0.
I re-run my exact same MATLAB scripts that I wrote with Moco 0.3.0 on Moco 1.0 but results are quite different.
Do you have any idea about this difference ?

User avatar
Pasha van Bijlert
Posts: 227
Joined: Sun May 10, 2020 3:15 am

Re: Moco 0.3.0 vs Moco 1.0

Post by Pasha van Bijlert » Fri Jun 25, 2021 4:16 am

Moco 1.0 added compatibility with wrapping surfaces for muscles, previous had a bug leading to the wrapping being ignored. Could this explain your difference? Obviously, this is only relevant if your model had wrapping surfaces/geometry to begin with.

User avatar
Burak Kula
Posts: 31
Joined: Wed Dec 04, 2019 3:34 pm

Re: Moco 0.3.0 vs Moco 1.0

Post by Burak Kula » Sun Jun 27, 2021 3:40 am

Thank you for opinion,
I checked the osim model but there is no wrapping surface.
In my osim model there is only lower body muscles and their activaiton is set to 0.001 in order to mimic paraplegic patients.
I think even if this wrapping object is the case, it should not effect that much the result.

Burak.

User avatar
Nicholas Bianco
Posts: 1044
Joined: Thu Oct 04, 2012 8:09 pm

Re: Moco 0.3.0 vs Moco 1.0

Post by Nicholas Bianco » Mon Jul 12, 2021 9:57 am

Hi Burak,

If you have lower-limb muscles in your model, it is very likely that there are wrapping surfaces. For example, we use a wrapping cylinder to create a more realistic path for the gastrocnemius muscle since it is more superficial than the soleus muscle. These wrapping surfaces have a large effect on the muscle moment arms, and therefore each muscle's moment generation capacity. So in certain cases, I would expect to see noticeable differences in activations.

If still don't think that is the case and can provide more details about the differences you're seeing, then I'm happy to help debug those issues.

-Nick

POST REPLY