|February 5th, 2015|
|tech, transit [html]|
I was curious how many trains per hour these different systems ran on their shared central portions, and it's hard to get this information from the transit agency websites.  They do publish the raw scheduling data for all their trips, however, and we can get the information from there.
Looking in routes.txt we can see that the MUNI lines are 1093, 1094, 1196, 1198, and 1199. Looking at what stations these routes stop at, stops.txt we can pick one on the central subway, say Montgomery, which is 5731. Looking at calendar.txt we can see that we only want trips tagged with service_id=1 because that's regular weekday service. So we pull trip ids from trips.txt that match that service_id and route_ids, and cross-reference that with entries in stop_times for stop 5731, and we get a full listing of the times any train will stop there.
Doing this for all three systems, we get:
Update 2017-12-23: This isn't quite right. The 0 and 24 columns should be added together, because they're capturing a distinction that isn't important (the idea of "service days"). I think I'm also missing data for the MBTA Green Line for the 1am hour, since that's 25:xx and while I don't have my script anymore I suspect it jkust iterated up to 24.
(Table below: )
When I first calculated this for SEPTA I was sure I'd accidentally combined inbound and outbound trips: 70 trains per hour? Looking in Google Maps matched up with my interpretation of the raw GTFS data, however, and the schedules for each of the five lines claim service levels of over 10 trains per hour, so I think it's right.  How do they do this, and why does the MBTA Green Line struggle so much with its smaller number? Is it just that they run shorter unpaired trains so they can have multiple ones in a station at once, or something about how they operate them?
 The MBTA does publish this (pdf) but they actually schedule more service than they commit to there.
 Tabular data for trains per hour:
 This news article claims that in the 60s, when there were more lines going through the tunnels, there were as many as 150 trains per hour at peak.