Warning after changing the metabolic probe to "integrate"

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Caesar Lin
Posts: 9
Joined: Sun Apr 05, 2020 6:38 pm

Warning after changing the metabolic probe to "integrate"

Post by Caesar Lin » Fri May 15, 2020 12:25 am

Hi All,

When I change the probe operation of the gait2392 model to "integrate" and run the CMC tool, a warning raises saying "WARNING::metabolics: Sdot (glut_min2_l) = NaN!" for all the forces. And the process becomes so slow. I wonder what happens and how can I fix this problem?

Thank you in advance for your warm help!

Appreciatively,
Caesar

Tags:

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

Re: Warning after changing the metabolic probe to "integrate"

Post by Thomas Uchida » Fri May 15, 2020 5:40 am

I'll assume you're using Umberger2010MuscleMetabolicsProbe. You begin with "When I change the probe operation," which suggests that you don't see NaNs when the probe is set to "value" -- however, you might want to check that there are no NaNs (for any time point) when the probe is set to "value." You could also try checking the code (https://github.com/opensim-org/opensim- ... e.cpp#L234) and looking for a scenario in which a division by zero might be occurring (e.g., due to an unexpected muscle state or a bad parameter value).

POST REPLY