SlideShare a Scribd company logo
Overview and Tools
Agent Based Modeling and Simulation
By Stathis Grigoropoulos
Agent Based Modeling and Simulation Importance
• A Problem…
• Complex Adaptive Systems
• CAS Examples
• Simulation
Agent Based Simulation Definitions
• ABMS Characteristics
• ABMS Components
• Agent Definition
• Agent Environments
• Agent Interactions
• ABMS Examples
ABMS Usage
Summary – Q & A
Agenda
End
Why?
What?
When?
How?
ABMS Software Tools
• The Big Two…
• NetLogo
• RePast
Problem:
Internet Service Provider
(ISP) wants to increase the
efficiency of the internet
service by optimizing packet
traffic over the routing
network. However, the
network looks like this
How do you model a
Complex Structure?
Why? A Problem…
Answer:
Agent Based Paradigm
can help analyze and
simulate Complex
Adaptive Systems (CAS).
Why? Complex Adaptive Systems
Definition(s) of CAS?
• A complex system is one in which there are multiple
interactions between many different components
• A complex system is a highly structured system, which
shows structure with variations…
Features of CAS:
• Composed by several interacting elements
• Nonlinearity
• Networked structure
• Hierarchical structure
• Possibility to evolve and adapt …
Why? CAS Examples
Examples of CAS using ABMS (non exhaustive)
• Biology
• Virus Spreading
• Population Dynamics
• Technology
• Distributed and Parallel Systems
• Wireless and Sensor Systems
• Finance & Business
• Modeling Markets
• Workforce Management
• My Msc Thesis
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
Collected Data
Why? Simulation
What? ABMS Characteristics
• Agent Based Modeling and Simulation (ABMS) is
a new approach to modeling systems comprised
of autonomous, interacting Agents.
• ABMS is a bottom-up process.
• Emergent phenomena from micro-behavior.
• Describes both optimization models and
investigation of a dynamic process.
• ABMS succeeds where centralized planning and
optimization models fail.
What? ABMS Components
• A set of agents, their attributes and behaviors.
• A set of agent relationships and methods of
interaction:
• An underlying topology of connectedness defines how and
with whom agents interact.
• The agents’ environment:
• Agents interact with their environment in addition to other
agents
What? ABMS Components
A schematic of Agent Components
What? Agent Definition
• There is no universal agreement on the precise
definition of the term “agent” in the context of
ABMS.
• We can however provide the main characteristics of
an agent:
 Autonomous:
 Through agent and environment interaction, agent follows a
behavior that relate information with action.
 Simple rules to Neural Networks.
 Self-contained:
 Each agent is unique and modular.
 One can distinguish whether a part of the model is a part of
a specific agent or not.
 Interacting with other agents:
 Agents can be social.
 Interact with other agents through protocols, e.g. movement
in space, network connectivity.
• In addition an agent may be:
 Adaptive:
 Able to modify a set of behaviors, adapt based on
experience.
 Goal-Directed:
 Not necessary maximization.
 Adapt behavior response to achieve goal.
 Heterogeneous :
 Unlike particle simulations, agent intelligence and behavior
may vary in the same environment.
 Equipped with Resources :
 Resource attributes indicate its current stock of one or more
