In the first phase, we created the model simulating a simple pedestrian flow: passengers enter the subway entrance building and go to the trains walking through the hall.
Now we want passengers to pass through the fare gates before entering the subway platform. So let's add fare gates at the end of the corridor.
Fare gates are a typical example of services used in pedestrian models.
There are two types of space markup shapes you may use to draw services in your pedestrian model:
Service with Lines - Used to define services where pedestrians wait in queue lines until the service becomes available.
Service with Area - Used to define services with electronic queue. Pedestrians in this case do not stand in lines, but wait in the neighboring area.Fare gates are naturally represented by Service with Lines.
Draw the fare gates
There are two types of services: Linear and Point.
You will see that the service points became lines:
Now we will modify the model flowchart.
Modify the model flowchart
When selecting the connector by the mouse click, its end point should be highlighted with cyan. This indicates the correct connection. In the case you do not see a cyan circle inside the port, it means that you put connector's point close by a port and you need to move the connector's end point exactly on the port.
Configure the flowchart blocks
We have defined the new logic and now we can run the model and observe its behavior.
Build the model by clicking the Build Model toolbar button. If there are some errors in your model, the Problems view appears listing all the errors found in your model. Double-click an error in the list to open the location of the error and fix it.
After the model is successfully built, you can start it. Running the simulation, you automatically bring the current model up to date.
Run the model
Run the model. You can see that now passengers pass through fare gates and the lines get very long instantly. So we should increase the number of fare gates.
6 fare gates. Terrible lines.
You can adjust the execution speed using Slow down and Speed up controls. Right now, it is better to switch to virtual time mode to view simulation run at its maximum speed and simulate a long period of time. To enable virtual time mode click the Run as fast as possible (virtual time mode) control.Simulating a long period of time gives us the answer. Lines are still growing, not so fast as before, but sometimes they may become rather significant. So... 7 fare gates probably are still not enough to serve the flow of 4000 pedestrians per hour. (Please remember that this applies to our fare gates with the service time of 2-3 seconds.)
So let's increase the number of fare gates once more. Please change the number of services and number of queues to 8 and run the model again.
Finally our configuration is acceptable - the station can cope with such pedestrian flow successfully.
8 fare gates. Queues are reasonable
So we got the first practical use of our model. This model helped us to find the required number of the service points. You can play with pedestrian arrival rates in the settings of the PedSource block and analyze how to improve the facilities to cope with the load.
Please save the model by clicking Save (do it from time to time at a later date). Now we can continue developing our model further.
Reference model: Subway Entrance Hall - Phase 2
Phase 1. Simulating a simple pedestrian flow
Phase 3. Displaying pedestrian density map