What I made
Used R to generate a set of scripts that can take a schedule of arrival times at station A for a given order of the 16 trains and simulate the ensuing schedule from station A to Union station. The script will produce as output the mean waiting time, a csv showing the arrival, boarded passengers and capacity of all trains from station A to Union, and a visualization of the boarding efficiency to identify windows of time where and increased train frequency could be beneficial.
Update
Completed a Shiny Web App to display the simulation results on a dashboard. This allows users to first input a custom set of schedule times for a specific order of trains and visualize the results in the app. Users can use a slider to choose what schedule they are looking at and see its corresponding plot and results table.
Log in or sign up for Devpost to join the conversation.