Reproducible Simulation Experiments
for System Dynamics Models
One Experiment file scales from a single Run to every scenario, Sample and Dataset, collected into one Output.
- Reads XMILE models as .stmx and .itmx, translated for Python.
- Drives the Experimenter engine and Stella Architect.
- Runs on macOS 15 or later, on Apple silicon. Linux needs a source install. Windows is not available.
- Runs Optimizations, Calibrations and Sensitivity sampling on both engines.
Experimenter Engine
Translate XMILE models to Python and run Sensitivity Samples and Optimizations.
Reproducible
Create archives holding the model, Experiment, Dataset, and every input and output, ready to share and rerun.
Versionable
Experiments are plain-text files and are maintainable with standard version control systems.
Programmable
R or Python scripts added for data preparation before runs, or fit checks, plots, or a report after runs.
Parallel
Ensembles of simulations for sensitivities or optimizations run in parallel on multiple processors.
Agent Toolkit
Agents write, check, and execute Experiments without the interface through the CLI and tool schema.
Process
Write
Experiments are created in the interface or with the agent toolkit.
model: ../Model.stmx
engine: architect
runs:
baseline: {}
policy-low:
data:
- file: data/Input-Policy-Low.csv
policy-high:
data:
- file: data/Input-Policy-High.csvRun
Experiments are run from the interface or from the command line.
$ experimenter validate policy-comparison.expt
$ experimenter run policy-comparison.expt
Output
Data is collated in a single Output.csv wide or long: one row per run and
variable, one column for time, or per time step, ready for further processing.
sequence, dataset, level, group, run, variable, 2020, 2021, 2022, 2023, 2024
study, Base, 1, calibrate, fit, Employment, 9.81e+07, 9.89e+07, 9.97e+07, 1.00e+08, 1.01e+08
study, Base, 1, calibrate, fit, Output GDP, 1.42e+12, 1.46e+12, 1.50e+12, 1.55e+12, 1.59e+12
study, Base, 1, calibrate, fit, Investment, 3.08e+11, 3.18e+11, 3.29e+11, 3.40e+11, 3.52e+11
study, Base, 2, scenario, baseline, Employment, 9.81e+07, 9.89e+07, 9.97e+07, 1.00e+08, 1.01e+08
study, Base, 2, scenario, baseline, Output GDP, 1.42e+12, 1.46e+12, 1.51e+12, 1.55e+12, 1.60e+12
study, Base, 2, scenario, baseline, Investment, 3.08e+11, 3.19e+11, 3.30e+11, 3.41e+11, 3.53e+11
study, Base, 2, scenario, policy-low, Employment, 9.81e+07, 9.87e+07, 9.93e+07, 9.99e+07, 1.00e+08
study, Base, 2, scenario, policy-low, Output GDP, 1.42e+12, 1.45e+12, 1.48e+12, 1.52e+12, 1.55e+12
study, Base, 2, scenario, policy-low, Investment, 3.08e+11, 3.14e+11, 3.20e+11, 3.27e+11, 3.33e+11
study, Base, 2, scenario, policy-high, Employment, 9.81e+07, 9.92e+07, 1.00e+08, 1.01e+08, 1.02e+08
study, Base, 2, scenario, policy-high, Output GDP, 1.42e+12, 1.48e+12, 1.54e+12, 1.60e+12, 1.67e+12
study, Base, 2, scenario, policy-high, Investment, 3.08e+11, 3.25e+11, 3.43e+11, 3.62e+11, 3.82e+11Agent Toolkit
The agent toolkit refers to the experimenter command line tool and the
Experiment file format schema. An agent writes the Experiment, a plain-text
file, validates it, runs it, and reads the JSON results. Agents are able to
revise the experiment configuration until the Output meets the goal given to the
agent.
Simulation Engine Support
Experimenter supports managing two simulation engines: Stella from isee systems and the Experimenter engine. Both engines support runs, optimization, and sensitivity testing. Engines can be mixed within experiments and between runs as needed.