resources, e.g., energy, wealth, information, etc.
What? Agent Definition
What? Agent Definition
A typical Agent
What? Agent Environments
Types of Agent Environments
What? Agent Interactions
• Depending on the environment agents interact in a
subset topology.
• Typically an agent interact with neighbors
• For example:
• In a Grid, surrounding cells are the neighborhood.
• In a network, the first degree connections are neighbors.
What? ABMS Example
Game Of Life:
• two-dimensional orthogonal grid
• Agents are cells, state dead or alive
Rules:
• Any live cell with fewer than two live neighbors dies, as if
caused by under-population.
• Any live cell with two or three live neighbors lives on to the
next generation.
• Any live cell with more than three live neighbors dies, as if by
overcrowding.
• Any dead cell with exactly three live neighbors becomes a live
cell, as if by reproduction.
What? ABMS Example
Game Of Life Initial and Steady State.
At the Steady State patterns are emerging.
What? ABMS Example
Game Of Life Steady State.
At the Steady State patterns are emerging.
What? ABMS Example
Preferential Attachment:
• The model starts with two nodes connected by an edge.
• At each step, a new node is added. A new node picks an existing node to
connect to randomly, but with some bias
• Node’s chance of being selected is directly proportional to the number of
connections it already has.
When? ABMS Usage
• When there are decisions and behaviors that can be well-defined.
• When it is important that agents adapt and change their behaviors.
• When it is important that agents have a dynamic relationship with
other agents, and agent relationships form, change and decay.
• When the past is no predictor of the future because the processes
of growth and change are dynamic.
• When process structural change needs to be an endogenous result
of the model, rather than an input to the model.
How? ABMS Software
…Just a few ABMS Software Tools
NetLogo
The Center for Connected
Learning (CCL)
and Computer-Based
Modeling, Northwestern
University, USA.
Repast
Simphony
Argonne National
Laboratory, Chicago, USA.
How? The Big Two…
Both Free,
Open Source
• The name NetLogo comes from “Network Logo” and is a functional
programming language (Byproduct of Lisp).
• Java based Platform (build-in UI and programming interface).
• “Turtles” represent the agents and have some state (unique identity,
position, and attributes).
How? NetLogo
How? NetLogo
NetLogo User and Programming Interface
• Very popular tool (educational purpose).
• Easy-to-use language, great for beginners.
• Mature platform, rare bugs to none.
• Contains many useful already-made primitives and structures.
• Great for prototyping models, deploys web Java applets.
• Many example available.
• Great documentation, active community.
• Can be used for complex models also.
• Scalability issues.
• Becomes slow when things get complicated.
• Lack of Object Oriented style, debugger.
How? NetLogo
How? Repast
• Recursive Porous Agent Simulation Toolkit (RePast).
• Java based Framework and Library (ships with customized Eclipse
IDE).
• Initial language used was Java, however seeing the success of
NetLogo, ReLogo was introduced.
How? Repast
Repast View and Eclipse Programming Interface
• Popular tool (social sciences targeted).
• Object Oriented and functional for tutoring.
• Very good documentation, active community.
• Usage of Eclipse.
• Mature platform, some bugs.
• Lots of examples available.
• Includes 3D GIS using GeoTools, Imports NetLogo.
• Scalable for complex models.
• Learning curve, experience in Java regardless of examples.
• No connection of ReLogo and Java.
• Not so many primitives and structures available.
How? Repast
• Repast is faster than NetLogo in execution times.
• However, you can have a model in NetLogo in few
houre, Repast can take weeks (depending on your
programming skills).
• Although Repast is scalable, what about millions of
agents (HPC)?
• MASON
• RePast C++ HPC
• Custom
How? Overall
Summary
• Agent Based Modeling and Simulation can model
complex non-linear problems.
• ABMS elevates system adaptation and learning.
• Use agents when autonomous interactions occur.
• Prototype with NetLogo, followed by RePast
implementation.
• Interesting Technology Trends in ABMS:
• Software Architecture using Agents rather than Objects.
• Distributed Data Mining.
• Network Security with Agents.
Thank You!
Questions?
References
 Vizzari, EASSS 2009 - Torino – 3-4/9/2009 Tutorial.
 CM Macal and MJ North, Tutorial on agent-based modeling and
simulation, Journal of Simulation 2010.
 CM Macal and MJ North, AGENT-BASED MODELING AND
SIMULATION, Proceedings of the 2009 Winter Simulation Conference.
Paul Davidsson , Agent Based Social Simulation: A Computer Science
View, Journal of Artificial Societies and Social Simulation vol. 5, no. 1.
 Rob Allan, Survey of Agent Based Modelling and Simulation Tools,
http://www.grids.ac.uk/Complex/ABMS/ABMS.html#SECTION0003140
00000000000000, visited 31-05-014 .
NetLogo
The Center for Connected
Learning (CCL)
and Computer-Based
Modeling, Northwestern
University, USA.
Repast
Simphony
Argonne National Laboratory,
Chicago, USA.
MASON
George Mason University, USA.
Multi-
Agent Simulator Of Neighborhoods
... or Networks... or something... ,
The Runner ups…

More Related Content

What's hot (20)

PPT
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
Giuseppe Vizzari
 
PDF
Introduction to Agent Based Modeling Using NetLogo
Premsankar Chakkingal
 
PPTX
ABC Algorithm.
N Vinayak
 
