question

Ludovica Pilleri avatar image
0 Likes"
Ludovica Pilleri asked Jason Lightfoot answered

GIS navigator, help in create a distribution order

hello, I'm working on a distribution model with only a factory where trucks get the items and travel to reach all the destinations to fullfill the orders. I'm using a simple process flow and i'd like to integrate a logic which defines the number of items each truck needs to pick and the destinations to travel to. What do you suggest?Map of orders.fsm

FlexSim 24.2.0
processs flowordersgis navigator
map-of-orders.fsm (4.3 MiB)
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
Again there are many examples on this site of how to have an array/list/table of items that you need to pick up - often the technique will involve using RunSubflow activities that create tokens for each task in the array/list/table, while setting token labels to indicate what needs to be done for each entry.

In your model you're pulling 1 destination, without the quantity to collect from the list, but if you pull many then you will have arrays of destinations you can then use with a runSubflow. This will then introduce the issue of defining a route that is reasonable/optimal. For that you will need some algorithm/solver since ordering the destinations by distance is unlikely to achieve the correct route.

5 |100000

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