PedNStream: Scalable pedestrian flow simulation for traffic management

Discover PedNStream, an open-source pedestrian flow simulator based on LTM. Ideal for crowd management, control, and scalability in pedestrian networks.

jueves, 2 de julio de 2026 • 2 min read • Q2BSTUDIO Team

Crowd management with pedestrian network simulation

Managing large pedestrian flows in urban spaces, stadiums, or mass events represents a growing challenge for authorities and planners. Traditional simulation models are often microscopic, detailing the behavior of each individual, but they are computationally expensive and difficult to integrate with real-time control systems. In this context, tools like PedNStream propose a macroscopic approach based on the Link Transmission Model (LTM), capable of loading complete pedestrian networks with remarkable efficiency. This simulator, developed in native Python, incorporates stochastic dynamics that reflect diffusion and activity-induced variability, and replaces the dynamic user equilibrium with a utility-based formulation, suitable for uncertain environments with external interventions. The modularity of the framework allows connecting controllers for actions such as gates, flow separation, and route guidance, facilitating closed-loop evaluation. All this opens up real possibilities for adaptive crowd management, a field where network-scale simulation becomes indispensable.

From a business perspective, implementing pedestrian simulation systems requires robust and customized technological solutions. For example, custom applications allow adapting models like PedNStream to the specific needs of each organization, integrating heterogeneous data sources and control protocols. Furthermore, artificial intelligence for businesses can enhance these simulators through learning algorithms that optimize management strategies in real time, while AI agents could make autonomous decisions based on the network state. The scalability of these platforms relies on AWS and Azure cloud services, which offer elastic computing capacity to run massive simulations without local infrastructure investments. Likewise, cybersecurity ensures the integrity of sensitive mobility data, and business intelligence services with Power BI allow visualizing key indicators of congestion, travel times, and intervention effectiveness. All this is integrated into an ecosystem where custom software is the core for building practical and reliable tools.

The PedNStream proposal demonstrates that it is possible to combine theoretical models with modular and efficient implementations, opening the door to controlled experiments that previously required costly infrastructure. Results in synthetic scenarios verify phenomena such as queue formation, the backward propagation effect, and congestion dissipation, while tests on real networks validate their consistency with observed counts. A closed-loop case study shows how to integrate controllers, and performance analysis quantifies its scalability. For a development company like Q2BSTUDIO, this type of innovation represents an opportunity to offer turnkey solutions that combine simulation, artificial intelligence, and cloud, tailored to public and private sector clients. Crowd management not only improves safety and user experience but also optimizes resources and reduces operational costs. With modern simulation tools and a modular approach, organizations can anticipate problems and design more effective interventions, relying on technology partners that master both the theory and practice of developing complex systems.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.