General Simulation Modules

This book contains general simulation-related video modules.

Quick and Dirty Random Variate Generation

Module describes simple methods for generating random variates for several common distributions.

AttachmentSize
Random Variate Generation.pptx296.76 KB
Simple Random Variate Generation.xlsx1.38 MB

Video 1 - QAD Random Variate Generation Part 1

Video 2 - QAD Random Variate Generation Part 2

Monte Carlo Integration

This module discusses how to use Monte Carlo simulation to estimate the integral of a function on definite interval. The Perl code implementation is also included below.

AttachmentSize
integrate.pl.txt782 bytes

Video 01 - Monte Carlo Integration

Event-oriented Simulation Example

This module goes through an example of defining the system state representation, events, and event logic for an event-oriented simulation.

AttachmentSize
Event Oriented Simulation.pdf135.14 KB
Event Oriented Simulation - final.pdf612.17 KB

Errata

In the handling logic for the Arrival event (starting around 8:45 in the video), I forgot to create the next arrival event. So, after the 'else' statement, I should have added:

Schedule Arrival at tnow + sample IAT

This will create the "next" arrival to the system.

Video 01 - Example Event-oriented Model Development

Second Event-oriented Simulation Example

A second example of developing the logic for an event-oriented simulation. This second example is a little bit larger than the tandem queueing system in the first example.

AttachmentSize
Event Oriented Simulation 2 - final.pdf547.08 KB

Video 01 - Example Event-oriented Model Development