question

Doris C avatar image
0 Likes"
Doris C asked Doris C commented

source - How to Use Arrival schedule

Hello.

I want to use Arrival schedule in the source, but I'm not sure.


What I want to do is that the first item is created in 80 seconds and then comes out every 60 seconds

(ex : 80s→140s→200s→260s→320s)

1675647540485.png

I always created additional arrivals and worked manually on the time myself.

When I create more than 100 arrivals, it takes too long to work. Is there a faster and easier way to work?

source-Arrival schedule.fsm

FlexSim 19.0.0
sourcearrival times
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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Doris C commented

With the schedule setting, you either have to define the entire table (which could be automated) but the amount of arrivals will always be finite that way. Or you repeat the table, but this would of course the first value of 80s will be reused at some point.

I would suggest to instead use a conditional inter-arrivaltime.

1675667025026.png

When the model starts, the 80s are used for the first arrival. Afterwards the model time is larger than 1 and the expression will evaluate to 1 (true) and the 60s value will be used.


1675667025026.png (16.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.

Doris C avatar image Doris C commented ·

Thanks to you, I solved the problem.


Thank you.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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