You can simply modify the ‘BodyPartsSetup.any’ file if you want to use the 3E hill muscle model for the legs.
// RightLegTD: 1 included, 0 not included
// ************************************
#define RIGHT_LEG_TD 1
// This is just the bones,
// Choose one of the following options to add muscles
#define RIGHT_LEG_TD_SIMPLE_MUSCLES 0
#define RIGHT_LEG_TD_MUS_3E 1
// LeftLegTD: 1 included, 0 not included
// ***********************************
#define LEFT_LEG_TD 1
// This is just the bones,
// Choose one of the following options to add muscles
#define LEFT_LEG_TD_SIMPLE_MUSCLES 0
#define LEFT_LEG_TD_MUS_3E 1
If you use 3 element Hill type muscles, a calibration sequence will be made first. In this calibration sequence, you will get some warnings about muscle length etc. This does not effect the inverse study. Therefore everything is fine. the model still runs.
“Muscle recruitment solver : solver aborted due to singular KKT matrix” error usually means that there are some missing forces (reactions for muscle forces) which are required to run the inverse dynamics.
So you have to find what are those missing forces in your model.
Hi ,Moonki
When I change the muscle to AnyMuscleModel3E in the StandingModel,Then run the model, The results of the muscle activity was greater than the simple muscle and Overloaded muscle configuration. Why this happens?
thank you very much
Moonki is right some dof in the model is not possible to balance, in most such cases you are missing a reaction in the model.
Please make sure that for every new segment you may have introduces to the model there are enough reactions available. Please also ensure that if you did not introduce any new segments that body model you have has enough reactions to the environment to be in balance.
The results will differe becuase the two muscle models has a different strength this is ok.
when using the 3E muscles please ensure to run the muscle calibration before running the inverse study, otherwise muscles will be overloaded in many cases
Hi Soren,
I am using the Standing Model as a template and i want to perform a squat motion. So first of all i included several drivers into my model and everything runs fine. But now i changed the muscle model from simple to 3E Hill type and now the Initial condition operation crashes due to tolerance errors in the Calibration study how can this problem be solved?