Simulation in Queuing Models Using Simulation at Beit-eba Crossing Check-point

Published on December 2016 | Categories: Documents | Downloads: 22 | Comments: 0 | Views: 294
of 107
Download PDF   Embed   Report

Simulation in Queuing Models: Using Simulation at Beit-eba crossing check-point

Comments

Content

i

An- ajah ational University Faculty of Graduate Studies

Simulation in Queuing Models: Using Simulation at Beit-eba crossing check-point

By Fatima Yousef Abdalla Barham

Supervisors Dr. Mohammad ajeeb Dr. Luai Malhis

A Thesis submitted in Partial Fulfillment of the Requirements for the Degree of Masters of Computational Mathematics, Faculty of Graduate Studies at An- ajah ational University, ablus, Palestine. 2008

ii

iii

To my fathers soul My family Rana

iv

Acknowledgment
I would like to express great thanks and sincere gratitude to my supervisors Dr. Mohammad Najeeb Dr. Luai Malhis For their guidance, suggestions and assistance during preparing this thesis.

‫‪v‬‬

‫ﺍﻹﻗـﺭﺍﺭ‬
‫ﺃﻨﺎ ﺍﻝﻤﻭﻗﻊ ﺃﺩﻨﺎﻩ ﻤﻘﺩﻡ ﺍﻝﺭﺴﺎﻝﺔ ﺍﻝﺘﻲ ﺘﺤﻤل ﺍﻝﻌﻨﻭﺍﻥ‪:‬‬

‫‪Simulation in Queuing Models: Using Simulation at‬‬ ‫‪Beit-eba crossing check-point‬‬
‫ﻤﺤﺎﻜﺎﺓ ﺃﻨﻅﻤﺔ ﺍﻝﻁﻭﺍﺒﻴﺭ‪:‬ﺍﺴﺘﺨﺩﺍﻡ ﺍﻝﻤﺤﺎﻜﺎﺓ ﻋﻨﺩ ﻨﻘﻁﺔ ﺍﻝﺘﻔﺘﻴﺵ ﺒﻴﺕ ﺍﻴﺒﺎ‪.‬‬
‫ﺍﻗﺭ ﺒﺄﻥ ﻤﺎ ﺍﺸﺘﻤﻠﺕ ﻋﻠﻴﻪ ﻫﺫﻩ ﺍﻝﺭﺴﺎﻝﺔ ﺇﻨﻤﺎ ﻫﻭ ﻨﺘﺎﺝ ﺠﻬﺩﻱ ﺍﻝﺨﺎﺹ‪ ،‬ﺒﺎﺴﺘﺜﻨﺎﺀ ﻤـﺎ ﺘﻤـﺕ‬ ‫ﺍﻹﺸﺎﺭﺓ ﺇﻝﻴﻪ ﺤﻴﺜﻤﺎ ﻭﺭﺩ‪ ،‬ﻭﺍﻥ ﻫﺫﻩ ﺍﻝﺭﺴﺎﻝﺔ ﻜﻜل‪ ،‬ﺃﻭ ﺃﻱ ﺠﺯﺀ ﻤﻨﻬﺎ ﻝﻡ ﻴﻘﺩﻡ ﻤﻥ ﻗﺒل ﻝﻨﻴل ﺃﻴﺔ ﺩﺭﺠﺔ‬ ‫ﻋﻠﻤﻴﺔ ﺃﻭ ﺒﺤﺙ ﻋﻠﻤﻲ ﺃﻭ ﺒﺤﺜﻲ ﻝﺩﻯ ﺃﻴﺔ ﻤﺅﺴﺴﺔ ﺘﻌﻠﻴﻤﻴﺔ ﺃﻭ ﺒﺤﺜﻴﺔ ﺃﺨﺭﻯ‪.‬‬

‫‪Declaration‬‬
‫‪The work provided in this thesis, unless otherwise referenced, is the‬‬ ‫‪researcher's own work, and has not been submitted elsewhere for any other‬‬ ‫‪degree or qualification.‬‬

‫‪Student's name:‬‬ ‫‪Signature:‬‬ ‫‪Date:‬‬

‫ﺍﺴﻡ ﺍﻝﻁﺎﻝﺏ‪:‬‬ ‫ﺍﻝﺘﻭﻗﻴﻊ‪:‬‬ ‫ﺍﻝﺘﺎﺭﻴﺦ‪:‬‬

vi

TABLE OF CO TE TS
Committee members …………………………………………….. Dedication ……………………………………………………….. Acknowledgment ………………………………………………… Declaration ………………………………………………………... Table of contents ………………………………………………….. List of Tables…………………………………………………...... Annexes…………………………………………………………… List of Figures……………………………………………………. List of Abbreviations……………………………………………… Abstract………………………………………………………......... Chapter One 1.1 Introduction……………………………………………………… 1.2 The pioneering period (1950–1960s)…………………………... .. 1.3 The period of innovation (1970s)…………………………….... 1.4 The revolution (1980s)……………………………………….... 1.5 Evolution (1990s to the present)……………………………… 1.6 Computer simulation in science……………………………….. 1.7 Case Study……………………………………………………... 1.8 Metrological Data…………………………………………….. 1.9 Study Objectives………………………………………………. 1.10 Significance of the Study……………………………………. 1.11 Motivation of the study ……………………………………… Chapter Two Literature Review 2.1 Simulation in Queuing Theory …………….………………… 2.2 DES Model Development…………………….………………. 9 12 4 4 5 5 6 6 6 7 8 1 4 ii iii iv v vi viii viii ix xi xii

vii

2.3 Parameters of the Queue Model……..………………………….

13 14 15 15 17

2.4 Queue Configurations………………………………………….
2.5 Multiple line advantages………………………………………. 2.6 Single Line advantages………………………………………… 2.7 How is Simulation performed manually?……………………… 16 2.8 Techniques for the Steady State Simulation…………………… Chapter Three Methodology 3.1 Study area……………………………………………………… 3.2 Difficulties of the study………………………………………… 3.3 Data……………………………………………………………. 3.4 SimQuick…………………………………………………….. 3.5 Data Analysis…………………………………………………… 3.5.1 Analytical solution…………………………………………… 3.5.2 Procedure of Simulation……………………………………… Chapter Four Other Models Configurations 4.1 Configurations for the cross checking-point………………… 4.2 Model 1………………………………………………………… 4.3 Model 2………………………………………………………… 4.4 Model 3…………………………………………………………
4.5 Comparison between single-channel queue and multiple-channel queue

20 21 21 22 24 24 26

31 32 34 35
42

Chapter Five Conclusions and Recommendations 5.1 Conclusions…………………………………………………… 5.2 Recommendation……………………………………………… References……………………………………………………….... 49 50 51

viii

Annexes Annex (A)…………………………………………………………. Annex (B)………………………………………………………… Annex (C)………………………………………………………… Annex (D)………………………………………………………… Abstract Arabic…………………………………………………… List of Tables Table 3.5.1 Comparison between analytical solution and simulation for the first server are 60% of the value of λ and µ in model 1 Andmodel 3………………………………………… ……… 38 Table 4.4.b Results for Model1, Model 2, and Model 3 on Saturday morning: λ and µ for the first server are 70% of the value of λ and µ in model 1 and model 3……………………………………………... 39 Table 4.4.c SimQuick results for model 1, model 2, and model 3: λ and µ in the first server are 0% of the value of λ and µ in model 1 and model 2. …………………………………………………………………… in the first server are 100% of the value of λ and µ in model 1 and model 3…………………………………………………………………… in the first server are 20% of the value of λ and µ in model 1 and model 3…………………………………………………………………… for the first server are 40% of the value of λ and µ in model 1 and model 3……………………………………………………………………. for the first server are 80% of the value of λ and µ in model 1 and model 41 Table 4.4.g SimQuick results for model 1, model 2, and model 3: λ and µ 40 Table 4.4.f SimQuick results for model 1, model 2, and model 3: λ and µ 40 Table 4.4.e SimQuick results for model 1, model 2, and model 3: λ and µ 39 Table 4.4.d SimQuick results for model 1, model 2, and model 3: λ and µ 26 Table 4.4.a SimQuick results for model 1, model 2, and model 3: λ and µ 55 56 57 58 ‫ب‬

ix

3……………………………………………………………………... queue………………………………………………………………. . List of Figures Figure (1.1) Studying a system…………………………………… . Figure (2.3) Queuing system……………………………………… Figure (2.4) Queue Configurations…………………………….. .... Figure (2.8.1) Method of Batch means………………………… ... Figure (2.8.2) The Independent Replication……………………… Figure (2.8.3) Regenerative or( cycles Method).………………..... people departing Nablus City……………………………………… people arriving to Nablus City……………………………………… Figure (3.5.1) Solution using SimQuick……………………………. length of the queue vs time…………………………………………. waiting time in the queue: (Wq) vs time(t) ………………………. . time in the queue :(Wq) vs time(t)………………………………… Figure (4.1.a) Model 1…………………………………………….. Figure (4.1.b) Model 2…………………………………………….. Figure (4.1.c) Model 3……………………………………………..
the service time can be approximated by the uniform distribution

41 44

Table 4.5 Comparison between single-channel queue and multiple-channel

3 13 15 17 18 18 20 21 25 28 29 30 31 31 32
33

Figure (3.1.a) A model represents a cross-checking point at Beit-eba for Figure (3.1.b) A model represents a cross-checking point at Beit-eba for

Figure (3.5.2.a) Men under forty departing Nablus on Saturday evening, the Figure (3.5.2.b) Men under forty departing Nablus on Saturday evening, Figure(3.5.2.c) People arriving to Nablus on Sunday morning: the waiting

Figure (4.2.a) The columns representation of departures for server1 in model 1, Figure (4.2.b) The columns representation of departures for server2 (or server3)

x

in model 1, the service time can be approximated by the uniform distribution 34 Figure (4.3) The columns representation of departures for server1, server2 and server3 in model 2, the service time can be approximated by the uniform distribution 35

