Overview
Models are the core building blocks in Veydra. Each model represents a system dynamics simulation that captures the structure and behavior of real-world systems through stocks, flows, and feedback loops.Creating a New Model
You can create a new model in several ways:From the Dashboard
- Navigate to your Dashboard
- Click + New Project to create a new project with a model
- Configure your model settings and click Create
From an Existing Project
- Open your project from the Dashboard
- In the Models & Activities section, click + New Model
- Your new model will be added to the existing project
From the Library
- Browse the Model Library for existing models
- Click Fork on any public model
- A copy will be created in your workspace that you can modify
Model Components
Every model consists of several key elements:Stocks
Accumulations that represent the state of your system (e.g., Population, Inventory, Capital)
Flows
Rates of change that increase or decrease stocks over time
Parameters
Constants and coefficients that control model behavior
Auxiliaries
Calculated variables that depend on stocks and parameters
Model Settings
Model editing is split into two scopes so it is clear what you are configuring:Model-Level Settings
These settings belong to the model entity itself:- Title: Display name for your model
- Description: Brief explanation of what the model represents
- Model Status: Lifecycle state for the model (draft, active, completed, archived)
- GitHub Integration: Link or manage the model repository
- Activities List: Create, edit, and manage attached activities
Default Playground Settings
These settings are edited on the dedicated Playground Settings page for a model and control the default playground experience:- Default mode for the model playground
- Available modes in the default playground
- Library/discoverability settings (include in library, access level, complexity, category, tags)
Simulation Settings
- Time Horizon: How far into the future to simulate
- Time Step (DT): Granularity of calculations
- Integration Method: Euler or Runge-Kutta
Activities
Models can have multiple Activities attached to them. Activities provide interactive scenarios where users can manipulate parameters and compete to achieve goals. Activity statuses are independent from the model lifecycle status. See Activities for more details.Model Workflow
Design
Build your model structure in Design Mode using the stock-flow diagram editor and code panel
Test
Run simulations in Experiment Mode to verify behavior matches expectations
Best Practices
Use Descriptive Names
Use Descriptive Names
Name your stocks, flows, and parameters clearly. Future you (and your collaborators) will thank you.
Document Your Assumptions
Document Your Assumptions
Use the model description and comments to explain key assumptions and data sources.
Version Your Work
Version Your Work
Create new model versions when making significant changes to preserve previous states.
Test with Others
Test with Others
Share your model with colleagues to catch errors and improve clarity.
Related Resources
- Model Playground - Interactive modeling environment
- Activities - Create interactive scenarios
- Projects - Organize models into projects
- Collaboration - Team sharing and permissions

