This book contains general simulation-related video modules.

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

Attachment | Size |
---|---|

Random Variate Generation.pptx | 296.76 KB |

Simple Random Variate Generation.xlsx | 1.38 MB |

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.

Attachment | Size |
---|---|

integrate.pl.txt | 782 bytes |

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

Attachment | Size |
---|---|

Event Oriented Simulation.pdf | 135.14 KB |

Event Oriented Simulation - final.pdf | 612.17 KB |

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.

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.

Attachment | Size |
---|---|

Event Oriented Simulation 2 - final.pdf | 547.08 KB |