Automatic Vehicle Numbers Adjuster
This mod records the number of passengers that pass through each transit stop and then calculates the appropriate number of vehicles that the transit line should have. It also displays those recorded numbers.
During the first day you will see an influx of vehicles. That is normal and the mod is only collecting data. It will go back to normal once a day has passed
It records the number of passengers passing through each station. This number is the number of passengers that the train leaving the station has.
Then, for each line, it goes through each stop and sees which ones have the most passengers and tags them as High Usage Stops and the others as Low Usage Stops.
High Usage stops record passenger data more precisely because they will be the ones determining the number of vehicles necessary in the line. They record data separately for each part of the day (the day is split into 4 intervals) and for the last 8 days.
Small Usage Stops only record the number of passengers going through in the last day and in the current one.
The mod then calculates the necessary number of vehicles to transport the maximum number of passengers in an interval recorded. I experimented with removing the extra vehicles in time of low usage but it only resulted in more chaos as the vehicles were always being added and removed from lines.
Improved Public Transport 2
To view the recorded number of passengers click on the transport line to show the Public Transport World Info Panel and then click on the little circle corresponding to the stop that you want to view the data of.
To report any bug please post a comment with a link to the output_log.txt
Any comments saying the mod does not work with no link to the log file will be deleted.
You can download it here:
This mod is uses the Harmony[github.com] library.