# Production Systems Modeling homework

December 15, 2020

Exercise 1. Registration System

Consider a student registration system (e.g., registration at a university).

1.    List the main components of the system and its transactions.

2. How would you define the state and events of each component of the registration system?

3. Which performance measures might be of interest to registrants?

4. Which performance measures might be of interest to the system administrator?

5. What data would you collect?

Exercise 2. The Shuttlebus operation for rental car agency at an airport

Consider a The Shuttlebus operation for rental car agency at an airport

1. List the main components of the Shuttlebus operation and its services.

2. How would you define the state and events of each section of the Shuttlebus operation?

3. Which performance measures might be of interest to customers?

4. Which performance measures might be of interest to the Shuttlebus administrator?

5. What data would you collect?

Exercise 3. Gas Station

Behavior Modeling for Gas Station Operations

Suppose that a gas station is setup to serve M customers who obtain gas by prepaying a cashier who activates one of N pumps to serve the customer. When the gas station has only one pump and two customers (i.e., M=2 and N=1), the class hierarchy of relevant concepts might be as illustrated in Figure 1.

The main challenge in developing a behavior model for the gas station lies in defining the concurrent behaviors (i.e., Pump, Operator, Request Queue, Customer1, and Customer2) and coordinating and controlling their interactions.

Let us assume that the gas station operation will be subject to the following coordination and control constraints:

1. The operator accepts money from customers (Prepay) and according to the request queue, Activates pumps (Activate).

2. The pumping operation begins with a start operation and ends with a finish operation.

3. At the completion of the pumping operation, the Pump will send a Charge action to the Operator, who will then provide Change to the customer and update the request queue.

4. A pump must be activated before the pumping (start, finish) and charge (Charge) operations can occur.

5. A pump can only serve one customer at a time.

Things to do:

1. Develop flowchart (activity diagram) and finite state machine (statchart) behavior models for the pump operation, the customer behaviors, the state of the request queue operation, and behavior of the gas station operator. Be sure to clearly indicate entry and exit points, and the actions and/or guard conditions associated with state transitions.

2. Develop sequence diagrams to show the interaction of these entities.

3. Indicate whether or not the operator needs to keep track of the specific activities of each customer. What kinds of thing can go wrong if this doesn’t happen?

4. Develop functional, temporal performance, and interface requirements for each of the behavioral and structure elements of this problem.

If you are familiar with MS Visio then by all mean use it. Otherwise, hand drawn sketches of behavior will also be acceptable.