

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Prof. Dr. Nadir Yücel, Asst. Prof. Dr. A. Şima Uyar
DRS STORAGE 2
GENERATE (EXPONENTIAL(1,30,1)),,,, QUEUE NURSEQ SEIZE NURSE DEPART NURSEQ ADVANCE (EXPONENTIAL(1,10,1)) RELEASE NURSE TRANSFER .45,,CW
NIA PRIORITY 15 QUEUE NIAQ ENTER DRS, DEPART NIAQ ADVANCE (EXPONENTIAL(1,45,1)) LEAVE DRS, TRANSFER 0.25,,HOME
PRIORITY 5 ADVANCE (EXPONENTIAL(1,30,1)) QUEUE NIAQ ENTER DRS, DEPART NIAQ ADVANCE (EXPONENTIAL(1,15,1)) LEAVE DRS, HOME TERMINATE 0
CW QUEUE CWQ ENTER DRS, DEPART CWQ ADVANCE (EXPONENTIAL(1,30,1)) LEAVE DRS, TERMINATE 0
GENERATE 480 TERMINATE 1
2
Sampling from Discrete
Distributions: D-Functions
holes time rel. freq. cum. freq. 1 4 0.2 0. 2 7.5 0.35 0. 3 10.5 0.15 0. 4 13.5 0.1 0. 5 16.5 0.2 1.
Sampling from Discrete
Distributions: D-Functions
0.2 0.55 0.7 0.8 1.0 cum. freq.
time
Sampling from Discrete
Distributions: D-Functions
using discrete functions to determine the next
block attempted
Example:
Sampling from Continuous
Distributions: C-Functions
service time relative freq. cum. freq. interval [sn]
Sampling from Continuous
Distributions: C-Functions
0.07 0.23 0.73 0.92 1.0 cum. freq.
time
for service times, use interpolation
USING FUNCTIONS
GENERATE FN$IAT,
sampling from the “exponential distribution”
rng no μ for expo. distr. scaling factor