Building swarm modelling