PPTX
Swarm intelligence
Eslam Hamed
 
PPTX
Lecture 6: Ensemble Methods
Marina Santini
 
PPTX
Cost Benefit Analysis Method
Himanshu
 
PDF
Agent based modeling-presentation
Adam Getchell
 
PPTX
Virtual machine security
Jacob Zvirikuzhe
 
PPTX
Types of Machine Learning
Samra Shahzadi
 
PPTX
Bat algorithm and applications
Md.Al-imran Roton
 
PPTX
Mobile hci
PhD Research Scholar
 
PDF
And then there were ... Large Language Models
Leon Dohmen
 
PPTX
Intelligence Agent - Artificial Intelligent (AI)
mufassirin
 
PPT
Machine learning
Sanjay krishne
 
PPT
HCI 3e - Ch 13: Socio-organizational issues and stakeholder requirements
Alan Dix
 
PPTX
An introduction to reinforcement learning
Subrat Panda, PhD
 
PPTX
Modelling and simulation
stjulians school
 
PDF
Particle Swarm Optimization: The Algorithm and Its Applications
adil raja
 
PPTX
Machine learning and types
Padma Metta
 
PPTX
Particle swarm optimization
Abhishek Agrawal
 
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
Giuseppe Vizzari
 
Introduction to Agent Based Modeling Using NetLogo
Premsankar Chakkingal
 
ABC Algorithm.
N Vinayak
 
Swarm intelligence
Eslam Hamed
 
Lecture 6: Ensemble Methods
Marina Santini
 
Cost Benefit Analysis Method
Himanshu
 
Agent based modeling-presentation
Adam Getchell
 
Virtual machine security
Jacob Zvirikuzhe
 
Types of Machine Learning
Samra Shahzadi
 
Bat algorithm and applications
Md.Al-imran Roton
 
And then there were ... Large Language Models
Leon Dohmen
 
Intelligence Agent - Artificial Intelligent (AI)
mufassirin
 
Machine learning
Sanjay krishne
 
HCI 3e - Ch 13: Socio-organizational issues and stakeholder requirements
Alan Dix
 
An introduction to reinforcement learning
Subrat Panda, PhD
 
Modelling and simulation
stjulians school
 
Particle Swarm Optimization: The Algorithm and Its Applications
adil raja
 
Machine learning and types
Padma Metta
 
Particle swarm optimization
Abhishek Agrawal
 

Viewers also liked (20)

PDF
Agent-Based Modeling & Python @ PyData DC 2016
Jacqueline Kazil
 
PDF
GIS and Agent-based modeling: Part 1
crooksAndrew
 
PDF
Traffic Simulation using NetLogo
Hemanth Kumar Mantri
 
PDF
Lloyd Swarmfest 2010 Presentation
kalloyd
 
PDF
Comparison of Agent-based platforms
Kishoj Bajracharya
 
PPTX
Omid roozmand presentation
University
 
PDF
GIS and Agent-based modeling: Part 2
crooksAndrew
 
PDF
Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...
crooksAndrew
 
PDF
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
ThinkVine
 
PPTX
Consumerbehavior-Omid-Roozmand
estephanm
 
PPTX
Study of urban traffic flow
Sukhdeep Jat
 
PDF
SME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
IOSR Journals
 
PPT
Major ppt
Amit Baghel
 
PPTX
Simulation in Social Sciences - Lecture 6 in Introduction to Computational S...
Lauri Eloranta
 
PPTX
"A 30min Introduction to Agent-Based Modelling" for GORS
Bruce Edmonds
 
PPTX
Cellular automata : A simple Introduction
Adekunle Onaopepo
 
PDF
Expert Judgement Credit Rating for SME & Commercial Customers
Mike Coates
 
PDF
Hevner design-science
shmushmu
 
PPT
Design Science Introduction
pajo01
 
PPT
Cellular automata by Devdutta Chakrabarti
Devdutta Chakrabarti
 
Agent-Based Modeling & Python @ PyData DC 2016
Jacqueline Kazil
 
GIS and Agent-based modeling: Part 1
crooksAndrew
 
Traffic Simulation using NetLogo
Hemanth Kumar Mantri
 
Lloyd Swarmfest 2010 Presentation
kalloyd
 
Comparison of Agent-based platforms
Kishoj Bajracharya
 
Omid roozmand presentation
University
 
