question

Filippo C5 avatar image
1 Like"
Filippo C5 asked Clair A commented

How to set a travel duration that follows a probability distribution with GIS?

I am modeling some transport routes using GIS Navigator and I would need the trucks to take a variable time (according to a probability distribution) to complete the journey.

In the route settings I can only set the duration of the trip or the speed of the task executer .

1645006632815.png

FlexSim 22.0.0
transportgisgis navigatortravel durationjourney duration
1645006632815.png (21.7 KiB)
· 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.

Sara Bonansea avatar image
0 Likes"
Sara Bonansea answered Jason Lightfoot commented

Hi Filippo,

a possible solution can be to set the duration before the transport task starts. For example, in the model attached, I modify the duration value accessing the corresponding treenode using the on exit trigger on the source. model-test-gis.png

Otherwise, you can write a ProcessFlow for each mission where you increase the mission time using a delay calculated with a probability distribution.

Which is your opinion @Phil BoBo?


TestModel_GIS.fsm


model-test-gis.png (1.2 MiB)
testmodel-gis.fsm (152.1 KiB)
· 2
5 |100000

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

Phil BoBo avatar image
1 Like"
Phil BoBo answered Clair A commented

The route's duration is not stored per-traveler. If you dynamically change the duration of a route, then it will affect the other travelers that are already on that route. Their totaltraveldist statistics will not be calculated correctly, and they won't be positioned correctly as they travel along the route. Stopping or preempting a traveler mid-route will also not work properly.

Making a route's duration vary by traveler would require significant changes to how the GIS Navigator works.

Sara's suggestion of adding a delay at the end of the travel to account for the variability of durations is probably the best workaround right now. Set the route to the minimum duration of your distribution and then add a delay for the variable range of the distribution.

I'll add a case to the dev list to consider updating the GIS Navigator to be able to handle variable route durations per traveler for a future version.

· 2
5 |100000

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