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

What's hot

Production simulation
Production simulationProduction simulation
Production simulation
melkindustrial
 
Context model
Context modelContext model
Context model
Ubaid423
 
Power point for project
Power point for projectPower point for project
Power point for project
abdussalam taher
 
Analysis concepts and principles
Analysis concepts and principlesAnalysis concepts and principles
Analysis concepts and principlessaurabhshertukde
 
M azhar
M azharM azhar
M azhar
Mazhar Saleem
 
Depandability in Software Engineering SE16
Depandability in Software Engineering SE16Depandability in Software Engineering SE16
Depandability in Software Engineering SE16koolkampus
 
Testing
TestingTesting
Testing
BinamraRegmi
 
Se lec1 (1)
Se lec1 (1)Se lec1 (1)
Se lec1 (1)
Huda Alameen
 
Software Evaluation
Software EvaluationSoftware Evaluation
Software Evaluation
SabahtHussein
 
Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering
arvind pandey
 
Software engineering 17 architectural design
Software engineering 17 architectural designSoftware engineering 17 architectural design
Software engineering 17 architectural design
Vaibhav Khanna
 
Se lec 3
Se lec 3Se lec 3
Se lec 3
Huda Alameen
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7koolkampus
 
Software Development Life Cycle & Its Models
Software Development Life Cycle & Its ModelsSoftware Development Life Cycle & Its Models
Software Development Life Cycle & Its Models
Dr.Purushottam Petare
 
System Modelling
System ModellingSystem Modelling
System Modelling
Jennifer Polack
 
Software development life cycle
Software development life cycle Software development life cycle
Software development life cycle
Mozammel Haque
 
Unit 1
Unit 1Unit 1
Integration testing
Integration testingIntegration testing
Integration testing
queen jemila
 
Modeling and analysis
Modeling and analysisModeling and analysis
Modeling and analysis
Shwetabh Jaiswal
 
System Analysis And Design 2011
System Analysis And Design  2011System Analysis And Design  2011
System Analysis And Design 2011tgushi12
 

What's hot (20)

Production simulation
Production simulationProduction simulation
Production simulation
 
Context model
Context modelContext model
Context model
 
Power point for project
Power point for projectPower point for project
Power point for project
 
Analysis concepts and principles
Analysis concepts and principlesAnalysis concepts and principles
Analysis concepts and principles
 
M azhar
M azharM azhar
M azhar
 
Depandability in Software Engineering SE16
Depandability in Software Engineering SE16Depandability in Software Engineering SE16
Depandability in Software Engineering SE16
 
Testing
TestingTesting
Testing
 
Se lec1 (1)
Se lec1 (1)Se lec1 (1)
Se lec1 (1)
 
Software Evaluation
Software EvaluationSoftware Evaluation
Software Evaluation
 
Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering
 
Software engineering 17 architectural design
Software engineering 17 architectural designSoftware engineering 17 architectural design
Software engineering 17 architectural design
 
Se lec 3
Se lec 3Se lec 3
Se lec 3
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
 
Software Development Life Cycle & Its Models
Software Development Life Cycle & Its ModelsSoftware Development Life Cycle & Its Models
Software Development Life Cycle & Its Models
 
System Modelling
System ModellingSystem Modelling
System Modelling
 
Software development life cycle
Software development life cycle Software development life cycle
Software development life cycle
 
Unit 1
Unit 1Unit 1
Unit 1
 
Integration testing
Integration testingIntegration testing
Integration testing
 
Modeling and analysis
Modeling and analysisModeling and analysis
Modeling and analysis
 
System Analysis And Design 2011
System Analysis And Design  2011System Analysis And Design  2011
System Analysis And Design 2011
 

Similar to Poster Vensim Repast

Lecture 12 requirements modeling - (system analysis)
Lecture 12   requirements modeling - (system analysis)Lecture 12   requirements modeling - (system analysis)
Lecture 12 requirements modeling - (system analysis)
IIUI
 
Introduction to System, Simulation and Model
Introduction to System, Simulation and ModelIntroduction to System, Simulation and Model
Introduction to System, Simulation and Model
Md. Hasan Imam Bijoy
 
Application Of UML In Real-Time Embedded Systems
Application Of UML In Real-Time Embedded SystemsApplication Of UML In Real-Time Embedded Systems
Application Of UML In Real-Time Embedded Systems
ijseajournal
 
7.1-Midterm-review-and-examplessssssss.pdf
7.1-Midterm-review-and-examplessssssss.pdf7.1-Midterm-review-and-examplessssssss.pdf
7.1-Midterm-review-and-examplessssssss.pdf
SuziSimonovska1
 
Presentation Of Mbt Tools
Presentation Of Mbt ToolsPresentation Of Mbt Tools
Presentation Of Mbt Tools
Husnain Muhammad
 
Software requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing reSoftware requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing re
AlleneMcclendon878
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modeling
antim19
 
MODELING & SIMULATION.docx
MODELING & SIMULATION.docxMODELING & SIMULATION.docx
MODELING & SIMULATION.docx
JAMEEL AHMED KHOSO
 
Mi0033 software engineering...
Mi0033  software engineering...Mi0033  software engineering...
Mi0033 software engineering...smumbahelp
 
Slides chapters 6-7
Slides chapters 6-7Slides chapters 6-7
Slides chapters 6-7
Priyanka Shetty
 
An Implementation on Effective Robot Mission under Critical Environemental Co...
An Implementation on Effective Robot Mission under Critical Environemental Co...An Implementation on Effective Robot Mission under Critical Environemental Co...
An Implementation on Effective Robot Mission under Critical Environemental Co...
IJERA Editor
 
Modeling & simulation in projects
Modeling & simulation in projectsModeling & simulation in projects
Modeling & simulation in projectsanki009
 
ml mini project (1).pptx
ml mini project (1).pptxml mini project (1).pptx
ml mini project (1).pptx
SyedjawedAlijaffer
 
A03720106
A03720106A03720106
Giddings
GiddingsGiddings
Giddingsanesah
 
Introduction to networks simulation
Introduction to networks simulationIntroduction to networks simulation
Introduction to networks simulation
ahmed L. Khalaf
 
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMSDEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
International Journal of Technical Research & Application
 
System dynamic20011598-079.pptx
System dynamic20011598-079.pptxSystem dynamic20011598-079.pptx
System dynamic20011598-079.pptx
muhammadsaad359748
 

Similar to Poster Vensim Repast (20)

Lecture 12 requirements modeling - (system analysis)
Lecture 12   requirements modeling - (system analysis)Lecture 12   requirements modeling - (system analysis)
Lecture 12 requirements modeling - (system analysis)
 
Introduction to System, Simulation and Model
Introduction to System, Simulation and ModelIntroduction to System, Simulation and Model
Introduction to System, Simulation and Model
 
Application Of UML In Real-Time Embedded Systems
Application Of UML In Real-Time Embedded SystemsApplication Of UML In Real-Time Embedded Systems
Application Of UML In Real-Time Embedded Systems
 
7.1-Midterm-review-and-examplessssssss.pdf
7.1-Midterm-review-and-examplessssssss.pdf7.1-Midterm-review-and-examplessssssss.pdf
7.1-Midterm-review-and-examplessssssss.pdf
 
Presentation Of Mbt Tools
Presentation Of Mbt ToolsPresentation Of Mbt Tools
Presentation Of Mbt Tools
 
Software requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing reSoftware requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing re
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modeling
 
MODELING & SIMULATION.docx
MODELING & SIMULATION.docxMODELING & SIMULATION.docx
MODELING & SIMULATION.docx
 
Mi0033 software engineering...
Mi0033  software engineering...Mi0033  software engineering...
Mi0033 software engineering...
 
Slides chapters 6-7
Slides chapters 6-7Slides chapters 6-7
Slides chapters 6-7
 
SE chapters 6-7
SE chapters 6-7SE chapters 6-7
SE chapters 6-7
 
An Implementation on Effective Robot Mission under Critical Environemental Co...
An Implementation on Effective Robot Mission under Critical Environemental Co...An Implementation on Effective Robot Mission under Critical Environemental Co...
An Implementation on Effective Robot Mission under Critical Environemental Co...
 
Modeling & simulation in projects
Modeling & simulation in projectsModeling & simulation in projects
Modeling & simulation in projects
 
-linkedin
-linkedin-linkedin
-linkedin
 
ml mini project (1).pptx
ml mini project (1).pptxml mini project (1).pptx
ml mini project (1).pptx
 
A03720106
A03720106A03720106
A03720106
 
Giddings
GiddingsGiddings
Giddings
 
Introduction to networks simulation
Introduction to networks simulationIntroduction to networks simulation
Introduction to networks simulation
 
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMSDEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
 
System dynamic20011598-079.pptx
System dynamic20011598-079.pptxSystem dynamic20011598-079.pptx
System dynamic20011598-079.pptx
 

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. 