Dynamic modelling of urban systems