question

ASMonty avatar image
0 Likes"
ASMonty asked ASMonty commented

changing arrival times based on product type

I have 3 product types coming off the previous line (which for this simulation is just a source). Each product type will have it's own distribution for arrival time. The line before it can only make one product at a time and I want to set up the percentage of each of the 3 product types in a global table or empirical distribution. I can't come up with how to change the arrival time in the source based on the percentage of each product. Any suggestions would be appreciated.

FlexSim 23.0.2
inter-arrival time
· 5
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
Use three sources and decide then if a created item is valid to enter your model. Otherwise send this item to a sink.
0 Likes 0 ·
ASMonty avatar image ASMonty Joerg Vogel commented ·

I thought about that, but if I use 3 sources how would I get the arrival time of each to not start until the previous source is done.

For example:

Product 1 takes about 30 sec to make and accounts for 50% of production

product 2 takes about 2 min to make and accounts for 30% of production

product 3 takes about 5 min to make and accounts for 20% of production

If I use 3 sources, all 3 timers will be running all the time. I need to line up the start of the next product timer with the end of the previously created item. Maybe use 3 event based sources somehow?

0 Likes 0 ·
Julie Weller avatar image Julie Weller ASMonty commented ·

Would choosing by percentage and then setting the statistical distribution (like the picture below) not work for your model?

1689962172287.png

0 Likes 0 ·
1689962172287.png (107.2 KiB)
Show more comments

1 Answer

·
Julie Weller avatar image
1 Like"
Julie Weller answered ASMonty commented

Maybe you could create one token, that feeds to a decide that splits into 3 options by percent, and then use a delay to simulate the processing time. That seems like it would be the best of both worlds

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

ASMonty avatar image ASMonty commented ·

That sounds like it would work! I will give that a try, thank you.

1 Like 1 ·
Julie Weller avatar image Julie Weller commented ·

Like this:

1689963596558.png

0 Likes 0 ·
1689963596558.png (36.2 KiB)

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.