save_model
Save the current system dynamics model to a .stmx file for use in Stella Professional. Optionally auto-layout the diagram before export.
Instructions
Save the current model to a .stmx file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | Session-scoped model ID. Optional; defaults to the current model for this session. | |
| filepath | Yes | Output file path (.stmx) | |
| auto_layout | No | Whether to auto-layout before export | |
| resolve_layout_violations | No | Whether to run layout crossing/collision post-processing before export | |
| compat_mode | No | Compatibility mode for export checks | permissive |