Crowd Simulation Explained

Evacuation modelling, crowd flow analysis and public safety planning

All those who host big crowds are facing these questions at the same time. Will the gates cope? Who will gather where? What would happen if something went wrong and how long will it take to empty the building? There is a risk in guessing and it is not feasible or ethical to test with real crowds. Crowd simulation answers these questions in a computer, prior to the use of the event or the building.

This guide details how it works, which measures it captures, how to interpret these measures, where it is employed, and, crucially, how to convert results into more safe plans.

The idea in three numbers. The simplified evacuation test described later in this guide produced the results below. They come from an illustrative model, not a real venue, but they show how much a single exit can matter.

READ MORE: Evacuation Simulation: How Engineers Predict Safe Evacuation Time

Time for 90% of 450 people to leave a room with 3 m exits (illustrative simplified model).

01  What Is Crowd Simulation?

Crowd simulation is the computer simulation of the movement of people in a space. Most tools are agent-based; each simulated person (or agent) has rules of walking speed, direction, personal space, obstacle avoidance. There is no script for the entire crowd. If many agents move together in a similar way, then common behavior spontaneously occurs: queues develop at gates, lanes organize themselves into corridors, and individuals move towards exits.

In digital crowd simulations, this is done for a digital twin of a real place, typically created from drawings, BIM or GIS data. The model is also in the same layout as the real layout which means findings can be correlated to the actual doors, stairs and gates that are present and not a generic room.

How the movement is modelled

Behind the animation sit a few families of models. Knowing which one a provider uses helps you judge what the results can and cannot tell you.

ApproachHow it worksTypical strength
Social force and force-based modelsAgents are pushed toward goals and repelled by people and walls, like particles under forcesNatural-looking flow, congestion and crowd pressure effects
Velocity-based collision avoidanceEach agent picks a velocity that avoids predicted collisions with neighboursSmooth movement in large crowds, fast to compute
Cellular automata and grid modelsSpace is divided into cells, and agents hop between them by simple rulesVery fast, useful for large or long-running scenarios
Macroscopic and flow modelsThe crowd is treated as a continuous fluid or a network of links with capacitiesQuick screening of large areas such as city districts or transit networks

Agents also need a way to choose routes and make decisions. Route choice can follow the shortest path, adapt to queues, or reflect familiarity: people often leave by the way they came in rather than by the nearest exit. Good studies state which behaviour was assumed.

What planning questions it answers

Planning QuestionWhat Crowd Simulation Shows
Will the gates cope with arrivals?Queue length and waiting time at each gate
Where will people bunch up?Density maps of corridors, stairs and exits
Is there enough exit capacity?Time for people to reach safety in each scenario
What if an exit is blocked?How much longer evacuation takes and where queues form
Will a layout change help?Side-by-side comparison before anything is built

02  How a Study Runs in Practice

A few families of models are behind the animation. If you know which one a provider is using, you can make your judgment of what the results will and won’t tell you.

StageWhat HappensWhat You Get
1. Model the spaceDoors, stairs, gates, barriers and obstacles are taken from drawings, BIM or GIS data and checked against the real siteA geometry that matches the venue, with widths and gradients
2. Describe the crowdNumbers, arrival profile, entry points, group sizes and mix of people, including those who walk more slowlyA demand profile for each scenario
3. Set the rulesWalking speeds, personal space, reaction delays and route choice, each written down as an assumptionAn assumptions register that can be reviewed
4. Run scenariosNormal operation, peak load and failures, with many repeated runs because results varyA spread of outcomes, not a single answer
5. Report and actDensity maps, queues and times are translated into changes to layout and procedureRecommendations tied to specific locations

03  Crowd Flow Analysis: Reading the Numbers

Crowd flow analysis converts raw simulation output into figures a planner can act on. The main measures are below.

Crowd Flow MeasureWhat It Tells You
Density (people per m²)How tightly packed people are; high values slow movement and raise risk
Flow rate (people per metre of width per second)How quickly a door, gate or corridor can pass people
Walking speedHow movement slows as the crowd thickens
Queue length and waiting timeWhere screening, ticketing or gates are under-sized
Exit or travel timeHow long people take to reach safety

Why density deserves the most attention

Walking speed decreases monotonically with increasing density, and in the case of free movement it decreases rapidly after the density reaches a point where it is impossible for people to select their own walking speed. People interfere with each other, so as they get more dense flow will increase up to a certain point and then go down. This relationship is known as the fundamental diagram of pedestrian movement, and is the reason why a full gate can transport fewer pedestrians than a less full one.

