That is unforeseeable.
Traincrew management has always been a bit of a black art, rather than a science. The present traincrew difficulties that beset the UK rail industry are neither new nor were they unforeseeable.