question

Jason Botha avatar image
-1 Like"
Jason Botha asked Sam Stubbs commented

Create and add Operators to Groups in processflow

Hi there,

I am building a large manufacturing model where i have about 300 different people who have designated roles and area's where they can operate.

I want to have the number of operators as an input to the model and then Query the resource list to acquire the correct person based on the area and other criteria.

My question is how can i add operators to a group but using processflow and how the group be"updated/refreshed" so the resource activity (which is linked to a group) can pick up the newly added members. I think i am just missing a command that refreshes the group list.

create-and-add-operators-to-group-using-process-fl.fsm

I have added a model where i have tried to do this.

FlexSim 16.2.0
processflowgroups
· 4
5 |100000

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

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

Are you trying to do this when the model is reset? Or during the model run?

0 Likes 0 ·
Jason Botha avatar image Jason Botha Matthew Gillespie ♦♦ commented ·

I was trying to do it during the start of the model run.

0 Likes 0 ·
Kari Payton avatar image Kari Payton commented ·
@Sam Stubbs

@Matthew Gillespie Is this still not possible in 2017?

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ Kari Payton commented ·

No, Resources aren't meant to be dynamically changed. If you need something dynamic, I would try to push/pull the resources from a list instead.

0 Likes 0 ·

1 Answer

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered Jason Botha commented

As far as I am aware there is not a way to dynamically change the Resource count by increasing members to the group. However, instead of using a Resource, I would consider using a List to control your logic. A List CAN be dynamically updated and utilized, and also would make the querying functionality that your looking for much easier as well.

· 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.

Jason Botha avatar image Jason Botha commented ·

Thanks Sam,

I have already done this using the list and it works well. The reason i wanted to use a Resource activity is because i pull multiple tokens at once and you can't use an array as a list partition, which i use to sync the tokens before adding them back to the list.

I am now going to make use of a "wait for event" activity instead.

0 Likes 0 ·