Vous êtes sur la page 1sur 15

Welcome

y Simulation of single server queuing system

in a CNG station

Submitted By: Mehedi Hasan-2006334013 Mahfuz Hossain-2006334014 Mohibul Hassan-2006334017 Zakirul Hassan-2006334038

Objectives: To learn about simulation system. To develop a program of a single server queuing model in CNG station. To analyze the queuing system and evaluate average waiting time, average number of customer in the system and utilization of the facility.

Systems simulation is a set of techniques for using computers to imitate, or simulate, the operations of various kinds of real-world facilities or processes. The computer is used to generate a numerical model of reality for the purposes of describing complex interaction among components of a system. The complexity of the system surges from the stochastic (probabilistic) nature of the events, from the rules for the interactions of the elements, and the difficulty to perceive the behavior of the systems as a whole with the passing of time.

y Communication. y Education. y Entertainment. y Financial service. y Food service. y Health service. y Hotel and Hospitality service. y Transportation. y Weather, environmental and ecological forecasting. y Power generation. y Manufacturing.

y Queuing theory is the mathematical study of waiting

lines, or queues. The theory enables mathematical analysis of several related processes, including arriving at the (back of the) queue, waiting in the queue (essentially a storage process), and being served at the front of the queue. The theory permits the derivation and calculation of several performance measures including the average waiting time in the queue or the system, the expected number waiting or receiving service, and the probability of encountering the system in certain states, such as empty, full, having an available server or having to wait a certain time to be served.

Single-server Queue

Arrival Event

Schedule next arrival event.

Add 1 to the number in queue

Server busy?

Set delay =0 For this customer

With error massage stop simulation.

Queue
full ?

Add 1 to the number of customer delayed.

Store time of arrival of this customer.

Make server busy

Schedule a departure event for this customer.

Return

y Data used in this program as service time and inter

arrival time are exponentially distributed. y This program simulates the system for 50 customers. y The queuing model we used in this program is (M/M/1):(FCFS/50/ )

Discussion: Through the analysis of this single server queuing system simulation we learnt about a clear and intuitive approach for analyzing queuing behavior. Using spreadsheet the generation of random variants and simple assumptions like "service in arrival order", we construct a single server spreadsheet simulation model.

Vous aimerez peut-être aussi