SlideShare a Scribd company logo
1 of 32
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

CS6010 Social Network Analysis Unit IV
CS6010 Social Network Analysis Unit IVCS6010 Social Network Analysis Unit IV
CS6010 Social Network Analysis Unit IVpkaviya
 
Modelling simulation (1)
Modelling simulation (1)Modelling simulation (1)
Modelling simulation (1)Cathryn Kuteesa
 
Artificial intelligence agents and environment
Artificial intelligence agents and environmentArtificial intelligence agents and environment
Artificial intelligence agents and environmentMinakshi Atre
 
Aspect oriented architecture
Aspect oriented architecture Aspect oriented architecture
Aspect oriented architecture tigneb
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agentsMegha Sharma
 
IoT Enabling Technologies
IoT Enabling TechnologiesIoT Enabling Technologies
IoT Enabling TechnologiesPrakash Honnur
 
Model Selection Techniques
Model Selection TechniquesModel Selection Techniques
Model Selection TechniquesSwati .
 
Lecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebLecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebMarina Santini
 
Context model
Context modelContext model
Context modelUbaid423
 
Introduction to simulation modeling
Introduction to simulation modelingIntroduction to simulation modeling
Introduction to simulation modelingbhupendra kumar
 
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)IrtazaAfzal3
 
Using SHAP to Understand Black Box Models
Using SHAP to Understand Black Box ModelsUsing SHAP to Understand Black Box Models
Using SHAP to Understand Black Box ModelsJonathan Bechtel
 

What's hot (20)

Intelligent Agents
Intelligent Agents Intelligent Agents
Intelligent Agents
 
CS6010 Social Network Analysis Unit IV
CS6010 Social Network Analysis Unit IVCS6010 Social Network Analysis Unit IV
CS6010 Social Network Analysis Unit IV
 
Swarm intelligence algorithms
Swarm intelligence algorithmsSwarm intelligence algorithms
Swarm intelligence algorithms
 
Rule based system
Rule based systemRule based system
Rule based system
 
Modelling simulation (1)
Modelling simulation (1)Modelling simulation (1)
Modelling simulation (1)
 
Artificial intelligence agents and environment
Artificial intelligence agents and environmentArtificial intelligence agents and environment
Artificial intelligence agents and environment
 
Aspect oriented architecture
Aspect oriented architecture Aspect oriented architecture
Aspect oriented architecture
 
Unit 8
Unit 8Unit 8
Unit 8
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agents
 
IoT Enabling Technologies
IoT Enabling TechnologiesIoT Enabling Technologies
IoT Enabling Technologies
 
CS8080 IRT UNIT I NOTES.pdf
CS8080 IRT UNIT I  NOTES.pdfCS8080 IRT UNIT I  NOTES.pdf
CS8080 IRT UNIT I NOTES.pdf
 
Model Selection Techniques
Model Selection TechniquesModel Selection Techniques
Model Selection Techniques
 
Lecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebLecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic Web
 
CS8080 INFORMATION RETRIEVAL TECHNIQUES - IRT - UNIT - I PPT IN PDF
CS8080 INFORMATION RETRIEVAL TECHNIQUES - IRT - UNIT - I  PPT  IN PDFCS8080 INFORMATION RETRIEVAL TECHNIQUES - IRT - UNIT - I  PPT  IN PDF
CS8080 INFORMATION RETRIEVAL TECHNIQUES - IRT - UNIT - I PPT IN PDF
 
Context model
Context modelContext model
Context model
 
Unit7: Production System
Unit7: Production SystemUnit7: Production System
Unit7: Production System
 
AI Lecture 1 (introduction)
AI Lecture 1 (introduction)AI Lecture 1 (introduction)
AI Lecture 1 (introduction)
 
Introduction to simulation modeling
Introduction to simulation modelingIntroduction to simulation modeling
Introduction to simulation modeling
 
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
 
Using SHAP to Understand Black Box Models
Using SHAP to Understand Black Box ModelsUsing SHAP to Understand Black Box Models
Using SHAP to Understand Black Box Models
 

Viewers also liked

GIS and Agent-based modeling: Part 1
GIS and Agent-based modeling: Part 1GIS and Agent-based modeling: Part 1
GIS and Agent-based modeling: Part 1crooksAndrew
 
Lloyd Swarmfest 2010 Presentation
Lloyd   Swarmfest 2010 PresentationLloyd   Swarmfest 2010 Presentation
Lloyd Swarmfest 2010 Presentationkalloyd
 
Comparison of Agent-based platforms
Comparison of Agent-based platformsComparison of Agent-based platforms
Comparison of Agent-based platformsKishoj Bajracharya
 
Omid roozmand presentation
Omid roozmand presentationOmid roozmand presentation
Omid roozmand presentationUniversity
 
GIS and Agent-based modeling: Part 2
GIS and Agent-based modeling: Part 2GIS and Agent-based modeling: Part 2
GIS and Agent-based modeling: Part 2crooksAndrew
 
Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...
Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...
Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...crooksAndrew
 
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing MixTop 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing MixThinkVine
 
