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
Warning after changing the metabolic probe to "integrate"
- Caesar Lin
- Posts: 9
- Joined: Sun Apr 05, 2020 6:38 pm
- Thomas Uchida
- Posts: 1798
- Joined: Wed May 16, 2012 11:40 am
Re: Warning after changing the metabolic probe to "integrate"
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).