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

Complexity Explained: A brief intro to complex systems
Complexity Explained: A brief intro to complex systemsComplexity Explained: A brief intro to complex systems
Complexity Explained: A brief intro to complex systemsHiroki Sayama
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]qwerty626
 
Introduction to Computational Intelligent
Introduction to Computational IntelligentIntroduction to Computational Intelligent
Introduction to Computational IntelligentKent State University
 
Machine learning with ADA Boost
Machine learning with ADA BoostMachine learning with ADA Boost
Machine learning with ADA BoostAman Patel
 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSSEnaam Alotaibi
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)mufassirin
 
Machine learning Algorithms
Machine learning AlgorithmsMachine learning Algorithms
Machine learning AlgorithmsWalaa Hamdy Assy
 
Linear regression
Linear regressionLinear regression
Linear regressionMartinHogg9
 
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)Vivek Maurya
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)Manoj Reddy
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Simplilearn
 
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEIntelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEKhushboo Pal
 
Computational Intelligence: concepts and applications using Athena
Computational Intelligence: concepts and applications using AthenaComputational Intelligence: concepts and applications using Athena
Computational Intelligence: concepts and applications using AthenaPedro Almir
 

What's hot (20)

Complexity Explained: A brief intro to complex systems
Complexity Explained: A brief intro to complex systemsComplexity Explained: A brief intro to complex systems
Complexity Explained: A brief intro to complex systems
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]
 
Introduction to Computational Intelligent
Introduction to Computational IntelligentIntroduction to Computational Intelligent
Introduction to Computational Intelligent
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning with ADA Boost
Machine learning with ADA BoostMachine learning with ADA Boost
Machine learning with ADA Boost
 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSS
 
Modelling and simulation
Modelling and simulationModelling and simulation
Modelling and simulation
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)
 
Machine learning Algorithms
Machine learning AlgorithmsMachine learning Algorithms
Machine learning Algorithms
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Ai Slides
Ai SlidesAi Slides
Ai Slides
 
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
 
Agent architectures
Agent architecturesAgent architectures
Agent architectures
 
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEIntelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
 
Backpropagation algo
Backpropagation  algoBackpropagation  algo
Backpropagation algo
 
Computational Intelligence: concepts and applications using Athena
Computational Intelligence: concepts and applications using AthenaComputational Intelligence: concepts and applications using Athena
Computational Intelligence: concepts and applications using Athena
 
Simulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture NotesSimulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture Notes
 

Viewers also liked

Agent-Based Modeling & Python @ PyData DC 2016
Agent-Based Modeling & Python @ PyData DC 2016Agent-Based Modeling & Python @ PyData DC 2016
Agent-Based Modeling & Python @ PyData DC 2016Jacqueline Kazil
 
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
 

Viewers also liked (20)

Agent-Based Modeling & Python @ PyData DC 2016
Agent-Based Modeling & Python @ PyData DC 2016Agent-Based Modeling & Python @ PyData DC 2016
Agent-Based Modeling & Python @ PyData DC 2016
 
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
 

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

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 

Recently uploaded (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 

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