50 likes | 135 Views
IE 2030 Lecture 19.7. More examples of how to set up a simulation Quiz Homework reminders. Flow Line from Lab no buffers, queue in front State Variables. 4 machines, i=1,...,4 Jobs j=1,2,.... Lj = location of job j. Li could equal 0 (in queue),1,2,3,4,or 5 (completed) Xi = E (empty)
E N D
IE 2030 Lecture 19.7 • More examples of how to set up a simulation • Quiz • Homework reminders
Flow Line from Labno buffers, queue in frontState Variables • 4 machines, i=1,...,4 • Jobs j=1,2,.... Lj = location of job j. Li could equal 0 (in queue),1,2,3,4,or 5 (completed) • Xi = • E (empty) • P ( processing a job) • F (full: holds a completed job)
events: flow line simulation • Arrival of job into queue • movement of job from queue to machine 1 or machine j to j+1 • A job begins processing on machine j • A job completes processing on machine j
Example: from problem 22, ch.2 • Elevator carries loads of exactly 400 lbs. • 3 minutes to go up,unload (simplified -- why?); 1 minute return • A: 200 lb U[3,7] min • B: 100 lb 6 min • C: 50 lb {2,3} min w.prob. 1/3,2/3
Ai : ith arrival of A Bi,Ci similarly EIIj: completion of jth unloading on floor II Erj: jth return to floor I EI: elevator waiting for load on floor I EII elevator in transit, unloading floor II ER elevator returning to floor I AiI,(AiII): Ai on floor I (II)waiting Ai*: Ai delivered BiI,BiII,Bi*,CiI,etc. Elevator example: NotationEvents State Variables