Stochastic modelling and analysis of warehouse operations