Risk Analysis of Pedestrians Evacuations Based on Crowd Energy