Microsimulation modelling using timesteps and a supply-demand paradigm