DATA604 - Final Project Presentation
Elevator Simulation using SimPy

Mohamed Thasleem, Kalikul Zaman

07/19/2020

Overview

Elevator Simulation - Simulate the average time passenger waiting in queue and time used to reach the destination floor based on waiting time will be simualted in this program

Setting the parameters for the simulation environment as below

Used 50 iterations of simulation and compare the results

Algorithm

Process

The key part of the process is Elevator and Passenger, Please find the details of functions used

Elevator - It has all the main features of elevator to work on like Press_Button, Sleep Time when no passenger, expecting passengers, door status, alternative direction movement

Elevator Status - We can categorize the status of elevator by 5 states, Sleep, Move, Door Open, Passenger waiting and doors closed, each of the status was given with unique value

Passenger - Random Passengers were introduced by simulation

Direction - It can be up, down and not moving

Time for passenger entry and exit was also randomly populated to support the model simulation

Each time the average simulation time in queue and avg time to reach the final destination floor has been captured and printed

Simulation

Sample simpy execution

Result

Thank you

https://github.com/mohamedthasleem/DATA604/blob/master/Week7_Final/Final_Project.ipynb