Segment Mass

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Edilson Borba
Posts: 31
Joined: Fri Oct 07, 2022 11:27 am

Segment Mass

Post by Edilson Borba » Tue Aug 22, 2023 6:18 am

Hello

I'm having a little trouble calculating the internal work based on the segmental acceleration of the center of mass extracted from OpenCap and processed in OpenSim.

So that I can perform the calculation I need the mass of each segment (foot, leg, thigh...) but when I searched for this on the site I can't find a full body model (just "Gait 2392 and 2354 Models"), with arm , forearm, hand and head.

If you can help me with this reference I would be grateful

Tags:

User avatar
Carmichael Ong
Posts: 401
Joined: Fri Feb 24, 2012 11:50 am

Re: Segment Mass

Post by Carmichael Ong » Thu Aug 24, 2023 4:09 pm

You can get the mass of each segment of the model in a few ways:
1. In the GUI, load the model, then select a single body. In the properties pane, fine the "mass" property and the associated value.
2. Open the model file in a text editor (like Notepad++). An OpenSim model file is an XML file. Find the associated <mass> tag with each body.
3. If using MATLAB, Python, C++, use `Body::getMass()` (documentation).

User avatar
Edilson Borba
Posts: 31
Joined: Fri Oct 07, 2022 11:27 am

Re: Segment Mass

Post by Edilson Borba » Sun Sep 03, 2023 8:07 am

Thank you, I was able to find it inside the model file

POST REPLY