question

sum2210 avatar image
0 Likes"
sum2210 asked Jacob W2 commented

Inter-arrival Source Issues

Hello,

I am trying to generate trucks based on the annual quantity of material flow (example 100 trucks/year for product A). I am using a uniform distribution seen below, and have the units in years, since that is the way the information was given. I am not getting the results that I expect when I run the model.

Also, how do I generate a report to see what is being produced and is there a way to see it across the year to ensure the values are being generated accurately?1701720076438.png

FlexSim 23.2.0
inter-arrival timereport
1701720076438.png (18.5 KiB)
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

Jacob W2 avatar image
0 Likes"
Jacob W2 answered Jacob W2 commented

Hi @Sum2210,

Currently what you are trying to do will result in one truck being created uniformly every 99-100 years. The way that the inter-arrival time works is by generating an item within the desired interval. If you were looking for 100 trucks a year, then I would break that down into days or weeks so that every 3.65 days a truck comes.

· 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.

sum2210 avatar image sum2210 commented ·

Okay, I see, thank you! Is there a way to generate a report, so that I can see the output of the source generation? Also, if there is a better way to do this, I am open to learning.

For your suggestion would I write that like uniform(3.5, 4, getstream(activity)) with the unit being days? Or would you be able to provide an example?

0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ sum2210 commented ·

If you are looking for a data sheet that shows when the item was created you can write the time to a global table. In the model that I am including there is a 3D source that create roughly 100 items a year. This is attached to a dashboard graph that shows items per day. Below that is a simple process flow that generates tokens at the same rate as the source, but it writes the time the token was created to a global table. You could have the source write to a table as well, if you add a trigger that does that. Either method works, it is just down to personal experience and preference.

arrival interval_JW.fsm

0 Likes 0 ·