question

Nicholas D avatar image
0 Likes"
Nicholas D asked tannerp commented

Can I use a single source to set interarrival times based on item type?

I am looking to use a single source in order to create multiple incoming item types with different interarrival times. I am having a problem doing this because I cannot reference the global table cells or item labels without first creating the entity. Is there any solution to the problem without creating multiple sources (I have 174 item types so creating a separate source for each of these would be a pain)?

global tablesourceitem typeinter-arrival 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.

1 Answer

Joshua S avatar image
0 Likes"
Joshua S answered tannerp commented

See if this model is what you are looking for, in process flow it creates a token for every row in your table and then executes the inter arrival time for the delay activity.

seperate-arrival-times.fsm


· 6
5 |100000

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

Nicholas D avatar image Nicholas D commented ·

This works great! Thank you!

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Nicholas D commented ·

Here's another similar example: one-source-multiple-interarrival-times.fsm

0 Likes 0 ·
mohammad A3 avatar image mohammad A3 commented ·

Can i do it with out global table?

im trying to solve Exercise 5-2 Even More Lucky Air Page 154...nut they did not mention any global tables in the solution?

0 Likes 0 ·
tannerp avatar image tannerp mohammad A3 commented ·

You can do this within the source, but it's a lot more tedious if you need to change something. Here's an example table where you can change arrival times, quantities, labels, etc.

0 Likes 0 ·
table-in-source.png (29.3 KiB)
mohammad A3 avatar image mohammad A3 tannerp commented ·

What if i want to use the D empirical function?

how can i do it?

@Tanner poulton

0 Likes 0 ·
Show more comments