Batch Mode (Running Experiments)
The purpose of Experiments is to allow running a set of scenarios, one after another, each modifying some aspect of a "base" scenario. As an example, suppose you do not know the transmission rate for a disease. One can set up an experiment that varies the transmission rate through a range of values and the result for each run can be analyzed (via log files).
An experiment is a collection of modifiers with a link to a scenario. An experiment can run just like a scenario can run. When you run an experiment it creates a batch. A batch is an executable that spawns off (a sequence of) simulations. The experiment uses modifiers to make changes to the scenario and then run a simulation from each.
New View: Active Batches (Analogous to Active Simulations)
1) Create your scenario.
2) In the editor you can create modifiers for models, decorators (a disease model), or graphs. To create a modifier for a disease, for example, find your disease in the STEM Project Explorer. Select it, right click on your disease, and chose create a modifier as shown in Figure 1.
Figure 1a,b: Creating a new modifier for a particular disease in an existing scenario
This will launch a new dialog to help you create a modifier that can be added to an experiment (see Figure 2). In the new modifier dialog, for example, under Transmission rate select "range" (sequence not yet enabled) and specify the range as shown in Figure 2.
3) On top, select "Experiment Model" to launch the experiment wizard (Figure 2). Drag the scenario into the experiment. Drag any number of modifiers into the experiment.
Click on the experiment, right click, and run it.
Save your work at this point by hitting ctrl-s
You run an experiment the same way you run a scenario. In the STEM Project Explorer click on the experiment, right click, and select run.