Académique Documents
Professionnel Documents
Culture Documents
Computer Simulation in
Management Science
Fifth Edition
Michael Pidd
Department of Management Science
The Management School
Lancaster University
A -DoI
M^
Contents
XV
3
^
^
5
5
^
7
7
8
9
10/
^^
10
11
11
15
2
If^
^"^
^
'='
A variety
2 1
22
''
of modelling approaches
General considerations
Time handling
2 2 1 Time slicing
2 T 2 Next-event technique
2 2 1 Time slicing or next event?
f / r t t T r S S l t i o n : a time-slicing example
2 J . 2 Stochastic simulation
15
15
15
17
18
18
19
1^
CONTENTS
2.4
25
26
26
27
27
28
29
3.1
29
29
30
30
32
32
33
35
35
36
37
38
39
40
41
42
43
43
44
45
4.1
Basic ideas
4.1.1 Risk and uncertainty
4.1.2 The replacement problem: a reprise
4.1.3 Static Monte Carlo simulation defined
4.2 Some important considerations
4.2.1 Subjective probabilities
4.2.2 Repeatability
4.3 Some simple static simulations
4.3.1 The loan repayment
4.3.2 An investment decision
4.4 Simulation on spreadsheets
Exercises
References
45
45
46
47
49
49
50
51
51
^^
59
CONTENTS
PART II:
5
vii
61
Discrete e v e n t m o d e l l i n g
63
5.1
5.2
Fundamentals
Terminology
5.2.1 Objects of the system
5.2.2 The organization of entities
5.2.3 Operations of the entities
5.3 Activity cycle diagrams
5.3.1 Example 1: a simple job shop
5.3.2 Example 2: the harassed booking clerk
5.3.3 Example 3: the delivery depot
5.3.4 Using the activity cycle diagram
5.4 Activity cycle diagrams: a caveat
Exercises
References
63
63
64
65
65
66
68
71
74
77
78
79
81
83
6.1
83
Introduction
6.1.1 Why understand how simulation software is
organized.^
6.1.2 Simulation executives in more detail
6.1.3 Application logic
6.2 The three-phase approach
6.2.1 Bs
6.2.2 Cs
6.2.3 The exception to the general rule
6.2.4 Bs and Cs in the harassed booking clerk problem
6.2.5 Another example: a T-junction
6.3 How the three-phase approach works
6.3.1 The A phase
6.3.2 The B phase
6.3.3 The C phase
6.4 The harassed booking clerka manual three-phase
simulation
6.4.1 The first A phase
6.4.2 The first B phase
6.4.3 The first C phase
6.4.4 The second A phase
6.4.5 The next B and C phases
6.4.6 The third A phase
6.4.7 The third B phase
6 5 The event-based world view
6.5.1 Events in the harassed booking clerk problem
6.5.2 Event-based executives
^^
84
^^
^^
85
86
^^
S8
89
90
92
^^
^^
93
^^
^^
^^
^^
^^
^^
^^
^^
^
99
CONTENTS
6.6
100
100
101
101
102
103
104
105
105
106
108
109
7.1
Introduction
109
7.1.1 The basic structure of the library
110
7.2 Inside the executive
111
7.2.1 The control array
112
7.2.2 Using the control array to operate a three-phase
112
simulation
113
7.3 The Visual Basic implementation
113
7.3.1 Some comments on Visual Basic
114
7.3.2 The variables and their types
116
7.3.3 The A phase
118
7.3.4 The B phase
119
7.3.5 The C phase
119
7.3.6 Running the simulation
7.4 Using VBSim to simulate the harassed booking clerk problem 120
120
7.4.1 Entities, Bs and Cs
121
7.4.2 Personal enquirers and phone calls arrive
123
7.4.3 The end of personal service and phone calls
124
7.4.4 Observations
124
7.4.5 TheCs
125
7.4.6 Initialization and finalization
126
7.5 Putting it all together
127
Exercises
128
References
Basic ideas
8.1.1 Visual interactive modelling (VIM)
8.1.2 Visual simulation output
8.1.3 Interaction
8 1.4 A caveat
8 2 Designing a visual simulation display
8.2.1 Iconic displays
129
129
129
130
131
132
132
133
CONTENTS
8.3
8.2.2
8.2.3
VIMS
8.3.1
8.3.2
8.3.3
Logical displays
Chart displays
ix
134
135
136
136
138
145
146
146
146
149
9.1
9.2
9.3
9.4
9.5
9.6
9.7
General principals
A quick overview of discrete simulation software
VIMS and their relatives
9.3.1 VIMSa reprise
9.3.2 Block diagram systems
9.3.3 VIMS and block diagram systems
Programming using a general purpose language
9.4.1 Pros and cons
9.4.2 Libraries and component-based software
Programming approaches using simulation languages
9.5.1 Common features of simulation languages
9.5.2 An example: SIMSCRIPTIL5
Layered systems and application templates
9.6.1 Layered systems
9.6.2 Application templates
Appraising simulation software: some principles
9.7.1 The type of application
9.7.2 The expectations for end use
9.7.3 Knowledge, computing policy and user support
9.7.4
9.8 Which
9.8.1
9.8.2
References
Price
to choose.? Horses for courses
VIMS
Simulation languages
10 Sampling methods
10.1 Basic ideas
10.1.1 General principles of random samplmg
10.1.2 Top-hat sampling
140
143
149
150
151
151
152
157
158
158
159
161
162
163
168
^68
169
169
169
170
170
171
172
172
172
^^^
175
175
175
^^^
CONTENTS
lyg
179
I79
I79
18Q
181
182
182
184
185
185
186
187
187
188
188
188
189
189
192
193
193
193
194
196
197
198
199
200
201
201
202
203
204
207
207
207
208
209
210
210
210
212
213
CONTENTS
XI
214
215
215
216
217
218
218
219
220
222
223
225
226
226
227
228
228
229
231
231
233
233
233
234
235
236
237
237
238
239
240
240
240
241
241
242
242
242
243
244
245
245
246
246
246
CONfTENTS
247
249
249
249
250
251
251
253
255
255
256
257
258
258
259
260
261
263
263
264
265
266
267
268
269
270
272
272
272
274
274
275
276
277
277
279
279
279
280
280
283
CONTENTS
xiii
284
285
286
287
288
288
288
288
289
290
290
291
292
292
293
293
294
294
295
295
Index
297