question

Mason W avatar image
0 Likes"
Mason W asked Mason W commented

Batch Pick Process Flow Question

batchsample.fsmHi all,

I'm trying to replicate a batch picking process and am having some trouble on how to do this in Process Flow. In the attached model, I've successfully created orders and added them to a list based off OrderNo and SKU. The next step is to consolidate all of these orders every hour by "Zone" and "SKU". This is where I'm having issues, I need to sum all the orders by these labels each hour. I can't figure out how to consolidate at this point at each hour. Below is a process flow overview.

1. List of Orders by OrderNo & SKU (Completed)

2. Consolidate Orders by Zone & SKU (example: two orders with Order1 having SKU's 1 & 3 and Order2 having SKU's 1, 2, & 3. I need to sum the quantity of SKU's at the end of each hour by Zone and place them on a list to later be picked.)

Hope this makes sense. Thanks!

-Mason

FlexSim 18.0.7
picking
batchsample.fsm (25.9 KiB)
· 7
5 |100000

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

Mason W avatar image Mason W commented ·

I've made a couple edits to the model in the "Zone Lists" area that should make more sense. Basically, I don't know how to create a request number in the pull list activity that is dynamic depending on the number of entries in the ItemList that have the same SKU number as the token trying to pull the entries.

Hopefully this helps add some clarity.

batchsample-1.fsm

0 Likes 0 ·
batchsample-1.fsm (25.6 KiB)
Joshua S avatar image Joshua S Mason W commented ·

Your new model is throwing up exceptions, remove the finish from your subflow block to allow it to run without exceptions, it's destroying you tokens when it hits Finish after being pulled, so there is nothing to reference when you go to your "Push to Zone". You can set the request number to a very high number while leaving the required number to 1 in your pull from list. Since you are using a query, it will pull only the tokens that match your request. How would you like your sums of SKUs to be displayed. would you like a token to have that count on a label?

0 Likes 0 ·
Mason W avatar image Mason W Joshua S commented ·

@Joshua S

Yes, sums of SKU's. So that each time a token pulls all the entries from the ItemList it creates a label on that token for the sum of SKU's. Then that token entry gets pushed to the ZoneList having one entry that records sum of SKU's.

Hope that makes sense.

0 Likes 0 ·
Show more comments
Show more comments

1 Answer

·
Joshua S avatar image
0 Likes"
Joshua S answered Mason W commented

batch-sample.fsm

Ok, I understand the process more now. I've changed the model so that the list updates anytime an order comes through. I thought it was supposed to read the orders individually coming in.


batch-sample.fsm (28.1 KiB)
· 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.

Mason W avatar image Mason W commented ·

@Joshua S

I feel like it's so close, but still not quite there. So notice on the first token that comes in the sub flow within Order Creation is SKU 4 with Qty 2, but when the token pushes the label Qty in the ZoneList is is shown as Qty 1 not 2. So seems like it's pushing the count of tokens that have a certain SKU rather than sum the Qty of that SKU in the token. Because one token can have a Qty label greater than 1.

I wish I knew how to troubleshoot this without relying so heavily on you. I apologize.

0 Likes 0 ·
Mason W avatar image Mason W commented ·

@Joshua S

I think I found a workaround using the logic you had. I just created an additional sub flow that is based off the Qty of SKU's. That way your logic will always add the correct amount to the ZoneList because each token will only have a Qty of 1.

Thanks!

The only question I have at this point is is there any way I could destroy tokens after a certain point when they are no longer needed? I can see this slowing down my model where the sub flows store all the tokens when I implement the full model with thousands of orders.

14403-batch-sample-1.fsm

0 Likes 0 ·
Joshua S avatar image Joshua S Mason W commented ·

Glad you were able to figure it out, just put a sink activity at the end of each of the block of activities that aren't looping and they will be destroyed.

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.