Skip to content

Capabilities

Experiments are constructed from three run types, combined in sequences with scripts, and run across datasets with either Simulation Engine manually or with Agents.

Simulation Engines

One Experiment runs on either engine, while a Sequence run can be set individually. One Sequence can calibrate on Stella and run sensitivity or policies on the Experimenter engine. Stella runs one model instance at a time. The Experimenter engine runs independent Runs, Sensitivity samples, and Dataset lanes side by side.

Stella Support

RequiresA license for Stella Architect.
ModelRuns the .stmx as the edition opens it, its own data imports included.
FunctionsAll 138 builtins.
StructureMacros, modules and arrays of every shape.
Integration MethodEuler, RK2, RK4 or Cycle Time.
OptimizationPowell (BOBYQA)2 , Grid, Discrete or Differential Evolution3 .
CalibrationSquared or absolute error over the full span, the final value, one time or a subset.
SensitivitySobol5 , Latin hypercube6 , multivariate, sequential or grid, over twelve distributions.
PlatformmacOS 15 or later, on Apple silicon. Linux needs a source install. Windows is not available.

Python Support

RequiresIncluded in Experimenter.
ModelTranslates the .stmx or .xmile to Python. Enabled imports are translated parameters.
Functions109 of 138 builtins (79%): 92 match Stella’s numbers, 17 random builtins match in distribution. The other 29 refuse by name.7
StructureMacros inlined, modules flattened, arrays of every shape.7
Integration MethodEuler.
OptimizationPowell (1964 method)4 or Differential Evolution3 .
CalibrationSquared or absolute error over the full span, the final value, one time or a subset.
SensitivityLatin hypercube6 , multivariate or grid, over uniform, normal, incremental or ad hoc distributions.
PlatformmacOS 15 or later, on Apple silicon. Linux needs a source install. Windows is not available.

Run Types

Each run type is one section of the Experiment, executed by the engine the Experiment names.

Run

Each Run sets its own input files, Start Time, Stop Time, and DT. Every Run executes on a copy of the model folder, so the model file never changes. A Run that names another in depends_on waits for it.

Input files map onto the model’s import blocks. A Run places a CSV file over a block, edits its cells, or switches the block on or off. Every Run, Sample, and Dataset lands in one Output.csv. A sequence, dataset, level, group, run, or sample column appears only when a row has a value for it.

A Group names a subset of Runs and runs them as one scope with its own output folder.

Model FolderCopyRun 1Run 2Run 3StartStopStartStopStartStopFiles AFiles BFiles AOutput
One Model, Three Runs. Imports and exports can be specified per Run for configuring scenario simulations.

Optimization

The Experiment configures the optimization settings and both Outcome and Calibration optimizations are supported for Stella or the Experimenter engine. Experimenter reports convergence, the payoff, and parameter results.

Additional to Stella functionality, Calibration runs can be chained together to incrementally run calibrations. A chained Calibration Group supports partial model testing8,9 . Each Run fits one piece of the model, and the next starts from the parameters the one before fitted.

CalibrationGroupParametersParametersPartial 1Partial 2Partial 3Historical Data
OutcomeRunsParametersGoalRun 1Run 2Run 3MinMaxMinMaxMinMaxMaximizeMinimizeMaximize
Calibration and Outcome Optimization. Partials fitted in stages inside a Group, or separate Runs within bounds.

Sensitivity

The Experiment sets the routine, the parameters, each one’s distribution and bounds, the Sample count, and the seed. Stella draws and runs every Sample on its own engine. A subset of algorithms and sampling techniques are supported on the Experimenter engine. Random draws on the two engines match in distribution, not draw for draw. Results are returned in the collated table with a sample column. Scripts can process the table for percentile bands, rank correlations, and plotting.

LowHighVariable XParameter AParameter BMaxMaxMin
Sensitivity Space. Samples of Parameters A and B and the Variable X each one produces.

Sequence

A Sequence executes Groups, Runs, and Scripts in order. A member can start from the Template folder, or from the folder the previous member left, by raising its level. Each Level starts from a copy of the folder the level before left, fitted values included, so a Calibration feeds the Runs that use its fit, and an Optimization provides inputs for a new policy Run.

Level 0Level 1CalibrateGroupCopyfitted valuesScenario ARun, StellaScenario BRun, Python EngineReportR Script
The Outline. A deeper member starts from a copy of the member enclosing it.

Datasets

Each data context, be it: country, province, scenario, or others, gets its own folder of input files. The dataset becomes an axis across the sequence, so the whole sequence order runs once per Dataset, each in its own scope. The results include every simulation run by including a dataset column. A Dataset changes data only, and only exact matches to the template are replaced, all other model settings remain the same as in the runs configured. Using the Experimenter engine, these runs are done in parallel.

Datasets12345Base1. Prepare DataPython Script2. CalibrateCalibration Group3. ScenariosBaseline, Policy Runs4. ReportR Script
The Dataset Axis. The order runs once per Dataset.

Scripts

A Script runs before or after a model Run, to prepare data or analyze results. It reads the results through EXPERIMENTER_* environment variables.

Source Dataprep.pyInput FilesRunOutput.csvfit.RPlots and Tables
Scripts. Data in before a Run, plots and tables out after it.

Agent Toolkit

The agent toolkit is the experimenter command line, including its MCP server, and the Experiment file format schema. An agent writes the Experiment, a plain-text file, and the commands validate, inspect, run, and results return JSON it reads without the interface.

  1. The agent writes an Experiment file.
  2. experimenter validate --json names any malformed setting.
  3. experimenter run --json executes the Experiment and reports its status.
  4. experimenter results --json reads the outputs and returns status and details.
  5. The agent compares the results with the goal, revises the file, and repeats until the results meet the goal.

An agent client connects over the Model Context Protocol (MCP). experimenter mcp starts an MCP server with 15 tools. The tools open, edit, validate, save, and launch an Experiment. An agent that writes the file directly checks it against the Experiment JSON Schema.

GoalGapGoal − OutputExperimentValidateRunOutputBClose the Gap
Agent Toolkit. The agent revises and reruns the Experiment until its Output meets the Goal.

Use Cases

  • An agent is given data and designs calibration with scripts or imports for partial model calibration.
  • An agent designs tests for a policy lever across Datasets and summarizes the results.
  • An agent runs a Sensitivity and a Script that plots the draws to present results.

Experiment Bundle

File > Export Bundle… in the interface, or experimenter bundle create, packs an Experiment into a plain .zip. Experimenter opens the archive, or re-runs it and compares every output column with the bundled one.

ContentsThe model, module, and data files, the Experiment a bundle.json with every file’s sha256 and every version, and a README written from the run records.
VerifyAn Experimenter engine re-run ensures results match outputs exactly, compares engines within a normalized RMSE of 1e-6, and a machine without Stella evaluates hashes.
Model HashA sha256 ensures the model hasn’t changed.
Machine 1ModelDataExperimentBatchOutput.csvManifestsPackBundleModelDataExperimentBatchbundle.jsonREADMEUnpack, Re-runMachine 2Output.csvOutput.csvComparedRe-runBundled
The Experiment Bundle. One batch packed, re-run elsewhere, every column compared.

Stella is a trademark of isee systems. Experimenter is not affiliated with isee systems.