segment power analysis
- David Torres
- Posts: 17
- Joined: Wed Feb 11, 2015 6:38 am
segment power analysis
Hi everyone
i have been working on transtibial amputee gait and I was able to run some MOCO simulations getting some good results. I would want make a segment power analysis but I dont know how. I have tried using IAA tool, however, I got weird results.
Than you for any help!
David
i have been working on transtibial amputee gait and I was able to run some MOCO simulations getting some good results. I would want make a segment power analysis but I dont know how. I have tried using IAA tool, however, I got weird results.
Than you for any help!
David
- Nicholas Bianco
- Posts: 1003
- Joined: Thu Oct 04, 2012 8:09 pm
Re: segment power analysis
Hi David,
Could you be a little more specific? Do you want to know the power produced at each joint in the model, or something else?
The "analyze()" utility, which you can find in the Moco example, is a great way to compute information from a Model given a MocoSolution. I encourage you to try that approach first.
Best,
Nick
Could you be a little more specific? Do you want to know the power produced at each joint in the model, or something else?
The "analyze()" utility, which you can find in the Moco example, is a great way to compute information from a Model given a MocoSolution. I encourage you to try that approach first.
Best,
Nick
- David Torres
- Posts: 17
- Joined: Wed Feb 11, 2015 6:38 am
Re: segment power analysis
Hi Nicolas.
Sorry for not being clear. Particularly, I want to make a analysis just like picture below.
![Image](https://i.ibb.co/KsK1sTg/Segment-Powe-Analysis.png)
This picture was obtained from paper titled "Altering prosthetic foot stiffness influences foot and muscle function during below-knee amputee walking: A modeling and simulation analysis"
I would like to show muscles and foot prosthetic contribution on stance phase of gait.
i hope I made clear this time
Thanks for your attention
David
Sorry for not being clear. Particularly, I want to make a analysis just like picture below.
![Image](https://i.ibb.co/KsK1sTg/Segment-Powe-Analysis.png)
This picture was obtained from paper titled "Altering prosthetic foot stiffness influences foot and muscle function during below-knee amputee walking: A modeling and simulation analysis"
I would like to show muscles and foot prosthetic contribution on stance phase of gait.
i hope I made clear this time
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
Thanks for your attention
David
- Nicholas Bianco
- Posts: 1003
- Joined: Thu Oct 04, 2012 8:09 pm
Re: segment power analysis
Hi David,
I'm not sure how this paper performed this analysis, so I can't tell if the analyze() utility is sufficient, or if something like IAA is required. If you could provide more details on exactly what you're trying to do and where you're getting stuck with Moco tools, I can be more helpful.
-Nick
I'm not sure how this paper performed this analysis, so I can't tell if the analyze() utility is sufficient, or if something like IAA is required. If you could provide more details on exactly what you're trying to do and where you're getting stuck with Moco tools, I can be more helpful.
-Nick
- David Torres
- Posts: 17
- Joined: Wed Feb 11, 2015 6:38 am
Re: segment power analysis
Hi nick
Fey and Neptune (Altering prosthetic foot stiffness influences foot and muscle function during below-knee amputee walking: A modeling and simulation analysis) made something similar but using dynamic optimization to track experimental data. They used GRF descomposition and segment power analysis to show how muscles and foot contribute to propulsion of center of mass. I tried making similar analysis using IAA tool but it didn't work. I would like to know if there is another way to show muscles and foot contributions or how it should make aforementioned analyses using MOCO/Opensim tools
Thank you Nick for your patience.
Regards
David
Ok NIck. I will try to do my best effort. In my research I want to found how stiffness of foot prosthetic influence on ampute gait. I modified muscleskeletal model deleting part of limb and adding transtibial prosthesis. Aforementioned prosthesis has a multibody foot prosthetic model, whose objective is to depicte viscoelastic features of it. Finally, I set optimal control Problem using MOCO to know what happens if foot prosthetic is compliant or stiff.If you could provide more details on exactly what you're trying to do and where you're getting stuck with Moco tools, I can be more helpful.
Fey and Neptune (Altering prosthetic foot stiffness influences foot and muscle function during below-knee amputee walking: A modeling and simulation analysis) made something similar but using dynamic optimization to track experimental data. They used GRF descomposition and segment power analysis to show how muscles and foot contribute to propulsion of center of mass. I tried making similar analysis using IAA tool but it didn't work. I would like to know if there is another way to show muscles and foot contributions or how it should make aforementioned analyses using MOCO/Opensim tools
Thank you Nick for your patience.
Regards
David
- Nicholas Bianco
- Posts: 1003
- Joined: Thu Oct 04, 2012 8:09 pm
Re: segment power analysis
I'm not familiar with these methods. Let me know what you need to calculate from the simulation results and I can point you to the right Moco tools.They used GRF descomposition and segment power analysis to show how muscles and foot contribute to propulsion of center of mass.
Best,
Nick
- David Torres
- Posts: 17
- Joined: Wed Feb 11, 2015 6:38 am
Re: segment power analysis
Hi Nick
I was reviewing and it would be helpful how to get dynmics information such as centripetal and centrifugal forces, gravity forces, mass matrix from Moco solution. I could use this data for making my own analysis.
Thank you again for you patience
Regards
David
I was reviewing and it would be helpful how to get dynmics information such as centripetal and centrifugal forces, gravity forces, mass matrix from Moco solution. I could use this data for making my own analysis.
Thank you again for you patience
Regards
David
- Nicholas Bianco
- Posts: 1003
- Joined: Thu Oct 04, 2012 8:09 pm
Re: segment power analysis
Hi David,
After briefly review that paper, it seems like an induced acceleration analysis is really what you need for this. You could probably recreate what the IAA tool does for your segment power analyses, but that would require accessing the SimbodyMatterSubsystem from the model
and calculating the mass matrix (and whatever else you need) manually
Simbody doesn't form the mass matrix, and other common dynamics structures, until you explicitly ask for them since it is based on a Featherstone-like algorithm. You can get a states trajectory from an MocoTrajectory via exportToStatesTrajectory().
That said, I would recommend trying to sort out your issue with the IAA tool before trying to create your own method. Unless you are sure the IAA tool won't work for your study, it will very likely be faster to fix your issue with IAA than build a new tool. For help with IAA, please post your questions the main OpenSim forum.
Best,
Nick
After briefly review that paper, it seems like an induced acceleration analysis is really what you need for this. You could probably recreate what the IAA tool does for your segment power analyses, but that would require accessing the SimbodyMatterSubsystem from the model
Code: Select all
matter = model.getMatterSubsystem();
Code: Select all
matter.calcM(state, M);
That said, I would recommend trying to sort out your issue with the IAA tool before trying to create your own method. Unless you are sure the IAA tool won't work for your study, it will very likely be faster to fix your issue with IAA than build a new tool. For help with IAA, please post your questions the main OpenSim forum.
Best,
Nick
- Carlos Gonçalves
- Posts: 127
- Joined: Wed Jun 08, 2016 4:56 am
Re: segment power analysis
Hello Nick and David,
I'm also interested in using IAA with my result from OpenSim Moco.
From what I researched, the IAA will use External Loads and Kinematic Constraints in the foot to solve the problem. Wouldn't it work with the Contact Forces in the feet?
I already had the Analyze tool working with ForceReporter, Body Kinematics, Point Kinematics and Mucle Analyze just passing the control.sto and state.sto files. Should I emulate the IAA workflow creating my own "External Load" file from the contact forces?
Best regards.
I'm also interested in using IAA with my result from OpenSim Moco.
From what I researched, the IAA will use External Loads and Kinematic Constraints in the foot to solve the problem. Wouldn't it work with the Contact Forces in the feet?
I already had the Analyze tool working with ForceReporter, Body Kinematics, Point Kinematics and Mucle Analyze just passing the control.sto and state.sto files. Should I emulate the IAA workflow creating my own "External Load" file from the contact forces?
Best regards.
- Nicholas Bianco
- Posts: 1003
- Joined: Thu Oct 04, 2012 8:09 pm
Re: segment power analysis
Hi Carlos,
Best,
Nick
Yes, since IAA will require some sort of kinematic constraint at the foot, I'm not sure what is the best way to convert Moco simulation results to IAA. It would probably be best to review the workflow from previous IAA studies first (Sam Hamner's study is on SimTK), and then think about how to achieve that with a Moco solution.From what I researched, the IAA will use External Loads and Kinematic Constraints in the foot to solve the problem. Wouldn't it work with the Contact Forces in the feet?
Best,
Nick