Consumerbehavior-Omid-Roozmand
Consumerbehavior-Omid-RoozmandConsumerbehavior-Omid-Roozmand
Consumerbehavior-Omid-Roozmandestephanm
 
Study of urban traffic flow
Study of urban traffic flowStudy of urban traffic flow
Study of urban traffic flowSukhdeep Jat
 
SME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
SME Manufacturing Credit Risk Model Forecast Correctness and Result of ModelSME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
SME Manufacturing Credit Risk Model Forecast Correctness and Result of ModelIOSR Journals
 
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...Lauri Eloranta
 
Cellular automata : A simple Introduction
Cellular automata : A simple IntroductionCellular automata : A simple Introduction
Cellular automata : A simple IntroductionAdekunle Onaopepo
 
Expert Judgement Credit Rating for SME & Commercial Customers
Expert Judgement Credit Rating for SME & Commercial CustomersExpert Judgement Credit Rating for SME & Commercial Customers
Expert Judgement Credit Rating for SME & Commercial CustomersMike Coates
 
Hevner design-science
Hevner design-scienceHevner design-science
Hevner design-scienceshmushmu
 
Design Science Introduction
Design Science IntroductionDesign Science Introduction
Design Science Introductionpajo01
 
Cellular automata by Devdutta Chakrabarti
Cellular automata by Devdutta ChakrabartiCellular automata by Devdutta Chakrabarti
Cellular automata by Devdutta ChakrabartiDevdutta Chakrabarti
 
Information Systems design science research
Information Systems design science  researchInformation Systems design science  research
Information Systems design science researchRaimo Halinen
 

Viewers also liked (20)

GIS and Agent-based modeling: Part 1
GIS and Agent-based modeling: Part 1GIS and Agent-based modeling: Part 1
GIS and Agent-based modeling: Part 1
 
Traffic Simulation using NetLogo
Traffic Simulation using NetLogoTraffic Simulation using NetLogo
Traffic Simulation using NetLogo
 
Lloyd Swarmfest 2010 Presentation
Lloyd   Swarmfest 2010 PresentationLloyd   Swarmfest 2010 Presentation
Lloyd Swarmfest 2010 Presentation
 
Comparison of Agent-based platforms
Comparison of Agent-based platformsComparison of Agent-based platforms
Comparison of Agent-based platforms
 
Omid roozmand presentation
Omid roozmand presentationOmid roozmand presentation
Omid roozmand presentation
 
GIS and Agent-based modeling: Part 2
GIS and Agent-based modeling: Part 2GIS and Agent-based modeling: Part 2
GIS and Agent-based modeling: Part 2
 
Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...
Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...
Leveraging Crowdsourced data for Agent-based modeling: Opportunities, Example...
 
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing MixTop 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
 
Consumerbehavior-Omid-Roozmand
Consumerbehavior-Omid-RoozmandConsumerbehavior-Omid-Roozmand
Consumerbehavior-Omid-Roozmand
 
Study of urban traffic flow
Study of urban traffic flowStudy of urban traffic flow
Study of urban traffic flow
 
SME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
SME Manufacturing Credit Risk Model Forecast Correctness and Result of ModelSME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
SME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
 
Major ppt
Major pptMajor ppt
Major ppt
 
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...
 
Cellular automata : A simple Introduction
Cellular automata : A simple IntroductionCellular automata : A simple Introduction
Cellular automata : A simple Introduction
 
Expert Judgement Credit Rating for SME & Commercial Customers
Expert Judgement Credit Rating for SME & Commercial CustomersExpert Judgement Credit Rating for SME & Commercial Customers
Expert Judgement Credit Rating for SME & Commercial Customers
 
Hevner design-science
Hevner design-scienceHevner design-science
Hevner design-science
 
Design Science Introduction
Design Science IntroductionDesign Science Introduction
Design Science Introduction
 
Cellular automata by Devdutta Chakrabarti
Cellular automata by Devdutta ChakrabartiCellular automata by Devdutta Chakrabarti
Cellular automata by Devdutta Chakrabarti
 
Best of SME Banking
Best of SME BankingBest of SME Banking
Best of SME Banking
 
Information Systems design science research
Information Systems design science  researchInformation Systems design science  research
Information Systems design science research
 

Similar to Agent Based Modeling and Simulation - Overview and Tools

From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015Randy Shoup
 
Towards a Comprehensive Machine Learning Benchmark
Towards a Comprehensive Machine Learning BenchmarkTowards a Comprehensive Machine Learning Benchmark
Towards a Comprehensive Machine Learning BenchmarkTuri, Inc.
 
Segue to design patterns
Segue to design patternsSegue to design patterns
Segue to design patternsRahul Singh
 
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.pptxubaidullah75790
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithmsiqbalphy1
 
The Path to Digital Engineering
The Path to Digital EngineeringThe Path to Digital Engineering
The Path to Digital EngineeringElizabeth Steiner
 
