How to set different interarrival times for different item types in source ?

How to set different interarrival times for different item types in source ?

cenk_zr
Not applicable
29 Views
4 Replies
Message 1 of 5

How to set different interarrival times for different item types in source ?

cenk_zr
Not applicable

[ FlexSim 19.0.8 ]

Hello,

I have a simple model with a source, single queue, single processor and a sink. The interarrival time distribution is set in the source (exponential). The created items are getting item types based on percentage values (50%-> Type=1, 50%-> Type=2). What I want to do but could not do it as follows: I want to use this single source object and make different interarrival time distributions for the two item types instead of using percentage values. (Let's say exponential (0,10) -> Type=1, exponential (0,20) -> Type=2). Is it possible to do this ?

If someone can help me with this problem, I would be appreciated. Thank you very much.

I am also attaching my flexsim file in case someone wants to check it.

exampleee.fsm

0 Likes
Accepted solutions (1)
30 Views
4 Replies
Replies (4)
Message 2 of 5

braydn_t
Not applicable
Accepted solution

@Cenk ZR

The easiest way to do this would be to have 2 different sources. I will see what else I can figure out, but I would have two if it were me, because it would make it much easier in the future to make changes.

0 Likes
Message 3 of 5

regan_blackett
Autodesk
Autodesk

Two Separate sources is probably the easiest way to go, but if you are willing to use process flow I think you can do what you are asking by having a Schedule Source activity creating a single token at the start of the model and randomly assigning the type, then executing different Delay times based on that type. create the flowitem into your Queue, and then send the token back to have it's type reassigned and so on. Like this:

25851-create-loop.png

different-arrival-times-per-type.fsm

0 Likes
Message 4 of 5

cenk_zr
Not applicable

Thank you very much.

0 Likes
Message 5 of 5

cenk_zr
Not applicable

Thank you very much.

0 Likes