question

Brett N avatar image
0 Likes"
Brett N asked Brett N commented

Stock picking without using process flow logic if possible

I am trying to model a basic distribution centre but can't figure out how to look up ProductType from an order list as part of my pull from a stock list.

I'm trying to stick to 3D objects and avoid using process flow logic since this is just a quick intro to modelling for my students - many of whom work part-time in distribution or restocking at night.

The model attached is as far as I've gotten - but the queue pulling from stock is just hardcoded to pull ProductType = 3 since I don't know how to replace that with something like "WHERE ProductType = OrderList.ProductType ORDER BY age ASC" Also not sure if I need to create this queue to make a "pick list" - any help would be appreciated!

Stock and Order List Processing.fsm

FlexSim 23.1.3
warehouseorderpicking
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 Brett N commented

The simplest solution that came to mind so far would be to have the PickList queue pull the items. Since that is the place where the information about the type is available through the item labels.

You can more or less directly copy the Pull Strategy code in its On Entry trigger. Then adjust the code to use the ProductType of the entering item in the query. And change the reference in the pullitem() and pushitem() from current to the target queue. In the example I use a centerport connection.

It is important to allow for duplicate pullers in the StockList, since the timing works out in the way that all pulls get initiated before any is completed when the items are created in the same instant.

capture1.png

This will ignore the Max Content setting on the target queue though.

The example model also contains a Process Flow anyway (since personally I am a big proponent for Process Flow and the logic might still be easier to understand that way for someone who hasn't done any coding before - if that's the case for your students).

stock-and-order-list-processing-fm.fsm


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

Brett N avatar image Brett N commented ·
Thank you Felix!!

I appreciate you providing a solution with and without using process flow logic. Sweet idea to use a trigger to execute a 2nd pull, so the pick queue can both access the order, and send the pull to the stock list.

I'm creating a short series of tutorials for my students on YouTube. Excited to be able to share your solution with my students who work midnights doing this very task!

0 Likes 0 ·