Simulation and analysis of spatial structure of population