Pedestrian simulation is widely used on the assessment of facility design and crowd safety control. It proposed a grid-based model of queue simulation system considering human physiology and psychology. Both logic queue system and animation queue system are modeled separately. Deadlock deal mechanism is designed. The proposed model established a good interface between the pedestrian behavior, queue system and animation. It can reproduce phenomenon like traffic shock wave effectively. A case study is shown by simulation of ticket vendor machine layout assessment in Beijing South Railway Station. It concluded that the model is effective and adapted to large scale systems.