Page 1 of 1

ReactionForceMeasure range issue

Posted: Sat May 30, 2020 3:53 pm
by konris87
Greetings,

When applying the ReactionForceMeasure and trying to define the valid force range, SCONE comes up with an "Invalid scenario settings" message. This happens only if i add the range parameter, e.g.

Code: Select all

			ReactionForceMeasure {
				range = {min = 1000 max = 2000}
				start_time = 0.2				
				minimize = true
			}
In the Messages window the following message is displayed:
Warning, unused properties:
CmaOptimizer
SimulationObjective
CompositeMeasure
ReactionForceMeasure
range
min = 1000 *
max = 2000 *

Re: ReactionForceMeasure range issue

Posted: Mon Jun 01, 2020 11:44 pm
by tgeijten
I realize this isn't clear from the documentation, but you should set min, max and penalty directly:

Code: Select all

ReactionForceMeasure {
	min = 1000
	max = 2000
	start_time = 0.2
	minimize = true
	absolute_penalty = 1
}
I will fix the documentation for the next release!