SlideShare a Scribd company logo
1 of 101
Download to read offline
Simulation of complex systems:
the case of crowds
Giuseppe Vizzari

Complex Systems and Artiļ¬cial Intelligence Research Center (CSAI)

University of Milano-Bicocca, Italy
Outline
ā€¢ Complex Systems?

ā€¢ Pedestrian and crowd simulation, a brief introduction and
motivations

ā€¢ Levels of analysis of pedestrian/crowd behaviour

ā€¢ Approaches to pedestrian modelling (macro vs. micro)

ā€¢ Macroscopic modelling rationale

ā€¢ Microscopic modelling alternatives and styles

ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation
projects

ā€¢ Conclusions and discussion
Outline
ā€¢ Complex Systems?
ā€¢ Pedestrian and crowd simulation, a brief introduction and
motivations

ā€¢ Levels of analysis of pedestrian/crowd behaviour

ā€¢ Approaches to pedestrian modelling (macro vs. micro)

ā€¢ Macroscopic modelling rationale

ā€¢ Microscopic modelling alternatives and styles

ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation
projects

ā€¢ Conclusions and discussion
Complex Systems?
ā€¢ Several (more ore less formal) deļ¬nitions:

ā€¢ A complex system is a highly structured
system, which shows structure with variations

ā€¢ A complex system is one whose evolution is
very sensitive to initial conditions or to small
perturbations, one in which the number of
independent interacting components is large,
or one in which there are multiple pathways by
which the system can evolve

ā€¢ A complex system is one that by design or
function or both is diļ¬ƒcult to understand and
verify

ā€¢ A complex system is one in which there are
multiple interactions between many diļ¬€erent
components

ā€¢ Complex systems are systems in process that
constantly evolve and unfold over time

ā€¢ ā€¦ā€©
ā€¢ Features of complex systems:

ā€¢ Composed by several interacting elements

ā€¢ Nonlinearity
ā€¢ Networked or hierarchical structure

ā€¢ Positive and negative feedbacks
ā€¢ Possibility to evolve and adapt

ā€¢ Robustness and plasticity
ā€¢ ā€¦

ā€¢ Complex systems research is a hot topic
for scientistsā€¦ but also for engineers!

ā€¢ One of their main features is their internal
structure and the interaction among their
composing partsā€¦ that very often is
studied by means of simulations
Non linearity?
Simple vs Complicated vs Complex
ā€¢ Simple system

ā€¢ Cause and eļ¬€ect relationships known, stable,
repeatable and predictable

ā€¢ Known system

ā€¢ Example: bicycle

ā€¢ Complicated system

ā€¢ No fundamental diļ¬€erence with respect to cause and
eļ¬€ect relationships, but on a much larger scale and with
increased requirements around coordination or
specialised expertise

ā€¢ ā€œKnowable" system

ā€¢ Examples: car, bus, airplane, rocket

ā€¢ Complex system

ā€¢ Cause and eļ¬€ect relationships often understandable in
retrospect, but not necessarily easily reproduced and
predictable

ā€¢ Systems that can (to a certain extent) be analysed by
means of simulation

ā€¢ Examples: living organism (even simple as yeast),
human organisation (not just an organisational chart, a
real organisation, e.g. a Department)ā€¦ a CA model (the
Game of Life)!
Outline
ā€¢ Complex Systems?

ā€¢ Pedestrian and crowd simulation, a brief introduction and
motivations
ā€¢ Levels of analysis of pedestrian/crowd behaviour

ā€¢ Approaches to pedestrian modelling (macro vs. micro)

ā€¢ Macroscopic modelling rationale

ā€¢ Microscopic modelling alternatives and styles

ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation
projects

ā€¢ Conclusions and discussion
Motivations ofā€Ø
crowd modeling and simulation
ā€¢ Designerā€™s decision support

ā€¢ Normal and evacuation situations

ā€¢ Positioning of signs

ā€¢ Malls and shopping centres

ā€¢ Support crowd management by means
of the elaboration of what-if scenarios

ā€¢ Situations where large crowds are
frequent (sport events, festivals,
religious events)

ā€¢ Public transport systems, in
particular stations

ā€¢ Support the study of pedestrian
behaviour

ā€¢ Envisioning of diļ¬€erent behavioural
models in realistic environments

ā€¢ Possibility to perform ā€˜in-machinaā€™
experiments
Crowds of pedestrians asā€Ø
complex systems
ā€¢ Overall system behaviour depends on
individualsā€™ decisions and actionsā€¦

ā€¢ ā€¦ that are generally inļ¬‚uenced by a
large number of factors

ā€¢ ā€¦ intertwined in an often
unpredictable way

ā€¢ Mixed and conļ¬‚icting mechanisms

ā€¢ Competition for the shared spaceā€¦

ā€¢ ā€¦ but also cooperation (non written
social norms) to prevent stall
situations

ā€¢ Imitation...

ā€¢ ... but also natural tendency to stay
at a distance (proxemics)

ā€¢ Emergent phenomena
ā€¢ ā€¦but also rules, norms
ā€¢ ā€¦
Considerations About
Elder Pedestrians
ā€¢ Elder pedestrians are frequent

ā€¢ Their impact on the transportation
infrastructures can be signiļ¬cant

ā€¢ Structures should be ready to host
them properly

ā€¢ Service points should be organised
and managed taking them into
consideration

ā€¢ Simulation can support the
evaluation of designs and highlight
potential issues

ā€¢ New models for supporting the should
be able to deal with

ā€¢ Heterogeneity in pedestrian speed

ā€¢ Systematic diļ¬€erences in reaction
times

ā€¢ Presence of groups, potentially
structured, some of which with
strong cohesion
Impact of groups in pedestrian
and crowd dynamics
ā€¢ Current approaches generally
consider every pedestrian as a
individual with no relationships

ā€¢ Considering only his/her own
goals

ā€¢ Considering other pedestrians
as moving obstacles 

ā€¢ Nonetheless, in several situations
pedestrians are bound by
relationships inļ¬‚uencing their
movement

ā€¢ Generally speaking, a crowd is
made up of groups of
pedestrians...

ā€¢ What do we miss by neglecting this
aspect of pedestrian behaviour?
Not just ā€œphysicalā€ crowds
Simulation: a deļ¬nition and
motivations
Simulation: a deļ¬nition and
motivations
ā€¢ (Computer) Simulation represents a
way to exploit a computational
model
Simulation: a deļ¬nition and
motivations
ā€¢ (Computer) Simulation represents a
way to exploit a computational
model
ā€“ to evaluate designs and plans
without actually bringing them into
existence in the real world
Simulation: a deļ¬nition and
motivations
ā€¢ (Computer) Simulation represents a
way to exploit a computational
model
ā€“ to evaluate designs and plans
without actually bringing them into
existence in the real world
ā€“ to evaluate theories and models of
complex systems by envisioning the
eļ¬€ect of the modelling choices, with
the aim of gaining insight of their
functioning
Simulation: a deļ¬nition and
motivations
ā€¢ (Computer) Simulation represents a
way to exploit a computational
model
ā€“ to evaluate designs and plans
without actually bringing them into
existence in the real world
ā€“ to evaluate theories and models of
complex systems by envisioning the
eļ¬€ect of the modelling choices, with
the aim of gaining insight of their
functioning
ā€¢ The use of ā€œsynthetic environmentsā€
is sometimes necessary, because the
simulated system cannot actually be
observed
Simulation: a deļ¬nition and
motivations
ā€¢ (Computer) Simulation represents a
way to exploit a computational
model
ā€“ to evaluate designs and plans
without actually bringing them into
existence in the real world
ā€“ to evaluate theories and models of
complex systems by envisioning the
eļ¬€ect of the modelling choices, with
the aim of gaining insight of their
functioning
ā€¢ The use of ā€œsynthetic environmentsā€
is sometimes necessary, because the
simulated system cannot actually be
observed
ā€“ Because it is actually being designed
Simulation: a deļ¬nition and
motivations
ā€¢ (Computer) Simulation represents a
way to exploit a computational
model
ā€“ to evaluate designs and plans
without actually bringing them into
existence in the real world
ā€“ to evaluate theories and models of
complex systems by envisioning the
eļ¬€ect of the modelling choices, with
the aim of gaining insight of their
functioning
ā€¢ The use of ā€œsynthetic environmentsā€
is sometimes necessary, because the
simulated system cannot actually be
observed
ā€“ Because it is actually being designed
ā€“ For ethical or practical reasons
Simulation life-cycle
5
Simulation life-cycle
ā€¢ From the target system to its computational model and a simulator
Modelingā€Ø
and designā€Ø
of a simulator
Target System
Model and simulator
5
Simulation life-cycle
ā€¢ From the target system to its computational model and a simulator
ā€¢ Execution of a simulation campaign
Simulation execution
Modelingā€Ø
and designā€Ø
of a simulator
Target System
Model and simulator Data generated by theā€Ø
simulation(s)
5
Simulation life-cycle
ā€¢ From the target system to its computational model and a simulator
ā€¢ Execution of a simulation campaign
ā€¢ Evaluation/validation of the model (and simulator) against collected
data
Simulation execution
Dynamics of Target System
Modelingā€Ø
and designā€Ø
of a simulator
Analysis of results +
interpretationā€Ø
(model evaluation
leading to explanation
orā€Ø
prediction)
Target System
Model and simulator Data generated by theā€Ø
simulation(s)
Collected Data
5
Simulation life-cycle
ā€¢ From the target system to its computational model and a simulator
ā€¢ Execution of a simulation campaign
ā€¢ Evaluation/validation of the model (and simulator) against collected
data
ā€¢ Possible usage for explanation and/or prediction
Simulation execution
Dynamics of Target System
Modelingā€Ø
and designā€Ø
of a simulator
Analysis of results +
interpretationā€Ø
(model evaluation
leading to explanation
orā€Ø
prediction)
Target System
Model and simulator Data generated by theā€Ø
simulation(s)
Collected Data
5
A comprehensive framework for integrated
synthesis and analysis
Outline
ā€¢ Complex Systems?

ā€¢ Pedestrian and crowd simulation, a brief introduction and
motivations

ā€¢ Levels of analysis of pedestrian/crowd behaviour
ā€¢ Approaches to pedestrian modelling (macro vs. micro)

ā€¢ Macroscopic modelling rationale

ā€¢ Microscopic modelling alternatives and styles

ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation
projects

ā€¢ Conclusions and discussion
Pedestrians and crowds: levels of analysis
Chapter 5. Identiļ¬cation of processes and elements in a pedestrian ļ¬‚ow model 105
The operational level pertains to immediate decisions of the pedestrian concerning his
behaviour. Interactions with other pedestrians play an important role at this level.
An overview of the mentioned decision levels, related processes at and interactions be-
tween different decision levels are given in ļ¬gure 5.1. Also, inputs and outputs on each
level are indicated in this ļ¬gure.
STRATEGIC
TACTICAL
OPERATIONAL
Activity set choice
Derived
activity set
Network topology
Timetable
Route
Activity schedule
Activity areas
Route choice
Activity area choice
Activity scheduling
Dynamic network
characteristics
Geometry
Obstacles
Vehicle characteristics
Walking
Waiting
Performing an activity
Trajectory choice
Figure 5.1: Levels in pedestrian behaviour based on Hoogendoorn et al. (2001) and ļ¬gure 3.1[Hoogendoorn et al., 2001]
Outline
ā€¢ Complex Systems?

