Operations Research topics: SAS/OR,
SAS Optimization, and SAS Simulation Studio

Simulating a queue

Accepted Solution Solved
Reply
Highlighted
New Contributor
Posts: 2
Accepted Solution

Simulating a queue

[ Edited ]
 

Accepted Solutions
Solution
‎12-11-2017 09:27 AM
New Contributor
Posts: 2

x

[ Edited ]

All Replies
Solution
‎12-11-2017 09:27 AM
New Contributor
Posts: 2

x

[ Edited ]
 
Super User
Posts: 21,447

Re: Simulating a queue help

[ Edited ]

Note that you do not need to post your question multiple times for assistance. 

 

Since this is clearly homework, can you please show what you've attempted so far, so we can provide advice and direction? I'm not comfortable providing answers to homework questions. 

 

 

EDIT: it's important to understand the approach to this question because you're likely required to use the methods you were taught in class, but there's several ways to accomplish this, either in Base SAS, IML or SAS/OR procs. Posting a solution in a different approach than you need isn't going to be helpful to you.


sasor902 wrote:

The problem: A petrol station opens at 8pm and closes at 11pm. All through the evening, the inter-arrival time of customers has an exponential distribution with mean 1.3 minutes. Until 9.30pm customers are served inside the shop, with a service time that has an exponential distribution with mean 1 minute. Customers who arrive after 9.30pm are served through a hatch, with a service time that has an exponential distribution with mean 1.55 minutes.

 

(i) Simulate the arrivals at the petrol station throughout the 3-hour period (it is acceptable to simulate more than required, then discard those who arrive after 11pm). Simulate the corresponding service-times, and calculate the total waiting and service times for each customer. Explain carefully the meaning of each value you calculate.


 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 343 views
  • 0 likes
  • 2 in conversation