The primary safety signal is also the density. As a general rule, below 2 persons per m², people have plenty of room to move around freely; around 4 persons per m², movements are restricted, crowd feels crowded; above about 5 persons per m², there is an increased danger of uncoordinated movements and crowd turbulence. The expert in crowd safety, G. Keith Still, advises that an upper limit of approximately 5 persons per sqm is acceptable for crowd standing/observation areas, and lower numbers for assessment of events and for queuing. These restrictions vary depending on the setting, and should be applied in conjunction with local guidance, and with the assistance of a qualified safety professional.

High density at a restricted area, like an access route, tunnel or alley, was the root cause of many serious and violent crowd situations, including Hillsborough (1989), Love Parade (2010), Itaewon (2022), and many others. These are the places a simulation can be used to look at before it happens.

READ MORE: Crowd Flow Analysis: Pedestrian Movement And Safety

Figure 1 shows where a simulated crowd bunches up. Density climbs sharply in front of each exit, which is what a bottleneck looks like.

Figure 1: Local density 12 seconds after an alarm in a simplified model (illustrative, not a real venue).

04  Crowd Simulation Evacuation: Testing Exit Layouts

Evacuation studies ask a simple question: can people get out before conditions become unsafe? Engineers frame it as a race between two times. The required safe egress time (RSET) is how long people need to reach safety. The available safe egress time (ASET) is how long conditions stay tenable. A safe design keeps RSET below ASET with a margin to spare.

RSET has several parts: detecting the problem, raising the alarm, the delay before people begin to move and the movement itself. Simulation estimates the movement part. The earlier parts must come from procedures, drills and observation, and in real events they are often the longest.

Part of evacuation timeWhat it covers and where the figure comes from
DetectionTime until the problem is noticed; from alarm systems and staff procedures
Alarm and decisionTime to raise the alarm and give instructions; from control room procedures and drills
Pre-movementDelay before people begin to move; from observation, drills and guidance
MovementTime to walk to safety through the exits; this is the part crowd simulation estimates

Behaviour matters as much as geometry

  1. Pre-movement delay varies widely between people. Some finish what they are doing or look for friends before leaving, and a realistic model uses a distribution, not a single value.
  2. Familiarity shapes exit choice. Visitors often head for the entrance they used, ignoring closer emergency exits.
  3. Groups and families move at the pace of the slowest member and try to stay together.
  4. Mobility and age change walking speed and the need for assistance, so mixed populations should be modelled explicitly.
  5. Counterflow, such as responders entering while people leave, reduces capacity on stairs and narrow routes.

A simple test

To show the idea, a simple model was run with 450 people in a room with 3 m exits, averaged over three runs. Figure 2 compares four layouts by the time for 90% of people to get out.

Figure 2: Time for 90% of people to exit under four exit layouts (illustrative simplified model).

Blocking one of two exits increased the time from approximately 35 to approximately 55 seconds, which is about 60% longer. A constriction in an exit also had a similar cost. The time was reduced to approximately 31 seconds with the addition of a third exit. These are numbers that have been provided by teachers from a simplified model – they are not real venue numbers. A small proportion of individuals were also stuck at corners of the walls in the runs, as occurred with simple runs. The pattern is the most important aspect: exit capacity and its loss, and the evacuation time are more important than room size.

A brief glance at a hand will explain why. If an exit allows an average of 1 person per metre of width per second (a conservative assumed value), then a 3 m exit will allow an average of 3 people per second and 450 people will take 150 seconds through 1 exit and 75 seconds through 2 exits. The simulated times are shorter because the model calculates the time for 90%, not all people to move; its agents are spread out at the start with a higher effective velocity; etc. The hand check is for the purpose of indicating that the results should be of the correct order of magnitude and that the capacity is what causes the results. Simulation captures the effects that hand calculations do not because they are not captured in hand calculations: queues, merging streams, uneven use of exits etc.

05  What Industries Use Crowd Simulation?

Any place where large numbers of people gather or move can benefit. The settings below are those most often named in crowd-management practice.

Industry or SettingTypical Use of Crowd Simulation
AirportsCheck-in, security and boarding queues
Metro and rail stationsPlatform crowding at peak and during disruption
Stadiums and arenasGate entry and emptying the stands
Shopping mallsFestive-season footfall and exit planning
HospitalsVisitor, patient and staff movement
Campuses and exhibition hallsMovement between sessions and halls
Religious and pilgrimage sitesMetering and routing very large crowds
Theme parks and public squaresQueues, crossings and event crowds
Smart cities and high-rise buildingsStairs, exits and public space design
Industrial sitesShift-change flow and evacuation

06  Crowd Management and Evacuation Modelling Systems