Figure (4.4.a) The columns representation of departures on Saturday morning for people departing Nablus……………………………... morning for people departing Nablus…………………………......... morning for people departing Nablus…………………….................. Figure (4.5.a) Multiple-channel queues …………………………….. Figure (4.5.b) Single-channel queue with two servers……………… queues(Model 1)…….………………………………………………. queue……………………………………………………………….. queue while λ is fixed to (10.125)…………………………………. 36 37 37 42 43 45 46 47 Figure (4.4.b) The columns representation of departures on Monday Figure (4.4.c) The columns representation of departures on Tuesday

Figure (4.5.c) The relation between λ and (Wq & Lq) in multiple-channel Figure (4.5.d) The relation between λ and (Wq &Wq) in single-channel Figure (4.5.e) The relation between µ and (Wq & Lq) in multiple-channel

xi

List of Abbreviations MS OR DES λ µ Wq Lq M GD Management Science Operation research Discrete-event simulation Arrival rate Service rate Average waiting time in the queue Average length of the queue Markovian (or poisson) arrivals or departures distribution (or General discipline (i.e., any type of discipline)

equivalently exponential inter-arrival or service time distribution)

xii

Simulation in Queuing Models: Using Simulation at Beit-eba crossing check-point By Fatima Barham Supervised by: Dr. Mohammad ajeeb Dr. Luai Malhis

Abstract
This thesis consider some queuing models to determine the measures of performance of a model. The most important measures are the waiting time in the queue and the size of the queue. The queue we are studying is the Beit-eba crossing check-point for both people arriving and people departing from Nablus City. A comparison is made in order to determine the best fit model among two assumed models and the one under study(real one)using a suitable tool of simulation “SimQuick” which performs process simulation within the Excel spreadsheet environment. To prove that we got good results for our study. We started by an assumed queue model and solve it analytically by the known formulas of queuing theory. Next, we use simulation by "SimQuick" to compare results, which showed a good agreement between analytical solution and simulation. The study showed that the single-channel queue is more efficient than the multiple-channels queues.

1

Chapter One Introduction

1.1 Introduction There are three basic methods can be used to get information of real system: Experiment, Analysis, and Simulation. One practical example to demonstrate the nature of these three methods is people waiting to cross a check-point. The question of interest is "what is the average time spent by a person in the queue". To get the answer we have three possibilities: Experiment: take stop watches and measure the time every one spends in the queue. Count them, at the end sum all times and divide them by the number of people. Analysis: A system of mathematical equations describing the

(probabilistic) evolution of the system, which can be solved to yield explicit formulas for average congestion levels, probability that a server is idle, that a customer will have to wait more than a certain length of time, etc., expressed in terms of the parameters of the system[11]. Simulation: A computer ”Game” which mimics the evolution of the real system, so that statistics can be gathered to estimate average congestion levels, etc., without the expense and inconvenience of experimenting with real systems [11]. Experiment is always the most accurate method as in the previous example of people waiting to cross the check-point we measure the time each one spends in the queue, sum them and divide by the number of persons. But

2

some experiments are costly and dangerous as in nuclear reactions; others are time consuming like weather forecasting. Analysis (mostly mathematical) is typically based on strong assumptions that are rarely true in practical life, in our example we can use queuing theory only if arrivals and departures follow poisson distribution. In this case we can only study steady-state behavior [15] and the number of performance measures that can be computed is small -for example the waiting time in the queue, the waiting time in the system, the average number of objects in the queue, and the average number of objects in the queue. Simulation is important because of several reasons: 1. The number of performance measures that can be computed using simulation is much more than performance measures computed using the analytical solution –for example the final inventory in the queue, the maximum inventory in the queue, the minimum inventory in the queue…etc. 2. It may be the only way to provide solutions to problem under study. 3. It can represent a real-world as fewer assumptions are required compared to analytical solution which is based at strong assumptions. 4. We can easily change in configuration and provide means for direct and detailed observations within specific time limits.

3

5. It proved to be accurate to a high degree by comparing the results of analytical solution to simulation results. 6. Also less costly as in the flight simulators which uses video games to train pilots, and nuclear reactions. The following flow chart represents the steps used in studying a system:
The system

Experiment with actual system

Experiment with a model of actual

Physical model

Mathematical model

Analytical solution

Simulation

Figure (1.1): Steps for studying a system

[7]

In describing the history of simulation according to Robinson [12] in his paper, four distinct periods can be identified:

4

1.2 The pioneering period (1950–1960s) According to Robinson in his paper [12] pioneers in the field of simulation laid the foundations for future developments. Advances were made in simulation methodology, for instance, Tocher published the three-phase simulation approach that is still used by a number of simulation packages today. The 1960s also saw the development of the first specialist simulation software, for example, GPSS, SIMSCRIP, and SIMULA[12]. 1.3 The period of innovation (1970s) According to Robinson in his paper [12] computing technology continued to advance and with it simulation software continued to improve. Various new languages were developed, for instance, SLAM and GPSS-H. The late 1970s saw the introduction of the first microcomputers. Further to this, Hurrion published his PhD thesis describing the potential for visual interactive simulation [12]. 1.4 The revolution (1980s) According to Robinson in his paper [12] up until the 1980s, the commercial application of simulation was limited by the need for expensive hardware and specialist computing skills. By the end of the 1980s, powerful microcomputers were available in most organisations (and even in the home) and many commercial VIS packages were available such as WITNESS, HOCUS, GENETIK, SIMAN/CINEMA, and ProModel. Many organizations, particularly in the manufacturing sector, were using simulation as a decision-aiding tool[12].

5

1.5 Evolution (1990s to the present) In computing terms the decade that followed was typified by the everincreasing power of the personal computer [12], the falling price of the PC, the use of Windows technology and, of course, the worldwide web More powerful PCs enabled larger scale models to be developed and then to be run in a reasonable time-frame. The falling price of the PC made them ever more prevalent in both work and domestic life. Windows technology improved ease of use and created a common interface for computer users. These changes owe much to the development of computing and then closely followed by development of simulation as hardware and software have improved. Simulation has moved little beyond the desks of researchers when used in the worldwide web and distributed computing.

1.6 Computer simulation in science Computer simulations are used in a wide variety of practical fields, such as [16]: Forecasting of equilibrium temperature of receiving waters. Computer simulation using molecular modeling for drug discovery. Computational fluid dynamics simulations are used to simulate the behavior of flowing air, water and other fluids. Analysis of air pollutant dispersion using atmospheric dispersion modeling. Design of complex systems such as aircraft and also logistics systems. Design of Noise barriers to effect roadway noise mitigation. Flight simulators to train pilots. Weather forecasting.

6

Behavior of structures (such as buildings and industrial parts) under stress and other conditions. Design of industrial processes, such as chemical processing plants Strategic Management and Organizational Studies. Instruction Set Simulators for debugging and automatic error detection. Reservoir simulation for the petroleum engineering to model the subsurface reservoir. Also simulation is used to study differential equations which cannot be solved analytically, theories which involve continuous systems such as phenomena in physical cosmology. 1.7 Case Study For our project we are going to study Beit-eba crossing check-point, for both people depart and people arrive to Nablus over two periods a day 7:30-9:30 in the morning and 1:45-3:45 in the evening, we chose those periods as they are the peak times. 1.8 Metrological Data The collected data we got is summarized in three tables (annexes A, B and C). 1.9 Study Objectives Objectives of this study are to: .

7

1. Study the performance measures of a queue at Beit-Eba crossing check-point. The most important measures are the waiting time in the queue (Wq) and the size of the queue (Lq). 2. Determine the best applicable model for people departing Nablus at Beit-eba crossing check-point. 3. Compare between single-channel queue and multiple-channel queues. 1.10 Significance of the Study Our study at Beit-eba crossing check-point is applicable in different reallife problems and different efficiency problems [4].

Examples of problems: • People moving through a bank or post office • Telephone calls moving through a call center • Parts moving along an assembly line or through a batch process or a job shop • Inventory moving through a retail store or warehouse • Products moving by trucks, or ships through a supply chain • A software development project Examples of efficiency models: • How many tellers are needed to keep waiting times at a bank reasonably short? • What effect will a new answering system have on how long customers wait at a call center?

8

• What effect will a new just-in-time (JIT) inventory system have on the number of units produced per day on an assembly line? • What is the best batch size to use in a factory? • What is the best delivery policy for goods at a warehouse? • How much inventory should be kept on the shelves in a grocery store? • How many machines should each worker operate in a manufacturing cell? • How should inventory be distributed along a supply chain? • What is the expected duration of a software development project? 1.11 Motivation of the study We use simulation at the Beit-eba crossing check-point, to make sure that simulation is applicable at different waiting lines at different real-life problems, as waiting for service is part of our daily life

9

Chapter two Literature Review
2.1 Simulation in Queuing Theory A stochastic dynamic model is a statistical term describing the state variables of the system with values determined by chance (stochastic) and evolve with time (dynamic), a stochastic dynamic model can be [7]: • Discrete time model: state variables change at discrete points in time (queue length of a server) so it is called discrete-event simulation (DES). • Continuous time model: state variables may change continuously, e.g., temperature in a class room. Discrete-event simulation (DES) is one of the most popular modeling techniques. It has been developed significantly since the inception of computer simulation in the 1950s [13]. A discrete event is something that occurs at an instant of time -for example, pushing an elevator button, starting of a motor, stopping of a motor, and turning on a light, arrival to a queue, departure from a queue are all discrete events because there is an instant of time at which each occurs. Activities such as moving a train from point A to point B are not discrete events because they have time duration. Queuing theory has always been widely used in survey courses on management science (MS) and operations research (OR) [13]. Queuing theory is a powerful tool for computing certain steady-state queue performance measures (Markovian queues). Queues can be solved by [13]: analytical queuing theory, dedicated simulation packages, and spreadsheet simulation.

