question

juani avatar image
0 Likes"
juani asked juani commented

Can i use Decision Points to separate orders?

I have more than 100 orders IDs. Each one has a specific quantity of boxes.
I want to separate the boxes on the conveyors by order, so each operator can batch a different order of boxes simultaneously.
The problem is that i can't load 100 order cases at decision point activity. Is there a way to do it by global table? How? Or there is another easier way to do it?
I don't mind which conveyor each order (group of boxes) goes through
model1(PZ).jpg

FlexSim 22.2.0
conveyorbatchingdecision point
model1pz.jpg (177.9 KiB)
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

Paula LG avatar image
1 Like"
Paula LG answered juani commented

Hi Juani,

I have developed a small model that works as you asked, using a Global Table and a very simple Process Flow logic. I attach it here: 22.2 ConveyorsbyID.fsm

You may have to change some things to adapt it to your own model, but that's a general way to do it. Let me know if you have any further questions about it.

I hope it helps!


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

juani avatar image juani commented ·

Thanks a lot, Paula! You have helped me a lot with that.

I only want to ask you something about the "Batch". I understand you are using "token.item.ID", to access to the gobal table's row with the token label "ID".1702325665486.png
In my global table, the IDs are not ordered sequentially. That mean, i can have first "ID 72", then "ID 3", "ID 40", etc. Therefore, batch quantity number doesn't match with the correct quantity.
I will try to explain it better with an example:
First order: ID 72 (Quantity 15).
Then, Batch Quantity looks for the quantity in Row 72; Column 2 in Global Table. But the correct quantity is in Row 1; Column 2 (corresponds to the First Order).


I was thinking on transfer boxes label "OrderNumber" (a label i have assigned in my model to each token based on their respective order, which is ordered sequentially), and change the Row to token.item.OrderNumber. But i have no idea how to do it using the same event-trigger source.

0 Likes 0 ·
1702325665486.png (25.4 KiB)
Paula LG avatar image Paula LG juani commented ·

Hi Juani,

You can get that label on the source itself using a "On Creation" trigger this way:

1702381042863.png

Then, as you suggested, you change the row on the batch activity to token.item.OrderNumber.

I attach the model with these new changes here: 22.2 ConveyorsbyID.fsm


1 Like 1 ·
juani avatar image juani Paula LG commented ·

Thank you so much! That example was really helpful.

0 Likes 0 ·