Page 1 of 1

Lumbar Spine Model / Error

Posted: Thu Oct 17, 2013 1:05 pm
by corcolem
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.

Re: Lumbar Spine Model / Error

Posted: Fri Oct 18, 2013 10:59 am
by jimmy
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

Re: Lumbar Spine Model / Error

Posted: Mon Mar 07, 2016 9:10 pm
by stunnar
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

Re: Lumbar Spine Model / Error

Posted: Tue Mar 08, 2016 11:00 am
by jimmy
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.