Build and run an Experiment
Build two Runs, save the Experiment, and read one Output.csv. Names are
examples.
To see a Run work first, follow the tutorial Run your first Experiment. This guide builds your own.
Before you start, have a model .stmx file. For a simulate Run, the Experimenter engine
engine needs no Stella. See Engine.
1. Open your model
- Start Experimenter. On the Run tab, click New Run.
- Set Model to your
.stmxfile.
Every job executes on a throwaway copy of this model. The original is not changed by a job.

2. Add the Runs
- In Order, click Add (callout 1), choose Add run, and double-click the new
row to rename it
baseline. Leave its files empty. A Run with no files runs the model as shipped. - Add a second Run the same way,
high-policy, for the scenario you compare.
The order in the pane is the execution order. Drag a Run to move it.
3. Give a Run its inputs
- Select
high-policy. - Click Add under File Configuration (callout 2) and enter
data/Input-Policy.csv. A file with a path replaces the model’s import of the same file name.
baseline keeps no files, so it uses the model’s own inputs. To capture only
some variables, set Output variables on the Output Settings tab.
Without it, Experimenter captures every variable. For the file rules, see
Imports & Exports.
4. Save
Press ⌘S. An untitled Experiment asks for a location. Saving writes one
.expt file that you can reopen later. See
The editor shell.
5. Run
- Select one Run, several Runs, or a group. With nothing selected, Run stays off and the status line says so.
- Click Run (callout 4).
Experimenter copies the model for each Run and streams progress to the Monitor. If Stella exits cleanly but writes nothing, Experimenter retries the job.

6. Open the result
When the Runs finish, click Open Output in the Monitor (callout 5). The file is a
wide table by default. It has one row per job and variable, and one column
per time step. Output layout in Settings switches to a long table. It opens in R or
a spreadsheet. It sits under Output/ in the model folder, beside the Batch
record, batch.json. See Outputs & Manifest for the columns.
See also
- Simulate one group, to run part of an Experiment alone
- Create datasets for sequencing, to run the same Runs on several input sets
- Run tab
- Outputs & Manifest