Lumbar Spine Model / Error

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Corey Coleman
Posts: 1
Joined: Sun Sep 29, 2013 10:11 am

Lumbar Spine Model / Error

Post by Corey Coleman » Thu Oct 17, 2013 1:05 pm

Hello, I am new to opensim, and I am having an error trying to open the Lumbar_C_238.osim. I keep getting an error that states:

"ModelComponent::getStateVariableSystemIndex: ERR- name '1-L3_r.activation' not found.
for component 'QL_post_I.1-L3_r' of type Thelen2003Muscle"

I am not sure what to do to resolve this issue. Any help would be greatly appreciated.

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

Re: Lumbar Spine Model / Error

Post by jimmy d » Fri Oct 18, 2013 10:59 am

Hi Corey,

So this error is due to the way the muscle names are written in the files. OpenSim reads dots in a particular type of way. The outcome, in this case, is its cutting off everything before it and then looking for a muscle called "1-L3_r", which doesn't exist.

You will have to go through the model and change dots to underscores for all the muscle names. ie:
"QL_post_I.1-L3_r" becomes "QL_post_I_1-L3_r"

Let us know how it goes,
-james

User avatar
forest song
Posts: 2
Joined: Mon Feb 22, 2016 6:40 am

Re: Lumbar Spine Model / Error

Post by forest song » Mon Mar 07, 2016 9:10 pm

Hi Mr.Dunne

I have the same error trying to open the Lumbar_C_238.osim. After i change "QL_post_I.1-L3_r" with "QL_post_I_1-L3_r",another error states:

"ModelComponent::getStateVariableSystemIndex: ERR- name '2-L4_r.activation' not found.
for component 'QL_post_I.2-L4_r' of type Thelen2003Muscle"

Likewise, i change "QL_post_I.2-L4_rr" with "QL_post_I_2-L4_r".Then error goes to:

"ModelComponent::getStateVariableSystemIndex: ERR- name '3_r.activation' not found.
for component 'QL_mid_L3-12.3_r' of type Thelen2003Muscle"

It seems to have many wrong muscle names.

I expect you could show the full correct muscle names.Thanks

Forest

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

Re: Lumbar Spine Model / Error

Post by jimmy d » Tue Mar 08, 2016 11:00 am

You have to go through the model and change ALL the muscles that are affected by this problem. Not just one or two of them. I didn't design the model so I don't have the list of muscles.

POST REPLY