question

Briankuo avatar image
0 Likes"
Briankuo asked Felix Möhlmann answered

How to use process flow while I have multiple destination?

Hi, I use a process flow to do the transportation. I'd like to know that if i have several destinations and I'd like to use Round Robin to output my item. What should i write in destination of "Travel" and station of "Unload". Thanks a lot!

FlexSim 22.0.16
processflowtraveltransportation
5 |100000

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

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Briankuo commented

You'll need some way to refer to the possible destinations. A good option would be to add the respective objects to a group.

You can then loop through the objects in the group based on (for example) the input statistic of the activity. "%" is the modulo operator. "X%Y" returns the rest of the division of X by Y.

Assign the destination to a label on the token which you'd then use in any subsequent activity to refer to the destination.

1689932999838.png


1689932999838.png (15.0 KiB)
5 |100000

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