question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Maryam H2 action

Model Parameter Table

Hi everyone,

I would like to know if I can put an activity (for example, a decision activity) as a parameter and change the percentage of this activity send each token to in different scenarios? Or generally speaking can I have each point in the flow ( decision activity, process, delay, etc.) as a parameter and change their values in different scenarios?

FlexSim 21.1.1
flexsim 21.1.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.

1 Answer

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Maryam H2 commented

In a decision activity's "Send Token to" expression field you can read the parameter directly if you know that parameter will be in the model:

bernoulli(Model.parameters.percentLeft,1,2)

Another more complicated option is to have the parameter table onSet write the value to a label for use by objects. In process flow this isn't that simple since there's no label interface in quick properties.

You could also use a processFlow variable that changes based on a model parameter and just use that in the decision activity's bernoulli expression.

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.