10

Simulation using dedicated software packages is flexible, powerful and widely used for modeling queues, and it is often the best technology for computing quantitative results. Many simulation packages are available, such as SLAM, GPSS, Extend+, and Arena [13]. However, simulation packages hide the mechanics of queues, are expensive and time-consuming to learn, and are not widely used in survey courses on management science (MS) and operations research (OR). Performing queuing simulations in spreadsheets offers six benefits: explicitness, immediacy, insight, flexibility, active modeling, and accessibility. These benefits apply not only to students, but also to instructors with expertise in queuing theory. Spreadsheet simulation is increasingly popular. Any spreadsheet model (including those built by people with no knowledge of management science) can be simulated using techniques that can be found in management science textbooks. Evans and Olson (1998) [3] distinguish three classes of spreadsheet simulation models: 1. 2. 3. Activity-driven. Event-driven. Process-driven.

An activity-driven simulation [3] describes the activities that occur during fixed intervals of time (for example, an hour, day, or week), typically using one row of the spreadsheet for each time interval. The activity-driven approach (often used in textbook inventory models) seems to have first been used for queuing by Clauss (1996) for ship unloading. However, we think this approach oversimplifies most queuing systems.

11

An event-driven simulation [3] describes the changes in the system at the moment of each stochastic event, typically using one row of the spreadsheet for each event. This approach was apparently first used for queuing by Winston (1996) for a single-server queue. Evans and Olsen (1998) describe a similar model. The event-driven approach has technical advantages of efficiency and flexibility, but it is not good for teaching because it obscures the customer experience of queues, and it is less intuitive than the process-driven approach. A process-driven simulation [3] models the logical sequence of events for each customer, typically using one row of the spreadsheet for each customer. This approach was apparently first used for queuing by Chase and Aquilano, who present a model of two serial single-server queues with zero queue size. With process simulation, you begin by building a computer model of a realworld process. Your initial goal is to have the computer model behave in a way similar to real process, except much more quickly. One then try out various ideas for efficiency improvements on the computer model and use the best ideas for efficiency improvements on the computer model and use the best ideas on the real process. Thus a lot of time and money can be saved. Simulation is particularly useful when there is uncertainty in a process (e.g. the arrival times of customers, the demand for a product, the supply of parts, the time it takes to perform the work, the quality of work).With uncertainty, it is often difficult to predict the effects of making changes to a process, especially if there are two or more sources of uncertainty that interact.

12

Monte Carlo simulation methods [17] are a class of computational algorithms that rely on repeated random sampling to compute deterministic or stochastic parameters and is often used when simulating physical and mathematical systems. Examples of Mont Carlo applications [15] include evaluation of multiple integrals and estimation of the constant ¶, and matrix inversion. Mont Carlo has similar procedures of the DES model development. 2.2 DES Model Development DES Model Development which is typically an iterative process [1]: • Determine the objectives. • Build a conceptual model: o Very high level o How comprehensive should the model be? o What are the state variables, which are dynamic, and which are important? • Convert into a specification model: o On paper o May involve equations, pseudo code, etc. o How will the model receive input? • Convert into a computational model: o A computer program o General-purpose PL or simulation language? • Verify: The process of comparing the model's output with the behavior of the phenomenon. In other words: comparing model execution to reality [14].

13

• Validate: The process of comparing the computer code with the model to ensure that the code is a correct implementation of the model [14]. 2.3 Parameters of the Queue Model The parameters of the queue are [9]: 1. Calling Population 2. Arrival Process 3. Service Process 4. Number of servers 5. Queue Discipline

Figure 2.3 Queuing systems [9]

14

A convenient notation for summarizing the characteristics of queuing situation in Queuing System Figure 2.3 is given by the following format [11]: (a/b/c): (d/e/f) a = Description of the arrivals distribution b = Description of the departure (service time) distribution c = Number of parallel servers e = Maximum number (finite or infinite) allowed in the system (in the queue plus in the service) f = Size of the calling source (finite or infinite) If the standard notation for representing arrivals or departures distributions (symbols a and b) is M then M = Markovian (or poisson) arrivals or departures distribution (or equivalently exponential inter-arrival or service time distribution) There exist other notations. The queue discipline notation (symbol d) include FCFS = First come, first served LCFS = Last come, first served SIRO = Served in random order GD = General discipline (i.e., any type of discipline) where

2.4 Queue Configurations:
The following are two queue configurations and the advantages of each of them [9]: 1. Single-Channel Queuing System (Single Queue) The single-channel queuing system can be seen in places such as banks and post offices, where one single queue will diverge into a few counters.

15

2. Multiple-Channels Queuing System (Multiple Queues) The multiple-channels queuing system is commonly observed in fast food restaurants. It is a system whereby the customers line up in rows directly in front of each server. The right of Figure (2.4) is a single channel-queue with four servers, while Example – Two Queue Configurations the left is multiple channel-queues.
Multiple Queues
Servers

Single Queue
Servers

Figure (2.4) Queue Configurations [9] 2.5 Multiple line advantages 1. The service provided can be differentiated 2. Labor specialization possible 3. Customer has more flexibility 4. Balking behavior may be avoided 2.6 Single Line advantages 1. Guarantees fairness 2. No customer anxiety regarding choice of the queue 3. Avoids" cutting in" problems 4. The most efficient set up for minimizing time in queue 5. Jockeying (line switching) is avoided

16

16

2.7 How is Simulation performed manually? [14] Simulations may be performed manually as indicated by the following example, most often the system model is written either as a computer program or as an input into simulator software. Example: Building a simulation gas station with a single pump served by a single service man. Assume that arrival of cars as well their service times are random. At first identify the:

• States: number of cars waiting for service and number of cars served at any moment • Events: arrival of cars, start of service, end of service • Entities: these are the cars • Queue: the queue of cars in front of the pump, waiting for service • Random realizations: inter-arrival times, service times • Distributions: we shall assume exponential distributions for both the inter-arrival time and service time. Next, specify what to do at each event. The above example would look like this: At event of entity arrival: Create next arrival. If the server is free, send entity for start of service. Otherwise it joins the queue. At event of service start: Server becomes occupied. Schedule end of service for this entity. At event of service end: Server becomes free. If any entities waiting in queue: remove first entity from the queue; send it for start of service. Some initiation is still required, for example, the creation of the first arrival. Lastly, the above is translated into code. This is easy with an appropriate library which has subroutines for creation, scheduling, proper timing of events, queue manipulations, random variate generation and statistics collection.

17

2.8 Techniques for the Steady State Simulation Unlike in queuing theory where steady state results for some models are easily obtainable, the steady state simulation is not an easy task as obtaining steady state simulation output requires statistical assurance that the simulation model reached the steady state. The main difficulty is to obtain independent simulation runs with exclusion of the transient period. The opposite is true for obtaining results for the transient period (i.e., the warm-up period).

The methods commonly used for steady state simulation: 2.8.1 Method of Batch Means or (Subinterval method)

Figure 2.8.1 Method of Batch Means [14]

Figure 2.8.1 illustrates the idea of subinterval method .The advantage of the subinterval method is that the effect of the transient conditions is mitigated. The disadvantage of the method is that successive subintervals or (batches) are necessarily correlated. The effect of correlation can be alleviated by increasing the time base of each batch [15].

18

2.8.2 The Independent Replication.

Figure 2.8.2 Method of Independent Replications [14]

Figure 2.8.2 illustrates the method of independent replications. The advantage of the method is that it yields observations that are truly independent. The disadvantage is that each observation may be biased by the initial effect of the transient conditions. This problem may be alleviated by making the run length sufficiently large [15].

2.8.3 Regenerative or( cycles) Method.

Figure 2.8.3 Regenerative Method [14]

19

Figure (2.8.3) illustrates the regenerative method that may be regarded as an extended case of the subinterval method. This method reduces the effect of autocorrelation, it has the disadvantage of yielding a smaller number of batches for a given run length [15].

20

Chapter Three Methodology
3.1 Study area Data collection is done at Beit-eba crossing check-point for two time periods a day, (7:30-9:30) in the morning and (1:45-3:45) in the evening over two weeks which are the peak times of the day (see Annexes A, B, and C). Real data is needed to make sure that simulation is applicable to different real-life applications. People arriving to Nablus City and people departing Nablus has to be checked. The crossing check- point offers one server for people arriving to Nablus and three servers for people departing Nablus , one of the servers is for women and men over forty (the first server) , the other two (the second and third server) are for men under forty as shown below:

λ1

first server

µ1

λ2

second server

µ2

λ3

third server

µ3

Figure (3.1.a) a model represents the crossing check-point at Beit-eba for people departing Nablus City

21

λ

server

µ

Figure (3.1.b)

A model represents the crossing check-point at Beit-eba

for people arriving to Nablus City The most suitable place for obtaining the data was where cars carried people on and down on both sides of the crossing check-point, thus we can count nearly every one. This process needed at least two persons one on each side. Most days four persons counting two on each side including myself. 3.2 Difficulties of study 1. Collecting data was exhausting job. We had to pass through the crossing check-point about four times a day. Nevertheless we had to face the suspicious people all the time. 2. Looking for a suitable tool for simulation was time consuming. We tried dedicated software which needs elective courses in simulation then after searching we found SimQuick tool that works in excel spreadsheet. 3.3 Data The data we got are summarized in three tables (Annexes A, B and C). The first two columns of each day describe the number of arrivals (λ) to the check-point and departures (µ) from the check-point for people arriving to Nablus. The other two are for arrivals to the check-point and departures from the check-point for people departing Nablus City. Time and date are indicated in each table.

22

