Documentation Index
Fetch the complete documentation index at: https://docs.veydra.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Veydra supports importing system dynamics models from tools that export to the XMILE standard. XMILE (XML Interchange Language for System Dynamics) is an open standard that enables model portability across different system dynamics platforms.Supported Tools: Stella Architect, Stella Professional, Vensim, and any software that exports valid XMILE format.
Supported File Formats
| Extension | Description |
|---|---|
.xmile | Standard XMILE XML format |
.stmx | Stella model files |
.xml | Generic XML with XMILE structure |
.mdl | Vensim model definition files |
Model Elements Converted
The XMILE parser extracts and converts:- Stocks - Accumulator variables with initial values
- Flows - Rate variables connecting stocks
- Auxiliaries - Helper variables and calculations
- Modules - Submodels with their connections
- Simulation Settings - Time units, start/stop times, and time step (DT)
Function Support
Common system dynamics functions are automatically translated:| XMILE Function | Description |
|---|---|
PULSE | Generate pulse at specified time |
STEP | Step function |
RAMP | Linear ramp |
DELAY1, DELAY3 | First and third-order delays |
SMOOTH, SMOOTHI | Exponential smoothing |
MIN, MAX, ABS | Basic math functions |
IF THEN ELSE | Conditional logic |
TIME | Current simulation time |
How to Import
From the Web App
- Navigate to your project or create a new one
- Click Import Model or use the Upload XMILE option
- Select your
.xmile,.stmx,.xml, or.mdlfile - Provide a name for your model (optional - defaults to filename)
- Click Upload
- A new project (if needed)
- A model in Design Mode ready for editing
- A linked GitHub repository for version control
Via API
Conversion Process
After Import
Once converted, your model:- Opens in Design Mode - Review and edit the model structure
- Has a GitHub Repository - Version control is automatically set up
- Can be Simulated - Switch to Run Mode to execute simulations
- Supports Collaboration - Share and collaborate with team members
Troubleshooting
Invalid XMILE File Error
The file must contain valid XMILE XML with either:- A
<xmile>root element, or - A
<model>element

