MIE360 5RandomEvents - MIE360 Computer Modeling and...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
MIE360 Computer Modeling and Simulation Lecture Notes Daniel Frances © 2010 1 MIE360 Lecture 5. Generating Random Events (and other random variates) We are almost ready to run a hand-simulation of the small store to find out, for example, what is the expected % of idle time you will be able to enjoy? But we have yet to figure out how to initialize and update the Event List. First some terminology: Random variable – a variable - x - that can take on a value with probability described by a pdf(x), e.g. the time to serve a customer, the time between arrivals Random variate – a specific value – X - of the random variable x with pdf(x), X= 2:16 There are two possible events Arrivals and Departures. Generating Random Departures Generally there is some type of probability distribution for the time to service a customer – the service time. Thus, by generating a random service time, just after a departure when the next customer starts receiving service, then we will know the time of the departure of that customer. Suppose
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/20/2011 for the course MIE 360 taught by Professor D.frances during the Fall '10 term at University of Toronto- Toronto.

Page1 / 2

MIE360 5RandomEvents - MIE360 Computer Modeling and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online