Simulation Logic Flow

Main Page > Technical Documentation > Simulation Logic Flow

This section provides an overview of the sequence of steps that SwashSim employs to facilitate a simulation run.

Network Creation Before a simulation can be started, a valid network must be created and loaded into the simulation engine. More information about network creation is contained in Sections 7 and 8 of the technical documentation.

First Vehicle Entry

The set of entry nodes present in the network is looped through and for each one, the following are determined: - the entry time into the network for the first vehicle to arrive - the fleet type (small auto, large truck, etc.) the first vehicle to arrive - the specific vehicle model; a vehicle model is identified randomly from all vehicle models available for simulation within the determined fleet type (see ____ for more information about vehicle types) - the assigned lane Id of the entering vehicle; the vehicle fleet type may influence this assignment if there are certain vehicle type lane restrictions (e.g., HOV lane, truck-only lane, no trucks allowed lane - the driver type for the entering vehicle; the lane assignment may influence the driver type assignment if policies such as 'slower drivers keep right' are in place for the downstream link(s) - the desired speed for the entering vehicle/driver; the driver and vehicle types influence this setting