Setting up parameters from the experiment page
Why Stack Overflow recommends it
Stack Overflow users link it when answering AnyLogic questions about passing values from simulation-experiment controls into model parameters at startup.
Recommended by 3 people across 3 different months, 2017 to 2019.
What it is
A short official AnyLogic tutorial showing how to place interactive controls such as edit boxes and radio buttons on an experiment's page and wire them to model parameters before a run starts. It is presented by the AnyLogic team as part of their how-to video series.
What people said
Recommends Earl Zedd · 2017-07 · Stack Overflow · on “Anylogic: Accessing variables from simulation menu”
As shown in the screenshot below, select your Simulation pane and, in Properties, set the target Parameter in Main (in this case scenarioSLR) to Control .getValue() (in this case simulationSLRlevel, the name I gave to the radio button control shown). [LINK] Alternatively, AnyLogic recommends using an intermediate variable, as described in this 3-minute YouTube video. [this video]
Recommends Felipe · 2018-06 · Stack Overflow · on “How can i vary a parameter in function of another parameter in Anylogic?”
I will give you the link to the AnyLogic tutorial to set up parameters in the experiment page, which seems to be what you want: [this video]
Recommends Florian · 2019-12 · Stack Overflow · on “Anylogic: can you type a probability distribution into an edit box?”
In your simulation experiment, you add *variableA*. Put the code either in a button that the user can click to evaluate his expression in the textbox, or just add it in under *Java Actions*/*Before each experiment run* code box, so that it automatically gets executed at model start up. To learn how to pass a value from variable in the simulation experiment to the model parameters at startup, have a look at this video [this video] .