Inter Arrival Pattern

Inter Arrival Pattern

chao_gao1
Not applicable
1,033 Views
2 Replies
Message 1 of 3

Inter Arrival Pattern

chao_gao1
Not applicable

[ FlexSim 17.0.3 ]

interarrival-sample.txtI am trying to use flexsim to generate arrive patterns showed in the attached file, for every 10 minutes during a day, i am having a total quantity of units arrived during that time period, and within that 10 minutes, I just need uniform distribution, existing selection"Periodic rates" only has hourly period defined, is there an easy way to model this pattern? Thanks!

0 Likes
Accepted solutions (1)
1,034 Views
2 Replies
Replies (2)
Message 2 of 3

raja_sekaran
Not applicable
Accepted solution

Hi Chao ,

I built a simple model the way you wanted but using process flow and attached it here.

In source activity, I have assign a label value(ArrivalNo) for each row.

5842-arrivalno.png

Then assign a label Name (Interval) for each token.

5843-interval.png

Then get the value of Arrival quantity based on ArrivalNo.

5845-arrivaltable.png

In delay activity, delay time = Interval/Arrival quantity use this formula to hold the token certain length of time. Then you can create object based on token release.

I hope this will help you.

inter-arrival-pattern-1.fsm

Message 3 of 3

Ben_WilsonADSK
Community Manager
Community Manager

Please find attached a version that uses the 3D objects+triggers, rather than process flow. Not saying this is better or worse than process flow, just a different approach that may fit better into certain existing models.

In the attached model, the Global Table "arrival schedule" + the Queue + the Processor = a Source.

Global Table

I imported your data, but first used Excel to convert the times to military time (00:00:00-23:59:59) for ease in translation to whatever your model time units might be. Also broke the hours, minutes, seconds, into their own columns, again for ease of time conversions.

The Queue

Added a reset trigger that sends itself a message at the time of the first arrival. This is how we kick off the schedule. This assumes your model starts at time 00:00:00. If you have a different start time, modify accordingly.

The message trigger handles creating the flowitems and giving each one a unique arrival time across the desired interval. The logic included in this sample model hard-codes the uniform distribution, but you could modify to handle other distributions based on your arrival schedule. Finally, the message trigger ends by scheduling the next arrival event with a delayed message.

Model time is assumed to be seconds, so code will need modification for other time units. This is for example purposes only.

The Processor

This is how we spread the arrivals across the duration specified in the arrival schedule. The processor acts as a delay for each flowitem, allowing each to arrive in the model (out the processor) according to the desired distribution across the duration.

multiplearrivalspertablerow.fsm