MECH 3550 : Simulation & Visualization Go Through the Syllabus, Introduce myself
Basic Simulation Modeling The Nature of Simulation The act of using computers to simulate the operations of various real-world processes Analytical Solution
Systems, Models, and Simulation A system is defined as a collection of entities that act and interact together to accomplish a logical goal. There are two types of systems: Discrete: Variables change instantaneously at separated points in time. Continuous: Variables change continuously with respect to time. Examples Discrete-Bank Continuous-???
Static vs Dynamic Simulation Static Simulation: Not dependent on time. Dynamic Time Dependent Simulation
Deterministic vs Stochastic Contains no random components Stochastic Contains random aspects of input and output as well
Continuous vs Discrete Modeling of a system where state variable change continuously over time. Discrete Modeling of a system at individual points in time.
Discrete Event Simulation Dynamic Stochastic We will mainly be discussing these
Flow Chart for Arrival Routine, Queueing Model Arrival Event Schedule the next arrival event Is the server busy? Yes No Set delay=0 for this customer and gather statistics Add 1 to the Queue Yes Is the queue full? Write error message and stop simulation Add 1 to the number of customers delayed No Make the server busy. Return Store time of arrival of this customer Schedule a departure event for this customer
Flow Chart for Departure routine, queuing model Departure Event Is the queue empty? Yes No Subtract 1 from he number in queue Make the server idle Compute delay of customer entering service and gather statistics Add 1 to the number of customers delayed Schedule a departure event for this customer Eliminate departure events from consideration Return Move each customer in queue (if any) up one place.