3.4 SimQuick The simulation tool we used is SimQuick [4] which is easy to learn and inexpensive. It is aimed primarily at business students and managers who want to understand process simulation and be able to analyze and improve real-world processes. SimQuick is flexible in its modeling capacity; that is, it is not a "hardwired" set of examples; it requires true modeling. In addition, SimQuick runs in the widely-known Microsoft Excel spreadsheet environment (it is an ordinary Excel 2000 file with some hidden macros). Hence, users of Excel are already familiar with much of the interface. SimQuick allows the user to model simple processes as: • Waiting lines (e.g., banks, fast-food restaurants, call centers). • Inventory and supply chains (e.g., stores, warehouses, and simple combinations of these). • Manufacturing (e.g., assembly lines, batch processes, simple job shops) SimQuick has been used by a number of companies and by at least 40 colleges and universities, typically as a supplement to an Operations Management or Decision Science course. There are three basic steps involved in using SimQuick : 1. Build a model of the process using building blocks of SimQuick. 2. Enter this model into SimQuick . 3. Test process improvement ideas on this computer model.

23

Basic building blocks in SimQuick: 1. Objects: 2. Elements: Exits. 3. Statistical distributions: normal, exponential, uniform, constant and discrete. Entrances: This is where objects enter a process. Entrances can represent a loading dock at a warehouse, a door at a store, and so on. Buffers: This is where objects can be stored. Buffers can represent a location in a warehouse or a factory where inventory can be stored, a place where people can stand in line at a post office, a memory location in a computer for e-mail messages, and so on. Work Stations: This is where work is performed on objects. Work stations can represent machines in a factory, cashiers in a store, operators at a call center, computers in a network, and so on. represent things that move in a process as people, parts in a Entrances, Buffers, Work Stations, Decision Points and

factory, paperwork, phone calls, e-mail messages, and so on.

24

3.5 Data Analysis 3.5.1 Analytical solution Example [1]: A community is served by two cab companies. Each company owns two cabs, and the two companies are known to share the market equally. This is evident by the fact that calls arrive at each company's dispatching office at the rate of eight per hour. The average time per ride is 12 minutes. Calls arrive according to a Poisson distribution, and the ride time is exponential. The two companies recently were brought by an investor who is interested in consolidating them into a single dispatching office to provide faster service to customers. The above two problems 1. (M/M/2) :( GD/∞/∞) with λ=8 and µ=5 2. (M/M/4) :( GD/∞/∞) with λ=16 and µ=5 The previous two problems are under steady-state conditions, arrivals and departures follow the poisson distribution, so the analytical solution is applicable using the known formulas in queuing theory. Solving the first problem by simulation process using SimQuick can be done as follows:

Simulation controls:
Time units per simulation → Number of simulations → 7000 200

Entrances: 1

25

Name →
Time between arrivals → Num. objects per arrival → Output destination(s) ↓ line

door 1 Exp(7.5) 1

Work Stations: 1

Name →
Output destination(s) ↓ served customers Working time → # of output objects ↓ 1

teller1 Exp(12) Resource name(s) ↓

Resource # units needed ↓

2

Name →
Output destination(s) ↓ served customers Working time → # of output objects ↓ 1

teller2 Exp(12) Resource name(s) ↓

Resource # units needed ↓

Buffers: 1 2 line Unlimited 0 Output group size ↓ 1 1

Name →
Capacity → Initial # objects → Output destination(s) ↓ teller1 teller2

Name →
Capacity → Initial # objects → Output destination(s) ↓

served customers Unlimited 0 Output group size ↓

Figure (3.5.1) Solution using SimQuick

26

Solving the two problems analytically (Taha [15] used TORA to get the following analytical results which depends on queuing theory formulas) and by simulation, yields the following results for Lq and Wq: Table( 3.5.1)Comparison between analytical solution and simulation Nbr Lq 1 2 Wq Lq Wq Analytically 2.844 21.36 2.386 8.94 Simulation 2.76 20.67 2.33 8.72

Table (3.5.1) shows a good agreement between analytical solution and simulation results. This shows that simulation can accurately to some degree model queues in Beit-eba, since λ and µ are not exactly poisson and exponential we can not use analytical solution here simulation is the choice.

3.5.2 Procedure of Simulation Each table of the collected data(annexes A,B, and C) has four columns for each day ,the first two columns represent arriving people to Nablus through Biet-Eba , the other two for people departing out of Nablus through Biet-Eba .Where λ is the number of arrivals and µ the number of departures. People arriving to Nablus through the check-point pass through one server as in Figure (3.1.b).

27

People departing Nablus has three servers as in Figure (3.1.a). The values of λ and (µ) in the table are divided on the three servers with ratio 6:2:2 except for 8-9/3/2008 it is 7:1.5:1.5 (this ratio can be changed). According to this λ1=.6* λ, λ2= λ3= .2*λ and (µ1=.6* µ, µ2= µ3= .2* µ). The data was collected over two time periods as discussed earlier, the first time period is 7:30-9:30 and the second is 1:45-3:45. The data of each time period was collected over eight intervals, each interval is of 15 minutes (at collecting data one can choose any other number of minutes for each interval). For each time interval and each channel we build an (M /M/1) :( GD/∞/∞) model, because inter-arrival times and service times of people at services can often be closely approximated by exponential distribution which is a general principle [4]. The collected data represents a transient period, so we start simulation for the first interval then the next and so on until the eighth interval. Always use the final inventory of each time interval as an initial inventory for the next by converting the values of the final inventory (from the different simulation runs) to a discrete distribution. In each interval we can obtain different performance measures, the most important are the waiting time in the queue (Wq), and the length of the queue (Lq). The following two figures are the results for simulation carried out for the data collected of men under forty departing Nablus over the time period 1:45-3:45 on Saturday evening (sat3 16-2-2008, sat2 23-2-2008 and sat1 83-2008). At each time period we computed Lq and Wq.

28

Figure(3.5.2.a) Men under forty departing Nablus on Saturday evening: the length of the queue(Lq) vs time(t). In Figure (3.5.2.a) we see that at t=3:15, Lq=22.22 on Saturday1,

Lq=17.55 on Saturday2 and Lq=37.76 on Saturday3. Reasons for different values of Lq at the same time : 1. Economical reasons: data was collected during the second week of March, the third and the forth week of February. 2. Reasons related to the server itself: the service time at the crossing check-point has a relation with the political situation and the mood of the server most times.

29

Figure(3.5.2.b) Men under forty departing Nablus on Saturday evening, waiting time in the queue vs time. In Figure (3.5.2.b) above at t=3:15, Wq=31.24minutes on Saturday1, Wq=20.58minutes on Saturday2 and Wq=76.88 on Saturday3. We see that at this time of Saturday3 people faced some delays as here λ from the table (see Annex C) is much more than µ.

30

Figure(3.5.2.c) People arriving to Nablus on Sunday morning: the waiting time in the queue(Wq) vs time(t). Figure(3.5.2.c) shows that at 9:15, Wq=6.56 on Sunday1, Wq=2.95 on Sunday2 and Wq=1.21 on Sunday3. The least mean waiting time is on Sunday3, that’s because λ is much less than µ in the table of collected data (see Annex C). Simulation is carried out for all collected data, and the results are shown in figures in Annex D.

ote: Most of the people arriving to ablus through Beit-eba in the morning and people departing it in the evening are university students and employers.

31

Chapter Four Other Models Configurations
4.1 Configurations for the crossing check-point The crossing check-point may have one of those models Model 1

λ1

first server

µ1

λ2

second server

µ2

λ3

third server

µ3

Fig(4.1.a) Model 1

Model 2
first server µ1

λ

second server

µ2

third server

µ3

Fig(4.1.b)

Model 2

32

Model 3
λ1 First Server µ1

Second Server λ2

µ2

Third Server

µ3

Fig(4.1.c) Model 3 Model 1 resembles the actual crossing check-point at Beit-eba as discussed earlier. We will look at two assumed models to determine which is the best model to follow among the three models. The best model is the one with the least average waiting time, of course. To check for that, we take the data of people departing Nablus on Sunday morning (24/2/2008) from the table (Annex B). 4.2 Model 1 Assume that λ and µ from the table are divided on the three servers with ratio 6:2:2, that is 60% of λ for the first server which is a reasonable percent for women and men over forty. To determine the average waiting time in the queue for the first server (Wq1): 1. Multiply λ in each interval by 0.6.

33

2. Multiply µ in each interval by 0.60 and represent the resulting values by columns, we will have Figure (4.2.a).
departure
50 40 30 20 10 0 07:45 08:00 08:15 08:30 08:45 09:00 09:15 09:30

t

Figure (4.2.a) The columns representation of departures for server1 in model 1,the service time can be approximated by the uniform distribution : µ vs t.

3. The service time can be approximated by the uniform distribution according to Figure (4.2.a). 4. Input this model into SimQuick, the resulting average waiting time from this model is Wq1. To determine the average waiting time in the queue for the second or the third server(Wq2): 1. Multiply λ by 0.20 in each interval. 2. Multiply µ by 0.20 in each interval. Represent the resulting values by columns, we will have Figure (4.2.b). 3. The service time can be approximated by the uniform distribution according to Figure (4.2.b).

34

4. Input this model into SimQuick .The resulting average waiting time is Wq2.

departure
15 10 5 0 07:45 08:00 08:15 08:30 08:45 09:00 09:15 09:30

Figure (4.2.b) The columns representation of departures for server 2 and server 3) in model 1, the service time can be approximated by the uniform distribution : µ vs t. Hence, the average waiting time (Wq) for Model 1 is computed from the equation: Wq = 60%*Wq1 + 40%*Wq2

4.3 Model 2 To determine the average waiting time(Wq) in the queue for Model 2: 1. We feed the values of λ from the table in model 2 directly, as it is a single-channel queue of three servers. 2. We divide the value of µ by three in each interval. Represent the resulting values by columns, we will have Figure (4.3).

35 ote: Here in Model 2 Figure (4.1.b), we took µ1= µ2= µ3= µ/3. We can change this ratio.

departure
80 60 40 20 0 07:45 08:00 08:15 08:30 08:45 09:00 09:15 09:30

