plot_vensim_results
Simulates a Vensim model with PySD and saves an SVG line chart, grouping variables by unit and applying run-specific overrides without requiring Vensim.
Instructions
Simulate with PySD and save an SVG line chart; works without Vensim installed.
By default the model's stocks are drawn. Variables with different units get separate stacked panels. overrides apply to this run only.
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>",
"output_path": "<output_path>"
},
"name": "plot_vensim_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| overrides | No | ||
| time_step | No | ||
| variables | No | ||
| final_time | No | ||
| model_path | Yes | ||
| output_path | Yes |