A crowd management and evacuation modelling system is a working set of tools rather than a single program run. It usually includes four layers.

  1. A venue model that is kept up to date as layouts change.
  2. Demand data on expected arrivals, ticketing and behaviour.
  3. A scenario engine for normal, peak and emergency cases.
  4. Reporting that decision-makers and operations teams can read and act on.

Newer systems combine simulation with GIS, building models, sensors, camera analytics and cloud platforms, moving towards real-time decision support, where live counts feed the model and short-term forecasts guide staff on the ground. Capabilities vary by provider, so it is worth asking exactly what is included.

07  Public Safety Planning: Turning Results Into Action

Findings are of little value unless they help to alter what happens on the day. The results of the simulations can be used to inform public safety planning for entry and screening, route design, marshal placement, signage, communication, and the exit procedure.

There is a published example of a Simbi Labs 65,000-seat final. The solutions it recommended were to disperse the spectators over gates, increase screening capacity, adopt one-way traffic and to have marshals and use digital signage, none of which required any structural changes. Undoubtedly, many dangers can be mitigated when flow is controlled, even if space is not added.

What the simulation showsTypical action
Heavy queue and high density at one gateAdd lanes, stagger arrival times or redirect people to other gates
Much longer exit time when one exit is closedKeep exits clear, add capacity or plan marshals and signage for that failure
Streams crossing or meeting head-on on stairsUse one-way routes or separate flows
Queue spilling into a walkwayExtend queue space or move screening further back
Slow clearing of a hall after a sessionRelease people in stages and open extra doors

Mistakes to avoid

Common MistakeBetter Practice
Simulating only the normal dayAlso test peak days and failures such as a closed exit
Trusting a single runRepeat runs and compare the spread of results
Leaving assumptions unstatedList walking speeds, group sizes and delays used
Skipping validationCompare model output with observed crowd movement where possible
Ignoring behaviourInclude pre-movement delay, familiar-exit preference and mixed mobility
Treating the report as the endTurn findings into procedures, staffing and signage

08  How Much Can You Trust the Model?

A simulation is persuasive because it is visual, which is exactly why it deserves scrutiny. Three habits separate a trustworthy study from a convincing animation.

  1. Verification checks that the software does what it claims, for example that agents pass through a doorway at the expected capacity in a simple test.
  2. Validation compares the model with observed behaviour, such as counted flows at real gates or recorded drills. Where no data exist, say so and treat results as comparative.
  3. Sensitivity testing changes key assumptions, such as walking speed or delay, to see which ones move the answer. If a conclusion survives reasonable changes, it is robust.

Results are most reliable when used to compare options, for instance layout A against layout B, rather than as exact forecasts of a real event.

09  Before You Commission a Study

Ask AboutWhat to Agree
QuestionState the decision the study must inform
ScenariosAgree normal, peak and emergency cases
DataSupply current drawings, attendance estimates and arrival patterns
AssumptionsAsk for each one to be listed and justified
ValidationAsk how the model was checked against observed crowds
ActionAgree how results will change procedures, staffing and layout

10  Key Takeaways

Test failuresLosing an exit or narrowing a route can raise evacuation time sharply, so simulate more than the normal day.Watch densityHigh density and bottlenecks show where crowds slow and where risk builds.
  
Know the limitsSimulation depends on its assumptions and should be validated and used with engineering judgement.Act on resultsThe value comes from changes to layout, staffing, signage and plans, not from the report itself.

Crowd Management Support From Simbi Labs

Simbi Labs provides crowd management and safety services for events and venues. Explore the service page, or book a free consultation to discuss your venue.

Explore Crowd Management Services

Book a Free Consultation

Contact Simbi Labs

Frequently Asked Questions

1.What is crowd simulation used for?

It is used to find bottlenecks and test layouts, gates and evacuation procedures on a computer before an event or building is in use.

2.What industries use crowd simulation?

Airports, metro and rail stations, stadiums, malls, hospitals, campuses, religious sites, theme parks, smart cities, high-rise buildings and industrial sites.

3. What does a crowd management and evacuation modelling system include?

A venue model, crowd demand data, a scenario engine and reporting, so normal operation and emergencies can be tested and the findings used in planning.

4. What makes digital crowd simulation different?

It runs on a digital model of a real venue, so results relate to the actual space rather than a generic layout.

5. How does crowd simulation evacuation work?

Simulated people leave the space after an alarm while the model records density, queues and exit times, including when exits are closed or narrowed.

6. Does simulation predict exactly what a crowd will do?

No. It estimates likely patterns under stated assumptions. It is best used to compare options, find weak points and test failures, alongside engineering judgement and on-site experience.