Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Matlab || FreeMat Queue simulator Create a simulator for customer arrivals at a service centre. Choose a service centre such as Maxis, Huawei and

Using Matlab || FreeMat

image text in transcribedimage text in transcribed

Queue simulator Create a simulator for customer arrivals at a service centre. Choose a service centre such as Maxis, Huawei and so on. Due to movement control order (MCO), only limited customers are allowed to be in the service centre. The simulation system should be able to detect number of the customers inside the centre. Randomly generate the temperature for each person. Only those with the normal temperature are allowed to enter the centre. Please set the temperature within the appropriate range. Firstly, auto-generate/predefine the table of the service time for different counters(maximum two service counters) and table of the inter-arrival time at the beginning of the simulation. Please ensure that you generate/predefine the appropriate range of service time and inter-arrival time to generate the appropriate results of the simulation. Inter-arrival time Probability CDF Random number range CDF Service time for Probability Counter 1 Random number range CDF Service time for Probability Counter 2 Random number range In order to generate the random numbers for the temperature, service time and inter- arrival time, you can consider rand function from the FreeMat, linear congruential generators or other generators. Use rand function to generate the seed number/initial value for the different generators. Adjust the range of random numbers so that they are within the appropriate range. For further details please refer to Chapter 4. At the beginning of the simulation, a) User should be able to choose the type of random number generator to be used. b) User should be able to enter the number of customers for the whole simulation and maximum number of customers that allowed to be in the centre. c) Exhibit the message arrival, entering the centre and departure of the customers and so on from time to time on the Free Mat's command window. For example: Customer 1 arrived at minute 0 and entered the centre at minute 0 Customer 2 arrived at minute 2 and entered the centre at minute 2 Departure of customer 1 at minute 4. Customer 3 arrived at minute 5 and was not allowed to enter the centre d) Display the table of the service time for different counters and table of the inter- arrival time

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions

Question

3. Did you seek anyones advice?

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago