AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Devdatta D avatar image
0 Likes"
Devdatta D asked Kavika F answered

Use global variables in experimenter

I am trying to use global variables as parameters for experiment but it seems like the value is not changing. File name is ExperimentUsingGlobalVariable.

FlexSim 22.1.1
global variablesexperiment
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

·
Kavika F avatar image
0 Likes"
Kavika F answered

Hey @Devdatta D, I don't think you can use Global Variables in an experimenter when they're being updated by a Parameter. However, a solution to your problem would be to skip the Global Variable entirely and just use the parameter!

1659733924383.png

In the Processor >> Process Time, you can choose a Global Variable. Since you've already got it set up for 5 options (1-5), it can use those in the experimenter and you'll get different results. Here's what I got when I ran it (above).

1659734002071.png


1659733924383.png (322.4 KiB)
1659734002071.png (39.1 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.