ECE 658: Performance Evaluation and Simulation
Electrical and Computer Engineering,
University of Cyprus
ECE Home Contact Us
 
 
Programming Assignment 1
 
  Due: Thursday, September 28, 2006
Objective: Write a simulation program that simulates the behavior of a queuing network with two queues in series. Customers arrive at the first queue, get service at the first server and then proceed to the second queue. Once they receive service at the second server, they exit the system. Both queues have finite capacity. If any customer arrives at either of the queues when it is full, then the customer is lost.
Input:
  1. The Capacity of each queue
  2. A text file that will contain three vectors each one corresponding the lifetimes of each event. Each line will have tree numbers one for each event. (sample input file).
Output:
  1. The sample path of the system (sequence of events with their corresponding time).
  2. Also determine the average time that a customer spends in the system as well as the number of lost customers
Report:
  1. How do you expect the average delay in the system to behave as a function of the queue capacities of the two queue.
  2. Make a plot of the system delay as a function of the capacities of the two queues.
   
  last updated September 16, 2006