Skip to content

khzhang2/FD_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food Delivery System Simulator

Updated on Feb. 4, 2023

Author: K.Z.

Agent based model. Multiprocessing.

Environment

pip install -r requirements.txt

Deomonstration animation

N_v represents number of idle riders, N_b represents number of accumulated order batches, p is the customer matching probability, pp is the rider matching probability. The merchant node size represents the number of accumulated orders in this merchant.

In this demo, max matching radius r=1 km, max delivery radius R=2 km, batch size (bundling ratio) k=3, matching interval t=0.005 hour. The order arrival rate $\overline{q}=800$ orders/hour and the total number of riders is $N=200$. 5 merchants are spread in the city, in Kennedy Town, HKU, Central, Wan Chai, and Causeway Bay.

project.mp4

More details, tutorial, and description in here

About

Food Delivery System Simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published