question

David Seo avatar image
0 Likes"
David Seo asked Matthew Gillespie answered

how to create recursively multiple item types with different inter arrival time

I want to get many items with different types and different inter-arrival time like table.

The unique ID Box should be created recursively with inter-arrival time.

I want to know the good idea how to make it.

Should I use multiple sources on each inter-arrival time?

If the box IDs are about 600, should I drag and drop 600 Sources?

Is there a Good idea?

FlexSim 17.0.2
sourceinter-arrival time
· 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.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

I'm a little confused what it is you are asking. Could you use a scheduled source Process Flow to create the items based on the timing and circumstances you need?

1 Like 1 ·
David Seo avatar image David Seo Sam Stubbs ♦ commented ·

Yes. I know how to create the items based on the timing and circumstances of flexsim.

What I want is not to schedule but to make the items be created recursively nine items every 864 sec and the next four items every 1152 sec and every 1440 two items etc...

All unique items are about 550 items not displayed in above table.

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

I would use process flow to create a token for every row in the table. You then put these tokens into a loop where they delay by their interarrival time in the table, create an object, and then loop back to the delay. So for the first row in the table you'll have a token looping every 864 seconds such that it creates an item every 864 seconds.

Here is the sample model I made to show this approach.


5 |100000

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

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.