Page 1 of 1

Mode Selection in Select Measures

Posted: Sun Jan 12, 2025 4:30 pm
by eric_hu32733
Hi Dr. Geijtenbeek,

I was wondering if you could explain how to use the mode feature in measures such as JointLoadMeasure. I want to minimize the peak of the joint loads but I see that the range for the average was taken to be used for measure calculations. I replaced the mode to be 1 since the default was given a 0 (thinking it was a boolean), but I was given this error:

" Could not convert "1" to enum scone::penalty_mode"

Is there a workaround for this or am I misunderstanding what the parameter means?

Thank you,
Eric

Re: Mode Selection in Select Measures

Posted: Mon Jan 13, 2025 1:59 am
by tgeijten
My apologies, the documentation was not up-to-date. You should use:

Code: Select all

mode = highest
I have fixed the documentation:

https://scone.software/doku.php?id=ref:range_penalty