question

K ST avatar image
2 Likes"
K ST asked Ben Wilson commented

Experimenter 2021: Varying number of Objects in Group

Compared to in FlexSim ver. 2020 where the number of objects in a group could be tested in the Experimenter by simply adding a variable and selecting 'Number of Objects in Group', how would I do this in ver. 2021 with the parameters table? Furthermore, there is only an On Set function of setting objects in a People group but not for other objects.

Thank you for your help in advance.

FlexSim 21.0.0
flexsim 21.0.0groupmodel parameters table
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @K ST, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button at the bottom their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered

You just create a new parameter of type Discrete and sample the Group in the Toolbox. Then select "Delete and Copy Group Members" as the On Set picklist option, and rename the parameter.

From there you can add that to the set of experiment parameters and type in the number you want for each scenario.

Example attached.

NumGroupMembersasModelParameter.fsm



5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.