Discrete event simulation Prof.dr.ir. Alexander Verbraeck - - PowerPoint PPT Presentation

discrete event simulation
SMART_READER_LITE
LIVE PREVIEW

Discrete event simulation Prof.dr.ir. Alexander Verbraeck - - PowerPoint PPT Presentation

Discrete event simulation Prof.dr.ir. Alexander Verbraeck Professor, Faculty of TPM, TU Delft Overview What is discrete event simulation? Where does it fit historically? How does it differ from other types of simulation?


slide-1
SLIDE 1

Discrete event simulation

Prof.dr.ir. Alexander Verbraeck

Professor, Faculty of TPM, TU Delft

slide-2
SLIDE 2

Overview

  • What is discrete event simulation?
  • Where does it fit historically?
  • How does it differ from other types of

simulation?

  • What are the steps in a simulation

study?

  • What are the important aspects of

simulation for infrastructure studies?

  • Summary
slide-3
SLIDE 3

Simulation

Simulation is: [Shannon, 1975]

  • a process of designing a model
  • f a concrete system
  • and conducting experiments

with this model

  • in order to understand the

behavior of a concrete system

  • and/or to evaluate various

strategies for the operation of the system

slide-4
SLIDE 4

Simulation

Simulation is: [Shannon, 1975]

  • a process of designing a model
  • f a concrete system
  • and conducting experiments

with this model

  • in order to understand the

behavior of a concrete system

  • and/or to evaluate various

strategies for the operation of the system What-if: parameters → output

slide-5
SLIDE 5

Why discrete simulation?

Instrument to:

  • evaluate a systems design
  • compare alternative solutions
  • predict systems performance

Mainly used for logistical problems:

  • expected use of limited capacity or

resources In some cases more advanced use:

  • sensitivity analysis
  • ptimization
slide-6
SLIDE 6

Systems thinking

mathematics engineering/electronics control theory biology world war II

  • perations research

cybernetics general systems theory 1930 systems analysis policy analysis 1950 1960 1970 system dynamics soft systems methodology complex systems cas 1980 1990 systems engineering engineering

Slide courtesy Els van Daalen, TU Delft

slide-7
SLIDE 7

Systems thinking

mathematics engineering/electronics control theory biology world war II

  • perations research

cybernetics general systems theory 1930 systems analysis policy analysis 1950 1960 1970 system dynamics soft systems methodology complex systems cas 1980 1990 systems engineering engineering

Slide courtesy Els van Daalen, TU Delft

discrete event simulation SD modeling agent based modeling

slide-8
SLIDE 8

Similarities and differences

  • Models are used to study the

relationships between variables

  • Simulation models study the

evolution of variables over time

  • The values of the model variables

at a given time is called the state of the model

  • In discrete-event simulation

models, state changes occur at an instant of time

  • An event is a change in model

state, occurring at an instant

Nance, 1981

slide-9
SLIDE 9

Similarities and differences

In continuous models, state is a continuous function of time:

20 40 60 80 100 120 140 160 1 11 21 31 41 51 61 71 81 91

slide-10
SLIDE 10

Similarities and differences

In discrete-event models, state is a piecewise constant function over time:

20 40 60 80 100 120 140 160 10 20 30 40 50 60 70 80 90 100

slide-11
SLIDE 11

Discrete changes over time

Very useful for:

  • Queuing systems
  • Resource usage
  • Transportation
  • Logistics and warehousing
  • Control systems
  • etc.

For all these systems it means that we have to focus on the events, i.e. the start and the end of processes rather than the evolution of the process itself

slide-12
SLIDE 12

Simulation model lifecycle

model “as is” models “to be” current situation new situation

search for solutions pre- evaluation diagnose problem validation problem identification and specification choice and implementation post- evaluation evaluation

slide-13
SLIDE 13