GIS and Agent-based modeling: Part 2
crooksAndrew
 
Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...
crooksAndrew
 
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
ThinkVine
 
Consumerbehavior-Omid-Roozmand
estephanm
 
Study of urban traffic flow
Sukhdeep Jat
 
SME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
IOSR Journals
 
Major ppt
Amit Baghel
 
Simulation in Social Sciences - Lecture 6 in Introduction to Computational S...
Lauri Eloranta
 
"A 30min Introduction to Agent-Based Modelling" for GORS
Bruce Edmonds
 
Cellular automata : A simple Introduction
Adekunle Onaopepo
 
Expert Judgement Credit Rating for SME & Commercial Customers
Mike Coates
 
Hevner design-science
shmushmu
 
Design Science Introduction
pajo01
 
Cellular automata by Devdutta Chakrabarti
Devdutta Chakrabarti
 
Ad

Similar to Agent Based Modeling and Simulation - Overview and Tools (20)

PPTX
CPP19 - Revision
Michael Heron
 
PPTX
From the Monolith to Microservices - CraftConf 2015
Randy Shoup
 
PPTX
Towards a Comprehensive Machine Learning Benchmark
Turi, Inc.
 
PPTX
Network simulation software
Kartik Kalpande Patil
 
PPTX
Patterns
Amith Tiwari
 
PPTX
Segue to design patterns
Rahul Singh
 
PPTX
The principles of simulation system design.pptx
ubaidullah75790
 
PPTX
Data Structure and Algorithms
iqbalphy1
 
PPTX
The Path to Digital Engineering
Elizabeth Steiner
 
PDF
AlgorithmVisualiserProject_TanuJaiswal.pdf
Tanu Jaiswal
 
PDF
NLP and Deep Learning for non_experts
Sanghamitra Deb
 
PPT
Architectural design1
Zahid Hussain
 
PPT
Architectural design1
Zahid Hussain
 
PPT
Chapter 4_Introduction to Patterns.ppt
RushikeshChikane2
 
PPT
Chapter 4_Introduction to Patterns.ppt
RushikeshChikane1
 
PDF
Software Modeling and Design for Real-Time Embedded Systems
NouraBaccar1
 
PPTX
Neel Sundaresan - Teaching a machine to code
MLconf
 
PPTX
Esl basics
敬倫 林
 
PPTX
software architecturev2.pptx cop computr
compengwaelalahmar
 
PDF
Microservices Architecture
Srinivasan Nanduri
 
CPP19 - Revision
Michael Heron
 
From the Monolith to Microservices - CraftConf 2015
Randy Shoup
 
Towards a Comprehensive Machine Learning Benchmark
Turi, Inc.
 
Network simulation software
Kartik Kalpande Patil
 
Patterns
Amith Tiwari
 
Segue to design patterns
Rahul Singh
 
The principles of simulation system design.pptx
ubaidullah75790
 
Data Structure and Algorithms
iqbalphy1
 
The Path to Digital Engineering
Elizabeth Steiner
 
AlgorithmVisualiserProject_TanuJaiswal.pdf
Tanu Jaiswal
 
NLP and Deep Learning for non_experts
Sanghamitra Deb
 
Architectural design1
Zahid Hussain
 
Architectural design1
Zahid Hussain
 
Chapter 4_Introduction to Patterns.ppt
RushikeshChikane2
 
Chapter 4_Introduction to Patterns.ppt
RushikeshChikane1
 
Software Modeling and Design for Real-Time Embedded Systems
NouraBaccar1
 
Neel Sundaresan - Teaching a machine to code
MLconf
 
Esl basics
敬倫 林
 
software architecturev2.pptx cop computr
compengwaelalahmar
 
Microservices Architecture
Srinivasan Nanduri
 
Ad

More from Stathis Grigoropoulos (8)

PDF
The Minority Game: Individual and Social Learning
Stathis Grigoropoulos
 
PPTX
Social cognitive factors of unfair ratings in reputation
Stathis Grigoropoulos
 
PDF
Mechanism design theory examples and complexity
Stathis Grigoropoulos
 
PPT
Chess Segmentation
Stathis Grigoropoulos
 
PPTX
Scheduling
Stathis Grigoropoulos
 
PDF
Scheduling
Stathis Grigoropoulos
 
PPTX
Hydrate me
Stathis Grigoropoulos
 
