SlideShare a Scribd company logo
A Software Interface
Between System
Dynamics and Agent-
Based Simulations

A study by
Andreas Größler,
Myrjam Stotz,
and
Nadine Schieritz
Mannheim University,
Germany

Agent-Based Simulation
Whereas in system dynamics the internal structure of a
system determines its dynamic tendencies, in the agent-
based simulation the dynamic behavior of a system arises
from the behavior of its elements, the agents, and the
interactions between them:

System Dynamics Agent-Based
Simulation
Basic building
block
Feedback loop Agent
Unit of analysis Structure Agents' rules
Level of modeling Macro Micro
Perspective Top-down Bottom-up
Scientific Problem
Agent-based simulation and system
dynamics use computer simulation to
investigate social and economic systems
characterized by non-linearity, delays and
feedback processes.
Both concentrate on understanding and
qualitative prediction of systems behavior.
 An integration of both approaches
might be fruitful.

The Software Used…
A software
framework for
creating agent
based simulations
using the Java
language
A visual modeling
tool for system
dynamic models
The Vensim DLL
allows you to call
Vensim functions
from other
applications

The Technical Integration
At least two Java classes have to be programmed:
the simulation environment and the agents’ class…
Java class of the
simulation
environment
• Based on a class
given by RePast
• Builds and
manages the agents
• Manages the
simulation
• Provides a
graphical user
interface
Java class of
the agents
• Represents the
mental model of
the agents
• Builds a Vensim
object to
communicate with
Vensim via the
Vensim DLL
Vensim object
(provided by
Vensim)
• Calls the Vensim
DLL
• Manages the
transfer of data and
commands
between the agent-
class and Vensim
provides creates creates calls

An example from Supply Chain
Management
Supplier
Agent
Manufacturer
Agent1
Manufacturer
Agent2
Manufacturer
Agent3
Behavior of the
manufacturer
RePast VensimDLL
Agent-based simulation System Dynamics
Behavior of the
manufacturer
Behavior of the
manufacturer

The Agents’ Behavior
Inventory
Acquisition Rate Shipment
Rate
Desired
Acquisition Rate
Acquisition
Adjustment from
Inventory
Desired
Inventory
Expected
Order Rate Change in
Exp Orders
Inventory
Adjustment
Time
Desired
Inventory
Coverage
Time to Average
Order Rate
Order
Fulfillment
Ratio
Table for Order
Fulfillment
Supply LineOrders Placed
Rate
Acquisition Lag
Adjustment for
Supply Line
Desired
Supply Line
Orders Placed
Supply Line
Adjustment Time
Customer
Order Rate
B
Order
Fulfillment
B Inventory Control
B
Supply Line
Control -
-
+
+
+
+
+
- -
+
+
-
+
+
+
-
Desired
Shipment
Rate
+
Maximum
Shipment
Rate
Minimum
Order
Processing
Time
+
+
-
-
+
Inventory
Coverage
+ -
Safety
Stock
Coverage
+
+
+
Customer
Orders
Backlog Backlog
Change Rate
+ -
+
Supplies
Received
Init Supply Line Init Inventory
Init Expected
Order Rate Init Customer
Orders Backlog
+
+
In each step of a simulation the agent-based modeled manufacturers
call this System Dynamics model (modified after Sterman 2000)...

The Simulation in RePast Start and stop
a simulation
Graphs represent
the results of
simulations
In a probe map
parameters of the
simulation can be set

Conclusions
 The presented software solution provides a
prototypical common technical platform to
examine problems that suggest the
integration of the two simulation concepts
 More flexibility is provided in modeling and
simulating dynamic systems (using in each
part of the model the method fitting best)
 The advantages of both methods can be used,
their disadvantages can be reduced
 Skills in Java are necessary

Further Research
 Extend and improve the model technically,
e.g. make simulations more user-friendly
 Use this platform to model other problems
that suggest the integration of the two
simulation concepts
 Use this software interface as a basis to model
an integration with System Dynamics on
macro-level and agent-based simulations on
micro-level
 Investigate effects of combined methods on
validity of models

References
 RePast: http://repast.sourceforge.net
 Venism: http://www.vensim.com
 Phelan, SE. 1999. A Note on the Correspondence between
Complexity and Systems Theory. Systemic Practice and
Action Research 12(3): 237–246.
 Schieritz, N, Größler, A. 2003. Emergent Structures in Supply
Chains: A Study Integrating Agent-Based and System
Dynamics Modeling. Proceedings of the 36th Hawaiian
International Conference on Systems Science, Wailea.
 Scholl, HJ. 2001a. Agent-based and System Dynamics
Modeling: A Call for Cross Study and Joint Research.
Proceedings of the 34th Hawaiian International Conference
on Systems Science, Wailea.
 Sterman, JD. 2000. Business Dynamics – Systems Thinking
and Modeling for a Complex World, Boston.


More Related Content

PPT
Lecture 17 design concepts (2)
IIUI
 
PPT
Slides chapter 8
Priyanka Shetty
 
PPTX
Requirements modeling
AnanthiP8
 
