question

Mike avatar image
0 Likes"
Mike asked Mike commented

Operator selection

Hello,

In the model attached, I would like to make it in a way that only one operator work for a work station and I would like to select operator who are nearest to the work station and are available. I would like to use group in step of dispatcher. Could you please script for this selection? I would like to refer the script for my actual project model. Thanks.

Operator selection.fsm

FlexSim 23.1.3
opeator selection
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 Mike commented

To have only one operator work per station at a time, you can use a zone in Process Flow. Partition it by the 'sendingObject' label and set a partition constraint, that each partition can only contain a single token.

To use the closest operator, you can add the 'distance' field to the internal list of the resource (from the Task Executer menu option). Edit the code slightly, so that the puller variable doesn't refer to the token but the 'sendingObject'. Then order by that expression in the Acquire activity.

operator-selection-fm.fsm


· 3
5 |100000

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

Mike avatar image Mike commented ·
Thanks, Felix.

Where is the list located? I couldn't find the list on process flow page.

Regards,


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Mike commented ·

When a Resource activity is connected to actual objects (rathen than being numeric), the Advanced button becomes active and opens the properties of the list that gets created internally (generally, no other part of the model has access to this list).

1690360338755.png

1 Like 1 ·
1690360338755.png (15.6 KiB)
Mike avatar image Mike Felix Möhlmann commented ·
Thanks
0 Likes 0 ·