ā€¢ Pedestrian and crowd simulation, a brief introduction and
motivations

ā€¢ Levels of analysis of pedestrian/crowd behaviour

ā€¢ Approaches to pedestrian modelling (macro vs. micro)
ā€¢ Macroscopic modelling rationale

ā€¢ Microscopic modelling alternatives and styles

ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation
projects

ā€¢ Conclusions and discussion
Modeling approaches: what to model?
Pedestrian/Crowd
models
Macroscopic
(continuous ļ¬‚uids)
Microscopic
(individual pedestrians)
Overall equations (mass conservation,
ļ¬‚ow velocity) determining velocity and
density in the analysed area
Individual state, position, decision are
modelled; aggregate measures derive
from these decisions
+ lower computational costs
for large crowd
- limited applicability
+ generally greater applicability
- higher computational costs
for large crowd
Macroscopic crowd models rationaleMathematical models Numerical tests Conclusion
Macroscopic models
Pedestrians as "thinking ļ¬‚uid"1
Averaged quantities:
ā‡¢(t, x) pedestrians density
~v(t, x) mean velocity
Mass conservation
(
@tā‡¢ + divx(ā‡¢~v) = 0
ā‡¢(0, x) = ā‡¢0(x)
for x 2 āŒ¦ ā‡¢ R2
, t > 0
Two classes
1st order models: velocity given by a phenomenological
speed-density relation ~v = V (ā‡¢)~āŒ«
2nd order models: velocity given by a momentum balance equation
1
R.L. Hughes, Transp. Res. B, 2002
P. Goatin (INRIA) Mathematical modeling of crowds January 12, 2014 5 / 22
Mathematical models Numerical tests
Eikonal equation: level set curves for |rx | = 1
In an empty space: potential is proportional to distance to destination
P. Goatin (INRIA) Mathematical modeling of crowds January 12, 20
[Goatin, 2014]
ā€¢ Global constraints are speciļ¬ed, e.g.

ā€¢ Mass conservation

ā€¢ Velocity function over the analysed area

ā€¢ Diļ¬€erent types models according to the
velocity function deļ¬nition

ā€¢ 1st order: goal orientation and speed
density relation

ā€¢ 2nd order: momentum balance equation

ā€¢ Considerations

ā€¢ All pedestrians share the same goals
and attitude

ā€¢ Diļ¬ƒcult to consider dynamic aspects in
the environment and situation

ā€¢ Not able to capture all aspects of crowd
dynamics (e.g. some emerging
phenomena)

ā€¢ Suitable for optimisation problems in
speciļ¬c contexts
Example application and results of a recent
macroscopic approach
xāˆ’axis (m)
yāˆ’axis(m)
Densities at t = 50.1 s
5 10 15 20 25 30 35 40 45 50
5
10
15
20
25
30
35
40
45
50
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
xāˆ’axis (m)
yāˆ’axis(m)
Densities at t = 125.1 s
5 10 15 20 25 30 35 40 45 50
5
10
15
20
25
30
35
40
45
50
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
Figure 2: Evacuee assignment using optimal free ļ¬‚ow routing.
yāˆ’axis(m)
Densities at t = 25.1 s
10
15
20
25
30
35
40
45
50
1
1.5
2
2.5
3
3.5
4
4.5
5
yāˆ’axis(m)
Densities at t = 125.1 s
10
15
20
25
30
35
40
45
50
1
1.5
2
2.5
3
3.5
4
4.5
5
xāˆ’axis (m)
yāˆ’axis(m)
Densities at t = 50.1 s
5 10 15 20 25 30 35 40 45 50
5
10
15
20
25
30
35
40
45
50
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
xāˆ’axis (m)
yāˆ’axis(m)
Densities at t = 125.1 s
5 10 15 20 25 30 35 40 45 50
5
10
15
20
25
30
35
40
45
50
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
Figure 2: Evacuee assignment using optimal free ļ¬‚ow routing.
xāˆ’axis (m)
yāˆ’axis(m)
Densities at t = 25.1 s
5 10 15 20 25 30 35 40 45 50
5
10
15
20
25
30
35
40
45
50
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
xāˆ’axis (m)
yāˆ’axis(m)
Densities at t = 125.1 s
5 10 15 20 25 30 35 40 45 50
5
10
15
20
25
30
35
40
45
50
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
Figure 3: Evacuee assignment (iteration 30) for two time stamps. [Hoogendoorn et al., 2014]
Agent Based Models for simulation:
peculiarities, advantages, risks
7
Agent Based Models for simulation:
peculiarities, advantages, risks
7
Agent Based Models for simulation:
peculiarities, advantages, risks
ā€¢ The analytical unit is the
individual agent, not aggregate
variables
7
Agent Based Models for simulation:
peculiarities, advantages, risks
ā€¢ The analytical unit is the
individual agent, not aggregate
variables
7
Agent Based Models for simulation:
peculiarities, advantages, risks
ā€¢ The analytical unit is the
individual agent, not aggregate
variables
ā€¢ This means, on one hand, that
additional insight on the
modelled system is required
7
Agent Based Models for simulation:
peculiarities, advantages, risks
ā€¢ The analytical unit is the
individual agent, not aggregate
variables
ā€¢ This means, on one hand, that
additional insight on the
modelled system is required
ā€¢ On the other hand such a model
should be able to
7
Agent Based Models for simulation:
peculiarities, advantages, risks
ā€¢ The analytical unit is the
individual agent, not aggregate
variables
ā€¢ This means, on one hand, that
additional insight on the
modelled system is required
ā€¢ On the other hand such a model
should be able to
ā€¢ Generate the same
aggregate dynamics as
traditional ones
7
Agent Based Models for simulation:
peculiarities, advantages, risks
ā€¢ The analytical unit is the
individual agent, not aggregate
variables
ā€¢ This means, on one hand, that
additional insight on the
modelled system is required
ā€¢ On the other hand such a model
should be able to
ā€¢ Generate the same
aggregate dynamics as
traditional ones
ā€¢ Be able to represent, manage,
analyse additional aspects,
such as for instance spatial
ones
7
Alternative microscopic
pedestrian and crowd models
ā€¢ Particle based
ā€¢ Mostly, but not exclusively, social force
model and derivatives

ā€¢ Continuous space and time
ā€¢ Cellular Automata
ā€¢ Ad-hoc rules (e.g. Blue & Adler,
intersections) or ļ¬‚oor ļ¬eld approach
(e.g. Nishinari, Schadschneider, ...)

ā€¢ Discrete in time and space
ā€¢ Multi-Agent Systems
ā€¢ Several approaches from computer
graphics (e.g. Thalmann, Terzopoulos,
Donikian, Manocha), some approaches
are extensions of CA, ...

ā€¢ Behavioural models generally more
complex that in CA approaches
Particle based approach
Particle based approach
ā€¢ Pedestrians Ć ļƒ  particles
subject to forces
Particle based approach
ā€¢ Pedestrians Ć ļƒ  particles
subject to forces
ā€¢ Goals: forces of attraction
generated by points/
reference point in the space
Lane formation
Particle based approach
ā€¢ Pedestrians Ć ļƒ  particles
subject to forces
ā€¢ Goals: forces of attraction
generated by points/
reference point in the space
Lane formation
Particle based approach
ā€¢ Pedestrians Ć ļƒ  particles
subject to forces
ā€¢ Goals: forces of attraction
generated by points/
reference point in the space
Lane formation
ā€˜Freezing by heatingā€™
Particle based approach
ā€¢ Pedestrians Ć ļƒ  particles
subject to forces
ā€¢ Goals: forces of attraction
generated by points/
reference point in the space
ā€¢ Interaction among
pedestrians: forces
generated by particles
Lane formation
ā€˜Freezing by heatingā€™
Particle based approach
ā€¢ Pedestrians Ć ļƒ  particles
subject to forces
ā€¢ Goals: forces of attraction
generated by points/
reference point in the space
ā€¢ Interaction among
pedestrians: forces
generated by particles
ā€¢ Social forces
Lane formation
ā€˜Freezing by heatingā€™
Particle based approach
ā€¢ Pedestrians Ć ļƒ  particles
subject to forces
ā€¢ Goals: forces of attraction
generated by points/
reference point in the space
ā€¢ Interaction among
pedestrians: forces
generated by particles
ā€¢ Social forces
ā€¢ Repulsive Ć ļƒ  tendency to stay
at a distance
Lane formation
ā€˜Freezing by heatingā€™
Particle based approach
ā€¢ Pedestrians Ć ļƒ  particles
subject to forces
ā€¢ Goals: forces of attraction
generated by points/
reference point in the space
ā€¢ Interaction among
pedestrians: forces
generated by particles
ā€¢ Social forces
ā€¢ Repulsive Ć ļƒ  tendency to stay
at a distance
ā€¢ Attractive Ć ļƒ  imitative
mechanisms
Lane formation
ā€˜Freezing by heatingā€™
Cellular Automata and crowd modelling
Cellular Automata and crowd modelling
ā€¢ Environment Ć ļƒ  bi-dimensional lattice of
cells
Cellular Automata and crowd modelling
ā€¢ Environment Ć ļƒ  bi-dimensional lattice of
cells
ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell
(e.g. occupied, empty)
Cellular Automata and crowd modelling
ā€¢ Environment Ć ļƒ  bi-dimensional lattice of
cells
ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell
(e.g. occupied, empty)
ā€¢ Movement Ć ļƒ  generated thanks to the
transition rule
Cellular Automata and crowd modelling
ā€¢ Environment Ć ļƒ  bi-dimensional lattice of
cells
ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell
(e.g. occupied, empty)
ā€¢ Movement Ć ļƒ  generated thanks to the
transition rule
ā€“ an occupied cell becomes empty and an
adjacent one, which was previously
vacant, becomes occupied
Cellular Automata and crowd modelling
ā€¢ Environment Ć ļƒ  bi-dimensional lattice of
cells
ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell
(e.g. occupied, empty)
ā€¢ Movement Ć ļƒ  generated thanks to the
transition rule
ā€“ an occupied cell becomes empty and an
adjacent one, which was previously
vacant, becomes occupied
ā€¢ Choice of destination cell in a transition
generally includes information which is
not provided by basic CAs
Cellular Automata and crowd modelling
ā€¢ Environment Ć ļƒ  bi-dimensional lattice of
cells
ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell
(e.g. occupied, empty)
ā€¢ Movement Ć ļƒ  generated thanks to the
transition rule
ā€“ an occupied cell becomes empty and an
adjacent one, which was previously
vacant, becomes occupied
ā€¢ Choice of destination cell in a transition
generally includes information which is
not provided by basic CAs
ā€“ Beneļ¬t-Cost/Gradient: predeļ¬ned
information related to cell desirability
Cellular Automata and crowd modelling
ā€¢ Environment Ć ļƒ  bi-dimensional lattice of
cells
ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell
(e.g. occupied, empty)
ā€¢ Movement Ć ļƒ  generated thanks to the
transition rule
ā€“ an occupied cell becomes empty and an
adjacent one, which was previously
vacant, becomes occupied
ā€¢ Choice of destination cell in a transition
generally includes information which is
not provided by basic CAs
ā€“ Beneļ¬t-Cost/Gradient: predeļ¬ned
information related to cell desirability
ā€“ Magnetic Force/Social Force: model
the eļ¬€ect of presence of other agents
in the environment (attraction/
repulsion of crowds)
From CA to Situated MAS
From CA to Situated MAS
ā€“ Entities are reiļ¬ed, separated from the
environment
From CA to Situated MAS
ā€“ Entities are reiļ¬ed, separated from the
environment
ā€“ Agents, not just cell states
From CA to Situated MAS
ā€“ Entities are reiļ¬ed, separated from the
environment
ā€“ Agents, not just cell states
ā€“ They may have diļ¬€erent behaviours
ā€“ Possibility to grant agents diļ¬€erent
information about the environment
ā€“ Possibility to integrate several
diļ¬€erent action deliberation models
From CA to Situated MAS
ā€“ Entities are reiļ¬ed, separated from the
environment
ā€“ Agents, not just cell states
ā€“ They may have diļ¬€erent behaviours
ā€“ Possibility to grant agents diļ¬€erent
information about the environment
ā€“ Possibility to integrate several
diļ¬€erent action deliberation models
ā€“ Possibly heterogeneous system
From CA to Situated MAS
ā€“ Entities are reiļ¬ed, separated from the
environment
ā€“ Agents, not just cell states
ā€“ They may have diļ¬€erent behaviours
ā€“ Possibility to grant agents diļ¬€erent
information about the environment
ā€“ Possibility to integrate several
diļ¬€erent action deliberation models
ā€“ Possibly heterogeneous system
ā€“ Entities interact by means of
mechanisms not necessarily related to
underlying cellā€™s adjacency
From CA to Situated MAS
ā€“ Entities are reiļ¬ed, separated from the
environment
ā€“ Agents, not just cell states
ā€“ They may have diļ¬€erent behaviours
ā€“ Possibility to grant agents diļ¬€erent
information about the environment
ā€“ Possibility to integrate several
diļ¬€erent action deliberation models
ā€“ Possibly heterogeneous system
ā€“ Entities interact by means of
mechanisms not necessarily related to
underlying cellā€™s adjacency
ā€“ Action at a distance is allowed
Situated MAS:ā€Ø
action and interaction
Situated MAS:ā€Ø
action and interaction
ā€“ Agents are situated
Situated MAS:ā€Ø
action and interaction
ā€“ Agents are situated
ā€“ they perceive their context and situation
Situated MAS:ā€Ø
action and interaction
ā€“ Agents are situated
ā€“ they perceive their context and situation
ā€“ their behaviour is based on their local
point of view
Situated MAS:ā€Ø
action and interaction
ā€“ Agents are situated
ā€“ they perceive their context and situation
ā€“ their behaviour is based on their local
point of view
ā€“ their possibility to act (move) and
interact is inļ¬‚uenced by the
environment
Situated MAS:ā€Ø
action and interaction
ā€“ Agents are situated
ā€“ they perceive their context and situation
ā€“ their behaviour is based on their local
point of view
ā€“ their possibility to act (move) and
interact is inļ¬‚uenced by the
environment
ā€“ Situated Agents Interaction models
Situated MAS:ā€Ø
action and interaction
ā€“ Agents are situated
ā€“ they perceive their context and situation
ā€“ their behaviour is based on their local
point of view
ā€“ their possibility to act (move) and
interact is inļ¬‚uenced by the
environment
ā€“ Situated Agents Interaction models
ā€“ Often inspired by biological systems
(e.g. pheromones, computational ļ¬elds)
Situated MAS:ā€Ø
action and interaction
ā€“ Agents are situated
ā€“ they perceive their context and situation
ā€“ their behaviour is based on their local
point of view
ā€“ their possibility to act (move) and
interact is inļ¬‚uenced by the
environment
ā€“ Situated Agents Interaction models
ā€“ Often inspired by biological systems
(e.g. pheromones, computational ļ¬elds)
ā€“ Generally provide a modiļ¬cation of the
environment, which can be perceived
by other entities
Situated MAS:ā€Ø
action and interaction
ā€“ Agents are situated
ā€“ they perceive their context and situation
ā€“ their behaviour is based on their local
point of view
ā€“ their possibility to act (move) and
interact is inļ¬‚uenced by the
environment
ā€“ Situated Agents Interaction models
ā€“ Often inspired by biological systems
(e.g. pheromones, computational ļ¬elds)
ā€“ Generally provide a modiļ¬cation of the
environment, which can be perceived
by other entities
ā€“ But may also provide a direct
communication (as for CAs interaction
among neighbouring cells)
Groups in the literature -
Modeling and Simulation
ā€¢ Extensions to the social force model

ā€¢ Helbing, Theraulaz et al. 2009, 2010

ā€¢ Small groups (2,3,4), unstructured

ā€¢ Low to moderate densities
ā€¢ Validation based on actual observations

ā€¢ Xu and Duh, 2010

ā€¢ Only couples (groups of 2 pedestrians)

ā€¢ Low to moderate densities
ā€¢ Shallow validation based on literature
(Daamen, 2004)

ā€¢ CA models

ā€¢ Sarmady, Haron, Zawawi Hj, 2009

ā€¢ Leaders and followers
ā€¢ Groups of 2 to 6 members experimented

ā€¢ Not validated

ā€¢ Agent-based models

ā€¢ Qiu and Hu 2010

ā€¢ Structured groups (intra and inter group
matrices)

ā€¢ Large groups experimented (60 pedestrians)

ā€¢ Not validated

ā€¢ Group members tend to stay close to other group
members (additional behavioural component)
Meso level approaches: the best of both worlds?
Outline
ā€¢ Complex Systems?

ā€¢ Pedestrian and crowd simulation, a brief introduction and
motivations

ā€¢ Levels of analysis of pedestrian/crowd behaviour

ā€¢ Approaches to pedestrian modelling (macro vs. micro)

ā€¢ Macroscopic modelling rationale

ā€¢ Microscopic modelling alternatives and styles

ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation
simulation projects
ā€¢ Conclusions and discussion
Why not use simple queues?
Why not use simple queues?
ā€¢ One could model such a system
with one (or more) simple queues...
Pedestrian
in the lecture
hall
Exit
(one pedestrian
every t ms)
Why not use simple queues?
ā€¢ One could model such a system
with one (or more) simple queues...
Pedestrian
in the lecture
hall
Exit
(one pedestrian
every t ms)
Exit
(one pedestrian
every t ms)
Why not use simple queues?
ā€¢ One could model such a system
with one (or more) simple queues...
ā€¢ ... but the model would not be able
to ā€˜answerā€™ some of the questions
we can pose to the previous models
ā€¢ What if t is unknown?
ā€¢ Only aggregate quantities are
managed
ā€¢ No heterogeneity
Pedestrian
in the lecture
hall
Exit
(one pedestrian
every t ms)
Exit
(one pedestrian
every t ms)
Why not use simple queues?
ā€¢ One could model such a system
with one (or more) simple queues...
ā€¢ ... but the model would not be able
to ā€˜answerā€™ some of the questions
we can pose to the previous models
ā€¢ What if t is unknown?
ā€¢ Only aggregate quantities are
managed
ā€¢ No heterogeneity
ā€¢ Moreover, it would be very diļ¬ƒcult to
manage more complex situations,
in terms of:
Pedestrian
in the lecture
hall
Exit
(one pedestrian
every t ms)
Exit
(one pedestrian
every t ms)
Why not use simple queues?
ā€¢ One could model such a system
with one (or more) simple queues...
ā€¢ ... but the model would not be able
to ā€˜answerā€™ some of the questions
we can pose to the previous models
ā€¢ What if t is unknown?
ā€¢ Only aggregate quantities are
managed
ā€¢ No heterogeneity
ā€¢ Moreover, it would be very diļ¬ƒcult to
manage more complex situations,
in terms of:
ā€¢ Environmental structure
Pedestrian
in the lecture
hall
Exit
(one pedestrian
every t ms)
Exit
(one pedestrian
every t ms)
Why not use simple queues?
ā€¢ One could model such a system
with one (or more) simple queues...
ā€¢ ... but the model would not be able
to ā€˜answerā€™ some of the questions
we can pose to the previous models
ā€¢ What if t is unknown?
ā€¢ Only aggregate quantities are
managed
ā€¢ No heterogeneity
ā€¢ Moreover, it would be very diļ¬ƒcult to
manage more complex situations,
in terms of:
ā€¢ Environmental structure
ā€¢ Possible behaviours for the
pedestrians
Pedestrian
in the lecture
hall
Exit
(one pedestrian
every t ms)
Exit
(one pedestrian
every t ms)
So, no ā€œbestā€ modeling approach?
So, no ā€œbestā€ modeling approach?
ā€¢ The choice of the abstract/
computational model depends on
several factors:
So, no ā€œbestā€ modeling approach?
ā€¢ The choice of the abstract/
computational model depends on
several factors:
ā€¢ Available knowledge on the
simulated phenomenon/
situation/reality
So, no ā€œbestā€ modeling approach?
ā€¢ The choice of the abstract/
computational model depends on
several factors:
ā€¢ Available knowledge on the
simulated phenomenon/
situation/reality
ā€¢ Available data on actual
scenarios, for sake of
calibration, veriļ¬cation and
validation
So, no ā€œbestā€ modeling approach?
ā€¢ The choice of the abstract/
computational model depends on
several factors:
ā€¢ Available knowledge on the
simulated phenomenon/
situation/reality
ā€¢ Available data on actual
scenarios, for sake of
calibration, veriļ¬cation and
validation
ā€¢ Goals of the simulation activity
So, no ā€œbestā€ modeling approach?
ā€¢ The choice of the abstract/
computational model depends on
several factors:
ā€¢ Available knowledge on the
simulated phenomenon/
situation/reality
ā€¢ Available data on actual
scenarios, for sake of
calibration, veriļ¬cation and
validation
ā€¢ Goals of the simulation activity
ā€¢ Possible tension between these
elements!
What about Agent Based Modeling and
Simulation methodologies?
What about Agent Based Modeling and
Simulation methodologies?
ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology
that is both general and actually useful
What about Agent Based Modeling and
Simulation methodologies?
ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology
that is both general and actually useful
ā€¢ General methodologies tend to deļ¬ne
well understood macro phases, but no
useful suggestion on how actually carry
them out in a speciļ¬c context
What about Agent Based Modeling and
Simulation methodologies?
ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology
that is both general and actually useful
ā€¢ General methodologies tend to deļ¬ne
well understood macro phases, but no
useful suggestion on how actually carry
them out in a speciļ¬c context
ā€¢ For instance, in diļ¬€erent domains it is
not even clear what is the most proper
modelling granularity level
What about Agent Based Modeling and
Simulation methodologies?
ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology
that is both general and actually useful
ā€¢ General methodologies tend to deļ¬ne
well understood macro phases, but no
useful suggestion on how actually carry
them out in a speciļ¬c context
ā€¢ For instance, in diļ¬€erent domains it is
not even clear what is the most proper
modelling granularity level
ā€“ In crowd modelling, a pedestrian is
modelled as an agent (at least in
microscopic models)ā€¦
What about Agent Based Modeling and
Simulation methodologies?
ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology
that is both general and actually useful
ā€¢ General methodologies tend to deļ¬ne
well understood macro phases, but no
useful suggestion on how actually carry
them out in a speciļ¬c context
ā€¢ For instance, in diļ¬€erent domains it is
not even clear what is the most proper
modelling granularity level
ā€“ In crowd modelling, a pedestrian is
modelled as an agent (at least in
microscopic models)ā€¦
ā€“ But in biological systems, what should be
represented as an agent? An organism?
An organ? A cell? A molecule?
What about Agent Based Modeling and
Simulation methodologies?
ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology
that is both general and actually useful
ā€¢ General methodologies tend to deļ¬ne
well understood macro phases, but no
useful suggestion on how actually carry
them out in a speciļ¬c context
ā€¢ For instance, in diļ¬€erent domains it is
not even clear what is the most proper
modelling granularity level
ā€“ In crowd modelling, a pedestrian is
modelled as an agent (at least in
microscopic models)ā€¦
ā€“ But in biological systems, what should be
represented as an agent? An organism?
An organ? A cell? A molecule?
ā€¢ Speciļ¬c useful (more or less) formalised
modelling approaches and
methodologies only in speciļ¬c contexts
?
A reļ¬‚ection: from reality, to models, to a simulation
system
ā€¢ The overall simulation project involves
several phase, roles, types of
knowledge and competences
ā€¢ The frequent passages (translation,
encoding, decoding, interpretation...)
between diļ¬€erent levels of abstraction
can lead to several problems

ā€¢ Non documented assumptions

ā€¢ Unrealistic/unfeasible simpliļ¬cations
ā€¢ Simulation projects are diļ¬ƒcult
ā€¢ R. Shannon, ā€œIntroduction to the Art and
Science of Simulationā€ (1998)

ā€¢ ... But some even talk of ā€œdark artsā€ [J.P.
Marney and H. Tarbert, ā€œWhy do
simulation? Towards a working
epistemology for practitioners of the dark
artsā€ (2000)]
Reality
Subsystem
Abstract model
Computational model
Simulator
Conclusions and
discussion
ā€¢ The study of pedestrians and crowd behaviour
fruitfully comprises activity of analysis and
synthesis 

ā€¢ The behaviour of pedestrians and crowds can
be analysed at diļ¬€erent levels

ā€¢ Both macro and microscopic approaches to the
modelling of these phenomena are possibleā€¦

ā€¢ ā€¦ both have merits and limits in their
applicability

ā€¢ Microscopic approaches take a very diļ¬€erent
perspective on pedestrians and their
environment

ā€¢ The contribution of diļ¬€erent disciplines, experts
is crucial but the overall simulation project
requires particular attention

ā€¢ Of course, these model, studies and application
domain can be a source for diļ¬€erent research
areaā€¦

ā€¢ ā€¦ a source of new problems and potential
opportunities 

ā€¢ ā€¦ a source of suggestions, potentially
interesting approaches/solutions
Outline
ā€¢ Complex Systems?

ā€¢ Pedestrian and crowd simulation, a brief introduction and
motivations

ā€¢ Levels of analysis of pedestrian/crowd behaviour

ā€¢ Approaches to pedestrian modelling (macro vs. micro)

ā€¢ Macroscopic modelling rationale

ā€¢ Microscopic modelling alternatives and styles

ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation
projects

ā€¢ Conclusions and discussion
恂悊恌ćØć†ć”ć–ć„ć¾ć™ć€‚ Giuseppe Vizzari
Minimal bibliography
ā€¢ Stefania Bandini, Andrea Gorrini, Giuseppe Vizzari: Towards an integrated approach to crowd analysis and crowd synthesis: A
case study and ļ¬rst results. Pattern Recognition Letters 44: 16-29 (2014).

ā€¢ Hoogendoorn, S.P., P.H.L. Bovy & W. Daamen (2001), Microscopic pedestrian wayļ¬nding and dynamics modelling, In: M.
Schreckenberg & S. Sharma, (eds.), Pedestrian and Evacuation Dynamics, Springer, Berlin, 123ā€“154.

ā€¢ Andreas Schadschneider, Wolfram Klingsch, Hubert KlĆ¼pfel, Tobias Kretz, Christian Rogsch, Armin Seyfried: Evacuation
Dynamics: Empirical Results, Modeling and Applications. Encyclopedia of Complexity and Systems Science 2009: 3142-3176.

ā€¢ Paola Goatin (2014), Mathematical modeling of crowds. Presentation at TRB 2014 Workshop ā€œCrowd Flow Dynamics,
Modeling and Managementā€ - available in ā€œTRB Subcommittee on Crowd Flow Dynamics, Modeling, and Managementā€
Facebook group 

ā€¢ Serge Hoogendoorn, Winnie Daamen, Dorine Duives, and Femke van Wageningen-Kessels: Optimal Crowd Evacuation. TRB
2014

ā€¢ Helbing, D., A. Johansson, and H. Z. Al-Abideen, Dynamics of crowd disasters: An empirical study. Phys. Rev. E, Vol. 75, 2007,
p. 046109.

ā€¢ Colombo, Rinaldo M., Paola Goatin, Giulio Maternini, and Massimiliano D. Rosini. "Macroscopic Models for Pedestrian Flows."
In Big events and transport: the transportation requirements for the management of large scale events. 2010.

ā€¢ Daamen, Winnie, Serge P. Hoogendoorn, and Piet HL Bovy. "First-order pedestrian traļ¬ƒc ļ¬‚ow theory." Transportation
Research Record: Journal of the Transportation Research Board 1934, no. 1 (2005): 43-52.

ā€¢ Helbing, Dirk, and Peter Molnar. "Social force model for pedestrian dynamics." Physical review E 51, no. 5 (1995): 4282.

ā€¢ KlĆ¼pfel, H., A Cellular Automaton Model for Crowd Movement and Egress Simulation. Ph.D. thesis, University Duisburg-Essen,
2003.

ā€¢ Burstedde, C., K. Klauck, A. Schadschneider, and J. Zittartz, Simulation of pedestrian dynamics using a two-dimensional
cellular automaton. Physica A: Statistical Mechanics and its Applications, Vol. 295, No. 3 - 4, 2001, pp. 507 ā€“ 525.

ā€¢ Vizzari, G., L. Manenti, and L. Crociani, Adaptive Pedestrian Behaviour for the Preservation of Group Cohesion. Complex
Adaptive Systems Modeling, Vol. 1, No. 7, 2013.

More Related Content

Viewers also liked

NSW Transport Infrastructure Leaders 2016
NSW Transport Infrastructure Leaders 2016NSW Transport Infrastructure Leaders 2016
NSW Transport Infrastructure Leaders 2016
Samantha Young
Ā 
Critiques
CritiquesCritiques
Critiques
quailbites
Ā 
Behavior and health correction
Behavior and health correctionBehavior and health correction
Behavior and health correction
blessedkkr
Ā 
Week 1 documentary
Week 1  documentaryWeek 1  documentary
Week 1 documentary
romanyangel4
Ā 
Donor voice pretest tool webinar deck_final
Donor voice pretest tool webinar deck_finalDonor voice pretest tool webinar deck_final
Donor voice pretest tool webinar deck_final
DonorVoice
Ā 
AIDS-affected MSEs
AIDS-affected MSEsAIDS-affected MSEs
AIDS-affected MSEs
Mary Morgan
Ā 

Viewers also liked (19)

Adaptive pedestrian behaviour for the preservation of group cohesion: observa...
Adaptive pedestrian behaviour for the preservation of group cohesion: observa...Adaptive pedestrian behaviour for the preservation of group cohesion: observa...
Adaptive pedestrian behaviour for the preservation of group cohesion: observa...
Ā 
Pedestrian modelling
Pedestrian modellingPedestrian modelling
Pedestrian modelling
Ā 
Differential game theory for Traffic Flow Modelling
Differential game theory for Traffic Flow ModellingDifferential game theory for Traffic Flow Modelling
Differential game theory for Traffic Flow Modelling
Ā 
Cohesiveness and group dynamics
Cohesiveness and group dynamicsCohesiveness and group dynamics
Cohesiveness and group dynamics
Ā 
Empirical investication on pedestrian crowd dynamics and grouping
Empirical investication on pedestrian crowd dynamics and groupingEmpirical investication on pedestrian crowd dynamics and grouping
Empirical investication on pedestrian crowd dynamics and grouping
Ā 
General purpose simulation System (GPSS)
General purpose simulation System (GPSS)General purpose simulation System (GPSS)
General purpose simulation System (GPSS)
Ā 
Practical AI in Games
Practical AI in GamesPractical AI in Games
Practical AI in Games
Ā 
NSW Transport Infrastructure Leaders 2016
NSW Transport Infrastructure Leaders 2016NSW Transport Infrastructure Leaders 2016
NSW Transport Infrastructure Leaders 2016
Ā 
Critiques
CritiquesCritiques
Critiques
Ā 
Behavior and health correction
Behavior and health correctionBehavior and health correction
Behavior and health correction
Ā 
2016 j
2016 j2016 j
2016 j
Ā 
Week 1 documentary
Week 1  documentaryWeek 1  documentary
Week 1 documentary
Ā 
Kassandra palafox mendivil
Kassandra palafox mendivilKassandra palafox mendivil
Kassandra palafox mendivil
Ā 
Indicadores de desempeƱo 2Ā°do periodo
Indicadores de desempeƱo 2Ā°do periodoIndicadores de desempeƱo 2Ā°do periodo
Indicadores de desempeƱo 2Ā°do periodo
Ā 
Donor voice pretest tool webinar deck_final
Donor voice pretest tool webinar deck_finalDonor voice pretest tool webinar deck_final
Donor voice pretest tool webinar deck_final
Ā 
The Future Of Giving: Why Students And Young Alumni Matter
The Future Of Giving: Why Students And Young Alumni MatterThe Future Of Giving: Why Students And Young Alumni Matter
The Future Of Giving: Why Students And Young Alumni Matter
Ā 
AIDS-affected MSEs
AIDS-affected MSEsAIDS-affected MSEs
AIDS-affected MSEs
Ā 
La biografĆ­a de james rodrĆ­guez
La biografĆ­a de james rodrĆ­guezLa biografĆ­a de james rodrĆ­guez
La biografĆ­a de james rodrĆ­guez
Ā 
Sentence 1
Sentence 1Sentence 1
Sentence 1
Ā 

Similar to Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)

Simulation Models as a Research Method.ppt
Simulation Models as a Research Method.pptSimulation Models as a Research Method.ppt
Simulation Models as a Research Method.ppt
QidiwQidiwQidiw
Ā 
05.system model and diagram
05.system model and diagram05.system model and diagram
05.system model and diagram
Rio Aurachman
Ā 

Similar to Simulation of complex systems: the case of crowds (Phd course - lesson 1/7) (20)

Simulation Models as a Research Method.ppt
Simulation Models as a Research Method.pptSimulation Models as a Research Method.ppt
Simulation Models as a Research Method.ppt
Ā 
Simulation and Modelling Reading Notes.pptx
Simulation and Modelling  Reading Notes.pptxSimulation and Modelling  Reading Notes.pptx
Simulation and Modelling Reading Notes.pptx
Ā 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulation
Ā 
M 3 iot
M 3 iotM 3 iot
M 3 iot
Ā 
Chapter19
Chapter19Chapter19
Chapter19
Ā 
The principles of simulation system design.pptx
The principles of simulation system design.pptxThe principles of simulation system design.pptx
The principles of simulation system design.pptx
Ā 
Reconciling Self-adaptation and Self-organization
Reconciling Self-adaptation and Self-organizationReconciling Self-adaptation and Self-organization
Reconciling Self-adaptation and Self-organization
Ā 
Reconciling self-adaptation and self-organization
Reconciling self-adaptation and self-organizationReconciling self-adaptation and self-organization
Reconciling self-adaptation and self-organization
Ā 
Simulation in Social Sciences - Lecture 6 in Introduction to Computational S...
Simulation in Social Sciences -  Lecture 6 in Introduction to Computational S...Simulation in Social Sciences -  Lecture 6 in Introduction to Computational S...
Simulation in Social Sciences - Lecture 6 in Introduction to Computational S...
Ā 
Introduction to Modelling and Simulation.pptx
Introduction to Modelling and Simulation.pptxIntroduction to Modelling and Simulation.pptx
Introduction to Modelling and Simulation.pptx
Ā 
Industry Training: 03 Awareness Simulation
Industry Training: 03 Awareness SimulationIndustry Training: 03 Awareness Simulation
Industry Training: 03 Awareness Simulation
Ā 
Simulation lecture 1
Simulation lecture 1Simulation lecture 1
Simulation lecture 1
Ā 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSS
Ā 
System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation Introduction
Ā 
ML
MLML
ML
Ā 
lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
Ā 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]
Ā 
Lec 1 computational modeling - Introduction.pdf
Lec 1 computational modeling - Introduction.pdfLec 1 computational modeling - Introduction.pdf
Lec 1 computational modeling - Introduction.pdf
Ā 
05.system model and diagram
05.system model and diagram05.system model and diagram
05.system model and diagram
Ā 
What is sim?ulation
What is sim?ulationWhat is sim?ulation
What is sim?ulation
Ā 

More from Giuseppe Vizzari

More from Giuseppe Vizzari (20)

Presentazione CdLM in Teoria e Tecnologia della Comunicazione A.A. 2020/21
Presentazione CdLM in Teoria e Tecnologia della Comunicazione A.A. 2020/21Presentazione CdLM in Teoria e Tecnologia della Comunicazione A.A. 2020/21
Presentazione CdLM in Teoria e Tecnologia della Comunicazione A.A. 2020/21
Ā 
14 - Web designer vs Web developer ...
14 - Web designer vs Web developer ... 14 - Web designer vs Web developer ...
14 - Web designer vs Web developer ...
Ā 
13 - Web feed e aggregatori
13 - Web feed e aggregatori13 - Web feed e aggregatori
13 - Web feed e aggregatori
Ā 
12 - Social media (19/20)
12 - Social media (19/20)12 - Social media (19/20)
12 - Social media (19/20)
Ā 
11 - Evoluzione del Web (19/20)
11 - Evoluzione del Web (19/20)11 - Evoluzione del Web (19/20)
11 - Evoluzione del Web (19/20)
Ā 
10 - Modelli di business nel Web (19/20)
10 - Modelli di business nel Web (19/20)10 - Modelli di business nel Web (19/20)
10 - Modelli di business nel Web (19/20)
Ā 
9 - Ricercare nel Web
9 - Ricercare nel Web9 - Ricercare nel Web
9 - Ricercare nel Web
Ā 
8 - Il browser
8 - Il browser8 - Il browser
8 - Il browser
Ā 
7 - Web application e CMS
7 - Web application e CMS7 - Web application e CMS
7 - Web application e CMS
Ā 
6 - Wordpress e vostro blog
6 - Wordpress e vostro blog6 - Wordpress e vostro blog
6 - Wordpress e vostro blog
Ā 
HTML (+ DOM) + CSS
HTML (+ DOM) + CSSHTML (+ DOM) + CSS
HTML (+ DOM) + CSS
Ā 
5 - Introduzione al Web (2/2)
5 - Introduzione al Web (2/2)5 - Introduzione al Web (2/2)
5 - Introduzione al Web (2/2)
Ā 
4 - Introduzione al Web (1/2)
4 - Introduzione al Web (1/2)4 - Introduzione al Web (1/2)
4 - Introduzione al Web (1/2)
Ā 
3 - Introduzione a Internet (2/2)
3 - Introduzione a Internet (2/2)3 - Introduzione a Internet (2/2)
3 - Introduzione a Internet (2/2)
Ā 
2 - Introduzione ad Internet (1/2)
2 - Introduzione ad Internet (1/2)2 - Introduzione ad Internet (1/2)
2 - Introduzione ad Internet (1/2)
Ā 
1 - Introduzione al corso 19/20
1 - Introduzione al corso 19/201 - Introduzione al corso 19/20
1 - Introduzione al corso 19/20
Ā 
Intelligenza Artificiale e RealtĆ  Virtuale
Intelligenza Artificiale e RealtĆ  VirtualeIntelligenza Artificiale e RealtĆ  Virtuale
Intelligenza Artificiale e RealtĆ  Virtuale
Ā 
Web designer vs Web developer
Web designer vs Web developerWeb designer vs Web developer
Web designer vs Web developer
Ā 
Wiki e open internet
Wiki e open internetWiki e open internet
Wiki e open internet
Ā 
Web feed e aggregatori
Web feed e aggregatoriWeb feed e aggregatori
Web feed e aggregatori
Ā 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
Ā 

