Computer Modelling of Panic Evacuations
The pedestrian dynamics models developed over last 50 years proved useful in understanding the human behaviour during panic evacuations. Simulations became an important tool allowing for better design of infrastructure, and predicting and mitigating dangerous crowd situations. The main objectives of the project were to understand and implement an appropriate agent-based model, test its predictive capabilities, investigate a panic evacuation scenario, and propose ideas for preventing fatalities and injuries. The Helbing social force model was implemented in the OpenFOAM framework using standard C++ scripting. It described the motion of agents as if they would be subject to “social forces” representing their motivations to perform movement.
During the project, I first worked with the highest level of the code where I defined agents’ properties, geometry of the environment, and other parameters necessary to set up simulations. On top of that I learnt enough C++ syntax and OpenFOAM architecture to implement and modify the solver algorithms. Those, for example, included the agent-walls detection and repulsion, or the visibility graph and Dijkstra path finding. I also used Python to process data about borders and visualise them using a Python shell in ParaView.