question

Talitha V avatar image
0 Likes"
Talitha V asked Benjamin W2 commented

How do I stop items from arriving after a specific time?

My simulation runs from 8AM to 3PM and the source works with a inter-arrival time according to a poisson distribution. I need the items to stop arriving after 12PM but I don't know how to do that. Can someone please help?

FlexSim 20.0.2
flexsim 20.0.2
· 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.

Benjamin W2 avatar image Benjamin W2 commented ·

Hi @Talitha V, was tanner.p's answer helpful? If so, please click the red "Accept" button on their answer!

0 Likes 0 ·

1 Answer

tannerp avatar image
0 Likes"
tannerp answered

@Talitha V,

Is your simulation running for one day only? Or is it repeated daily?

If it runs for one day only, you can use the Inter-Arrival Time on the source, but in the Flow tab, set up the Source to send items directly to a sink after 12 PM. I've set up an example that does this. The port is conditional on the model time as shown in the image below.

If it's repeated daily, you might try using a Date Time Source. This will allow you to repeat a daily schedule. Then you can use delays to simulate the Poisson distribution.

Hopefully this helps. Here's the example model:

poisson set time interval.fsm


5 |100000

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