UCL CENTRE FOR ADVANCED SPATIAL ANALYSIS
Agent Based Modelling in Second Life: Pedestrian Evacuation Model
UCL logo
 
 
 

 

Agent Based Modelling in Second Life: Pedestrian Evacuation Model

Andrew Crooks, Andrew Hudson-Smith and Joel Dearden

Agent and Avatar Interaction

In this final model we demonstrate how agents can be reponsive to avators. For this we use a simple building layout with two tables. As with the previous simulations, one the alarm is sounded the agents exit the room. Avaoiding each other and avatars if present.

Basic Room layout

Below we show a traces of a model run using this layout with no avatars and with an avatar. We also present the output from the PedTrace web application for the same model runs.


Pedestrian Paths - With No Avatar (generated by PedTrace)

.


Pedestrian paths for model with No Avatar every second of the model run (generated by PedTrace)
Pedestrian Paths - Avatar standing to the right of the table (generated by PedTrace)


 

Pedestrian Paths - Avatar standing to the right of the table every second of the model run (generated by PedTrace) .

 


Pedestrian Paths - With no avatar every second of the model run (generated by PedTrace) and the simulation visualization of the model in SL

 


Pedestrian Paths - With avatar every second of the model run (generated by PedTrace) and the simulation visualization of the model in SL

 

Average walking speed every second (generated by PedTrace) with no avatar

 

Average walking speed every second (generated by PedTrace) with avatar

Number of pedestrian exiting every second (generated by PedTrace) with no avatar
Number of pedestrian exiting every second (generated by PedTrace) with avatar


Source Code

The Linden Scripts for this model are covered by the GNU GENERAL PUBLIC LICENSE and are available to download below.

Evacuation Model Predicted Movement Volume (PMV) Script (the only script that was changed so the agents pick up avatars as objects )

The Visual C# source code for the PedTrace web service has also been released under the GNU GENERAL PUBLIC LICENSE and is available to download below. You might need some knowledge of C# and ASP.NET to make this work.

If you prefer to get up and running more quickly we have a vending machine on nature island here that will give you a complete working copy of the model when you click on it.