Different Static Optimization Results with Differing Start Times
Posted: Wed Aug 31, 2022 10:15 am
Hi Everyone!
I have a fairly long inverse kinematics file that I am running static optimization on. I was able to get static optimization to run the whole kinematics file, but it took a long time. I have been experimenting with segmenting the kinematics file into smaller periods of time and running them through static optimization in parallel. This runs much faster for me. When I compare the results, the muscle activations are similar between the two approaches, but not identical.
Does anyone know why static optimization results would be slightly different when running a smaller segment of motion as compared to the results from the same time period when running a larger segment of motion?
I have checked that the time points match up perfectly between the two results, and can't find anything different in the setup of my simulations other than the starting and stopping time. Is it an effect of how the optimizer solves the problem? Is there an element of randomness that is determined by when the entire simulation is started? My understanding is that static optimization solves for each time point without any regard for previous time points. Is inverse dynamics being solved differently? Any insights would be welcome.
I've attached an example of the differing results:
I have a fairly long inverse kinematics file that I am running static optimization on. I was able to get static optimization to run the whole kinematics file, but it took a long time. I have been experimenting with segmenting the kinematics file into smaller periods of time and running them through static optimization in parallel. This runs much faster for me. When I compare the results, the muscle activations are similar between the two approaches, but not identical.
Does anyone know why static optimization results would be slightly different when running a smaller segment of motion as compared to the results from the same time period when running a larger segment of motion?
I have checked that the time points match up perfectly between the two results, and can't find anything different in the setup of my simulations other than the starting and stopping time. Is it an effect of how the optimizer solves the problem? Is there an element of randomness that is determined by when the entire simulation is started? My understanding is that static optimization solves for each time point without any regard for previous time points. Is inverse dynamics being solved differently? Any insights would be welcome.
I've attached an example of the differing results: