question

Gijs S avatar image
0 Likes"
Gijs S asked Braydn T answered

How to make a pull decision based on a dynamic time

Hi,

For my model I need logic to add to my processor which enables the processor to pick from multiple queues the most optimal item. The difficulty here is that the decision is partly based on a dynamic time.

Namely, the processor must pull the one item with the highest sum of a item-specific parameter (added as a label) and the time since the item has entered the queue. The dynamics in here is that the time increases (as the model run proceeds of course...)

Can someone help me in constructing this logic, thanks in advance!

FlexSim 19.2.3
pull strategydecision pointlogicexpression field
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

Braydn T avatar image
1 Like"
Braydn T answered

@Gijs S

Add an on entry trigger to all of the queues that the items will be in to push to one list. Then, your pull logic will be a pull from list, and you sill sort by time in queue and the priority of the label.

5 |100000

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