Total fiber-force

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Cosimo Aloisi
Posts: 11
Joined: Sun Feb 16, 2014 11:14 am

Total fiber-force

Post by Cosimo Aloisi » Tue May 27, 2014 2:59 am

Hi everybody,

I am trying to understand the performance of the 'total fiber-force' of different muscles.
I've observed, by OpenSim Plotter, that the 'total fiber-force' of a muscle completely changes if I select as X-Quantity the CMC output "*_states.sto" file instead of the CMC output "*_Kinematics_q.sto" file.
I think I'm plotting the same parameter (total fiber-force), but it's not like this because the two trends are completely different!

I'd like to plot muscle force as a function of time, but I don't understand which one I must consider. Could you help me?

Thanks very much!

Best regards,
Cosimo

User avatar
M.Ali Akhras
Posts: 11
Joined: Mon Apr 29, 2013 6:32 am

Re: Total fiber-force

Post by M.Ali Akhras » Tue May 27, 2014 4:06 am

Hi Cosimo,
Are you sure you are plotting the total fiber-force by calling CMC output "*_states.sto" file? Because usually "*_states.sto" files contain information about the state variables of your system (i.e. joint angles, muscle fiber lengths, muscle activation..), whereas "*_Kinematics_q.sto" contain kinematic information (i.g. join angles). However, you have to include a report/analysis of the dynamic information (i.e. muscle forces) in your .xml setting file(s). Pay attention to what you are plotting, there is a difference between the fiber force and the fiber force along tendon which has to do with the definition of the pennation angle.

I think the discussion in the following link could be interesting for you:
https://simtk.org/forums/viewtopic.php?f=91&t=4892

Best,
Ali

User avatar
Cosimo Aloisi
Posts: 11
Joined: Sun Feb 16, 2014 11:14 am

Re: Total fiber-force

Post by Cosimo Aloisi » Wed May 28, 2014 9:03 am

Hi Ali,
thanks a lot for your help!

I'm plotting the total fiber-force from the OpenSim Plotter, obtaining different results depending on what I select as X-Quantity.
Particularly, you can see the two plots obtained selecting as X-Quantity the CMC output "*_Kinematics_q.sto" and the CMC output "*_states.sto" file looking at the message attachments.
What do you think about?

Thanks very much!

Best regards,
Cosimo Aloisi
Attachments
states.jpg
kinematics.jpg

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Total fiber-force

Post by jimmy d » Wed May 28, 2014 10:16 am

Hi Cosimo,

Its a bit confusing but the way you are plotting these values are incorrect. The result of your actions is ploting the fibre-force of the model, NOT the force that the CMC analysis produced.

CMC outputs the actuator force, power and speed. You will be able to access those and plot as a function of time.

Hope that helps,
-james

User avatar
Cosimo Aloisi
Posts: 11
Joined: Sun Feb 16, 2014 11:14 am

Re: Total fiber-force

Post by Cosimo Aloisi » Thu May 29, 2014 3:01 am

Hi James,
thanks a lot for your precious help!

I know it's a bit confusing, now I try to explain better.
I need to plot the force of the quadriceps (is it the fibre-force of the model or the actuator force outputed from the CMC?)!
So I don't know if I must refer to the first graph (when I select the CMC output "*_states.sto" as X-Quantity) or to the second one (when I select the CMC output "*_Kinematics_q.sto" as X-Quantity).
You wrote to me of consider the second one, that I observe it's the same plot obtained selecting as X-Quantity the IK output "*_ik.mot" file.
In this case I don't need to execute the CMC tool to obtain the force of quadriceps!
Isn't it strange (I would get the force of quadriceps without consider the force input file "*_grf.mot", because the IK tool doesn't consider it)?

Sorry for the confusion and thanks very much again!!!

Best regards,
Cosimo Aloisi

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Total fiber-force

Post by jimmy d » Thu May 29, 2014 10:54 am

Cosimo,

Neither of the figures you posted are correct. Plotting fiber-force VS a loaded motion or states file will give you the results from your CMC simulation.

During the CMC analysis there will be files generated with the word 'Actuation' in them (ie subject01_walk1_Actuation_force.sto). This file contains the forces that the muscles in your model produced during the CMC simulation.

The CMC page that describes the output files from the Analysis http://simtk-confluence.stanford.edu:80 ... MC-Outputs

Cheers,
-james

User avatar
Cosimo Aloisi
Posts: 11
Joined: Sun Feb 16, 2014 11:14 am

Re: Total fiber-force

Post by Cosimo Aloisi » Fri May 30, 2014 1:44 am

Hi James,

By plotting the quad_fem force (that is a column of the CMC output file "*_Actuation_force.sto") as a function of time, I obtain the same figure got selecting the CMC output "*_states.sto" as X-Quantity (the first figure above).

I'm analyzing the movement of the squatjump and I don't know how read this figure because it's quite "noisy" (is it possible?), while maybe the second figure above (what does it represent precisely?) would be more reasonable. What do you think about?
Thanks very much!

Best regards,
Cosimo Aloisi

POST REPLY