Years ago, we build systems to predict delays on the German rail network. Paper here: https://www.sciencedirect.com/science/article/pii/S0968090X1...
The complexity of operations is astounding and the organisational challenges (e.g. railway deregulation push) make it even harder.