Research Article

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
(11)End for
(12)For the th pedestrian ( to ), do
(13)Update the th pedestrian’s velocity and location
(14)If has evacuated out, then
(15)
(16)End if
(17)End for
(18)
(19)End while
(20)End procedure