
2 Building Simple Models with SimEvents Software
2-2
Build a Discrete-Event Model
In this section...
“Overview” on page 2-2
“Open a Model and Libraries” on page 2-3
“Move Blocks into the Model Window” on page 2-5
“Configure Blocks” on page 2-10
“Connect Blocks” on page 2-13
“Run the Simulation” on page 2-13
“Insert Blocks” on page 2-15
“Build a Model Using Model Construction Commands” on page 2-15
Overview
This section describes how to build a new model representing a discrete-event system.
The system is a simple queuing system in which “customers” — entities — arrive at a
fixed deterministic rate, wait in a queue, and advance to a server that operates at a fixed
deterministic rate. This type of system is known as a D/D/1 queuing system in queuing
notation. The notation indicates a deterministic arrival rate, a deterministic service rate,
and a single server.
Using the example system, this section shows you how to perform basic model-building
tasks, such as:
• Adding blocks to models
• Configuring blocks using their parameter dialog boxes
The next section, “Explore Simulations Using the Debugger and Plots” on page 2-17,
uses the same D/D/1 system to illustrate techniques more specific to discrete-event
simulations, such as:
• Using the SimEvents debugger to examine the state of a server
• Using plots to understand simulation behavior, including plots that show multiple
values at a fixed time
To skip the model-building steps and open a completed version of the example model,
enter simeventsdocex('doc_dd1') in the MATLAB Command Window. Save the model in
your working folder as dd1.
Comentarios a estos manuales