Using Pedestrian Library to Create a New Look for an Art Gallery


Fair Dynamics, a Milan based consulting company with a distinct aspect towards simulation modeling, was engaged in developing The Ametria project, a contemporary art exhibition held in the Athens’ Benaki Museum.

The general purpose of the project was to steer visitors’ attention by designing brand new personal experiences and novel curatorial approaches at the exhibition. To achieve that, they created a maze-like area in the museum, instead of ordinary canvas filled rooms, to affect the visitors’ moods. The contractors were supposed to provide a layout where the main masterpieces of the exhibition would be placed in hidden areas, so that it would be difficult to find them. That’s where AnyLogic simulation modeling was advantageous. It let engineers see where the artworks could be placed, as well as show how people could move inside the gallery.

Different layouts were tested, including:

  • Presence of critical areas (too high or too low density of visitors)
  • Percentage of artworks that could be observed
  • Pathway of each visitor inside the gallery
  • Visitors’ satisfaction, measured in terms of artworks observed


The movement of visitors inside the gallery was modeled with the help of the AnyLogic Pedestrian library. This library allowed modelers to simulate the behavior of agents (representing visitors), moving according to predetermined rules, and adjust distance and speed according to the crowd density.

Thanks to the library, it was possible to join the advantages of pedestrian dynamics with the power of the agent-based modeling approach, providing visitors with specific features and behaviors, and allowing visitors to interact with artworks. This approach helped define:

  • Involvement rate, which was based on time spent per artwork and inside the gallery.
  • Mood, affected by anxiety, proximity of other visitors, achievements in observing artworks, and other variables.
  • Physical state of a visitor (fresh, tired, relaxed), and preferences for some artworks rather than others.

In the end, engineers were able to reproduce the behavior of a person, roaming inside an area they didn’t know, with some simple goals to be reached, but with no specific supports on how to reach them. It should be mentioned that the agents’ parameters were taken from surveys of people who visited other galleries, to make the model more accurate. The visitors’ walkthrough is described below:

  • Visitors entered the gallery according to a defined schedule, without knowing the artworks exhibited.
  • Visitors joined a group that has not yet reached its maximum size and move along the gallery’s areas, trying to observe a greater number of artworks.
  • While moving along the gallery, visitors established connections with the artworks, which are modeled as agents as well. To consider an artwork observed, visitors had to follow the rules particular to each artwork. (For example, look at the masterpiece from a particular location).
  • Visitors demonstrated different involvement degrees towards the exhibition, and this affected time and effort spent in the gallery. While people walked through the artworks, they got tired, until they reached a threshold level that forced them to stop as soon as they reached a rest area.

The last step deserves greater attention. According to exhibition organizers, it was vital to consider different visitor’s specific features, including, preferences, goals, interest in the exhibition, mood, and others. It also implied that spending too much time without observing artworks moved a visitor to a progressive state of dissatisfaction that, at its maximum peak, forced them to exit the gallery.

The contractors paid particular attention to the model’s interface. Providing a high level of usability, it had a material-design look, was easy to read, and had adjustable performance indicators.

Pedestrian Simulation Modeling

Pedestrian Flow Simulation Model

This was achieved through the flexibility of AnyLogic in integrating the components, provided by the Java Swing class and HTML. Most of the interface elements were easily adjustable, so the clients could introduce any dynamic input parameters or empirical data into the model, including:

  • The opening and closing time of the exhibition
  • How much time the visitor should spend at each artwork or area
  • Percentage of visitors interested in the exhibition

After setting up and launching the model, one could see people entering the hall. When people started observing a particular artwork, represented as a dot, it changed color (blue for masterpieces and red for ordinary paintings). Visitors tried to complete the gallery, following behavior patterns (involvement degree, mood, goals, etc.). While people were moving, the legend on the left describes what was going on in the gallery.

Thanks to the density map provided by AnyLogic, it was possible to look into the people saturation of the entire area. The model also allowed enhanced statistics, including the following:

  • Number of people in the gallery and the distance they covered
  • Distribution for groups and group members
  • Average time a person spent in a certain area of the gallery
  • Number of artworks observed and visitors per each artwork
  • Pathways for each visitor

Modelers also took emergency situations into account, so the statistics could show total time spent on safe evacuation.

Pedestrian Dynamics

Crowd Simulation Software


Not only did AnyLogic agent-based simulation modeling help relocate the paintings and showcase the exhibition layout, but it also provided detailed statistics for each agent/group of agents (both artworks and people inside the halls). It also determined the reasons for crowdedness in front of particular paintings, which allowed the designers to eliminate them using a density map. Apart from this, the model allowed the customer to test various layouts to find a suitable one for future exhibitions.

Much was done to make the model more customer oriented. The contractors tried to improve the user experience through intuitive interface, visual indicators, and documentation tools. For instance, organizers could gather multiple pathways’ information to produce 1000 different exhibition booklets.

The model also offered the possibility to test the maximum number of visitors that could concurrently visit the exhibition, avoiding overcrowding problems. This feature helped in modeling a plan for safe evacuation.


Project presentation by Luigi Manca and Roberto Grugni

More Case Studies

  • Simulating Bicycle Sharing System with the Help of AnyLogic System Dynamic Modeling
    Sustainable bicycle transportation systems have generated broad expectations and have recently attracted focus in the scope of urban planning by alleviating traffic congestion and reducing noise and air pollution. Such bike sharing systems are easy-to-use and generally promoted by the public administration, operating by advertisement companies, transportation operators and, and public organizations.
  • Passenger Flow Simulation at Frankfurt Airport
    As operating company of several major international airports, the Fraport AG is one of the “Global Players” of the airport industry. With more than 140.000 passengers per day and over 80 aircraft movements per hour, the airport in Frankfurt - an aviation hub of worldwide significance – serves the Fraport AG as home base.
  • AnyLogic Tackles Eiffel Tower Crowds
    The Eiffel Tower operating company (SETE) used AnyLogic software to optimize the flow of tourists at the monument. With its help the engineers increased the number of visitors without redesign, but with people movement control.
  • Crossing the English Channel with AnyLogic
    AREP, the subsidiary of «SNCF Gares & Connexions», developed a simulation model which optimized the utilizing of the Transmanche Terminal of Paris’ Gare du nord. The main goal was to reduce the waiting time upstream and at the points of control of passengers. The model enabled to locate, value and represent the possible dysfunctions in these areas.
  • Choosing the Best Concept for a Passenger Rail Car
    The largest CIS rail car building facility, Tver Carriage Works, needed to choose the best passenger rail car concept for a city train. The plant needed to compare passenger entrance/exit times during peak loads for concepts that had different door amounts and widths, and then choose the best variant. They contracted ITS Consulting to perform this task. The consultants found pedestrian simulation modeling to be the best possible instrument to provide a solution.
  • Passenger Flow Simulation for Railway Stations at Sochi 2014 Olympics
    NIIAS is specialized in railway traffic and infrastructure management. Using AnyLogic NIIAS modeled 5 railway stations for Adler – Alpika Service railway, which is being constructed for Sochi 2014 Winter Olympic Games.
  • Transfer Hub Passenger Flow Simulation at Moscow Ring Railway
    The launch of passenger trains on Moscow Ring Railway is expected to improve the road traffic situation and congestion on public transportation of the city. Many of the newly built stations will be connected to subway and commuter rails by huge transfer hubs. Passenger flows, at one of the future hubs, were simulated using AnyLogic software by the ITS Consulting Company for JSC Moscow Ring Railway.