Steps in a simulation study

  • Conceptualization
  • Demarcation
  • Specification
  • Reduction
  • Data gathering
  • Model building
  • Verification and validation
  • Experimentation
  • Analysis
  • Alternative generation
  • Model adaptation
  • Conclusions and reporting
slide-14
SLIDE 14

Simulation project plan

Traditional: waterfall model

  • r iterative modeling

But better: incremental modeling

Conceptua- lisation Specification Data- collection Verification/ Validation ...

slide-15
SLIDE 15

Simulation project plan

Traditional: waterfall model

  • r iterative modeling

But better: incremental modeling

Conceptua- lisation Specification Data- collection Verification/ validation Treatment ...

slide-16
SLIDE 16

Simulation project plan

Traditional: waterfall model

  • r iterative modeling

But better: incremental modeling

Conceptua- lisation Specifi- cation Verification / Validation Experimentation Analysis Diagnosis Data- collection Treatment

Start small...

slide-17
SLIDE 17

Conceptualisation

Output: a number of conceptual models that can be used to describe the system

  • Demarcation of the system
  • Language by which the system can be

described:

  • object based (object model)
  • process based (process model)
  • time based (event list)
slide-18
SLIDE 18

Conceptualisation

Object model

ActiveInfra SingleInfra CompoundInfra Storage Station LoadingStation UnloadingStation Straight Curve TwoWayBranch TwoWayJunction EntryStation Helix EarlyBagageBelt Caroussel ControlStation Lateral CV_TTUnloadingStation CV_DVCUnloadingStation CheckIN

slide-19
SLIDE 19

Conceptualisation

Process model

slide-20
SLIDE 20

Specification

Output: working model that can be experimented with

  • Reduction of the model
  • Specification of model
  • Detailed input/output specification
  • Data gathering
  • Build simulation model
slide-21
SLIDE 21

Data for discrete simulation

  • Data for:
  • generators of items
  • process durations in the model
  • resource availability
  • How to gather data:
  • historical sources
  • expert opinions
  • measurements
  • analogous systems
slide-22
SLIDE 22

Verification/validation

Output: simulation model that is correct and is a good representation of the real system

  • Verification (correct representation of

conceptual model)

  • Validation (models represents reality):
  • structural: testing of hypotheses on the

model

  • operational: compare values to real

system values

  • expert: analysis of the model by experts
slide-23
SLIDE 23

Verification/validation

Sargent, R.G. (2009). VERIFICATION AND VALIDATION OF SIMULATION MODELS. In: M. D. Rossetti, et al. (Eds.) Proceedings of the 2009 Winter Simulation Conference, IEEE, 2009, pp. 162 - 176.

slide-24
SLIDE 24

Experiment specification

Output: the run control conditions under which the system, or the model of it, is experimented with or observed

  • Number of runs
  • Run length
  • Start-up time
  • Values of input parameters
  • Output parameters to be calculated
slide-25
SLIDE 25

Analysis and diagnosis

Output: results of analysis and diagnosis of the experiments with the model of the current situation

  • Comparing alternatives
  • Statistical analysis
  • Current bottlenecks (long queues, idle

resources, etc.)

  • Sensitivity analysis for stability of results
slide-26
SLIDE 26

Analysis and diagnosis

Statistical analysis

slide-27
SLIDE 27

Infrastructure simulation

  • Replicate system components 1:1

as simulation model components

  • Use of hierarchy to build a model

"bottom-up"

  • Libraries of components available

in multiple simulation languages

  • Infrastructure capacity and usage

↔ resource capacity and usage

  • Animation can help in building,

debugging and presenting

  • All simulation libraries have

components that gather many different statistics

slide-28
SLIDE 28

Conclusions

  • Discrete-event simulation:
  • state change over time
  • events
  • piecewise constant state
  • fast execution
  • Model cycle:
  • incremental building
  • building blocks
  • hierarchy, flow, process
  • Data-intensive
  • stochastic
  • statistics for input and output
slide-29
SLIDE 29

Thank you for your attention!

Please post any questions you may have

  • n our discussion forum