question

Dustin B avatar image
0 Likes"
Dustin B asked Dustin B commented

Change Empirical Distribution via Parameter Option for PF Create Object

Piggy backing off Q&A: https://answers.flexsim.com/questions/95419/how-to-change-the-empirical-distribution-in-experi.html
Per @Logan Gold request


I am trying to do something similar, instead of changing a source I am changing Create Object quantity in process flow.

I managed to get the first part right (I think) which is setting each option to their respective distributions. However I don't know how to set up the Process Flow Create Object task to reference the Option Parameter correctly.

Option Parameter with the 3 options for the 3 Emp Dist's:


Create Object referencing the Optioned Parameter, but not sure how to assign the arguments?


Thanks

FlexSim 22.1.2
process flowcreate objectoptional parameter
· 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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Dustin B commented

In your model parameter it's set up to pass the first parameter into the getstream() command to get a unique stream number for the object calling the distribution.

1654555606268.png

So you just need to pass "activity" in as the first parameter when you use that model parameter.

1654555638608.png

220606-emp-object-creation_1.fsm


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