question

Gil Cnaan avatar image
1 Like"
Gil Cnaan asked Gil Cnaan commented

How can I make sources provide multiple flow items at a time with a distribution?

I'm trying to create two different types of sources. For one source, every twenty minutes, it would create a uniform amount of flow items between 0 and 12. The other source would have an exponential distribution of arrivals, and each set of arrivals would have its own triangular distribution (i.e., it items would be produced exponentially with an interarrival time of 7 minutes, deviation of 2 minutes, and the distribution of items would be triangular from 1 to 6, with a mode of 2).

FlexSim 16.0.0
sourceschedule sourcemultiple flow items
· 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.

1 Answer

mark.a avatar image
4 Likes"
mark.a Suspended answered Gil Cnaan commented

I would use the source to create one flowitem based on your distributions for time and then on the creation trigger set a label called content to the number of items you want. If the number is 0 then the flow logic would send the flowitem to a sink. If 1 then it would send to the normal model flow that you want to do. If 1+ then send that flowitem to a separator to create the additional items.

· 3
5 |100000

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