Figure (4.3) The columns representation of departures for server1, server2 and server3 in model 2 ,the service time can be approximated by the uniform distribution: µ vs t.

3. The service time can be approximated by the uniform distribution according to Figure (4.3). 4. Input this model into SimQuick, the resulting value of the waiting time is Wq for model 2.

4.4 Model 3 Assume for Model 3 in Figure (4.1.c) that: µ1=60%* µ, µ2= µ3=20%* µ λ1= 60% * λ, λ2= 40%* λ

36

Hence, the average waiting time for server 1 is Wq1 we determined earlier in model 1. To determine Wq2 for the single channel-queue of two servers (the second server and the third): 1. Multiply λ in the table by 0.40 in each interval. 2. Multiply µ by 0.2 in each interval. Represent the resulting values by columns, we will have Figure (4.2.b) again. 3. The service time can be approximated by the uniform distribution according to Figure (4.2.b). 4. Input this model into SimQuick, the resulting value of Wq is Wq2. Hence, the average waiting time (Wq) for Model 3 is computed from the equation: Wq = 60% * Wq1 + 40% * Wq2 Repeat the previous steps for people departing Nablus on the morning of Saturday (23-2-2008). Figure (4.4.a) next shows that the service time can be approximated by the uniform distribution.

Figure (4.4.a) the columns representation of the departue on Saturday morning for people departing Nablus: µ vs t.

37

Repeat again the previous steps for people departing Nablus on the morning of Monday and Tuesday (25, 26-2-2008). In Figure (4.4.b), the service time can be approximted by the uniform distibution.

Figure (4.4.b) the columns representation of the departue on Monday morning for people departing Nablus: µ vs t.

In Figure (4.4.c), the service time can be approximted by the uniform distibution.

Figure (4.4.c) the columns representation of the departue on Tuesday morning for people departing Nablus: µ vs t.

38

We can summarize our results in table (4.4), mathematically it is clear that model 2 gives the least waiting time in the queue as on Saturday Wq=16.058 in Model 1,Wq=12.3 in Model 2, and Wq=13.142minutes in Model 3 , hence the best model that should be applied is model 2. Table (4.4.a)SimQuick results for model 1, model 2, and model 3: λ and µ for the first server are 60% of the value of λ and µ in model 1 and model 3.

Wq at Saturday Sunday Monday
Tuesday

Model 1 16.058 19.796 18.66 33.28

Model 2 12.3 16.99 13.48 25.45

Model 3 13.142 17.344 15.364 29.904

The ratio70% of λ and µ Repeat the previous steps again using the data for people departing Nablus on the morning of Saturday (8-3-2008) in the table (Annex A). In Model 1: Assume that λ and µ from the table are divided on the three servers with ratio 7:1.5:1.5. In Model 3 let: µ1=70%* µ, µ2= µ3=15%* µ λ1= 70% * λ, λ2= 30%* λ By the departures representation, the service time can be approximated by the uniform distribution. Use SimQuick, the computed the average waiting time (Wq) in Model 1 is(21.15), Wq in Model 3 is (17.946) , and in Model 2 is the least and equals (8.92). These results can be summarized in the next Table 4.4.b

39

Table (4.4.b) Results for Model1, Model 2, and Model 3 on Saturday morning: λ and µ for the first server are 70% of the value of λ and µ in model 1 and model 3. Model 1 Model 2 8.92 Model 3 17.946

Wq

21.15

The ratio 0% of λ and µ Repeat the previous steps again using the same data, with λ and µ in the first server are 0% of the value of λ and µ in model 1 and model 3, the results are summarized in Table 4.4.c Table (4.4.c)SimQuick results for model 1, model 2, and model 3: λ and µ for the first server are 0% of the value of λ and µ in model 1 and model 3.

Wq at Saturday Sunday Monday
Tuesday

Model 1 13.16 18.43 15.44 30.2

Model 2 12.3 16.99 13.48 25.45

Model 3 12.53 16.34 13.78 24.39

Table (4.4.c) above shows that model 2 and model 3 are better than model 1, for example on Sunday Wq in model 1 is (18.43) which is larger than (16.99) in model 1 and (16.34) in model 3, but no conclusion can be made about the best model among the three models.

40

The ratio 100% of λ and µ Repeat the previous steps again using the same data, with λ and µ in the first server are 100% of the value of λ and µ in model 1 and model 3, the resuts are summarized in Table 4.4.d. Table (4.4.d)SimQuick results for model 1, model 2, and model 3:λ and µ for the first server are 100% of the value of λ and µ in model 1 and model3.

Wq at Saturday Sunday Monday
Tuesday

Model 1 12.5 15.41 12.78 23.98

Model 2 12.3 16.99 13.48 25.45

Model 3 12.5 15.41 12.78 23.98

In Table (4.4.d), no conclusion can be made about the best model among the three models. The ratio20% of λ and µ Repeat the previous steps again using the same data, with λ and µ in the first server are 20% of the value of λ and µ in model 1 and model 3, the results indicate that model 2 is the best model for this ratio as shown in Table 4.4.e. Table( 4.4.e) SimQuick results for model 1, model 2, and model 3: λ and µ for the first server are 20% of the value of λ and µ in model 1 and model 3

Wq at Saturday Sunday Monday
Tuesday

Model 1 13.99 19.838 24.892 30.952

Model 2 12.3 16.99 13.48 25.45

Model 3 13.166 17.302 17.676 27.24

41

The ratio 40% of λ and µ Repeat the previous steps again using the same data, with λ and µ in the first server are 40% of the value of λ and µ in model 1 and model 3, the results indicate that Model 2 is the best model for this ratio as shown in Table 4.4.f. Table (4.4.f)SimQuick results for model 1, model 2, and model 3: λ and µ for the first server are 40% of the value of λ and µ in model 1 and model 3

Wq at Saturday Sunday Monday
Tuesday

Model 1 17.612 22.85 23.388 38.164

Model 2 12.3 16.99 13.48 25.45

Model 3 16.034 20.792 19.956 34.648

The ratio 80% of λ and µ Repeat the previous steps again using the same data, with λ and µ in the first server are 80% of the value of λ and µ in model 1 and model 3, the results indicate that Model 2 is the best model for this ratio as shown in Table 4.4.g. Table (4.4.g)SimQuick results for model 1, model 2, and model 3: λ and µ for the first server are 80% of the value of λ and µ in model 1 and model 3

Wq at Saturday Sunday Monday
Tuesday

Model 1 19.498 23.072 25.504 35.89

Model 2 12.3 16.99 13.48 25.45

Model 3 16.022 20.848 22.102 32.472

42

4.5 Comparison between single-channel queue and multiplechannels queues If we took again men under forty departing Nablus on Sunday (24/2/2008) morning ,and assuming that men under forty form 40% of the average of λ column and 40% of the average of µ column , the resulting values are λ1=20.5 and µ1 20.25 . Build a model assuming exponential inter-arrival (and service) time with 720 time units per simulation and number of simulations to be 100. In Figure (4.5.a) model 1 resembles the actual check-point for men under forty departing Nablus which is multiple channel-queues, so assume λ2 = λ3
= λ1 /2=10.25

and µ2 = µ3 = µ1 /2 =10.125.

Model 1
λ2 second server µ2

third λ3 server µ3

Figure (4.5.a) Multiple-channel queues

Figure (4.5.b) shows an assumed model for the check-point of men under forty departing Nablus which is a single channel-queue, let µ4 = µ5= µ1/2=10.125.

43

Model 2
second server λ1 µ4

third server

µ5

Figure (4.5.b) Single-channel queue with two servers

Input these two models into SimQuick, assume the inter-arrival time and the service time are exponential as we have a general principle: the interarrival times and the service times at services can often be closely approximated by the exponential distribution [David Hartvigsen]. Take the time units per simulation 720 as we have two hours, and the number of simulations to be 100. The result of simulation for the average waiting time (Wq1) for model 1 (the multiple-channel queues) is (36.06) minutes. While for model 2(the single channel-queue ) Wq2=(25.16). Repeat these calculations for different values of λ while keeping µ fixed to (10.125) under the same previous assumptions, the results can be summarized in table (4.5).

44

Table (4.5)Comparison between single-channel queue and multiplechannel queues λ1
8 10 12 14 16 18 20.5 22 24 26 30 32

Wq1 for the multiple 1.48 2.01 2.47 3.63 6.39 10.85 36.06 54.57 84.72 116.42 188.69 226.97 channelqueues Model 1 Wq2 for the single 0.82 1.02 1.36 2.01 3.20 6.50 25.16 45.75 76.66 112.21 184.31 223.05 channelqueue Model 2 The computed results in table (4.5) show that the waiting time (Wq1) in Model 1 is greater than the waiting time (Wq2) in Model 2, for example at λ1=18, Wq1=10.85 and Wq2=6.50, that is the single-channel queue is more efficient than the multiple-channel queues. We can use the results of table 4.5 to represent the relation between Wq and Lq versus λ for both model 1 and model 2 while keeping µ is fixed and equals (10.125) as discussed earlier. These results are next shown in Figure (4.5.c) and Figure (4.5.d).

45

Figure (4.5.c) The relation between λ and (Wq & Lq) in multiple-channel queues (Model 1).

In Figure (4.5.c) above, when λ increases (µ is fixed=10.125) then Wq and Lq will increase. When λ is less than µ (λ =4, ……. 10.25 < µ=10.125), a slight increase in the value of Wq and Lq can be seen.

46

When λ is greater than µ ( λ =11, ……17 > µ=10.125), a great increase in the value of Wq and Lq can be seen. This discussion also applies to the single channel-queue figure (4.5.d).

Figure (4.5.d) The relation between λ and (Wq &Wq) in single-channel

47

In Figure (4.5.a) of model 1, change the value of µ while keeping λ fixed to (10.25), and under the same assumptions we used earlier we represent the relation between Wq and Lq versus µ in Figure (4.5.e).

