The All People’s Simulator
The All People’s Simulator has been approved by Sandia for public release, so I figure I can finally write about it here. It’s a Go program I wrote to simulate a number of people wandering around a city.
APS takes an Open Street Maps file and parses it into its own internal representation. It then listens on a TCP port for clients. Clients connect and send commands to create simulated people who begin wandering around the streets. They can also pause and continue the simulation of individual people. As it updates the simulation, it also dumps the positions of all the wanderers to a MongoDB server.
The source is at http://bitbucket.org/floren/gosim