CMC runtime issue
Posted: Thu Oct 15, 2020 1:11 pm
I am trying to run a simulation in which I use a bayesian optimizer in matlab to search for optimal control parameters for a knee exoskeleton (modeled in OpenSim). As part of this process, each selected set of control parameters is used to create a torque profile which is given to OpenSim in order to run the CMC algorithm and find muscle forces. That result is then fed into the Joint Reaction Analysis tool to find the joint contact force for the knee. Based on this result, the optimizer sets another set of parameters in order to find control parameters that minimize joint load.
My problem is that the CMC algorithm takes a very long time to run even a short amount of data. This means that with so many loops, the time to run a simulation is prohibitive. I've considered using static optimization and the new direct collocation methods, but from my preliminary examinations they seem to still require a similar time frame. Do you have any suggestions on how I could increase the efficiency of this process or alternative ways to accomplish a similar goal?
(Before running this, my pipeline is that I have a scaled gait-2392 model of the subject and use IK and RRA to find the kinematics.)
My problem is that the CMC algorithm takes a very long time to run even a short amount of data. This means that with so many loops, the time to run a simulation is prohibitive. I've considered using static optimization and the new direct collocation methods, but from my preliminary examinations they seem to still require a similar time frame. Do you have any suggestions on how I could increase the efficiency of this process or alternative ways to accomplish a similar goal?
(Before running this, my pipeline is that I have a scaled gait-2392 model of the subject and use IK and RRA to find the kinematics.)