question

Cenk ZR avatar image
0 Likes"
Cenk ZR asked Cenk ZR commented

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

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

FlexSim 19.0.8
sourceitem typeinter-arrival timedifferent item typesarrival times
exampleee.fsm (39.8 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.

Braydn T avatar image
0 Likes"
Braydn T answered Cenk ZR commented

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

· 1
5 |100000

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

Cenk ZR avatar image Cenk ZR commented ·

Thank you very much.

0 Likes 0 ·
Regan Blackett avatar image
0 Likes"
Regan Blackett answered Cenk ZR commented

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:

different-arrival-times-per-type.fsm


· 1
5 |100000

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

Cenk ZR avatar image Cenk ZR commented ·

Thank you very much.

0 Likes 0 ·

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.