Knee flexion simulation in MOCO

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Sepehr Ramezani
Posts: 35
Joined: Tue Nov 05, 2019 2:02 pm

Knee flexion simulation in MOCO

Post by Sepehr Ramezani » Mon Sep 20, 2021 11:21 am

Hi,
I'm trying to run MOCO inverse and find the muscle activation for simple example; right knee flexion without external force. I have used the similar model in "SquatToStand" example but locked the all coordinates except r_knee and I have disable all muscles except knee flexor and extensors. The model is in standing pos (hip flexion 0) and I made the constant motion for r_knee from 0 to 90.
MOCO can't solve the problem and I got this error.

Code: Select all

[2021-09-20 13:53:06.752] [error] Model unable to assemble: SimTK Exception thrown at Optimizer.h:133:
  Value out of range in  OptimizerSystem  Constructor: expected 1 <= number of parameters <= 2.14748e+09 but number of parameters=0..Model relaxing constraints and trying again.
[2021-09-20 13:53:06.757] [error] Model unable to assemble with relaxed constraints: SimTK Exception thrown at Optimizer.h:133:
  Value out of range in  OptimizerSystem  Constructor: expected 1 <= number of parameters <= 2.14748e+09 but number of parameters=0.
  .
  .
  .
  [2021-09-20 13:16:59.239] [info] Elapsed real time: 16 second(s).
[2021-09-20 13:16:59.239] [info] 9/20/2021 1:16:59 PM
[2021-09-20 13:16:59.239] [warning] MocoCasADiSolver did NOT succeed:
[2021-09-20 13:16:59.239] [warning]   Invalid_Number_Detected   
I also uploaded the log file. Can anyone explain me the reason of this error?
opensim.log
(36.53 KiB) Downloaded 4 times

Tags:

POST REPLY