Beruflich Dokumente
Kultur Dokumente
EXAM I
Lecture 1
Components of a System Discrete
Entity - Customers Model’s states change only at discrete set of
Attribute – Buying Habits (groceries) points in time – number of cars in parking lot
Activity - Strolling through aisle Continuous
State of a system - # customers in each Model’s states change continuously in time –
aisle Water level in reservoir, weight of person
Event – (started/finished aisle)
12 Steps in a Simulation Study
Endogenous/exogenenous (activity,
event) – Utilization of aisles by Formulation (What is the problem?)
organization of merchandise Define Project Goal and Plan (Is simulation
Dynamic Model appropriate?)
Represents a system as it changes over Model Conceptualization
time (performance of a checkout counter Or Data Collection
depends on customer arrival rate) Model Translation
No random variables – inputs result in Verified? (Is code ok?)
know outputs Validated? (Represents system well?)
Static Model Experimental Design (What runs to make to
Represents a system at a particular point answer question efficiently?)
in time, time independent (closing price Production Runs & Analysis (Estimate the
of stock, outcome of dice)
performance measures)
Random variables – represent
probabilities and uncertainties of system More Runs?
Documentation & Reporting (Scope of this class)
Implementation
Lecture 2
Simulation Software Work? Set
System State – a collection of variables An ordered list of associated entities or
that contain all the information events (queue, chain)
necessary to describe the system Clock
FEL – Future Event List, contains all
A global variable representing time in
event notices scheduled to occur in the simulation
future
Basic Concepts for Simulation Steps in Discrete Event Simulation
Determine what event will occur next
Clock – variable representing
simulated time Set simulation clock equal to the time
State variables
Temperature of water,
location of noodles, time
Homework 2
Q1 Q2 – service station with 3
IAT: Lookup(Rand(), CDF, Time available spots, FIFO, no spots,
between Arrivals) leave service
Service Time: Lookup(Rand(), Entities: Customers
CDF, Service Time) Attributes: Arrival time, car type,
Drive in Departure Time: how much money they spend
IF(Drive-in Served = “YES”, Events: Arrival of customer (A),
MAX(Arrival Time, Sum of departure of a customer (D)
Previous Departure times) + Activities: Customer being waited,
Service Time, -1) being served
Drive in served: IF(Arrival Time > Event Notice
LARGE(Previous Departure
times), “Yes”, “No”) Event notice (Ai,t): the ith
customer arrived at time t.
Event notice (Di,t): the ith
customer departed at time t.
System States:
LQ(t): customers in queue at the
service station
LS(t): 1 or 0 indicating worker
being busy or idle.
Homework 3 – ProModel
Good.
Homework 4
Homework 5 – ProModel