---
title: Model
description: "#### **Create Evacuation Model** The `CreateEvacuationModel` component is designed to assemble an evacuation model by integrating various environmental elements. This component combines floors, flow fields, obstacles, stairs, and exits to create a comprehensive evacuation scenario. - **Component Name:** `Create Evacuation…"
url: "https://snhm.io/documentation/model/"
updated: "2024-09-21"
category: Components Overview
---

# Model

#### **Create Evacuation Model**

The `CreateEvacuationModel` component is designed to assemble an evacuation model by integrating various environmental elements. This component combines floors, flow fields, obstacles, stairs, and exits to create a comprehensive evacuation scenario.

- **Component Name:** `Create Evacuation Model`
- **Description:** Combines multiple components (floors, flow fields, obstacles, stairs, and exits) into a single evacuation model for simulations. This component allows for the analysis of evacuation strategies and agent behaviors in complex environments.
- **Category:** Flow > Model

![](https://i0.wp.com/snhm.io/wp-content/uploads/2024/09/Licence-2.png?resize=280%2C285&ssl=1)

##### **Inputs:**

- **FlowFloor (F):** A list of `FlowFloor` objects that define the surfaces agents will traverse. (Type: `List<FlowFloor>`)
- **FlowField (FF):** A list of `FlowField` objects that dictate agent movement within the environment. (Type: `List<FlowField>`)
- **FlowObstacle (O):** A list of `FlowObstacle` objects that represent barriers in the environment. (Type: `List<FlowObstacle>`, optional)
- **FlowStair (St):** A list of `FlowStair` objects that indicate stair locations for agents to use. (Type: `List<FlowStair>`, optional)
- **FlowExit (E):** A list of `FlowExit` objects that designate exit points for agents. (Type: `List<FlowExit>`)

##### **Outputs:**

- **FlowEvacuationModel (EM):** The generated `FlowEvacuationModel` object, which incorporates all the provided components into a unified evacuation scenario. This model can be used to evaluate agent pathways and evacuation efficiency. (Type: `FlowEvacuationModel`)

---

#### **Create Crowd Model**

The `CreateCrowdModel` component is intended for assembling a crowd simulation model by integrating various elements such as sources, floors, obstacles, gates, stairs, waiting areas, and exits. This component allows for detailed modeling of crowd dynamics in a given environment.

- **Component Name:** `Create Crowd Model`
- **Description:** Combines multiple components (sources, floors, obstacles, gates, stairs, waiting areas, and exits) into a cohesive crowd simulation model. This model facilitates the analysis of agent interactions and behaviors within crowded environments.
- **Category:** Flow > Model

![](https://i0.wp.com/snhm.io/wp-content/uploads/2024/08/CreateCrwodModel-e1724876682398-173x300.png?resize=280%2C486&ssl=1)

##### **Inputs:**

- **FlowSource (S):** A list of `FlowSource` objects that indicate points of agent generation within the environment. (Type: `List<FlowSource>`)
- **FlowFloor (F):** A list of `FlowFloor` objects that define the walking surfaces for agents. (Type: `List<FlowFloor>`)
- **FlowObstacle (O):** A list of `FlowObstacle` objects representing barriers agents must navigate around. (Type: `List<FlowObstacle>`, optional)
- **FlowGate (G):** A list of `FlowGate` objects that represent gates for agents to interact with. (Type: `List<FlowGate>`, optional)
- **FlowStair (St):** A list of `FlowStair` objects indicating stair locations available to agents. (Type: `List<FlowStair>`, optional)
- **FlowWaitingArea (WA):** A list of `FlowWaitingArea` objects where agents may pause or gather. (Type: `List<FlowWaitingArea>`, optional)
- **FlowExit (E):** A list of `FlowExit` objects that designate exit points for agents. (Type: `List<FlowExit>`)

##### **Outputs:**

- **Crowd Model (CM):** The generated `FlowCrowdModel` object that encapsulates all input components into a single crowd simulation model. This model can be used to study agent dynamics and overall crowd behavior in various scenarios. (Type: `FlowCrowdModel`)
