question

Talia Z avatar image
0 Likes"
Talia Z asked Talia Z commented

Route containers based on quantity of items inside

Hello! In my model I have a tote that is placed on a pallet; within the tote there are a number of spheres ranging from 0 to 5. I am hoping to route the pallet object containing the tote and spheres to one of the two queues based on the quantity of spheres inside the two containers. If there are 0 spheres inside, the object should be routed to Queue1 and if there are 1 or more spheres inside, the object should be routed to Queue2. I am unsure how to access this property using decision point logic and would appreciate any insights you may share!

I have created a test model to work through this issue - it is attached below.
Route_containers_based_on_quantity.fsm

FlexSim 20.0.9
conveyordecision pointsroutingflexsim 20.0.9container
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Talia Z commented

The expression to test on the decision point will be:

  1. item.first.subnodes.length>0

route-containers-based-on-quantity_jl.fsm


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