Figure (4.5.e) The relation between µ and (Wq & Lq) in multiple-channel queues while λ is fixed to (10.25). In Figure (4.5.e), when µ increases (λ is fixed) then Wq and Lq will decrease. When µ is less than λ (λ =10.25 > µ=5,….10.125), a great decrease in the value of Wq and Lq can be seen.

48

When µ is greater than λ ( λ =10.25< µ=11,…..18), a slight decrease in the value of Wq and Lq can be seen.

49

Chapter Five Conclusions and Recommendations 5.1 Conclusions
Process simulation in spreadsheet is an easy task and has many benefits, so SimQuick is used in this thesis which is a computer package for process simulation that is easy to learn and inexpensive. Results in table (3.5.1) show a good agreement between queuing theory (analytical solution) and simulation by SimQuick, so SimQuick can be applied for our study and for many real- world applications of queuing systems . The crossing check-point at Beit-eba may have any form of the models 1, 2 or 3 indicated earlier in Figures (4.1.a), (4.1.b) and (4.1.c). The best model among the three is the one with the least average waiting time, where Model 1 resembles the actual crossing check-point, Model 2and Model 3 are two alternative assumed models. Using SimQuick, we found that the best model among the three models is Model 2 using the ratios 20%, 40%, 60%,70% and 80% of λ and µ from the table(Annex A), see Table 4.4.a, Table 4.4.b, Table 4.4.e, Table 4.4.f, and Table 4.4.g . In case of 0% and 100% ratios no conclusion can be made, see Table 4.4.c and Table 4.4.d. These ratios are not realistic and do not compromise our conclusion. Hence, Model 2 is the model that should be applied in reality. Both of multiple-channel queues and single-channel queue have advantages and disadvantages. But the computed results in Table 4.5 show that the

50

single-channel queue is more efficient than the multiple-channel queue using the collected data at Beit-eba crossing check-point, that is the average waiting time for the single chanel-queue is less than the average waiting time for the multiple chanel-queues. We verified that changing λ increasingly and fixing µ to 10.125 will increase the waiting time in the queue and the length of the queue as shown in Figures (4.5.c) and (4.5.d). And verified that changing µ increasingly and fixing λ to 10.25 will decrease the waiting time in the queue and the length of the queue as shown in Figure (4.5.e).

5.2 Recommendations
Results of our study lead to many recommendations: • The single-channel queue should be used instead of the multiplechannels queue. • The simulation of queuing system should be applied to other realworld applications that has waiting lines as: People moving through a bank or post office, telephone calls moving through a call center, parts moving along an assembly line or through a batch process or a job shop …etc. • The study can be carried to another crossing check-point around Nablus City, Howara.

51

References: 1. Discrete-Event Simulation: A First Course, Steve Park, Larry Leemis, College of William and Mary. World Web Page: http://www.google.com/search?hl=ar&q=discrete+event+simulation&lr Accessed date: 18/9/2007 2. DISCRETE–EVE T SIMULATIO OF QUEUI G SYSTEMS,

Zhang Laifu Joel, Ng Wen Wei Jonathan Louis and Tay Seng Chuan, Anglo-Chinese School (Independent), 121 Dover Road, Singapore. World Web Page: http://www.physics.nus.edu.sg/~phytaysc/articles/queue.pdf. Accessed date: 4/8/2007 3. Graphical Spreadsheet Simulation of Queues, Armann Ingolfsson, School of Business, University of Alberta, Edmonton T6G2R6, Canada. World Web Page: http://archive.ite.journal.informs.org/Vol2No2/IngolfssonGrossman/inde x.php . Accessed date: 2/10/2007

4. Hartvigsen David, SIMQUICK: Process Simulation with Excel. Second edition. Mendoza College of Business Administration, University of Notre Dame, New Jersey. 5. Hospital Management Knowledge using Discrete Event Simulation, Bain Christopher A., Raikundalia Getish K., Mehta Snehal,. World Web Page: http://eprints.vu.edu.au/621/1/CRPITV68Bain.pdf. Accessed date: 13/4/2008

52

6. M/M/1 Queuing System, World Web Page: http://www.eventhelix.com/RealtimeMantra/CongestionControl/m_m_q ueue.htm. Accessed date:23/10/2008 7. Modeling and Simulation, Rassul Ayani , professor, Royal Institute of Tecknology,Stockholm,Sweden. 8. OR- otes ,Beasley J E., World Web Page: http://people.brunel.ac.uk/~mastjjb/jeb/or/contents.htm. Accessed date: 3/7/2007 9. Part II: Queuing & Simulation, Lawrence Stephen, Professor, Leeds school of Business, University of Colorado-Boulder. 10. Process Simulation in Excel for a Quantitative Management Course Raymond R. Hill, Department of Operational Sciences, Air Force Institute of Technology Wright-Patterson. World Web Page: http://archive.ite.journal.informs.org/Vol2No3/Hill/Hill.pdf Accessed date: 28/11/2007 11. Queuing etworks, Lecture otes. Muhammad El-Taha, Department of Mathematics and Statistics, University of Southern Main, Portland. http://www.usm.maine.edu/~eltaha/root_queue_07.pdf. Accessed date: 7/4/2008 12. Robinson, S, Discrete-event simulation: from the pioneers to the present, what next?, Journal of the Operational Research Society, Volume 56, Number 6, June 2005, pp. 619-629(11).

53

13. SPREADSHEET MODELI G A D SIMULATIO . IMPROVES U DERSTA DI G OF QUEUES, Thomas A., Grossman Jr., Faculty of Management, University of Calgary, Canada. World Web Page: http://www.acs.ucalgary.ca/~grossman/ubiq.htm. 3/9/2007 14. Systems Simulation: The Shortest Route to Applications, Professor Hussein Arsham . World Web Page: Accessed date:

http://ubmail.ubat.edu/~harsham/simulation/sim.htm. Accessed date: 2/5/2007 15. Taha Hamdy A, (2003), Operations research: An Introduction, Programming (Mathimatics), An-Najah National University, Nablus, Palestine. 16. Wikipedia, The Free Encyclopedia, World Web Page: http://en.wikipedia.org/wiki/computer simulation. Accessed date:14/5/2007 17. Wikipedia, The Free Encyclopedia, World Web Page: http://en.wikipedia.org/wiki/Monte Carlo method. (3/1/2009)

54

Annexes

‫‪55‬‬

‫‪Annex A :‬‬
‫ا ربعاء‬ ‫‪11/3/2008‬‬ ‫‪λ‬‬ ‫‪64‬‬ ‫‪49‬‬ ‫‪52‬‬ ‫‪51‬‬ ‫‪50‬‬ ‫‪45‬‬ ‫‪29‬‬ ‫‪36‬‬ ‫‪29‬‬ ‫‪163 123‬‬ ‫‪42‬‬ ‫‪46‬‬ ‫‪101‬‬ ‫‪98‬‬ ‫‪50‬‬ ‫‪35‬‬ ‫‪146 104‬‬ ‫‪43‬‬ ‫‪46‬‬ ‫‪142 107‬‬ ‫‪57‬‬ ‫‪48‬‬ ‫‪140 127‬‬ ‫‪46‬‬ ‫‪59‬‬ ‫‪149 113‬‬ ‫‪26‬‬ ‫‪45‬‬ ‫‪39‬‬ ‫‪47‬‬ ‫‪65‬‬ ‫‪139 151‬‬ ‫‪46‬‬ ‫‪56‬‬ ‫‪98‬‬ ‫‪105‬‬ ‫‪59‬‬ ‫‪28‬‬ ‫‪50‬‬ ‫‪192 165‬‬ ‫‪42‬‬ ‫‪57‬‬ ‫‪106‬‬ ‫‪94‬‬ ‫‪45‬‬ ‫‪61‬‬ ‫‪35‬‬ ‫‪182 209‬‬ ‫‪64‬‬ ‫‪68‬‬ ‫‪123 160‬‬ ‫‪40‬‬ ‫‪59‬‬ ‫‪63‬‬ ‫‪186 196‬‬ ‫‪36‬‬ ‫‪38‬‬ ‫‪111‬‬ ‫‪96‬‬ ‫‪54‬‬ ‫‪35‬‬ ‫‪62‬‬ ‫‪287 269‬‬ ‫‪56‬‬ ‫‪61‬‬ ‫‪230 224‬‬ ‫‪39‬‬ ‫‪43‬‬ ‫‪307 349 70 52‬‬ ‫‪307 244 43 55‬‬ ‫‪326 303 47 50‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪41‬‬ ‫‪96‬‬ ‫‪98‬‬ ‫‪10/3/2008‬‬ ‫‪9/3/2008‬‬ ‫‪8/3/2008‬‬ ‫‪λ‬‬ ‫‪108‬‬ ‫‪65‬‬ ‫‪116‬‬ ‫‪7:30-7:45‬‬ ‫‪7:45-8:00‬‬ ‫‪8:00-8:15‬‬ ‫‪8:15-8:30‬‬ ‫‪8:30-8:45‬‬ ‫‪223 317 51 45 103 118‬‬ ‫‪226 187 47 35 131 106‬‬ ‫‪271 170 61 50 145 135‬‬ ‫‪8:45-9:00‬‬ ‫‪9:00-9:15‬‬ ‫‪9:15-9:30‬‬ ‫الث ثاء‬ ‫ا ثنين‬ ‫ا حد‬ ‫السبت‬

‫الخميس‬

‫‪13/3/2008‬‬ ‫‪λ‬‬ ‫‪54‬‬ ‫‪42‬‬ ‫‪45‬‬ ‫‪39‬‬ ‫‪71‬‬ ‫‪59‬‬ ‫‪33‬‬ ‫‪55‬‬ ‫‪100‬‬ ‫‪86‬‬ ‫‪105‬‬ ‫‪81‬‬ ‫‪141 128‬‬ ‫‪193 145‬‬ ‫‪218 183‬‬ ‫‪158 190‬‬ ‫‪195 177‬‬ ‫‪311 299‬‬ ‫‪µ‬‬

