question

Daivesen avatar image
0 Likes"
Daivesen asked Joerg Vogel commented

How to create lifecycle for trucks generated by a source

Hi, I'm trying to create a "lifecycle" for trucks arriving from a source. I do not require that they last an exact amount of time, but that time has an exponential value so that it is not always the same. Once the time is up, they leave. I don't know if my explanation is clear. Thanks!!

FlexSim 24.2.2
unloadingtruckstruck life cyclkeunloading trucks
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

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel commented

It seems, you are looking for an interarrival time by a statistical distribution like exponential.

default-properties-source.jpg

Edit: Use multiple transports by dispatcher object. Transport task sequences are dispatched in round robin order. Vehicles return to their reset position once they have nothing to do anymore.

Transport_by_item_arrival.fsm


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

Daivesen avatar image Daivesen commented ·

Thank you! Could you help me with something? I have a source that sends trucks to 3 Separators, how can I have the trucks randomly arrive at one of the three ports? because they always go to port 1 and 2

and how can I rotate a truck sent from a Source please hehe

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Daivesen commented ·

@Daivesen, in attached model the vehicle are getting task sequences dispatched in round robin strategy.. You can choose in templates a different strategy like random or random if available. I think the function is called Pass To.

https://docs.flexsim.com/en/25.0/Reference/PropertiesPanels/TaskExecuterPanels/Dispatcher/Dispatcher.html

0 Likes 0 ·