Assignment 1 Questions Fall2021
Assignment 1 Questions Fall2021
1. Problem 1
This problem is composed of six questions (a, b, c, d, e, f). For the system described below, answer those
questions.
<System>
Three types (gold, silver, and regular) of customers arrive at a single server John Jr burger shop where
they are served one customer at a time. Gold type customers have higher priority than Silver type
customers, and Silver type customers have higher priority than regular type customers. No pre-emption
occurs; in other words, if the server is serving a regular type customer when a gold type customer arrives,
the server must finish serving the regular customer first and then serve the gold type customer.
Service Information
It takes 20 minutes for all the customers
(a)
For the system described above, define components for a discrete event simulation model. Components
should include 1) entities, 2) resources, 3) attributes of the entities, 4) variables, 5) statistical
accumulators (variables used to calculate statistics), 6) queues, 7) event types, and 8) conceptual logic
(pseudo code) for each event type.
Entities:
Resources:
Attributes:
Variables:
Statistical accumulators:
Queues:
Event types: type A, type B, type C …
Event type A Logic {
--- (pseudo code goes here)
}
Event type B Logic {
--- (pseudo code goes here)
}
Hint: You need to have three different arrival events for Gold customers, Silver customers, and Regular
customers;
(b)
Where in your simulation logic does it guarantee that the correct priority logic (gold customers are served
before silver customers; silver customers are served before regular customers) is implemented? Answer
very briefly.
(c)
Construct a table containing the sample path (which looks similar to Table 2-2 of the textbook or a blank
table shown below) of the simulation that you have developed conceptually in Problem (a). In Problem
1(a), performance measures to be calculated were given. In your table (sample path), you must include
only those variables, attributes, and statistical accumulators that are necessary to calculate the requested
performance measures (do not include unnecessary information).
In Table below, you need to fill in only the first 5 rows for the “Attributes” column; and you can
leave them blank from the 6th row. However, you must fill in all the rows until the simulation end
time for the other columns (e.g. just finished event, variables, statistical accumulators, and event
calendar).
Note that you do not have to actually build an Arena model.
(f)
What is the machine utilization (% of time when the machine is busy)?
2. Problem 2
The system considered in Problem 2 is almost same with the one considered in Problem 1, where
the only difference is that there is only one queue shared by all three types of customers. For this
system, answer the following two questions.
(a)
For the system, your conceptual logic (pseudo code) for each event type will be slightly different.
Show me your conceptual logic (pseudo code) for each event type.
Event types: type A, type B, type C …
Event type A Logic {
--- (pseudo code goes here)
}
Event type B Logic {
--- (pseudo code goes here)
}
(b)
Where in your simulation logic does it guarantee that the correct priority logic (gold customers are served
before silver customers; silver customers are served before regular customers) is implemented? Answer
very briefly.
3. Problem 3
The system considered in Problem 3 is almost same with the one considered in Problem 1, where
the only difference is on the ¡§Customer Arrival Information¡¨ (see below). Note that we have
three explicit queues. For this system, answer the following one question.
Hint: You need to have only one arrival event applicable to all the customer types
4. Problem 4
(a) The above simulation models are stochastic model. 1) TRUE ( ) or 2) FALSE ( )
(b) The above simulation models are static model. 1) TRUE ( ) or 2) FALSE ( )
(c) We understand that the above problem could have been solved without using simulation.
Even if an analytical model can solve the above problem, we still must use simulation tool.
1) TRUE ( ) or 2) FALSE ( )
5. Problem 5
A simulation of a similar burger shop is to be conducted by you, with the objective of minimizing the
customer waiting time by improving the customer flow. Provide three iterations, in increasing order of
complexity, of Step 1 and Step 2 in the above simulation process.
6. Problem 6
Assuming the customer waiting time D in a burger shop is determined by three variables A, B and C,
which is defined as D=(A-25B)/(2C). A, B and C are uncorrelated random variables. Variable A is normally
distributed with u=100 and σ2 =400. Variable B is discrete uniformly distributed with a probability
distribution given by p(b) = 1/5 with b=0,1,2,3 and 4. Variable C is distributed in accordance with the
following table:
How would you define all these three, A,B, C inside the simulation model? Explain.