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

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

est_cindyorj
Not applicable
1,328 Views
2 Replies
Message 1 of 3

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

est_cindyorj
Not applicable

[ FlexSim 23.1.0 ]

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!

0 Likes
Accepted solutions (1)
1,329 Views
2 Replies
Replies (2)
Message 2 of 3

FelixMoehlmann
Collaborator
Collaborator
Accepted solution

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

0 Likes
Message 3 of 3

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Cindy, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes