Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo =...

20
Mageo, a user-friendly platform for agent-based modeling and simulation Baptiste Blanpain, Patrice Langlois, Eric Daudé UMR IDEES, University of Rouen, France https://sites.google.com/site/mageosim

Transcript of Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo =...

Page 1: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

Mageo, a user-friendly platform for agent-based modeling and simulation

Baptiste Blanpain, Patrice Langlois, Eric Daudé

UMR IDEES, University of Rouen, France

https://sites.google.com/site/mageosim

Page 2: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

MAGeo = Modeling Agent Geography.

Mageo is a multi-agent geosimulation platform.

Goals and principles 2

User-friendly: Graphical modeling

Small pieces of code are sometimes necessary: Mageo

provides a user-friendly language.

Some classic models are written with only 2 or 3 lines of code.

Based on the AOC meta-model (P. Langlois), that aims to

represent any real situation, even multilevel, with social and

spatial organizations, and relationships.

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 3: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

The platform 3

Modeling Window Simulation Window

Entities and relations Maps, Graphs, Cursors, …

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 4: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

4 Concepts: entities

Agents

(the individual)

Organizations

(the collective) Behaviors

(the dynamics)

Examples:

Humans, Cars,

Homes, …

Examples:

Populations, Networks,

Zonal Maps, Point

Clouds…

Examples:

Working, Sleeping,

Buying,…

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 5: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

5 An entity can be modified in its dialog box

Agents

(the individual)

Organizations

(the collective) Behaviors

(the dynamics)

- Attributes

- Action program

- …

- Topology

- Scheduling

- …

- Actions

- Pertinences

- Transitions

- …

Page 6: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

6 Structure of a model

An agent can contain

organizations

An organization is

composed of agents

Agents may be located

on other agents

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 7: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

7 Behaviors

Simple behaviors Transitions diagrams

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 8: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

8 The Mageo language

You use the Mageo language in

- behaviors (pertinences, actions)

- in other dialogs: init of attributes, graphs, …

To make an agent move 10 units forward in the Ocean organization:

Ocean:Forward(10)

To randomly select an inhabited House: ONE x of House WHERE x.Inhabited

Agent A gives 5 € to agent B: Transfer(A.Money, B.Money, 5)

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 9: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

9

Three infectious states:

- Susceptible (S)

- Infected (I)

- Recovered (R)

Modeling example: SIR Model

A Grid on which mobile agents

move and infect each other.

Step by step construction

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 10: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

10

Step 1: The conceptual model

Step by step construction

A Grid on which mobile agents move and infect

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 11: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

11

Step 2: Parameters of the Population

Step by step construction

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 12: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

12

Step 3: State attribute in Mobiles

Step by step construction

An enumerated attribute and its initialization expression

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 13: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

13

Step 4: Geographic data

Importation of a Grid file for the Build attribute of Mobiles

Step by step construction

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 14: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

14

Step 5: The Infection behavior

Step by step construction

Page 15: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

15

Step 6: The Move behavior

Step by step construction

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 16: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

16

Step 7: Action program of Mobiles

Composition of behaviors Competition: Infection | Move Sequence: Infection ; Move SyncSequence: Infection ;; Move Random choice: Infection ? Move

Step by step construction

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 17: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

17

Step 8: Creation of a Map and a Graph

Step by step construction

Page 18: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

18 SIR Model: the simulation window

Page 19: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

19 Conclusion

Applications For conceptual models, prototypes, or complete models. For people without programing skills. For formation, to make beginners discover multiagent simulation. For teamwork, collaborations (models are easily readable).

To do Integration of social organizations and relationships. Integration of interaction behaviors. Testing various models from different research fields: multilevel,

social relations, complex interactions, etc. …

Work in progress Integration of real geographic data (Zonal maps and Networks).

ECTQG’2013 – Blanpain B., Langlois P., Daudé É

Page 20: Mageo, a user-friendly platform for agent-based modeling and simulation · 2013. 9. 20. · MAGeo = Modeling Agent Geography. Mageo is a multi-agent geosimulation platform. Goals

Generalities on agent-based platforms

20

Thank you

https://sites.google.com/site/mageosim

Baptiste Blanpain, Patrice Langlois, Eric Daudé

UMR IDEES, University of Rouen, France