question

Alejandro L7 avatar image
0 Likes"
Alejandro L7 asked Alejandro L7 commented

How to make first object in an interarrival time in a source arrive later.

Similar to the option arrival at time 0, i need an option for arrival at time X. After the first arrival , the rest follow an exponential distribution.

FlexSim 19.0.6
time of arrival
5 |100000

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

tannerp avatar image
0 Likes"
tannerp answered Alejandro L7 commented

Hi @Alejandro L7,

Perhaps the easiest way to do this would be to create a system that opens and closes the output of the arrivals source. I've created an example that uses two Source -> Queue setups in the 3D. The first one has an On Reset trigger on the Source that closes the output of the source.

The source will not produce any items until the output is opened again. To open the output, I have a simple Process Flow that produces a token at 500 seconds and then opens the output using the Custom Code activity.

When you compare them side by side, you can see that the one is delayed to time X (500 in this case) before any items are produced. Hopefully this helps! There are other ways to achieve a similar behavior, so you can alter this solution to work for your needs.

open-close-output.fsm


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

Alejandro L7 avatar image Alejandro L7 commented ·

Thanks for the help!

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You can setup a timetable for the source. At model start the source is scheduled down. Later you bring the source into an active state. And the source releases the item by the interarrival time.

5 |100000

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