The Minority Game: Individual and Social Learning
Stathis Grigoropoulos
 
Social cognitive factors of unfair ratings in reputation
Stathis Grigoropoulos
 
Mechanism design theory examples and complexity
Stathis Grigoropoulos
 
Chess Segmentation
Stathis Grigoropoulos
 

Recently uploaded (20)

PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PPTX
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
PPTX
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PPTX
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
The birth and death of Stars - earth and life science
rizellemarieastrolo
 

Agent Based Modeling and Simulation - Overview and Tools

  • 1. Overview and Tools Agent Based Modeling and Simulation By Stathis Grigoropoulos
  • 2. Agent Based Modeling and Simulation Importance • A Problem… • Complex Adaptive Systems • CAS Examples • Simulation Agent Based Simulation Definitions • ABMS Characteristics • ABMS Components • Agent Definition • Agent Environments • Agent Interactions • ABMS Examples ABMS Usage Summary – Q & A Agenda End Why? What? When? How? ABMS Software Tools • The Big Two… • NetLogo • RePast
  • 3. Problem: Internet Service Provider (ISP) wants to increase the efficiency of the internet service by optimizing packet traffic over the routing network. However, the network looks like this How do you model a Complex Structure? Why? A Problem…
  • 4. Answer: Agent Based Paradigm can help analyze and simulate Complex Adaptive Systems (CAS). Why? Complex Adaptive Systems Definition(s) of CAS? • A complex system is one in which there are multiple interactions between many different components • A complex system is a highly structured system, which shows structure with variations… Features of CAS: • Composed by several interacting elements • Nonlinearity • Networked structure • Hierarchical structure • Possibility to evolve and adapt …
  • 5. Why? CAS Examples Examples of CAS using ABMS (non exhaustive) • Biology • Virus Spreading • Population Dynamics • Technology • Distributed and Parallel Systems • Wireless and Sensor Systems • Finance & Business • Modeling Markets • Workforce Management • My Msc Thesis
  • 6. 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 Collected Data Why? Simulation
  • 7. What? ABMS Characteristics • Agent Based Modeling and Simulation (ABMS) is a new approach to modeling systems comprised of autonomous, interacting Agents. • ABMS is a bottom-up process. • Emergent phenomena from micro-behavior. • Describes both optimization models and investigation of a dynamic process. • ABMS succeeds where centralized planning and optimization models fail.
  • 8. What? ABMS Components • A set of agents, their attributes and behaviors. • A set of agent relationships and methods of interaction: • An underlying topology of connectedness defines how and with whom agents interact. • The agents’ environment: • Agents interact with their environment in addition to other agents
  • 9. What? ABMS Components A schematic of Agent Components
  • 10. What? Agent Definition • There is no universal agreement on the precise definition of the term “agent” in the context of ABMS. • We can however provide the main characteristics of an agent:  Autonomous:  Through agent and environment interaction, agent follows a behavior that relate information with action.  Simple rules to Neural Networks.  Self-contained:  Each agent is unique and modular.  One can distinguish whether a part of the model is a part of a specific agent or not.  Interacting with other agents:  Agents can be social.  Interact with other agents through protocols, e.g. movement in space, network connectivity.
  • 11. • In addition an agent may be:  Adaptive:  Able to modify a set of behaviors, adapt based on experience.  Goal-Directed:  Not necessary maximization.  Adapt behavior response to achieve goal.  Heterogeneous :  Unlike particle simulations, agent intelligence and behavior may vary in the same environment.  Equipped with Resources :  Resource attributes indicate its current stock of one or more resources, e.g., energy, wealth, information, etc. What? Agent Definition
  • 12. What? Agent Definition A typical Agent
  • 13. What? Agent Environments Types of Agent Environments
  • 14. What? Agent Interactions • Depending on the environment agents interact in a subset topology. • Typically an agent interact with neighbors • For example: • In a Grid, surrounding cells are the neighborhood. • In a network, the first degree connections are neighbors.
  • 15. What? ABMS Example Game Of Life: • two-dimensional orthogonal grid • Agents are cells, state dead or alive Rules: • Any live cell with fewer than two live neighbors dies, as if caused by under-population. • Any live cell with two or three live neighbors lives on to the next generation. • Any live cell with more than three live neighbors dies, as if by overcrowding. • Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.
  • 16. What? ABMS Example Game Of Life Initial and Steady State. At the Steady State patterns are emerging.
  • 17. What? ABMS Example Game Of Life Steady State. At the Steady State patterns are emerging.
  • 18. What? ABMS Example Preferential Attachment: • The model starts with two nodes connected by an edge. • At each step, a new node is added. A new node picks an existing node to connect to randomly, but with some bias • Node’s chance of being selected is directly proportional to the number of connections it already has.
  • 19. When? ABMS Usage • When there are decisions and behaviors that can be well-defined. • When it is important that agents adapt and change their behaviors. • When it is important that agents have a dynamic relationship with other agents, and agent relationships form, change and decay. • When the past is no predictor of the future because the processes of growth and change are dynamic. • When process structural change needs to be an endogenous result of the model, rather than an input to the model.
  • 20. How? ABMS Software …Just a few ABMS Software Tools
  • 21. NetLogo The Center for Connected Learning (CCL) and Computer-Based Modeling, Northwestern University, USA. Repast Simphony Argonne National Laboratory, Chicago, USA. How? The Big Two… Both Free, Open Source
  • 22. • The name NetLogo comes from “Network Logo” and is a functional programming language (Byproduct of Lisp). • Java based Platform (build-in UI and programming interface). • “Turtles” represent the agents and have some state (unique identity, position, and attributes). How? NetLogo
  • 23. How? NetLogo NetLogo User and Programming Interface
  • 24. • Very popular tool (educational purpose). • Easy-to-use language, great for beginners. • Mature platform, rare bugs to none. • Contains many useful already-made primitives and structures. • Great for prototyping models, deploys web Java applets. • Many example available. • Great documentation, active community. • Can be used for complex models also. • Scalability issues. • Becomes slow when things get complicated. • Lack of Object Oriented style, debugger. How? NetLogo
  • 25. How? Repast • Recursive Porous Agent Simulation Toolkit (RePast). • Java based Framework and Library (ships with customized Eclipse IDE). • Initial language used was Java, however seeing the success of NetLogo, ReLogo was introduced.
  • 26. How? Repast Repast View and Eclipse Programming Interface
  • 27. • Popular tool (social sciences targeted). • Object Oriented and functional for tutoring. • Very good documentation, active community. • Usage of Eclipse. • Mature platform, some bugs. • Lots of examples available. • Includes 3D GIS using GeoTools, Imports NetLogo. • Scalable for complex models. • Learning curve, experience in Java regardless of examples. • No connection of ReLogo and Java. • Not so many primitives and structures available. How? Repast
  • 28. • Repast is faster than NetLogo in execution times. • However, you can have a model in NetLogo in few houre, Repast can take weeks (depending on your programming skills). • Although Repast is scalable, what about millions of agents (HPC)? • MASON • RePast C++ HPC • Custom How? Overall
  • 29. Summary • Agent Based Modeling and Simulation can model complex non-linear problems. • ABMS elevates system adaptation and learning. • Use agents when autonomous interactions occur. • Prototype with NetLogo, followed by RePast implementation. • Interesting Technology Trends in ABMS: • Software Architecture using Agents rather than Objects. • Distributed Data Mining. • Network Security with Agents.
  • 31. References  Vizzari, EASSS 2009 - Torino – 3-4/9/2009 Tutorial.  CM Macal and MJ North, Tutorial on agent-based modeling and simulation, Journal of Simulation 2010.  CM Macal and MJ North, AGENT-BASED MODELING AND SIMULATION, Proceedings of the 2009 Winter Simulation Conference. Paul Davidsson , Agent Based Social Simulation: A Computer Science View, Journal of Artificial Societies and Social Simulation vol. 5, no. 1.  Rob Allan, Survey of Agent Based Modelling and Simulation Tools, http://www.grids.ac.uk/Complex/ABMS/ABMS.html#SECTION0003140 00000000000000, visited 31-05-014 .
  • 32. NetLogo The Center for Connected Learning (CCL) and Computer-Based Modeling, Northwestern University, USA. Repast Simphony Argonne National Laboratory, Chicago, USA. MASON George Mason University, USA. Multi- Agent Simulator Of Neighborhoods ... or Networks... or something... , The Runner ups…

Editor's Notes

  • #7: We might not be able to run all the experiments in the target system