Recently uploaded (20)

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
Ā 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
Ā 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
Ā 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Ā 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
Ā 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Ā 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
Ā 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Ā 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
Ā 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
Ā 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
Ā 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
Ā 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
Ā 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
Ā 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
Ā 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
Ā 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
Ā 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
Ā 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
Ā 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
Ā 

Simulation of complex systems: the case of crowds (Phd course - lesson 1/7)

  • 1. Simulation of complex systems: the case of crowds Giuseppe Vizzari Complex Systems and Artiļ¬cial Intelligence Research Center (CSAI) University of Milano-Bicocca, Italy
  • 2. Outline ā€¢ Complex Systems? ā€¢ Pedestrian and crowd simulation, a brief introduction and motivations ā€¢ Levels of analysis of pedestrian/crowd behaviour ā€¢ Approaches to pedestrian modelling (macro vs. micro) ā€¢ Macroscopic modelling rationale ā€¢ Microscopic modelling alternatives and styles ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation projects ā€¢ Conclusions and discussion
  • 3. Outline ā€¢ Complex Systems? ā€¢ Pedestrian and crowd simulation, a brief introduction and motivations ā€¢ Levels of analysis of pedestrian/crowd behaviour ā€¢ Approaches to pedestrian modelling (macro vs. micro) ā€¢ Macroscopic modelling rationale ā€¢ Microscopic modelling alternatives and styles ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation projects ā€¢ Conclusions and discussion
  • 4. Complex Systems? ā€¢ Several (more ore less formal) deļ¬nitions: ā€¢ A complex system is a highly structured system, which shows structure with variations ā€¢ A complex system is one whose evolution is very sensitive to initial conditions or to small perturbations, one in which the number of independent interacting components is large, or one in which there are multiple pathways by which the system can evolve ā€¢ A complex system is one that by design or function or both is diļ¬ƒcult to understand and verify ā€¢ A complex system is one in which there are multiple interactions between many diļ¬€erent components ā€¢ Complex systems are systems in process that constantly evolve and unfold over time ā€¢ ā€¦ā€© ā€¢ Features of complex systems: ā€¢ Composed by several interacting elements ā€¢ Nonlinearity ā€¢ Networked or hierarchical structure ā€¢ Positive and negative feedbacks ā€¢ Possibility to evolve and adapt ā€¢ Robustness and plasticity ā€¢ ā€¦ ā€¢ Complex systems research is a hot topic for scientistsā€¦ but also for engineers! ā€¢ One of their main features is their internal structure and the interaction among their composing partsā€¦ that very often is studied by means of simulations
  • 6. Simple vs Complicated vs Complex ā€¢ Simple system ā€¢ Cause and eļ¬€ect relationships known, stable, repeatable and predictable ā€¢ Known system ā€¢ Example: bicycle ā€¢ Complicated system ā€¢ No fundamental diļ¬€erence with respect to cause and eļ¬€ect relationships, but on a much larger scale and with increased requirements around coordination or specialised expertise ā€¢ ā€œKnowable" system ā€¢ Examples: car, bus, airplane, rocket ā€¢ Complex system ā€¢ Cause and eļ¬€ect relationships often understandable in retrospect, but not necessarily easily reproduced and predictable ā€¢ Systems that can (to a certain extent) be analysed by means of simulation ā€¢ Examples: living organism (even simple as yeast), human organisation (not just an organisational chart, a real organisation, e.g. a Department)ā€¦ a CA model (the Game of Life)!
  • 7. Outline ā€¢ Complex Systems? ā€¢ Pedestrian and crowd simulation, a brief introduction and motivations ā€¢ Levels of analysis of pedestrian/crowd behaviour ā€¢ Approaches to pedestrian modelling (macro vs. micro) ā€¢ Macroscopic modelling rationale ā€¢ Microscopic modelling alternatives and styles ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation projects ā€¢ Conclusions and discussion
  • 8. Motivations ofā€Ø crowd modeling and simulation ā€¢ Designerā€™s decision support ā€¢ Normal and evacuation situations ā€¢ Positioning of signs ā€¢ Malls and shopping centres ā€¢ Support crowd management by means of the elaboration of what-if scenarios ā€¢ Situations where large crowds are frequent (sport events, festivals, religious events) ā€¢ Public transport systems, in particular stations ā€¢ Support the study of pedestrian behaviour ā€¢ Envisioning of diļ¬€erent behavioural models in realistic environments ā€¢ Possibility to perform ā€˜in-machinaā€™ experiments
  • 9. Crowds of pedestrians asā€Ø complex systems ā€¢ Overall system behaviour depends on individualsā€™ decisions and actionsā€¦ ā€¢ ā€¦ that are generally inļ¬‚uenced by a large number of factors ā€¢ ā€¦ intertwined in an often unpredictable way ā€¢ Mixed and conļ¬‚icting mechanisms ā€¢ Competition for the shared spaceā€¦ ā€¢ ā€¦ but also cooperation (non written social norms) to prevent stall situations ā€¢ Imitation... ā€¢ ... but also natural tendency to stay at a distance (proxemics) ā€¢ Emergent phenomena ā€¢ ā€¦but also rules, norms ā€¢ ā€¦
  • 10. Considerations About Elder Pedestrians ā€¢ Elder pedestrians are frequent ā€¢ Their impact on the transportation infrastructures can be signiļ¬cant ā€¢ Structures should be ready to host them properly ā€¢ Service points should be organised and managed taking them into consideration ā€¢ Simulation can support the evaluation of designs and highlight potential issues ā€¢ New models for supporting the should be able to deal with ā€¢ Heterogeneity in pedestrian speed ā€¢ Systematic diļ¬€erences in reaction times ā€¢ Presence of groups, potentially structured, some of which with strong cohesion
  • 11. Impact of groups in pedestrian and crowd dynamics ā€¢ Current approaches generally consider every pedestrian as a individual with no relationships ā€¢ Considering only his/her own goals ā€¢ Considering other pedestrians as moving obstacles ā€¢ Nonetheless, in several situations pedestrians are bound by relationships inļ¬‚uencing their movement ā€¢ Generally speaking, a crowd is made up of groups of pedestrians... ā€¢ What do we miss by neglecting this aspect of pedestrian behaviour?
  • 13. Simulation: a deļ¬nition and motivations
  • 14. Simulation: a deļ¬nition and motivations ā€¢ (Computer) Simulation represents a way to exploit a computational model
  • 15. Simulation: a deļ¬nition and motivations ā€¢ (Computer) Simulation represents a way to exploit a computational model ā€“ to evaluate designs and plans without actually bringing them into existence in the real world
  • 16. Simulation: a deļ¬nition and motivations ā€¢ (Computer) Simulation represents a way to exploit a computational model ā€“ to evaluate designs and plans without actually bringing them into existence in the real world ā€“ to evaluate theories and models of complex systems by envisioning the eļ¬€ect of the modelling choices, with the aim of gaining insight of their functioning
  • 17. Simulation: a deļ¬nition and motivations ā€¢ (Computer) Simulation represents a way to exploit a computational model ā€“ to evaluate designs and plans without actually bringing them into existence in the real world ā€“ to evaluate theories and models of complex systems by envisioning the eļ¬€ect of the modelling choices, with the aim of gaining insight of their functioning ā€¢ The use of ā€œsynthetic environmentsā€ is sometimes necessary, because the simulated system cannot actually be observed
  • 18. Simulation: a deļ¬nition and motivations ā€¢ (Computer) Simulation represents a way to exploit a computational model ā€“ to evaluate designs and plans without actually bringing them into existence in the real world ā€“ to evaluate theories and models of complex systems by envisioning the eļ¬€ect of the modelling choices, with the aim of gaining insight of their functioning ā€¢ The use of ā€œsynthetic environmentsā€ is sometimes necessary, because the simulated system cannot actually be observed ā€“ Because it is actually being designed
  • 19. Simulation: a deļ¬nition and motivations ā€¢ (Computer) Simulation represents a way to exploit a computational model ā€“ to evaluate designs and plans without actually bringing them into existence in the real world ā€“ to evaluate theories and models of complex systems by envisioning the eļ¬€ect of the modelling choices, with the aim of gaining insight of their functioning ā€¢ The use of ā€œsynthetic environmentsā€ is sometimes necessary, because the simulated system cannot actually be observed ā€“ Because it is actually being designed ā€“ For ethical or practical reasons
  • 21. Simulation life-cycle ā€¢ From the target system to its computational model and a simulator Modelingā€Ø and designā€Ø of a simulator Target System Model and simulator 5
  • 22. Simulation life-cycle ā€¢ From the target system to its computational model and a simulator ā€¢ Execution of a simulation campaign Simulation execution Modelingā€Ø and designā€Ø of a simulator Target System Model and simulator Data generated by theā€Ø simulation(s) 5
  • 23. Simulation life-cycle ā€¢ From the target system to its computational model and a simulator ā€¢ Execution of a simulation campaign ā€¢ Evaluation/validation of the model (and simulator) against collected data Simulation execution Dynamics of Target System Modelingā€Ø and designā€Ø of a simulator Analysis of results + interpretationā€Ø (model evaluation leading to explanation orā€Ø prediction) Target System Model and simulator Data generated by theā€Ø simulation(s) Collected Data 5
  • 24. Simulation life-cycle ā€¢ From the target system to its computational model and a simulator ā€¢ Execution of a simulation campaign ā€¢ Evaluation/validation of the model (and simulator) against collected data ā€¢ Possible usage for explanation and/or prediction Simulation execution Dynamics of Target System Modelingā€Ø and designā€Ø of a simulator Analysis of results + interpretationā€Ø (model evaluation leading to explanation orā€Ø prediction) Target System Model and simulator Data generated by theā€Ø simulation(s) Collected Data 5
  • 25. A comprehensive framework for integrated synthesis and analysis
  • 26. Outline ā€¢ Complex Systems? ā€¢ Pedestrian and crowd simulation, a brief introduction and motivations ā€¢ Levels of analysis of pedestrian/crowd behaviour ā€¢ Approaches to pedestrian modelling (macro vs. micro) ā€¢ Macroscopic modelling rationale ā€¢ Microscopic modelling alternatives and styles ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation projects ā€¢ Conclusions and discussion
  • 27. Pedestrians and crowds: levels of analysis Chapter 5. Identiļ¬cation of processes and elements in a pedestrian ļ¬‚ow model 105 The operational level pertains to immediate decisions of the pedestrian concerning his behaviour. Interactions with other pedestrians play an important role at this level. An overview of the mentioned decision levels, related processes at and interactions be- tween different decision levels are given in ļ¬gure 5.1. Also, inputs and outputs on each level are indicated in this ļ¬gure. STRATEGIC TACTICAL OPERATIONAL Activity set choice Derived activity set Network topology Timetable Route Activity schedule Activity areas Route choice Activity area choice Activity scheduling Dynamic network characteristics Geometry Obstacles Vehicle characteristics Walking Waiting Performing an activity Trajectory choice Figure 5.1: Levels in pedestrian behaviour based on Hoogendoorn et al. (2001) and ļ¬gure 3.1[Hoogendoorn et al., 2001]
  • 28. Outline ā€¢ Complex Systems? ā€¢ Pedestrian and crowd simulation, a brief introduction and motivations ā€¢ Levels of analysis of pedestrian/crowd behaviour ā€¢ Approaches to pedestrian modelling (macro vs. micro) ā€¢ Macroscopic modelling rationale ā€¢ Microscopic modelling alternatives and styles ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation projects ā€¢ Conclusions and discussion
  • 29. Modeling approaches: what to model? Pedestrian/Crowd models Macroscopic (continuous ļ¬‚uids) Microscopic (individual pedestrians) Overall equations (mass conservation, ļ¬‚ow velocity) determining velocity and density in the analysed area Individual state, position, decision are modelled; aggregate measures derive from these decisions + lower computational costs for large crowd - limited applicability + generally greater applicability - higher computational costs for large crowd
  • 30. Macroscopic crowd models rationaleMathematical models Numerical tests Conclusion Macroscopic models Pedestrians as "thinking ļ¬‚uid"1 Averaged quantities: ā‡¢(t, x) pedestrians density ~v(t, x) mean velocity Mass conservation ( @tā‡¢ + divx(ā‡¢~v) = 0 ā‡¢(0, x) = ā‡¢0(x) for x 2 āŒ¦ ā‡¢ R2 , t > 0 Two classes 1st order models: velocity given by a phenomenological speed-density relation ~v = V (ā‡¢)~āŒ« 2nd order models: velocity given by a momentum balance equation 1 R.L. Hughes, Transp. Res. B, 2002 P. Goatin (INRIA) Mathematical modeling of crowds January 12, 2014 5 / 22 Mathematical models Numerical tests Eikonal equation: level set curves for |rx | = 1 In an empty space: potential is proportional to distance to destination P. Goatin (INRIA) Mathematical modeling of crowds January 12, 20 [Goatin, 2014] ā€¢ Global constraints are speciļ¬ed, e.g. ā€¢ Mass conservation ā€¢ Velocity function over the analysed area ā€¢ Diļ¬€erent types models according to the velocity function deļ¬nition ā€¢ 1st order: goal orientation and speed density relation ā€¢ 2nd order: momentum balance equation ā€¢ Considerations ā€¢ All pedestrians share the same goals and attitude ā€¢ Diļ¬ƒcult to consider dynamic aspects in the environment and situation ā€¢ Not able to capture all aspects of crowd dynamics (e.g. some emerging phenomena) ā€¢ Suitable for optimisation problems in speciļ¬c contexts
  • 31. Example application and results of a recent macroscopic approach xāˆ’axis (m) yāˆ’axis(m) Densities at t = 50.1 s 5 10 15 20 25 30 35 40 45 50 5 10 15 20 25 30 35 40 45 50 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 xāˆ’axis (m) yāˆ’axis(m) Densities at t = 125.1 s 5 10 15 20 25 30 35 40 45 50 5 10 15 20 25 30 35 40 45 50 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Figure 2: Evacuee assignment using optimal free ļ¬‚ow routing. yāˆ’axis(m) Densities at t = 25.1 s 10 15 20 25 30 35 40 45 50 1 1.5 2 2.5 3 3.5 4 4.5 5 yāˆ’axis(m) Densities at t = 125.1 s 10 15 20 25 30 35 40 45 50 1 1.5 2 2.5 3 3.5 4 4.5 5 xāˆ’axis (m) yāˆ’axis(m) Densities at t = 50.1 s 5 10 15 20 25 30 35 40 45 50 5 10 15 20 25 30 35 40 45 50 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 xāˆ’axis (m) yāˆ’axis(m) Densities at t = 125.1 s 5 10 15 20 25 30 35 40 45 50 5 10 15 20 25 30 35 40 45 50 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Figure 2: Evacuee assignment using optimal free ļ¬‚ow routing. xāˆ’axis (m) yāˆ’axis(m) Densities at t = 25.1 s 5 10 15 20 25 30 35 40 45 50 5 10 15 20 25 30 35 40 45 50 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 xāˆ’axis (m) yāˆ’axis(m) Densities at t = 125.1 s 5 10 15 20 25 30 35 40 45 50 5 10 15 20 25 30 35 40 45 50 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Figure 3: Evacuee assignment (iteration 30) for two time stamps. [Hoogendoorn et al., 2014]
  • 32. Agent Based Models for simulation: peculiarities, advantages, risks 7
  • 33. Agent Based Models for simulation: peculiarities, advantages, risks 7
  • 34. Agent Based Models for simulation: peculiarities, advantages, risks ā€¢ The analytical unit is the individual agent, not aggregate variables 7
  • 35. Agent Based Models for simulation: peculiarities, advantages, risks ā€¢ The analytical unit is the individual agent, not aggregate variables 7
  • 36. Agent Based Models for simulation: peculiarities, advantages, risks ā€¢ The analytical unit is the individual agent, not aggregate variables ā€¢ This means, on one hand, that additional insight on the modelled system is required 7
  • 37. Agent Based Models for simulation: peculiarities, advantages, risks ā€¢ The analytical unit is the individual agent, not aggregate variables ā€¢ This means, on one hand, that additional insight on the modelled system is required ā€¢ On the other hand such a model should be able to 7
  • 38. Agent Based Models for simulation: peculiarities, advantages, risks ā€¢ The analytical unit is the individual agent, not aggregate variables ā€¢ This means, on one hand, that additional insight on the modelled system is required ā€¢ On the other hand such a model should be able to ā€¢ Generate the same aggregate dynamics as traditional ones 7
  • 39. Agent Based Models for simulation: peculiarities, advantages, risks ā€¢ The analytical unit is the individual agent, not aggregate variables ā€¢ This means, on one hand, that additional insight on the modelled system is required ā€¢ On the other hand such a model should be able to ā€¢ Generate the same aggregate dynamics as traditional ones ā€¢ Be able to represent, manage, analyse additional aspects, such as for instance spatial ones 7
  • 40. Alternative microscopic pedestrian and crowd models ā€¢ Particle based ā€¢ Mostly, but not exclusively, social force model and derivatives ā€¢ Continuous space and time ā€¢ Cellular Automata ā€¢ Ad-hoc rules (e.g. Blue & Adler, intersections) or ļ¬‚oor ļ¬eld approach (e.g. Nishinari, Schadschneider, ...) ā€¢ Discrete in time and space ā€¢ Multi-Agent Systems ā€¢ Several approaches from computer graphics (e.g. Thalmann, Terzopoulos, Donikian, Manocha), some approaches are extensions of CA, ... ā€¢ Behavioural models generally more complex that in CA approaches
  • 42. Particle based approach ā€¢ Pedestrians Ć ļƒ  particles subject to forces
  • 43. Particle based approach ā€¢ Pedestrians Ć ļƒ  particles subject to forces ā€¢ Goals: forces of attraction generated by points/ reference point in the space Lane formation
  • 44. Particle based approach ā€¢ Pedestrians Ć ļƒ  particles subject to forces ā€¢ Goals: forces of attraction generated by points/ reference point in the space Lane formation
  • 45. Particle based approach ā€¢ Pedestrians Ć ļƒ  particles subject to forces ā€¢ Goals: forces of attraction generated by points/ reference point in the space Lane formation ā€˜Freezing by heatingā€™
  • 46. Particle based approach ā€¢ Pedestrians Ć ļƒ  particles subject to forces ā€¢ Goals: forces of attraction generated by points/ reference point in the space ā€¢ Interaction among pedestrians: forces generated by particles Lane formation ā€˜Freezing by heatingā€™
  • 47. Particle based approach ā€¢ Pedestrians Ć ļƒ  particles subject to forces ā€¢ Goals: forces of attraction generated by points/ reference point in the space ā€¢ Interaction among pedestrians: forces generated by particles ā€¢ Social forces Lane formation ā€˜Freezing by heatingā€™
  • 48. Particle based approach ā€¢ Pedestrians Ć ļƒ  particles subject to forces ā€¢ Goals: forces of attraction generated by points/ reference point in the space ā€¢ Interaction among pedestrians: forces generated by particles ā€¢ Social forces ā€¢ Repulsive Ć ļƒ  tendency to stay at a distance Lane formation ā€˜Freezing by heatingā€™
  • 49. Particle based approach ā€¢ Pedestrians Ć ļƒ  particles subject to forces ā€¢ Goals: forces of attraction generated by points/ reference point in the space ā€¢ Interaction among pedestrians: forces generated by particles ā€¢ Social forces ā€¢ Repulsive Ć ļƒ  tendency to stay at a distance ā€¢ Attractive Ć ļƒ  imitative mechanisms Lane formation ā€˜Freezing by heatingā€™
  • 50. Cellular Automata and crowd modelling
  • 51. Cellular Automata and crowd modelling ā€¢ Environment Ć ļƒ  bi-dimensional lattice of cells
  • 52. Cellular Automata and crowd modelling ā€¢ Environment Ć ļƒ  bi-dimensional lattice of cells ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell (e.g. occupied, empty)
  • 53. Cellular Automata and crowd modelling ā€¢ Environment Ć ļƒ  bi-dimensional lattice of cells ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell (e.g. occupied, empty) ā€¢ Movement Ć ļƒ  generated thanks to the transition rule
  • 54. Cellular Automata and crowd modelling ā€¢ Environment Ć ļƒ  bi-dimensional lattice of cells ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell (e.g. occupied, empty) ā€¢ Movement Ć ļƒ  generated thanks to the transition rule ā€“ an occupied cell becomes empty and an adjacent one, which was previously vacant, becomes occupied
  • 55. Cellular Automata and crowd modelling ā€¢ Environment Ć ļƒ  bi-dimensional lattice of cells ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell (e.g. occupied, empty) ā€¢ Movement Ć ļƒ  generated thanks to the transition rule ā€“ an occupied cell becomes empty and an adjacent one, which was previously vacant, becomes occupied ā€¢ Choice of destination cell in a transition generally includes information which is not provided by basic CAs
  • 56. Cellular Automata and crowd modelling ā€¢ Environment Ć ļƒ  bi-dimensional lattice of cells ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell (e.g. occupied, empty) ā€¢ Movement Ć ļƒ  generated thanks to the transition rule ā€“ an occupied cell becomes empty and an adjacent one, which was previously vacant, becomes occupied ā€¢ Choice of destination cell in a transition generally includes information which is not provided by basic CAs ā€“ Beneļ¬t-Cost/Gradient: predeļ¬ned information related to cell desirability
  • 57. Cellular Automata and crowd modelling ā€¢ Environment Ć ļƒ  bi-dimensional lattice of cells ā€¢ Pedestrian Ć ļƒ  speciļ¬c state of a cell (e.g. occupied, empty) ā€¢ Movement Ć ļƒ  generated thanks to the transition rule ā€“ an occupied cell becomes empty and an adjacent one, which was previously vacant, becomes occupied ā€¢ Choice of destination cell in a transition generally includes information which is not provided by basic CAs ā€“ Beneļ¬t-Cost/Gradient: predeļ¬ned information related to cell desirability ā€“ Magnetic Force/Social Force: model the eļ¬€ect of presence of other agents in the environment (attraction/ repulsion of crowds)
  • 58. From CA to Situated MAS
  • 59. From CA to Situated MAS ā€“ Entities are reiļ¬ed, separated from the environment
  • 60. From CA to Situated MAS ā€“ Entities are reiļ¬ed, separated from the environment ā€“ Agents, not just cell states
  • 61. From CA to Situated MAS ā€“ Entities are reiļ¬ed, separated from the environment ā€“ Agents, not just cell states ā€“ They may have diļ¬€erent behaviours ā€“ Possibility to grant agents diļ¬€erent information about the environment ā€“ Possibility to integrate several diļ¬€erent action deliberation models
  • 62. From CA to Situated MAS ā€“ Entities are reiļ¬ed, separated from the environment ā€“ Agents, not just cell states ā€“ They may have diļ¬€erent behaviours ā€“ Possibility to grant agents diļ¬€erent information about the environment ā€“ Possibility to integrate several diļ¬€erent action deliberation models ā€“ Possibly heterogeneous system
  • 63. From CA to Situated MAS ā€“ Entities are reiļ¬ed, separated from the environment ā€“ Agents, not just cell states ā€“ They may have diļ¬€erent behaviours ā€“ Possibility to grant agents diļ¬€erent information about the environment ā€“ Possibility to integrate several diļ¬€erent action deliberation models ā€“ Possibly heterogeneous system ā€“ Entities interact by means of mechanisms not necessarily related to underlying cellā€™s adjacency
  • 64. From CA to Situated MAS ā€“ Entities are reiļ¬ed, separated from the environment ā€“ Agents, not just cell states ā€“ They may have diļ¬€erent behaviours ā€“ Possibility to grant agents diļ¬€erent information about the environment ā€“ Possibility to integrate several diļ¬€erent action deliberation models ā€“ Possibly heterogeneous system ā€“ Entities interact by means of mechanisms not necessarily related to underlying cellā€™s adjacency ā€“ Action at a distance is allowed
  • 66. Situated MAS:ā€Ø action and interaction ā€“ Agents are situated
  • 67. Situated MAS:ā€Ø action and interaction ā€“ Agents are situated ā€“ they perceive their context and situation
  • 68. Situated MAS:ā€Ø action and interaction ā€“ Agents are situated ā€“ they perceive their context and situation ā€“ their behaviour is based on their local point of view
  • 69. Situated MAS:ā€Ø action and interaction ā€“ Agents are situated ā€“ they perceive their context and situation ā€“ their behaviour is based on their local point of view ā€“ their possibility to act (move) and interact is inļ¬‚uenced by the environment
  • 70. Situated MAS:ā€Ø action and interaction ā€“ Agents are situated ā€“ they perceive their context and situation ā€“ their behaviour is based on their local point of view ā€“ their possibility to act (move) and interact is inļ¬‚uenced by the environment ā€“ Situated Agents Interaction models
  • 71. Situated MAS:ā€Ø action and interaction ā€“ Agents are situated ā€“ they perceive their context and situation ā€“ their behaviour is based on their local point of view ā€“ their possibility to act (move) and interact is inļ¬‚uenced by the environment ā€“ Situated Agents Interaction models ā€“ Often inspired by biological systems (e.g. pheromones, computational ļ¬elds)
  • 72. Situated MAS:ā€Ø action and interaction ā€“ Agents are situated ā€“ they perceive their context and situation ā€“ their behaviour is based on their local point of view ā€“ their possibility to act (move) and interact is inļ¬‚uenced by the environment ā€“ Situated Agents Interaction models ā€“ Often inspired by biological systems (e.g. pheromones, computational ļ¬elds) ā€“ Generally provide a modiļ¬cation of the environment, which can be perceived by other entities
  • 73. Situated MAS:ā€Ø action and interaction ā€“ Agents are situated ā€“ they perceive their context and situation ā€“ their behaviour is based on their local point of view ā€“ their possibility to act (move) and interact is inļ¬‚uenced by the environment ā€“ Situated Agents Interaction models ā€“ Often inspired by biological systems (e.g. pheromones, computational ļ¬elds) ā€“ Generally provide a modiļ¬cation of the environment, which can be perceived by other entities ā€“ But may also provide a direct communication (as for CAs interaction among neighbouring cells)
  • 74. Groups in the literature - Modeling and Simulation ā€¢ Extensions to the social force model ā€¢ Helbing, Theraulaz et al. 2009, 2010 ā€¢ Small groups (2,3,4), unstructured ā€¢ Low to moderate densities ā€¢ Validation based on actual observations ā€¢ Xu and Duh, 2010 ā€¢ Only couples (groups of 2 pedestrians) ā€¢ Low to moderate densities ā€¢ Shallow validation based on literature (Daamen, 2004) ā€¢ CA models ā€¢ Sarmady, Haron, Zawawi Hj, 2009 ā€¢ Leaders and followers ā€¢ Groups of 2 to 6 members experimented ā€¢ Not validated ā€¢ Agent-based models ā€¢ Qiu and Hu 2010 ā€¢ Structured groups (intra and inter group matrices) ā€¢ Large groups experimented (60 pedestrians) ā€¢ Not validated ā€¢ Group members tend to stay close to other group members (additional behavioural component)
  • 75. Meso level approaches: the best of both worlds?
  • 76. Outline ā€¢ Complex Systems? ā€¢ Pedestrian and crowd simulation, a brief introduction and motivations ā€¢ Levels of analysis of pedestrian/crowd behaviour ā€¢ Approaches to pedestrian modelling (macro vs. micro) ā€¢ Macroscopic modelling rationale ā€¢ Microscopic modelling alternatives and styles ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation projects ā€¢ Conclusions and discussion
  • 77. Why not use simple queues?
  • 78. Why not use simple queues? ā€¢ One could model such a system with one (or more) simple queues... Pedestrian in the lecture hall Exit (one pedestrian every t ms)
  • 79. Why not use simple queues? ā€¢ One could model such a system with one (or more) simple queues... Pedestrian in the lecture hall Exit (one pedestrian every t ms) Exit (one pedestrian every t ms)
  • 80. Why not use simple queues? ā€¢ One could model such a system with one (or more) simple queues... ā€¢ ... but the model would not be able to ā€˜answerā€™ some of the questions we can pose to the previous models ā€¢ What if t is unknown? ā€¢ Only aggregate quantities are managed ā€¢ No heterogeneity Pedestrian in the lecture hall Exit (one pedestrian every t ms) Exit (one pedestrian every t ms)
  • 81. Why not use simple queues? ā€¢ One could model such a system with one (or more) simple queues... ā€¢ ... but the model would not be able to ā€˜answerā€™ some of the questions we can pose to the previous models ā€¢ What if t is unknown? ā€¢ Only aggregate quantities are managed ā€¢ No heterogeneity ā€¢ Moreover, it would be very diļ¬ƒcult to manage more complex situations, in terms of: Pedestrian in the lecture hall Exit (one pedestrian every t ms) Exit (one pedestrian every t ms)
  • 82. Why not use simple queues? ā€¢ One could model such a system with one (or more) simple queues... ā€¢ ... but the model would not be able to ā€˜answerā€™ some of the questions we can pose to the previous models ā€¢ What if t is unknown? ā€¢ Only aggregate quantities are managed ā€¢ No heterogeneity ā€¢ Moreover, it would be very diļ¬ƒcult to manage more complex situations, in terms of: ā€¢ Environmental structure Pedestrian in the lecture hall Exit (one pedestrian every t ms) Exit (one pedestrian every t ms)
  • 83. Why not use simple queues? ā€¢ One could model such a system with one (or more) simple queues... ā€¢ ... but the model would not be able to ā€˜answerā€™ some of the questions we can pose to the previous models ā€¢ What if t is unknown? ā€¢ Only aggregate quantities are managed ā€¢ No heterogeneity ā€¢ Moreover, it would be very diļ¬ƒcult to manage more complex situations, in terms of: ā€¢ Environmental structure ā€¢ Possible behaviours for the pedestrians Pedestrian in the lecture hall Exit (one pedestrian every t ms) Exit (one pedestrian every t ms)
  • 84. So, no ā€œbestā€ modeling approach?
  • 85. So, no ā€œbestā€ modeling approach? ā€¢ The choice of the abstract/ computational model depends on several factors:
  • 86. So, no ā€œbestā€ modeling approach? ā€¢ The choice of the abstract/ computational model depends on several factors: ā€¢ Available knowledge on the simulated phenomenon/ situation/reality
  • 87. So, no ā€œbestā€ modeling approach? ā€¢ The choice of the abstract/ computational model depends on several factors: ā€¢ Available knowledge on the simulated phenomenon/ situation/reality ā€¢ Available data on actual scenarios, for sake of calibration, veriļ¬cation and validation
  • 88. So, no ā€œbestā€ modeling approach? ā€¢ The choice of the abstract/ computational model depends on several factors: ā€¢ Available knowledge on the simulated phenomenon/ situation/reality ā€¢ Available data on actual scenarios, for sake of calibration, veriļ¬cation and validation ā€¢ Goals of the simulation activity
  • 89. So, no ā€œbestā€ modeling approach? ā€¢ The choice of the abstract/ computational model depends on several factors: ā€¢ Available knowledge on the simulated phenomenon/ situation/reality ā€¢ Available data on actual scenarios, for sake of calibration, veriļ¬cation and validation ā€¢ Goals of the simulation activity ā€¢ Possible tension between these elements!
  • 90. What about Agent Based Modeling and Simulation methodologies?
  • 91. What about Agent Based Modeling and Simulation methodologies? ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology that is both general and actually useful
  • 92. What about Agent Based Modeling and Simulation methodologies? ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology that is both general and actually useful ā€¢ General methodologies tend to deļ¬ne well understood macro phases, but no useful suggestion on how actually carry them out in a speciļ¬c context
  • 93. What about Agent Based Modeling and Simulation methodologies? ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology that is both general and actually useful ā€¢ General methodologies tend to deļ¬ne well understood macro phases, but no useful suggestion on how actually carry them out in a speciļ¬c context ā€¢ For instance, in diļ¬€erent domains it is not even clear what is the most proper modelling granularity level
  • 94. What about Agent Based Modeling and Simulation methodologies? ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology that is both general and actually useful ā€¢ General methodologies tend to deļ¬ne well understood macro phases, but no useful suggestion on how actually carry them out in a speciļ¬c context ā€¢ For instance, in diļ¬€erent domains it is not even clear what is the most proper modelling granularity level ā€“ In crowd modelling, a pedestrian is modelled as an agent (at least in microscopic models)ā€¦
  • 95. What about Agent Based Modeling and Simulation methodologies? ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology that is both general and actually useful ā€¢ General methodologies tend to deļ¬ne well understood macro phases, but no useful suggestion on how actually carry them out in a speciļ¬c context ā€¢ For instance, in diļ¬€erent domains it is not even clear what is the most proper modelling granularity level ā€“ In crowd modelling, a pedestrian is modelled as an agent (at least in microscopic models)ā€¦ ā€“ But in biological systems, what should be represented as an agent? An organism? An organ? A cell? A molecule?
  • 96. What about Agent Based Modeling and Simulation methodologies? ā€¢ It is very diļ¬ƒcult to deļ¬ne a methodology that is both general and actually useful ā€¢ General methodologies tend to deļ¬ne well understood macro phases, but no useful suggestion on how actually carry them out in a speciļ¬c context ā€¢ For instance, in diļ¬€erent domains it is not even clear what is the most proper modelling granularity level ā€“ In crowd modelling, a pedestrian is modelled as an agent (at least in microscopic models)ā€¦ ā€“ But in biological systems, what should be represented as an agent? An organism? An organ? A cell? A molecule? ā€¢ Speciļ¬c useful (more or less) formalised modelling approaches and methodologies only in speciļ¬c contexts ?
  • 97. A reļ¬‚ection: from reality, to models, to a simulation system ā€¢ The overall simulation project involves several phase, roles, types of knowledge and competences ā€¢ The frequent passages (translation, encoding, decoding, interpretation...) between diļ¬€erent levels of abstraction can lead to several problems ā€¢ Non documented assumptions ā€¢ Unrealistic/unfeasible simpliļ¬cations ā€¢ Simulation projects are diļ¬ƒcult ā€¢ R. Shannon, ā€œIntroduction to the Art and Science of Simulationā€ (1998) ā€¢ ... But some even talk of ā€œdark artsā€ [J.P. Marney and H. Tarbert, ā€œWhy do simulation? Towards a working epistemology for practitioners of the dark artsā€ (2000)] Reality Subsystem Abstract model Computational model Simulator
  • 98. Conclusions and discussion ā€¢ The study of pedestrians and crowd behaviour fruitfully comprises activity of analysis and synthesis ā€¢ The behaviour of pedestrians and crowds can be analysed at diļ¬€erent levels ā€¢ Both macro and microscopic approaches to the modelling of these phenomena are possibleā€¦ ā€¢ ā€¦ both have merits and limits in their applicability ā€¢ Microscopic approaches take a very diļ¬€erent perspective on pedestrians and their environment ā€¢ The contribution of diļ¬€erent disciplines, experts is crucial but the overall simulation project requires particular attention ā€¢ Of course, these model, studies and application domain can be a source for diļ¬€erent research areaā€¦ ā€¢ ā€¦ a source of new problems and potential opportunities ā€¢ ā€¦ a source of suggestions, potentially interesting approaches/solutions
  • 99. Outline ā€¢ Complex Systems? ā€¢ Pedestrian and crowd simulation, a brief introduction and motivations ā€¢ Levels of analysis of pedestrian/crowd behaviour ā€¢ Approaches to pedestrian modelling (macro vs. micro) ā€¢ Macroscopic modelling rationale ā€¢ Microscopic modelling alternatives and styles ā€¢ A reļ¬‚ection on the speciļ¬cities of crowd simulation simulation projects ā€¢ Conclusions and discussion
  • 101. Minimal bibliography ā€¢ Stefania Bandini, Andrea Gorrini, Giuseppe Vizzari: Towards an integrated approach to crowd analysis and crowd synthesis: A case study and ļ¬rst results. Pattern Recognition Letters 44: 16-29 (2014). ā€¢ Hoogendoorn, S.P., P.H.L. Bovy & W. Daamen (2001), Microscopic pedestrian wayļ¬nding and dynamics modelling, In: M. Schreckenberg & S. Sharma, (eds.), Pedestrian and Evacuation Dynamics, Springer, Berlin, 123ā€“154. ā€¢ Andreas Schadschneider, Wolfram Klingsch, Hubert KlĆ¼pfel, Tobias Kretz, Christian Rogsch, Armin Seyfried: Evacuation Dynamics: Empirical Results, Modeling and Applications. Encyclopedia of Complexity and Systems Science 2009: 3142-3176. ā€¢ Paola Goatin (2014), Mathematical modeling of crowds. Presentation at TRB 2014 Workshop ā€œCrowd Flow Dynamics, Modeling and Managementā€ - available in ā€œTRB Subcommittee on Crowd Flow Dynamics, Modeling, and Managementā€ Facebook group ā€¢ Serge Hoogendoorn, Winnie Daamen, Dorine Duives, and Femke van Wageningen-Kessels: Optimal Crowd Evacuation. TRB 2014 ā€¢ Helbing, D., A. Johansson, and H. Z. Al-Abideen, Dynamics of crowd disasters: An empirical study. Phys. Rev. E, Vol. 75, 2007, p. 046109. ā€¢ Colombo, Rinaldo M., Paola Goatin, Giulio Maternini, and Massimiliano D. Rosini. "Macroscopic Models for Pedestrian Flows." In Big events and transport: the transportation requirements for the management of large scale events. 2010. ā€¢ Daamen, Winnie, Serge P. Hoogendoorn, and Piet HL Bovy. "First-order pedestrian traļ¬ƒc ļ¬‚ow theory." Transportation Research Record: Journal of the Transportation Research Board 1934, no. 1 (2005): 43-52. ā€¢ Helbing, Dirk, and Peter Molnar. "Social force model for pedestrian dynamics." Physical review E 51, no. 5 (1995): 4282. ā€¢ KlĆ¼pfel, H., A Cellular Automaton Model for Crowd Movement and Egress Simulation. Ph.D. thesis, University Duisburg-Essen, 2003. ā€¢ Burstedde, C., K. Klauck, A. Schadschneider, and J. Zittartz, Simulation of pedestrian dynamics using a two-dimensional cellular automaton. Physica A: Statistical Mechanics and its Applications, Vol. 295, No. 3 - 4, 2001, pp. 507 ā€“ 525. ā€¢ Vizzari, G., L. Manenti, and L. Crociani, Adaptive Pedestrian Behaviour for the Preservation of Group Cohesion. Complex Adaptive Systems Modeling, Vol. 1, No. 7, 2013.