DOC PREVIEW
UCF COT 4810 - Simulation

This preview shows page 1-2-3-4-5 out of 15 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Chap. 4: SimulationWhat Is Simulation?What Is a SystemDetailsLine QueueSlide 6The Monte Carlo MethodArrival Pattern for Service FacilityHow to Apply This to a SimulationArrival SimulationService SimulationBank SimulationTime Management TechniquesThe Heart of the Monte Carlo MethodHomework QuestionsTHE MONTE CARLO METHODChap. 4: SimulationWhat Is Simulation?the representation of the behavior or characteristics of one system through the use of another system, esp. a computer program designed for that purpose.To successfully create a simulation, you need to keep a goal in mind.What Is a SystemA system is a group of interacting, interrelated, or interdependent elements forming a complex whole. Ex. - Sales for a business - Two volleyball teams competing - Line management at a bankDetailsLine QueueGoals:Determine if you need to employ more tellersDetermine if you should create a new queue system altogetherOr simply if what you have is working.Your focus here is the line queueThe size of the queue is only detail that mattersLine QueueComponents:Tellers – servicing customersCustomers – entering bank to receive serviceQueue – the line where customers wait to be helpedThe two variable factors here are:Time till next arrival (TA)Time till end of current service (TS)The Monte Carlo MethodTA and TS are vary complicated variablesSimply assume they are random- easier for us to understand- easier for us to replicateEx: Two evenly matched Volleyball teams- flip a coin- why does this work?Arrival Pattern for Service FacilityAssume α = average time in seconds between arrivals.Interarrival time is time between consecutive arrivals.Note: We can not find the interarrival frequency, only interarrival density, that is, the number of times you can expect an interarrival time in the range of t to t’Ex: Number of arrival times in this range for 100 consecutive customers.Negative Exponential DistributionHow to Apply This to a Simulation•Take the integral of f to find the cumulative distribution function.•Plug random values from 0-1 into inverse function F-1(x) to create our original function f.Now we can create accurate arrival times using random numbers!!Cumulative DistributionArrival Simulation1. Generate the first customer.2. Select a random number x between 0 and 1.3. Compute F-1(x).4. Allow F-1(x) seconds to elapse.5. Generate the next customer.6. Go to step 2.Service SimulationAssume exponential distribution as well, then,G-1(y) where y is a random number, gives us a simulated time for completing a service with a customer.ß = average service time per customerFollow same set of instructions as will arrival timessubstitute G-1(y) in for F-1(x)decrement Q instead of incrementing itBank SimulationTime Management TechniquesCritical Event TechniqueDetermine amount of time till next eventAdd that time to clockCarry out whatever change needs to take placeTime Slice MethodChoose some small increment of time“Sweep” though simulation and update new state for every incrementThe Heart of the Monte Carlo MethodGenerating new events using inverse functionsAny distribution can be usedCan be used to simulate much more complicated systemsMany queues feeding to one teller eachOne queue feeding many tellersQueue of tellers servicing from a “central teller”Homework Questions1. Why does flipping a coin for two evenly matched volleyball teams work for determining the next event in a simulation?2. Which Time Management Technique did we use in the Bank


View Full Document

UCF COT 4810 - Simulation

Documents in this Course
Spoofing

Spoofing

25 pages

CAPTCHA

CAPTCHA

18 pages

Load more
Download Simulation
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Simulation and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Simulation 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?