Modelling the dynamics of living arrangements