Whole system railway modelling