run_vensim_model
Simulate a Vensim .mdl file with PySD to get per-variable summaries and downsampled results, apply one-run constant overrides, select variables, and export full-resolution CSV output.
Instructions
Simulate a .mdl with PySD and return per-variable summaries and a downsampled series.
overrides sets constants for this run only (the .mdl file is not changed). variables limits the output; by default stocks, flows and auxiliaries are returned. csv_path saves full-resolution results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model_path": "<model_path>"
},
"name": "run_vensim_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_path | No | ||
| overrides | No | ||
| time_step | No | ||
| variables | No | ||
| final_time | No | ||
| max_points | No | ||
| model_path | Yes |