I seem to recall the actual control centres used to use a big map with the train lines drawn using a line of bulbs, and indicating trains buy a series of bulbs. Similar to this, http://photos.signalling.org/_datas/o/n/d/ondcx12zxd/i/uploa... .
There is no way a PCB this size could give an accurate representation. I'm not even sure that level of detail is even published by the TFL. But it shouldn't matter, this is clearly intended to be more ornamental than it is a functional tool for locating carriages.
So you'd leave(station=A,direction=0), then increment the tunnel A-B until you next had an arrive(station=B,0) when you'd decrement the tunnel section. Even branched tunnels Should Just Work ®. The tunnels are stacks, unless there are hidden sidings and such, things should add up. Bonus you change colour according to magnitude of $tunnelABC.
You'd need just under twice the LEDs though.
Ultimately the level of detail you're describing is not feasible with the aesthetic the designer was going for. This is one of those problems that appears much easier than it really is.
Plus, at risk of repeating myself, this is clearly intended to be more ornamental than it is a functional tool for locating carriages.
Absolutely. Appreciate your comments ... maybe when the kids leave home I'll get around to putting my money where my mouth is.
For the MBTA in Boston we did this, but their system is much less complex than London - https://www.traintrackr.co.uk/product/mbta4
UPDATE: Maybe a LED per direction in tunnel would also be useful.