question

Thomas JR avatar image
0 Likes"
Thomas JR asked Thomas JR commented

Backorders not sorted properly

I've created a small model to test if the backorder queue strategies in my main model work as expected. Basically I have three sources, each spawning a single token. Each token request the exact same 3D-object (a bed). The first token (Source 1) pulls the object. Then two more tokens arrive that request the same object, thus two backorders are created. Source 2 arrives 1 second before Source 3.

I have created the backorder queue strategy for "Beds" as "ORDER BY Arrivalday DESC". The tokens of sources 1, 2 and 3 have arrivalday 1, 2 and 3 respectively.

I expected the token of Source 3 to pull the object after it has been pushed back to the list, but instead it is pulled by the token of Source 2.

Backorder_queue_strategy_issue.fsm

FlexSim 20.2.3
flexsim 20.2.3global listbackorder queue strategy
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

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Thomas JR commented

You should read the documentation on the Back Order Queue Strategy field.

You need to either add a Puller. in front of Arrivalday

ORDER BY Puller.Arrivalday DESC

OR add a field on the list with the expression set to Puller.Arrivalday.

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

Thomas JR avatar image Thomas JR commented ·

@Matthew Gillespie

Thanks. My bad, I actually already read the documentation but it completely slipped off my mind when working out the test-model.

0 Likes 0 ·

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.