PPT
Chapter3 general principles of discrete event simulation
De La Salle University-Manila
 
PPT
Lecture 19 design concepts
IIUI
 
PPT
Ch06
guest50f28c
 
PPTX
Scenario 4
tomlangley
 
Lecture 17 design concepts (2)
IIUI
 
Slides chapter 8
Priyanka Shetty
 
Requirements modeling
AnanthiP8
 
Chapter3 general principles of discrete event simulation
De La Salle University-Manila
 
Lecture 19 design concepts
IIUI
 
Scenario 4
tomlangley
 

What's hot (20)

DOCX
Production simulation
melkindustrial
 
PPTX
Context model
Ubaid423
 
PPTX
Power point for project
abdussalam taher
 
PPT
Analysis concepts and principles
saurabhshertukde
 
PDF
M azhar
Mazhar Saleem
 
PPT
Depandability in Software Engineering SE16
koolkampus
 
PPTX
Testing
BinamraRegmi
 
PDF
Se lec1 (1)
Huda Alameen
 
PPTX
Software Evaluation
SabahtHussein
 
PDF
Unit 5- Architectural Design in software engineering
arvind pandey
 
PPTX
Software engineering 17 architectural design
Vaibhav Khanna
 
PDF
Se lec 3
Huda Alameen
 
PPT
System Models in Software Engineering SE7
koolkampus
 
PPTX
Software Development Life Cycle & Its Models
Dr.Purushottam Petare
 
PPTX
System Modelling
Jennifer Polack
 
PPTX
Software development life cycle
Mozammel Haque
 
PPT
Unit 1
KRAMANJANEYULU1
 
PPTX
Integration testing
queen jemila
 
PPTX
Modeling and analysis
Shwetabh Jaiswal
 
PPTX
System Analysis And Design 2011
tgushi12
 
Production simulation
melkindustrial
 
Context model
Ubaid423
 
Power point for project
abdussalam taher
 
Analysis concepts and principles
saurabhshertukde
 
M azhar
Mazhar Saleem
 
Depandability in Software Engineering SE16
koolkampus
 
Testing
BinamraRegmi
 
Se lec1 (1)
Huda Alameen
 
Software Evaluation
SabahtHussein
 
Unit 5- Architectural Design in software engineering
arvind pandey
 
Software engineering 17 architectural design
Vaibhav Khanna
 
Se lec 3
Huda Alameen
 
System Models in Software Engineering SE7
koolkampus
 
Software Development Life Cycle & Its Models
Dr.Purushottam Petare
 
System Modelling
Jennifer Polack
 
Software development life cycle
Mozammel Haque
 
Integration testing
queen jemila
 
Modeling and analysis
Shwetabh Jaiswal
 
System Analysis And Design 2011
tgushi12
 
Ad

Similar to Poster Vensim Repast (20)

PPT
Lecture 12 requirements modeling - (system analysis)
IIUI
 
PPTX
Introduction to System, Simulation and Model
Md. Hasan Imam Bijoy
 
PDF
APPLICATION OF COMPUTER AGENT MODELING FOR OPTIMIZATION OF THE ASSEMBLY PROC...
satyajit60
 
PDF
Application Of UML In Real-Time Embedded Systems
ijseajournal
 
PDF
7.1-Midterm-review-and-examplessssssss.pdf
SuziSimonovska1
 
PPT
Presentation Of Mbt Tools
Husnain Muhammad
 
DOCX
Software requirement analysis enhancements byprioritizing re
AlleneMcclendon878
 
PPTX
Introduction to simulation and modeling
antim19
 
PDF
1 1c291nx981n98nun1nnc120102cn190n u90cn19nc 1c9
JamesSalcedo2
 
DOCX
MODELING & SIMULATION.docx
JAMEEL AHMED KHOSO
 
DOCX
Mi0033 software engineering...
smumbahelp
 
PPT
Slides chapters 6-7
Priyanka Shetty
 
PPT
SE chapters 6-7
Hardik Patel
 
PDF
An Implementation on Effective Robot Mission under Critical Environemental Co...
IJERA Editor
 
DOCX
Modeling & simulation in projects
anki009
 
PPTX
-linkedin
Pragnya Balamurukesan
 
PPTX
ml mini project (1).pptx
SyedjawedAlijaffer
 
PDF
A03720106
inventionjournals
 
PDF
Giddings
anesah
 
PDF
Introduction to networks simulation
ahmed L. Khalaf
 
Lecture 12 requirements modeling - (system analysis)
IIUI
 
Introduction to System, Simulation and Model
Md. Hasan Imam Bijoy
 
APPLICATION OF COMPUTER AGENT MODELING FOR OPTIMIZATION OF THE ASSEMBLY PROC...
satyajit60
 
Application Of UML In Real-Time Embedded Systems
ijseajournal
 
7.1-Midterm-review-and-examplessssssss.pdf
SuziSimonovska1
 
Presentation Of Mbt Tools
Husnain Muhammad
 
Software requirement analysis enhancements byprioritizing re
AlleneMcclendon878
 
Introduction to simulation and modeling
antim19
 
