Skip to main content
Engineering LibreTexts

5.1: Introduction

  • Page ID
    30975
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    This chapter discusses the computations necessary to simulate a model on a computer. These computational tasks are performed by software that can be referred to as a simulation engine. The engine produces performance measure values as output. It does this transparently to the simulation user whose primary concern is performing the steps of the simulation process including model building and experiment design as well as the statistical analysis of performance measure values and drawing conclusions about system behavior. Nevertheless, a basic understanding of how a simulation engine does its computation tasks is fundamental.

    All models are mapped, transparently to the modeler, into a set of events within the simulation engine. The mapping may be complex and not straightforward. An event is a point in simulation time when the value of one or more the state variables changes. In addition an event is used to specific when in simulated time, or under what conditions, other events, including itself, next occur.

    The basic operations that a simulation engine must perform are presented in the context of the two workstation example model that was presented in previous chapters. Fundamentally, the engine must conduct the simulation step by step from start to finish. This requires

    1. Sequencing the events.
    2. Processing each event.
    3. Organizing entities waiting for resources.
    4. Generating individual samples from probability distributions to obtain values for entity attributes and times between entity arrivals as well as operation and transportation times.

    A discussion of the events in the two workstation example will precede a discussion of each of the activities of the simulation engine.


    This page titled 5.1: Introduction is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by Charles R. Standridge.

    • Was this article helpful?