SCONE error

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
Samane Amini
Posts: 101
Joined: Sun Jan 12, 2020 3:48 am

SCONE error

Post by Samane Amini » Mon May 23, 2022 4:08 am

Hello guys

I would like to open the WeaknessSOLMild.scone from the paper" Predicting gait adaptations due to ankle plantarflexor muscle weakness and contracture using physics-based musculoskeletal simulations" . But the this error is been made. Would you please guide me how to fix it?

OpenSimModel:
GaitStateController:
ReflexController:
Error parsing parameter 'S00011.glut_max.L0': mean is outside range
Captureww.PNG
Captureww.PNG (12.73 KiB) Viewed 455 times

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

Re: SCONE error

Post by Thomas Geijtenbeek » Mon May 23, 2022 6:45 am

Hi Samane, where did you obtain the .scone file from? I can have a look and see if I can fix it.

User avatar
Samane Amini
Posts: 101
Joined: Sun Jan 12, 2020 3:48 am

Re: SCONE error

Post by Samane Amini » Mon May 23, 2022 7:02 am

Hey Thomas

Thank you for your replying

I have obtained it from the following link:

https://simtk.org/frs/?group_id=1631

Best

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

Re: SCONE error

Post by Carmichael Ong » Mon May 23, 2022 10:30 am

The issue came up because of some of the default values in the file 'scone-setup-files/import/GaitController.scone'.

Code: Select all

						
Reflex {
	type = MuscleReflex
	target = glut_max
	delay = 0.005
	KL {
		init_mean = 0.5
		init_std = 0.2
		min = 0.0
		max = 10.0
	}
	L0 {
		init_mean = 1.2
		init_std = 0.1
		min = 0.5
		max = 1.1
	}
	KV {
		init_mean = 0.2
		init_std = 0.2
		min = 0.0
		max = 10.0
	}
For L0, the 'init_mean' parameter is out of bounds of the 'min' and 'max' values. Updating that parameter to be valid will likely fix the issue.

Note that these files aren't tested on newer versions of SCONE. My guess is that there was a change to when the mean value is checked against the min and max values. The .par file that is used as the 'init_file' has a L0 value for glut_max that is within bounds. So, there may be other instances of this issue that will have to be fixed to use these files with a newer version of SCONE.

User avatar
Samane Amini
Posts: 101
Joined: Sun Jan 12, 2020 3:48 am

Re: SCONE error

Post by Samane Amini » Tue May 24, 2022 3:02 am

Hey Carmichael

Thank you for your replying.

Do you think which SCONE version will work on it?

Best

User avatar
Samane Amini
Posts: 101
Joined: Sun Jan 12, 2020 3:48 am

Re: SCONE error

Post by Samane Amini » Tue May 24, 2022 3:22 am

Hi again

I have installed scone version 1.0. it works. However, giving a scenario has made an error:

Would you please how to correct it?

Capturesss.PNG
Capturesss.PNG (16.55 KiB) Viewed 395 times

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

Re: SCONE error

Post by Thomas Geijtenbeek » Tue Jun 21, 2022 7:26 am

Please note that this issue has been resolved. You can download the updated files form the project page.

POST REPLY