1 1c291nx981n98nun1nnc120102cn190n u90cn19nc 1c9
JamesSalcedo2
 
MODELING & SIMULATION.docx
JAMEEL AHMED KHOSO
 
Mi0033 software engineering...
smumbahelp
 
Slides chapters 6-7
Priyanka Shetty
 
SE chapters 6-7
Hardik Patel
 
An Implementation on Effective Robot Mission under Critical Environemental Co...
IJERA Editor
 
Modeling & simulation in projects
anki009
 
ml mini project (1).pptx
SyedjawedAlijaffer
 
Giddings
anesah
 
Introduction to networks simulation
ahmed L. Khalaf
 
Ad

Poster Vensim Repast

  • 1. A Software Interface Between System Dynamics and Agent- Based Simulations 
  • 2. A study by Andreas Größler, Myrjam Stotz, and Nadine Schieritz Mannheim University, Germany 
  • 3. Agent-Based Simulation Whereas in system dynamics the internal structure of a system determines its dynamic tendencies, in the agent- based simulation the dynamic behavior of a system arises from the behavior of its elements, the agents, and the interactions between them:  System Dynamics Agent-Based Simulation Basic building block Feedback loop Agent Unit of analysis Structure Agents' rules Level of modeling Macro Micro Perspective Top-down Bottom-up
  • 4. Scientific Problem Agent-based simulation and system dynamics use computer simulation to investigate social and economic systems characterized by non-linearity, delays and feedback processes. Both concentrate on understanding and qualitative prediction of systems behavior.  An integration of both approaches might be fruitful. 
  • 5. The Software Used… A software framework for creating agent based simulations using the Java language A visual modeling tool for system dynamic models The Vensim DLL allows you to call Vensim functions from other applications 
  • 6. The Technical Integration At least two Java classes have to be programmed: the simulation environment and the agents’ class… Java class of the simulation environment • Based on a class given by RePast • Builds and manages the agents • Manages the simulation • Provides a graphical user interface Java class of the agents • Represents the mental model of the agents • Builds a Vensim object to communicate with Vensim via the Vensim DLL Vensim object (provided by Vensim) • Calls the Vensim DLL • Manages the transfer of data and commands between the agent- class and Vensim provides creates creates calls 
  • 7. An example from Supply Chain Management Supplier Agent Manufacturer Agent1 Manufacturer Agent2 Manufacturer Agent3 Behavior of the manufacturer RePast VensimDLL Agent-based simulation System Dynamics Behavior of the manufacturer Behavior of the manufacturer 
  • 8. The Agents’ Behavior Inventory Acquisition Rate Shipment Rate Desired Acquisition Rate Acquisition Adjustment from Inventory Desired Inventory Expected Order Rate Change in Exp Orders Inventory Adjustment Time Desired Inventory Coverage Time to Average Order Rate Order Fulfillment Ratio Table for Order Fulfillment Supply LineOrders Placed Rate Acquisition Lag Adjustment for Supply Line Desired Supply Line Orders Placed Supply Line Adjustment Time Customer Order Rate B Order Fulfillment B Inventory Control B Supply Line Control - - + + + + + - - + + - + + + - Desired Shipment Rate + Maximum Shipment Rate Minimum Order Processing Time + + - - + Inventory Coverage + - Safety Stock Coverage + + + Customer Orders Backlog Backlog Change Rate + - + Supplies Received Init Supply Line Init Inventory Init Expected Order Rate Init Customer Orders Backlog + + In each step of a simulation the agent-based modeled manufacturers call this System Dynamics model (modified after Sterman 2000)... 
  • 9. The Simulation in RePast Start and stop a simulation Graphs represent the results of simulations In a probe map parameters of the simulation can be set 
  • 10. Conclusions  The presented software solution provides a prototypical common technical platform to examine problems that suggest the integration of the two simulation concepts  More flexibility is provided in modeling and simulating dynamic systems (using in each part of the model the method fitting best)  The advantages of both methods can be used, their disadvantages can be reduced  Skills in Java are necessary 
  • 11. Further Research  Extend and improve the model technically, e.g. make simulations more user-friendly  Use this platform to model other problems that suggest the integration of the two simulation concepts  Use this software interface as a basis to model an integration with System Dynamics on macro-level and agent-based simulations on micro-level  Investigate effects of combined methods on validity of models 
  • 12. References  RePast: http://repast.sourceforge.net  Venism: http://www.vensim.com  Phelan, SE. 1999. A Note on the Correspondence between Complexity and Systems Theory. Systemic Practice and Action Research 12(3): 237–246.  Schieritz, N, Größler, A. 2003. Emergent Structures in Supply Chains: A Study Integrating Agent-Based and System Dynamics Modeling. Proceedings of the 36th Hawaiian International Conference on Systems Science, Wailea.  Scholl, HJ. 2001a. Agent-based and System Dynamics Modeling: A Call for Cross Study and Joint Research. Proceedings of the 34th Hawaiian International Conference on Systems Science, Wailea.  Sterman, JD. 2000. Business Dynamics – Systems Thinking and Modeling for a Complex World, Boston. 