Simulation in spatial analysis and modeling