Home▸Articles▸Transport & Urbanism

City Subway Flow: Understanding Queueing and Traffic Dynamics

A simulation that illustrates the complex dynamics of passenger flow in urban transit systems.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What City Subway Flow Is

The simulation models a simplified 2D urban transit network with three loop lines converging at a central interchange. Passengers queue, board trains, and transfer between lines as they circulate through the system.

This model is an application of queueing theory and traffic flow principles to understand how different factors like passenger demand, train frequency, and station capacity affect overall efficiency.

Why It Matters

Efficient subway systems are crucial for urban transportation. By simulating various scenarios, this model helps in optimizing traffic flow to reduce congestion and improve service reliability.

Understanding these dynamics is essential for city planners and transit authorities to make informed decisions about infrastructure improvements and operational strategies.

live demo · related simulation● LIVE

Queueing Theory Basics

Queueing theory deals with the mathematical study of waiting lines or queues. In the context of a subway system, it helps in predicting how long passengers will wait before boarding a train and understanding the impact of varying passenger arrival rates.

The model uses queueing theory to simulate different scenarios such as peak hours versus off-peak times, which can significantly affect the flow of passengers.

Traffic Flow Dynamics

Traffic flow dynamics in subways involve the movement and distribution of passengers across multiple lines. The simulation demonstrates how passenger flow is influenced by factors such as train frequency, station capacity, and transfer times.

By analyzing these dynamics, transit authorities can implement strategies to manage congestion and ensure smooth operations.

Frequently asked questions

How does the model account for different passenger arrival rates?

The simulation adjusts the rate at which passengers arrive at each station based on predefined scenarios or user input, allowing for a realistic representation of peak and off-peak times.

What factors can be adjusted to optimize subway operations in the model?

Factors such as train frequency, station capacity, and transfer times can be adjusted to observe their impact on passenger flow and overall system efficiency.

Can this simulation be used for real-world planning?

Yes, while simplified, the model provides insights that are valuable for urban planners and transit authorities in making informed decisions about infrastructure improvements and operational strategies.

How does the model handle unexpected events like delays or cancellations?

The current version of the simulation focuses on steady-state conditions. However, future updates may include mechanisms to simulate and analyze the impact of such disruptions.

Try it live

Everything above runs in your browser — open City Subway Flow (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open City Subway Flow (2D) simulation

What did you find?

Add reproduction steps (optional)