23-Ind-A6 Systems Simulation · May 2018
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
National Exams — May 2018 — 17-Ind-A6 Systems Simulation. Three-hour, closed-book exam; one of two permitted calculators (Sharp or Casio), one 8.5″×11.0″ aid sheet (both sides). Format: three sections — Section A (four concept questions, candidates choose any two, 10 marks each, 20 marks total), Section B (three methods questions built around one continuing warehouse-simulation case study, candidates choose any two, 15 marks each, 30 marks total), Section C (two applications questions, candidates choose any one, 20 marks each). All nine questions are solved below for completeness. Two source anomalies are flagged where they occur: the front-page summary table states Section A is "Do 2 of 3," while Section A's own instructions and its four printed question sets read "two of the following four" — the printed four-question section is answered in full here; and Part C Question 2's sub-parts (a)–(c) are never printed anywhere in the paper, even though the results text for (d)–(f) explicitly refers back to "the factorial design matrix in (a)." Two-page Normal-distribution tables were supplied with the exam; the values below are the same table values obtained by direct computation.
Reference texts: Banks, Carson, Nelson & Nicol, Discrete-Event System Simulation (5th ed., Pearson) — random-number/random-variate generation, input modeling and goodness-of-fit testing, output analysis (warm-up, replication length, batch means vs. replication/deletion), and comparing alternative systems; Montgomery, Design and Analysis of Experiments (current ed., Wiley) — single-factor ANOVA, multiple comparisons, and 2k factorial designs with interaction analysis (Part C).
Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.
Given. Ten pilot replications of 30 simulated days each, total throughput per replication:
| Rep | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Throughput | 3500 | 3851 | 4522 | 4756 | 4872 | 4020 | 4618 | 4968 | 4632 | 4548 |
Find. (a) proof that 30 days is an insufficient run length; (b) an algorithm for determining a proper run length; (c) batch means vs. replication/deletion, compared; (d) whether switching to replication/deletion at 30 days would solve (a).
Approach. Form a 95% CI on the pilot mean and judge its relative precision against a standard target; from there, prose covers the sequential-length algorithm, the strategy comparison, and the (d) conclusion.
| Strategy | Implementation | Advantage | Disadvantage |
|---|---|---|---|
| Batch means | one long run; delete warm-up once; split the remaining output into contiguous batches; treat batch averages as approximately independent | only one warm-up ever discarded — efficient use of simulated time | batches can remain autocorrelated unless long enough; batch size must be chosen carefully |
| Replication/deletion | several independent runs (separate random-number streams); delete warm-up in EACH run; average the post-warm-up portion of each | replicate means are independent by construction — ordinary $t$-based CI applies directly; trivially parallelizable | re-runs (and re-discards) the warm-up in every replication — wastes computation relative to batch means |
| Item | Result |
|---|---|
| (a) 95% CI, relative precision | $4428.7\pm342.1$ (7.7%) — exceeds a 5% target — insufficient |
| (b) fix | sequential relative-precision procedure, extend length and/or replications |
| (d) does relication/deletion @ 30d solve (a)? | No — independence was never the problem; length is |