question

Cindy avatar image
0 Likes"
Cindy asked Felix Möhlmann answered

How to set different distributions for a source in process flow as a parameter

Hi, I was looking at the question posted in 2020 by Ismael R3 https://answers.flexsim.com/questions/95419/how-to-change-the-empirical-distribution-in-experi.html in this link, and i was trying to do something similar, but i dont have empirical distributions, instead i have some different values for an exponential distribution, and im configuring an inter-arrival source in processflow.

I did the things explained there just setting the parameter as different distributions but i need to use them as a parameter to change in a source in processflow.

The thing is that when i tried to run the experimenter with that the program just stopped working, so i dont know if it is different in process flow or if i did something wrong.

According to that answer the parameter should be like this:

1713381799520.png

And in the source i shoul put the parameter as the inter-arrival source like this:

1713381837070.png

What is supposed to be in those boxes?
I tried with the code of the answer but then when i try tu run the experimenter everything just stops working.

I´m i doing something wrong?, or does it not work with processflow?

Thank you for your help!

FlexSim 23.1.0
processflowparametersexponential distribution
1713381799520.png (29.1 KiB)
1713381837070.png (17.2 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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

Option 1:

Put the expression into the option table and pass in the random number stream as a parameter.

capture1.png

capture2.png

The same could be done with an "Expression" type parameter. Instead of having a set of pre-defined options, you would enter the distributions in the Experimenter scenario table.

Option 2:

Use separate parameters for the distribution parameters.

capture3.png

capture4.png


capture1.png (13.0 KiB)
capture2.png (8.5 KiB)
capture3.png (1.1 KiB)
capture4.png (9.0 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.

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.