‫‪12/3/2008‬‬

‫‪µ‬‬

‫‪λ‬‬

‫‪µ‬‬

‫‪λ‬‬

‫‪µ‬‬

‫‪46‬‬

‫‪41‬‬

‫‪300 220‬‬

‫‪57‬‬

‫‪49‬‬

‫‪52‬‬

‫‪155 153‬‬

‫‪35‬‬

‫‪41‬‬

‫‪34‬‬

‫‪173 183‬‬

‫‪40‬‬

‫‪28‬‬

‫‪36‬‬

‫‪160 164‬‬

‫‪31‬‬

‫‪214 186 41 49 136 127‬‬ ‫‪242 243 43 56 147 128‬‬

‫‪53‬‬

‫‪56‬‬

‫‪202 214‬‬

‫‪23‬‬

‫‪53‬‬

‫‪48‬‬

‫‪150 173‬‬

‫‪40‬‬

‫‪31‬‬

‫‪39‬‬

‫‪172 103‬‬

‫‪36‬‬

‫‪41‬‬

‫‪32‬‬

‫‪144 109‬‬

‫‪59‬‬

‫‪71‬‬ ‫‪22‬‬ ‫‪43‬‬ ‫‪20‬‬ ‫‪24‬‬ ‫‪31‬‬ ‫‪39‬‬ ‫‪39‬‬ ‫‪41‬‬ ‫‪171 114‬‬ ‫‪30‬‬ ‫‪186 187‬‬ ‫‪43‬‬ ‫‪41‬‬ ‫‪34‬‬ ‫‪167 205‬‬ ‫‪34‬‬ ‫‪25‬‬ ‫‪127 134‬‬ ‫‪45‬‬ ‫‪44‬‬ ‫‪39‬‬ ‫‪34‬‬ ‫‪36‬‬ ‫‪15‬‬ ‫‪197 141‬‬ ‫‪36‬‬ ‫‪25‬‬ ‫‪52‬‬ ‫‪120‬‬ ‫‪94‬‬ ‫‪25‬‬ ‫‪42‬‬ ‫‪68‬‬ ‫‪136‬‬ ‫‪40‬‬ ‫‪158 195‬‬ ‫‪19‬‬ ‫‪24‬‬ ‫‪106 107‬‬

‫‪168‬‬

‫‪30‬‬

‫‪59‬‬

‫‪94‬‬

‫‪113‬‬

‫‪26‬‬

‫‪25‬‬

‫‪110 129‬‬

‫‪43‬‬

‫‪41‬‬

‫‪121 120‬‬

‫‪28‬‬ ‫‪27‬‬ ‫‪36‬‬ ‫‪40‬‬

‫‪35‬‬ ‫‪26‬‬ ‫‪47‬‬ ‫‪37‬‬

‫‪119 198‬‬ ‫‪102 146‬‬ ‫‪149 101‬‬ ‫‪193 198‬‬

‫‪19‬‬ ‫‪34‬‬ ‫‪31‬‬ ‫‪48‬‬

‫‪23‬‬ ‫‪19‬‬ ‫‪46‬‬ ‫‪24‬‬

‫‪73 61‬‬ ‫‪81 90‬‬ ‫‪47 56‬‬ ‫‪75 72‬‬

‫‪37‬‬ ‫‪63‬‬ ‫‪55‬‬ ‫‪42‬‬

‫‪42‬‬ ‫‪61‬‬ ‫‪43‬‬ ‫‪59‬‬

‫‪1:45-2:00‬‬ ‫‪2:00-2:15‬‬ ‫‪2:15-2:30‬‬ ‫‪2:30-2:45‬‬

‫‪163 277‬‬

‫‪41‬‬

‫‪38‬‬

‫‪115 116‬‬

‫‪199 207‬‬ ‫‪111‬‬

‫‪31‬‬

‫‪25‬‬

‫‪104 124‬‬

‫‪198 139‬‬

‫‪39‬‬

‫‪42‬‬

‫‪99‬‬

‫‪109 145‬‬ ‫‪140 207‬‬ ‫‪148 148‬‬ ‫‪134 136‬‬ ‫‪98‬‬ ‫‪101‬‬

‫‪179 186‬‬

‫‪37‬‬

‫‪33‬‬

‫‪127 122‬‬

‫‪52‬‬ ‫‪30‬‬ ‫‪38‬‬ ‫‪28‬‬

‫‪41‬‬ ‫‪25‬‬ ‫‪41‬‬ ‫‪34‬‬

‫‪206 228‬‬ ‫‪184 136‬‬ ‫‪200 104‬‬ ‫‪148 159‬‬

‫‪23‬‬ ‫‪36‬‬ ‫‪14‬‬ ‫‪32‬‬

‫‪25‬‬ ‫‪13‬‬ ‫‪32‬‬ ‫‪47‬‬

‫‪88 74‬‬ ‫‪70 61‬‬ ‫‪76 50‬‬ ‫‪71 72‬‬

‫‪36‬‬ ‫‪30‬‬ ‫‪37‬‬ ‫‪71‬‬

‫‪37‬‬ ‫‪41‬‬ ‫‪55‬‬ ‫‪32‬‬

‫‪2:45-3:00‬‬ ‫‪3:00-3:15‬‬ ‫‪3:15-3:30‬‬ ‫‪3:30-3:45‬‬

‫‪164 291‬‬

‫‪66‬‬

‫‪76‬‬

‫‪115 103‬‬

‫‪214 269‬‬

‫‪41‬‬

‫‪39‬‬

‫‪122 184‬‬

‫‪257 147‬‬

‫‪41‬‬

‫‪59‬‬

‫‪136 141‬‬

56

Annex B:
2‫ا ربعاء‬ 27/2/2008 λ 52 40 47 32 39 37 47 27 128 78 30 32 135 100 48 29 125 138 113 46 50 150 111 32 45 128 120 67 143 197 32 36 101 85 53 28 185 189 120 113 25 38 189 148 30 22 131 145 40 42 52 40 111 125 43 45 121 170 44 39 130 126 72 83 27 51 23 43 141 131 29 34 139 160 43 18 135 131 48 52 233 201 35 43 139 115 25 27 236 175 61 70 229 198 41 38 173 177 36 62 246 271 53 59 µ λ µ λ µ λ µ λ µ λ µ λ µ λ µ 26/2/2008 25/2/2008 24/2/2008 2‫الث ثاء‬ 2‫ا ثنين‬ 2‫ا حد‬ 2‫السبت‬ 23/2/2008 λ 48 18 28 198 208 54 206 234 41 193 163 45 198 148 34 168 124 42 47 43 51 35 29 µ 36 52 69 77 78 75 86 79 λ 19 64 81 68 85 67 59 67 7:30-7:45 7:45-8:00 8:00-8:15 8:15-8:30 8:30-8:45 8:45-9:00 9:00-9:15 9:15-9:30

2‫الخميس‬

28/2/2008

µ

λ

µ

λ

µ

54

50

241 219

64

241 250 29 239 198 45 192 214 46

34

39

160 130

48

32

27

105 141

24

36

40

268 251

27

46

51

154 114

41

32

36

127 111

32

28

22

117

93

27

29

33

87

80

39

91 73 120 131 115 105 89 98 184 130 39 29 10 119 22 25 12 41 26 22 17 18 21 181 12 16 72 69 39 8 93 126 132

181

36

27

44

95

29

39

81

101 93 106 88 109 102 85 78

32 19 33 17 41 28 38 40

24 19 39 28 36 27 41 32

67 107

102 88 104 134 78 42 105 115 155 120 118 132 96 136

26 31 42 35 35 49 38 29

32 29 43 29 41 32 41 30

60 80 66 93 76 65 96 98

89 83 97 62 86 71 108 87

63 23 45 40 36 55 42 39

52 33 46 59 27 57 46 51

1:45-2:00 2:00-2:15 2:15-2:30 2:30-2:45 2:45-3:00 3:00-3:15 3:15-3:30 3:30-3:45

189 206

56

34

147 205

29

41

172 142

53

51

132 190

61

65

closed
100 111 70

210 254

62

42

220 215

35

46

254 131

62

44

‫‪57‬‬

‫‪Annex C:‬‬
‫ا ربعاء‪3‬‬ ‫‪20/2/2008‬‬ ‫‪µ‬‬ ‫‪51 36‬‬ ‫‪42 45‬‬ ‫‪57 61‬‬ ‫‪43 49‬‬ ‫‪41 23‬‬ ‫‪39 40‬‬ ‫‪31 41‬‬ ‫‪41 58‬‬ ‫‪289‬‬ ‫‪207‬‬ ‫‪192‬‬ ‫‪172‬‬ ‫‪129‬‬ ‫‪115‬‬ ‫‪249‬‬ ‫‪226‬‬ ‫‪261‬‬ ‫‪26‬‬ ‫‪3‬‬ ‫‪232‬‬ ‫‪215‬‬ ‫‪186‬‬ ‫‪151‬‬ ‫‪113‬‬ ‫‪93‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪19/2/2008‬‬ ‫‪18/2/2008‬‬ ‫‪17/02/2008‬‬ ‫الث ثاء‪3‬‬ ‫ا ثنين‪3‬‬ ‫ا حد‪3‬‬ ‫السبت‪3‬‬ ‫‪16/02/2008‬‬ ‫‪λ‬‬ ‫‪µ‬‬ ‫‪λ‬‬ ‫‪7:30-7:45‬‬ ‫‪7:45-8:00‬‬ ‫‪8:00-8:15‬‬ ‫‪8:15-8:30‬‬ ‫‪8:30-8:45‬‬ ‫‪8:45-9:00‬‬ ‫‪9:00-9:15‬‬ ‫‪9:15-9:30‬‬

‫الخميس‪3‬‬

‫‪21/2/2008‬‬

