question

yanbing W avatar image
0 Likes"
yanbing W asked Joseph Gillespie commented

Simulate Queue Logic based on arrival lot properties

Problem:

2 sources-- each source represents a lot type (e.g. type A has urgency of 1, type B has urgency of 2). These 2 sources has different arrival rate, once they arrive at queue, there is an equation/logic to calculate their order in waiting line (e.g. priority=urgency*coef1+current wait time*coef2, and each arrival's rank in waiting line is ordered with decreasing priority--larger priority value means front of line)

It is a dynamic model, current wait time need to be considered in priority calculation, and change over time.

What procedure should I follow to do such ranking logic?

FlexSim 19.1.0
queue logic
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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You push the items to an item list. You have a dynamic expression field that calculates your value in this list. You pull the first item of the list BY ORDERED clause of this field name in a 3D object Pull function list option or by Process Flow pull from list activity.

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.