Skip to content

Simulation of the phenomenon where 2 or more buses clump and move in pairs in a public transport bus route.

Notifications You must be signed in to change notification settings

sumdher/BusClumpingAnyLogic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bus Clumping Simulation

  • Simulation of bus clumping in a bus route ("91") in Milan, Italy using AnyLogic. Bus stops loaded onto GIS map with open data, link here.
  • Bus clumping is the phenomenon where, in a public transportation route, 2 or more buses/vehicles clump together and move in pairs, instead of ideally having a temporal distance of their interarrival times between each other.
  • This can be observed in the real world. This may happen due to numerous reasons but for the scope of this project, the only source of randomness is modelled to be the generationn logic of passengers at the stops, their destinations, which will affect the dynamics of the system like the speed of the buses and the service time at the bus stops.
  • The aim of this project was to test a conjecture, which is an observation from the real world. The conjecture is, [within a clumped pair of buses], the leading bus, on average, tends to have significantly more passengers than the trailing bus.
  • The model detects when it encounters bus clumping. It then writes certain parameters of the model onto a .csv file. The most important ones being: number of passengers in the leaading bus and the ones in the trailing one.
  • The conjecture was supported by the simulation results, by running the model several times, enough data was generated to analyse a random variable X, defined as: X = numOfPass(leadingBus) - numOfPass(trailingBus). The distribution of X and its expected value support the conjecture.

The Model

image

  • The numbers next to the stops in black are the number of passengers waiting at the bus stop.
  • The numbers next to the buses in red are the number of passengers inside the bus.

Some Histograms

imgFiltTrailBus imgLeadBusSize

It can readily be seen that the leaading buses tend to have more passengers and the trailing buses tend to have fewer passengers.

Distribution of X

imgNoEqual image

Interpretation:

  • The capacity of the buses is 90 passengers max.
  • With an expected value of 46, it means that on average, there are 46 more passengers in the leading bus than the ones in the trailing bus, which supports the conjecture.

About

Simulation of the phenomenon where 2 or more buses clump and move in pairs in a public transport bus route.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published