|February 5th, 2015|
In some transit agencies there's a pattern where you have multiple trolley lines farther out that come together into a central subway through the city center. Boston's Green Line, SF's Muni Metro, and Philly's Subway-Surface lines are all examples of this. Because of lower densities outside of the core and because they're descendents of much larger systems they tend to have a high branching factor, with many surface lines funneling down to a single line underground. Boston has four branches, SF and Philly have five.
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:
(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.
- Brain Preservation
- Octaveless Bass Notes
- Persistent Idealism
- Contra Cliquishness: Healthy?
- Contra Dance Band Size