12
A Software Interface Between System Dynamics and Agent- Based Simulations

Poster Vensim Repast

Embed Size (px)

DESCRIPTION

My colleagues\' and my poster from the 2003 International System Dynamics Conference, New York.

Citation preview

Page 1: Poster Vensim Repast

A Software Interface

Between System

Dynamics and Agent-

Based Simulations

Page 2: Poster Vensim Repast

A study by

Andreas Größler,

Myrjam Stotz,and

Nadine Schieritz

Mannheim University,

Germany

Page 3: Poster Vensim Repast

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

Page 4: Poster Vensim Repast

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.

Page 5: Poster Vensim Repast

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

Page 6: Poster Vensim Repast

The Technical IntegrationAt 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

Page 7: Poster Vensim Repast

An example from Supply Chain

Management

SupplierAgent

ManufacturerAgent1

ManufacturerAgent2

ManufacturerAgent3

Behavior of the

manufacturer

RePast Vensim DLL

Agent-based simulation System Dynamics

Behavior of the

manufacturer

Behavior of the

manufacturer

Page 8: Poster Vensim Repast

The Agents’ Behavior

InventoryAcquisition Rate Shipment

Rate

Desired

Acquisition Rate

AcquisitionAdjustment fromInventory

DesiredInventory

ExpectedOrder Rate Change in

Exp Orders

InventoryAdjustment

Time

DesiredInventoryCoverage

Time to AverageOrder Rate

OrderFulfillment

Ratio

Table for OrderFulfillment

Supply LineOrders PlacedRate

Acquisition Lag

Adjustment forSupply Line

DesiredSupply Line

Orders Placed

Supply LineAdjustment Time

Customer

Order Rate

B

OrderFulfillment

B Inventory Control

B

Supply Line

Control --

+

+

+

+

+- -

+

+

-

++

+

-

DesiredShipment

Rate

+

MaximumShipment

RateMinimum

OrderProcessing

Time

+

+-

-

+

Inventory

Coverage+ -

SafetyStock

Coverage

+

+

+

CustomerOrders

Backlog BacklogChange Rate

+ -

+

Supplies

ReceivedInit Supply Line Init Inventory

Init ExpectedOrder 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)...

Page 9: Poster Vensim Repast

The Simulation in RePast Start and stop

a simulationGraphs represent

the results of

simulations

In a probe map

parameters of the

simulation can be set

Page 10: Poster Vensim Repast

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

Page 11: Poster Vensim Repast

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

Page 12: Poster Vensim Repast

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.