discrete event simulation, system dynamics and agent …

Post on 10-Nov-2021

14 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Discrete Event Simulation, System Dynamics andAgent Based Simulation: Discussion and Comparison

Robert MaidstoneSTOR-i DTC, Lancaster University

Introduction

Simulation modelling is an important tool inOperational Research:

It provides a method to approximate thebehaviour in the real system (and hence can beused for testing scenarios),

Also constructing the model can prove useful inachieving greater understanding of the system.

Many different simulation techniques are used inOperational Research, here three of the main onesare discussed and compared:

Discrete Event Simulation (DES),

System Dynamics (SD),

Agent Based Simulation (ABS).

Each of these techniques has its own merits andfailures and when choosing which one to use it’simportant that the modeller picks the method whichbest reflects the system.

Discrete Event Simulation

Discrete Event Simulation (DES) is probably themost widely used simulation technique inOperational Research. As the name suggests itmodels a process as a series of discrete events. DESmodels are built using:

Entities - The general name for the objects thatmove through the system.

Events - The processes which the entities passthrough.

Resources - Objects which are needed to triggerevents.

Figure 1: A typical DES model (created using SIMUL8)

System Dynamics

System Dynamics (SD) takes a different approach to DES,focusing on flows around networks rather than queueingsystems, it considers:

Stocks - basic stores of objects.

Flows - define the movement of objects between differentstocks in the system.

Delays - delays between the measuring and then acting onthat measurement.

Figure 2: A typical SD model (created using Vensim)

Agent Based Simulation

ABS is a relatively new technique to be used in OR. ABSconsists of:

Autonomous Agents - These are self-directed objects whichmove about the system,

Rules - which the agents follow to achieve their objectives.

Agents then move about the system interacting with eachother and the environment.

Can be used to model many situations in which the entitieshave some crude intelligence

Can often produce “nice” graphics and animations whichhighlight the behaviour of the system, such as in Figure 3.

Figure 3: Variation patterns of Conway’s Game of Life (Chan et al., 2010)

Comparing DES and SD models

DES and SD both have advantages and disadvantages andwork well when modelling different systems. Even when bothare used to model a single system it may be the case thatboth are still useful, as they can lead to different conclusionsand insights about the system. The table below gives a few ofthe key differences between the two approaches.

DES SDOften used to model situa-tions which are (or can beapproximated by) networks ofqueues.

Used to model situationswhich form flows or larger sys-tems where flows are a goodapproximation.

Discrete ContinuousOften thought of as micro-scopic

Often thought of as macro-scopic

Stochastic - and uses proba-bility distributions

Usually deterministic

In addition a couple of empirical studies of the differencesbetween DES and SD have been carried out:

The first (Tako and Robinson, 2009a) concluded that as faras the managers using the model were concerned there wasstatistically no difference between which of the twomethods was found to be easier to use.

The second (Tako and Robinson, 2009b) looked at thedifferences in the actual modelling procedures. It was foundthat in general DES modellers spent more timemodelling,verifying and validating, and SD modellers spentmore time in the conceptual modelling stage.

Combining DES and SD

Many situations can be modelled as a combination of DESand SD (in a hybrid type model), hence making full use of theadvantages of each technique.

True hybrid models have never really been constructed, thisis mainly due to limitations in the software available.

However many models have been constructed in which aDES model and a SD model communicate (through a thirdpiece of software).

One situation where combining models is often used, iswhen external influences are needed to be modelled withoutadding too much detail. Here an SD model can be used todeal with the wider system, whilst a DES model can look atthe key areas.

Comparisons with ABS

As with SD and DES, ABS again offers a slightlydifferent tool for modelling.

Comparisons with DES:

Agents in ABS have their own goals andbehaviour (active), behaviour of entities in DESmodels is determined by the system (passive).

In DES queues are a key element, whereas there isno concept of queues in a ABS system.

Both are stochastic in nature and can involveinput distributions to model random behaviour.

Often DES/ABS models are used, which consistof a DES system with some active entities addedto it.

Comparisons with SD:

It can be shown that in fact every well formulatedSD model has an equivalent formulation as anABS model.

This is despite the fact the SD is deterministic innature, compared to ABS’s stochasticity.

ABS has often been looked over when it comes tomodelling systems this is for a number of reasons:

Lack of easy to use software.

High amount of time needed to develop model(means that it’s less effective to find a “quick anddirty” solution to a problem)

Reluctance from OR practitioners to move awayfrom more established techniques.

Conclusions

DES, SD and ABS all have benefits anddisadvantages and are applicable in differentsituations.

A problem in simulation modelling is a tendencyfor a system to be modelled using the techniquewhich the modeller feels most comfortable with.

Instead the problem should determine the methodused to model it.

In order to choose the right method knowledge ofa range of techniques is needed as well as detailedknowledge of the system and the objectives of thesimulation.

http://www.lancs.ac.uk/~maidston r.maidstone@lancaster.ac.uk

top related