compare_scenarios
Run named what-if scenarios with custom parameter overrides, compare each to a baseline, and report per-variable differences including absolute deltas and percent change.
Instructions
Run several named what-if scenarios (each a set of constant parameter overrides) against a baseline and report how each diverges: per-variable final/max absolute deltas and final percent change. Requires the optional pysd dependency (pip install 'stella-mcp[sim]').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | Session-scoped model ID. Optional; defaults to the current model for this session. | |
| scenarios | Yes | Named override sets to compare (names must be unique) | |
| baseline | No | Override set to measure deltas against (default: the unmodified model) | |
| include | No | Variables to report and compare (default: all stocks) | |
| max_points | No | Maximum points per returned series | |
| save_comparison_csv | No | Optional path to write a wide variable-by-scenario CSV |