Professional Documents
Culture Documents
Simulation
Homework 1 Chapter 1
1. Name several entities, attributes, activities, events, and state variables for the
following systems:
(a) A cafeteria
Entities: client, cashier, waiter, e.g.
Attributes of a client: hungry, hurried.
Attributes of a cashier: faster, reliable, responsible, skilled in mathematics.
Attributes of a waiter: faster, reliable, expert in the products.
Activities: take orders, collect payments, dispatch orders, e.g.
Events: arrival and departure of clients, lack of raw material, faults in the
equipment.
State variables: number of occupied tables, number of orders per table, number
of people that pay with cash or credit card, number of clients waiting for
attention.
2. Consider the simulation process shown in Figure 1.3 in the class book.
(a) Reduce the steps by at least two by combining similar activities. Give
your rationale.
In my opinion I would reduce the steps 9 and 10 in one because previously you
can define the necessary runs that you will need, avoiding spending resources or
time in new runs. Also I would combine the steps 2 and 3 because these steps are
linked for setting the initial parameters that will enable us to continue with the
project in a good way.
(b) Increase the steps by at least two by separating current steps or
enlarging on exiting steps. Give your rationale.
We can enlarge the step 9 in two by separating it since analyze the runs can be
more complex if we consider that variables have influence and which aren’t. This
analysis will be more extensive and imply more time in the execution of the project.
Also we can enlarge the step 11 in two by separating the part of reporting since we
need a lot of time to organize the results of the experimentation in a more didactic
way with graphs, tables and possible benefits in the future.
Data collection
Amount of ingredients
Spaghetti cooking time
Sauce cooking time
Meat cooking time
Mixing time of the meat with sauce
Waiting time of spaghetti to mix with the meat and sauce
Activities
Cut the onions and tomatoes
Wash spaghetti with cold water
Grind the meat
Cook spaghetti
Make sauce
Mix the meat with sauce
Mix spaguetti
Events
Lack of ingredients
Burn spaguetti
Burn the meat
Burn sauce
Cut oneself
Spill something
Damages in the oven
State variables
Cooking time
Amount of ingredients
Waiting time for mixing
5. What are the events and activities associated with the use of your notebook?
Activities
Take notes
Do homework
Do exercises in class
Look for the subject
Write the instrcutions of the class
Events
Missing notebook
Stain the notebook with ink
Run out of sheets of paper in the notebook
Break a sheet of paper by mistake