Dynamic Sign Guidance Optimization for Crowd Evacuation considering Flow Equilibrium
Algorithm 6 Simulation algorithm for evacuation.
(1)
Procedure SIMULATION( )
(2)
Generate the grid division and evacuate network. Initialize pedestrians with velocity and location of each pedestrian , set simulation time . Set , initialize the social force model parameters.
(3)
whiledo
(4)
If,then
(5)
GENETICALGORITHM(,)
(6)
ROUTECHOICE(,,)
(7)
End if
(8)
For the th pedestrian ( to ),do
(9)
According the exit /route choice result update the th pedestrian’s desire velocity direction
(10)
Calculate the th pedestrian’s velocity and acceleration using social force model