AlgorithmVisualiserProject_TanuJaiswal.pdf
AlgorithmVisualiserProject_TanuJaiswal.pdfAlgorithmVisualiserProject_TanuJaiswal.pdf
AlgorithmVisualiserProject_TanuJaiswal.pdfTanu Jaiswal
 
NLP and Deep Learning for non_experts
NLP and Deep Learning for non_expertsNLP and Deep Learning for non_experts
NLP and Deep Learning for non_expertsSanghamitra Deb
 
Architectural design1
Architectural design1Architectural design1
Architectural design1Zahid Hussain
 
Architectural design1
Architectural design1Architectural design1
Architectural design1Zahid Hussain
 
Chapter 4_Introduction to Patterns.ppt
Chapter 4_Introduction to Patterns.pptChapter 4_Introduction to Patterns.ppt
Chapter 4_Introduction to Patterns.pptRushikeshChikane1
 
Chapter 4_Introduction to Patterns.ppt
Chapter 4_Introduction to Patterns.pptChapter 4_Introduction to Patterns.ppt
Chapter 4_Introduction to Patterns.pptRushikeshChikane2
 
Neel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to codeNeel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to codeMLconf
 
OOP -interface and objects.pptx
OOP -interface and objects.pptxOOP -interface and objects.pptx
OOP -interface and objects.pptxEdFeranil
 
Rise of the machines -- Owasp israel -- June 2014 meetup
Rise of the machines -- Owasp israel -- June 2014 meetupRise of the machines -- Owasp israel -- June 2014 meetup
Rise of the machines -- Owasp israel -- June 2014 meetupShlomo Yona
 

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

CPP19 - Revision
CPP19 - RevisionCPP19 - Revision
CPP19 - Revision
 
From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015
 
Towards a Comprehensive Machine Learning Benchmark
Towards a Comprehensive Machine Learning BenchmarkTowards a Comprehensive Machine Learning Benchmark
Towards a Comprehensive Machine Learning Benchmark
 
Network simulation software
Network simulation softwareNetwork simulation software
Network simulation software
 
Patterns
PatternsPatterns
Patterns
 
Segue to design patterns
Segue to design patternsSegue to design patterns
Segue to design patterns
 
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
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithms
 
The Path to Digital Engineering
The Path to Digital EngineeringThe Path to Digital Engineering
The Path to Digital Engineering
 
AlgorithmVisualiserProject_TanuJaiswal.pdf
AlgorithmVisualiserProject_TanuJaiswal.pdfAlgorithmVisualiserProject_TanuJaiswal.pdf
AlgorithmVisualiserProject_TanuJaiswal.pdf
 
NLP and Deep Learning for non_experts
NLP and Deep Learning for non_expertsNLP and Deep Learning for non_experts
NLP and Deep Learning for non_experts
 
Architectural design1
Architectural design1Architectural design1
Architectural design1
 
Architectural design1
Architectural design1Architectural design1
Architectural design1
 
Chapter 4_Introduction to Patterns.ppt
Chapter 4_Introduction to Patterns.pptChapter 4_Introduction to Patterns.ppt
Chapter 4_Introduction to Patterns.ppt
 
Chapter 4_Introduction to Patterns.ppt
Chapter 4_Introduction to Patterns.pptChapter 4_Introduction to Patterns.ppt
Chapter 4_Introduction to Patterns.ppt
 
Neel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to codeNeel Sundaresan - Teaching a machine to code
Neel Sundaresan - Teaching a machine to code
 
Esl basics
Esl basicsEsl basics
Esl basics
 
Microservices Architecture
Microservices ArchitectureMicroservices Architecture
Microservices Architecture
 
OOP -interface and objects.pptx
OOP -interface and objects.pptxOOP -interface and objects.pptx
OOP -interface and objects.pptx
 
Rise of the machines -- Owasp israel -- June 2014 meetup
Rise of the machines -- Owasp israel -- June 2014 meetupRise of the machines -- Owasp israel -- June 2014 meetup
Rise of the machines -- Owasp israel -- June 2014 meetup
 

More from Stathis Grigoropoulos

More from Stathis Grigoropoulos (8)

The Minority Game: Individual and Social Learning
The Minority Game: Individual and Social LearningThe Minority Game: Individual and Social Learning
The Minority Game: Individual and Social Learning
 
Social cognitive factors of unfair ratings in reputation
Social cognitive factors of unfair ratings in reputationSocial cognitive factors of unfair ratings in reputation
Social cognitive factors of unfair ratings in reputation
 
Mechanism design theory examples and complexity
Mechanism design theory examples and complexityMechanism design theory examples and complexity
Mechanism design theory examples and complexity
 
Chess Segmentation
Chess SegmentationChess Segmentation
Chess Segmentation
 
Scheduling
SchedulingScheduling
Scheduling
 
Scheduling
SchedulingScheduling
Scheduling
 
Hydrate me
Hydrate meHydrate me
Hydrate me
 
Stress2
Stress2Stress2
Stress2
 

Recently uploaded

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

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

  1. We might not be able to run all the experiments in the target system