Missing Joint Powers and Moments

SCONE is a software tool for predictive simulations of biomechanical movement. It uses OpenSim for modeling and simulation, and performs optimization using various control strategies, including feed-forward control, proprioceptic feedback control, and bal
POST REPLY
User avatar
Ben Perrin
Posts: 5
Joined: Wed Oct 04, 2023 7:05 am

Missing Joint Powers and Moments

Post by Ben Perrin » Thu Nov 07, 2024 8:53 am

Hello,

I am currently running planar jumping simulations with a fairly simple model. I am hoping to look at joint powers, however I've found that only the most proximal (hip) and distal (MTP joint) joints have any information. The rest of the joints are simply flat-lined at zero for the entirety of the jump despite the fact that kinematics are about as expected. Could you provide some insight into how these values are calculated and how the relate to joint accelerations (as they don't appear to match in this case)? Are there any possible fixes that you can think of for this?

Thank you so much for all of your help, I really appreciate it!

User avatar
Thomas Geijtenbeek
Posts: 457
Joined: Wed Mar 12, 2014 8:08 am

Re: Missing Joint Powers and Moments

Post by Thomas Geijtenbeek » Thu Nov 07, 2024 9:07 am

Are you using an OpenSim model or a Hyfydy model?

User avatar
Ben Perrin
Posts: 5
Joined: Wed Oct 04, 2023 7:05 am

Re: Missing Joint Powers and Moments

Post by Ben Perrin » Thu Nov 07, 2024 9:40 am

I'm using an OpenSim4 model.

User avatar
Thomas Geijtenbeek
Posts: 457
Joined: Wed Mar 12, 2014 8:08 am

Re: Missing Joint Powers and Moments

Post by Thomas Geijtenbeek » Mon Nov 11, 2024 2:50 am

I looked into it, but I'm using the standard OpenSim API to compute the moment, moment arm and dof velocity. Is the moment, moment_arm or dof velocity also zero in your data?

User avatar
Ben Perrin
Posts: 5
Joined: Wed Oct 04, 2023 7:05 am

Re: Missing Joint Powers and Moments

Post by Ben Perrin » Mon Nov 11, 2024 12:46 pm

Moments for every joint besides the hip and MTP joint are zero.

There are not many relevant moment arms in the output, as nearly all are listed for joints that the muscle does not cross (e.g., hamstring moment arm about the ankle). This felt strange, however I can't tell if it's the source of the issue or an effect of it.

The dof velocities however, are non-zero and look about how I would expect them to. I would be happy to share any of the outputs/code if that would help.

User avatar
Thomas Geijtenbeek
Posts: 457
Joined: Wed Mar 12, 2014 8:08 am

Re: Missing Joint Powers and Moments

Post by Thomas Geijtenbeek » Tue Nov 12, 2024 3:56 am

It seems like an issue with OpenSim, since I'm directly calling their API to compute the muscle moment arm:

https://github.com/tgeijten/scone-core/ ... 4.cpp#L166

This is beyond my reach, unfortunately. For in-dept support with regards to the simulation engine, please consider using Hyfydy:

https://scone.software/doku.php?id=hyfydy

User avatar
Ben Perrin
Posts: 5
Joined: Wed Oct 04, 2023 7:05 am

Re: Missing Joint Powers and Moments

Post by Ben Perrin » Tue Nov 12, 2024 9:08 am

I will look into that, thank you for you help!

POST REPLY