‫‪µ‬‬

‫‪λ‬‬

‫‪µ‬‬

‫‪λ‬‬

‫‪117‬‬ ‫‪99‬‬ ‫‪123‬‬ ‫‪149‬‬ ‫‪145‬‬ ‫‪136‬‬ ‫‪121‬‬ ‫‪127‬‬ ‫‪104 46 30‬‬ ‫‪116 37 47‬‬ ‫‪97 45 51‬‬ ‫‪213 39 13‬‬ ‫‪121 29 62‬‬ ‫‪156 43 25‬‬ ‫‪105 36 37‬‬

‫‪134 32 41‬‬

‫‪43‬‬ ‫‪71‬‬ ‫‪41‬‬ ‫‪78‬‬ ‫‪65‬‬ ‫‪45‬‬ ‫‪97‬‬ ‫‪82‬‬

‫‪73‬‬ ‫‪62‬‬ ‫‪72‬‬ ‫‪75‬‬ ‫‪81‬‬ ‫‪70‬‬ ‫‪66‬‬ ‫‪75‬‬

‫‪42‬‬ ‫‪34‬‬ ‫‪30‬‬ ‫‪51‬‬ ‫‪47‬‬ ‫‪43‬‬ ‫‪33‬‬ ‫‪57‬‬

‫‪37 1:45-2:00‬‬ ‫‪43 2:00-2:15‬‬ ‫‪19 2:15-2:30‬‬ ‫‪42 2:30-2:45‬‬ ‫‪44 2:45-3:00‬‬ ‫‪38 3:00-3:15‬‬ ‫‪59 3:15-3:30‬‬ ‫‪46 3:30-3:45‬‬

58

Annex D: Simulation results for the whole collected data

People arriving to Nablus on Saturday morning, length of the queue vs t

People arriving to Nablus on Saturday morning, waiting time in the queue vs t.

59

People arriving to Nablus on Saturday evening, the length of the queue vs t.

People arriving to Nablus on Saturday evening, waiting time in the queue vs t.

60

Women and men over forty departing Nablus on Saturday morning, length of the queue vs t.

Women and men over forty departing Nablus on Saturday morning, waiting time in the queue vs t.

61

Women and men over forty departing Nablus on Saturday evening, the length of the queue vs t.

Women and men over forty departing Nablus on Saturday evening, waiting time in the queue vs t.

62

Men under forty departing Nablus on Saturday morning, the length of the queue vs t.

Men under forty departing Nablus on Saturday morning, waiting time in the queue vs t.

63

Men under forty departing Nablus on Saturday evening, the length of the queue vs t.

Men under forty departing Nablus on Saturday evening, waiting time in the queue vs t.

64

People arriving to Nablus on Sunday morning, the length of the queue vs t.

People arriving to Nablus on Sunday morning, the waiting time in the queue vs t.

65

People arriving to Nablus on Sunday evening, the length of the queue vs t.

People arriving to Nablus on Sunday evening, waiting time in the queue vs t.

66

Women and men over forty departing Nablus on Sunday morning, the length of the queue vs t.

67

Women and men over forty departing Nablus on Sunday morning, waiting time in the queue vs t.

Women and men over forty departing Nablus on Sunday evening, the length of the queue vs t.

Women and men over forty departing Nablus on Sunday evening, the waiting time in the queue vs t.

68

Men under forty departing Nablus on Sunday morning, the length of the queue vs t.

Men under forty departing Nablus on Sunday morning, waiting time in the queue vs t.

69

Men under forty departing Nablus on Sunday evening, the length of the queue vs t.

Men under forty departing Nablus on Sunday evening, waiting time in the queue vs t.

70

People arriving to Nablus on Monday morning, the length of the queue vs t.

People arriving to Nablus on Monday morning, waiting time in the queue vs t.

71

People arriving to Nablus on Monday evening, the length of the queue vs t

People arriving to Nablus on Monday evening, the waiting time in the queuevs t.

72

Women and men over forty departing on Monday morning, the length of the queue vs t.

Women and men over forty departing on Monday morning, the waiting time in the queue vs t.

73

Women and men over forty departing on Monday evening, the length of the queue vs t.

Women and men over forty departing on Monday evening, waiting time in the queue vs t.

74

Men under forty departing on Monday morning, the length of the queue vs t.

Men under forty departing on Monday morning, waiting time in the queue vs t.

75

Men under forty departing on Monday evening, the length of the queue vs t.

Men under forty departing on Monday evening, waiting time in the queue vs t.

76

People arriving to Nablus on Tuseday morning, the length of the queue vs t.

People arriving to Nablus on Tuseday morning, waiting time in the queue vs t.

77

People arriving to Nablus on Tuseday evening, the length of the queue vs t.

People arriving to Nablus on Tuseday evening, waiting time in the queue vs t.

78

Women and men over forty departing Nablus on Tuseday morning, the length of the queue vs t.

Women and men over forty departing Nablus on Tuseday morning, the waiting time in the queue vs t.

79

Women and men over forty departing Nablus on Tuseday evening, the length of the queue vs t.

Women and men over forty departing Nablus on Tuseday evening, waiting time in the queue vs t.

80

Men under forty departing Nablus on Tuseday morning, the length of the queue vs t.

81

Men under forty departing Nablus on Tuseday morning, waiting time in the queue vs t.

Men under forty departing Nablus on Tuseday evening, the length of the queue vs t.

82

Men under forty departing Nablus on Tuseday evening, waiting time in the queue vs t.

People arriving to Nablus on Wednesday morning, the length of the queue vs t.

83

People arriving to Nablus on Wednesday morning, waiting time in the queue vs t.

People arriving to Nablus on Wednesday morning, the length of the queue vs t.

People arriving to Nablus on Monday evening, waiting time in the queue vs t.

84

Women and men over forty departing Nablus on Wednesday morning, the length of the queue vs t.

Women and men over forty departing Nablus on Wednesday morning, waiting time in the queue vs t.

85

Women and men over forty departing Nablus on Wednesday evening, the length of the queue vs t.

Women and men over forty departing Nablus on Wednesday evening, waiting time in the queue vs t.

86

Men under forty departing on Wednesday morning, the length of the queue vs t.

Men under forty departing on Wednesday morning, waiting time in the queue vs t.

87

Men under forty departing on Wednesday evening, the length of the queue vs t.

Men under forty departing on Wednesday evening, waiting time in the queue vs t.

88

People arriving to Nablus on Thursday morning, the length of the queue vs t.

People arriving to Nablus on Thursday morning, waiting time in the queue vs t.

89

People arriving to Nablus on Thursday evening, the length of the queue vs t.

People arriving to Nablus on Thursday evening, waiting time in the queue vs t.

90

Women and men over forty departing Nablus on Thursday morning, the length of the queue vs t.

Women and men over forty departing Nablus on Thursday morning, waiting time in the queue vs t.

91

Women and men over forty departing Nablus on Thursday evening, the length of the queue vs t.

Women and men over forty departing Nablus on Thursday evening, waiting time in the queue vs t.

92

Men under forty departing Nablus on Thursday morning, the length of the queue vs t.

Men under forty departing Nablus on Thursday evening, waiting time in the queue vs t.

93

Men under forty departing Nablus on Thursday evening, the length of the queue vs t.

Men under forty departing Nablus on Thursday evening, the waiting time in the queue vs t.

‫أ‬

‫جامعة النجاح الوطنية‬ ‫كلية الدراسات العليا‬

‫محاكاة انظمة الطوابير‪ :‬استخدام المحاكاة عند نقطة التفتيش بيت ايبا‬

‫اعداد‬ ‫فاطمة يوسف عبد ﷲ برھم‬

‫اشراف‬ ‫د ‪ .‬محمد نجيب‬ ‫د ‪ .‬لؤي ملحيس‬

‫قدمت ھذه ا طروحة استكما لمتطلبات الحصول على درجة الماجستير في الرياضيات المحوس بة ‪ ،‬بكلي ة‬ ‫الدراسات العليا في جامعة النجاح الوطنية في نابلس ‪ -‬فلسطين‪.‬‬ ‫‪2008‬‬

‫ب‬

‫محاكاة أنظمة الطوابير‬
‫إعداد‬ ‫فاطمة يوسف عبد ﷲ برھم‬ ‫إشراف‬ ‫د‪ .‬محمد نجيب‬ ‫د‪ .‬لؤي ملحيس‬ ‫الملخص‬ ‫ھذه الدراسة "محاكاة انظمة الطوابير" تھدف الى تحديد مقاييس ا داء في الطوابير ) أھمھا مدة ا نتظار في‬ ‫الطابور‪ ،‬و طول الطابور ( عند نقطة التفتيش الموجودة عند بيت ايبا للقادمين و المغادرين لمدينة نابلس ‪.‬‬ ‫ومن اجل تحديد افضل نموذج تمت المقارنة بين نموذجين افتراضيين و النموذج الحقيقي على ارض الواقع‬ ‫باستحدام برنامج لمحاكاة انظمة ا لطوابير " ‪ "SimQuick‬و ھو برنامج يعتمد على برنامج الجدا ول‬ ‫ا لكترونية اكسل ‪.‬‬ ‫ومن اجل التأكد من صحة النتائج التي حصلنا عليھا ‪ ،‬تم طرح مشكلة افتراضية في انظمة الطوابير في‬ ‫البداية ‪ ،‬ثم حلھا او باستخدام نظرية الطوابير التي تعتمد على صيغ رياضية ‪ ،‬و ثانيا باستخدام محاكاة‬ ‫انظمة الطوابير و التي تعتمد على برنامج الكمبيوتر "‪ ، " SimQuick‬و كانت النتائج متقاربة بشكل جيد ‪.‬‬

‫‪ "single‬اكثرفاعلية من "‬

‫ھذه الدراسة خلصت الى ان استخدام النظام المسمى " ‪channel-queue‬‬ ‫‪. "multiple channel-queue‬‬

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close