I’ve been trying to remove the two muscles that you took as an example from a model I am using, but so far I have not been successful. Below is a short summary of what I have been doing. Perhaps you can find my mistake.
I am working with the example model ‘‘MoCapModel’’ that is provided with the Anybody download package. I paste the code that you provided me in the MoCap_LowerBody.main.any script, within the folder AnyFolder Studies ={, directly below the line #include “Model/RemoveMuscle.any”. I then run the MotionAndParameterOptimizationModel, and then run the InverseDynamicModel.
If I am correct, then the force output of the two muscles (Fout), should be zero. So I go into Window/Chart2D/Main/Studies/InverseDynamicStudy/Output/BodyModel/Right/Leg/Mus/GluteusMediusAnterior6/Fout. However, the graph depicts that there is a force present in the GluteusMediusAnterior6.
Could you point out what I am doing wrong?
Thanks in advance,
Háski.