Simulation model in Python

0 points
Asked by:
Roberto Garcia

The “Future Cities” Project in Trinity College Dublin investigates a “Self-Organising Motorway” as a possible approach to reduce congestion on motorways. Your task is to replicate aspects of this research using a simulation model implemented in SimPy v.4 with Python. Create a simulation for a 3km segment of motorway that reduces after 2km from 3 lanes to 2 lanes. Code will be running in Jupyter notebook.


Replicate study:


Answer the following questions:


  1. What is the as optimal average travelling time topt in free flowing, non-congested traffic?
  2. What is the optimum throughput Nopt in cars/hours when the average travelling time is 20% longer than topt. (The Trinity Study seems to indicate a value of Nopt=4,000 cars/hours) 
  3. What is the maximum throughput Ncong in cars/hours when the motorway is heavily congested, but the traffic is still flowing? We define traffic as congested, when the average travelling time tcong is twice the optimal average travelling time topt. (The Trinity study seems to indicate a value of Ncong=5,000 cars/hours. 

Note: The travelling time topt and tcong as well as the throughput figures Nopt and Ncong depend of course on your assumptions about the traffic mix, i.e. the distribution of vehicle types and drivers behaviour that you have considered as given. Make sure that you clearly document your assumptions.

Hi Roberto, I moved your content from Wiki to Questions. It seems it is not an article, but a question. Wiki for code on dirask is for sharing coding knowledge. 👍
Add comment
0 answers
Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