mitgobla / Traffic-Improvement

Winner of PA Consulting Raspberry Pi Competition 2019 (Category 4)
MIT License
2 stars 1 forks source link

Create tests with a wide range of variable changes. #5

Closed mitgobla closed 5 years ago

mitgobla commented 5 years ago

Once we have a working simulation model created, we need to compare more variables to see how it affects the overall traffic system. This will help us prove that the system works when we plot the data with MatPlotLib.

For example, we should be able to identify certain random events on our graphs when we run the simulation multiple times with the same variables; e.g multiple drivers get distracted which should create a peak in waiting times. We should attempt to make the code identify when this happens by creating an average of waiting times across multiple simulations.

This will give us a more accurate gradient to use for our traffic timings, since we would then eliminate these random events from creating a bias in our results.

mitgobla commented 5 years ago

This has been semi-completed in the recent commit b923a156d9622eebd01505783b697f7a8bcf60d3 Vehicle randomization has been added.