static optimization doesn't report some muscle forces

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
vahid F
Posts: 19
Joined: Mon Jul 23, 2018 8:02 am

static optimization doesn't report some muscle forces

Post by vahid F » Thu Jul 29, 2021 10:02 am

Hi everyone,

I want to use static optimization (SO) to extract muscle forces. But some of the muscle's color turn to gray during running SO and doesn't report force and activation for these muscles. What can be the source of this problem?

I'll be extremely thankful if someone tells me how to fix it.

Bests,
opensim_snapshot.png
opensim_snapshot.png (446.81 KiB) Viewed 530 times

Tags:

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: static optimization doesn't report some muscle forces

Post by Ayman Habib » Thu Jul 29, 2021 10:22 am

Hello,

Gray colored muscles are supposed to indicate that the muscles are disabled and so do not contribute to force calculations. If this is not the case please file a bug and attach all the necessary files and steps to reproduce.

Best regards,
-Ayman

User avatar
vahid F
Posts: 19
Joined: Mon Jul 23, 2018 8:02 am

Re: static optimization doesn't report some muscle forces

Post by vahid F » Thu Jul 29, 2021 10:33 am

Hi Ayman, thanks for your quick response,

As you can see in the attached figure, the "applies force" option is selected but it doesn't work. These muscles apply force when using CMC but in static optimization, they don't.
Capture.PNG
Capture.PNG (252.29 KiB) Viewed 448 times

User avatar
vahid F
Posts: 19
Joined: Mon Jul 23, 2018 8:02 am

Re: static optimization doesn't report some muscle forces

Post by vahid F » Thu Jul 29, 2021 10:52 am

This attachment contains all the necessary files to reproduce the results.

Best regards,
vahid
report_bug.rar
(267.98 KiB) Downloaded 21 times

User avatar
Najoua Assila
Posts: 34
Joined: Thu Aug 30, 2018 9:24 am

Re: static optimization doesn't report some muscle forces

Post by Najoua Assila » Fri Aug 06, 2021 2:30 am

Hi,

I have tried reproducing your error with the files you sent.
With the same setup, all muscles were activated using Opensim 4.0, but similar to what you reported some muscles weren't activated using Opensim 4.1.
So it's most probably a bug. Accordingly, as Ayman suggested, you should file a bug here: https://simtk.org/tracker/?group_id=91

Najoua.

POST REPLY