# SA421 — Simulation Modeling

## Spring 2013

#### Asst. Prof. Nelson Uhan

### Announcements

**Apr 8**The schedule for the rest of the semester is here.**Mar 27**Exam 2 is on Wednesday April 3. See below for more information.**Feb 22**Information on the project is now available; see below. The first project milestone – problem definition and initial model ideas – is due on March 8.**Feb 6**Exam 1 is on Wednesday February 13. See below for more information.

### General information

### Textbook

Note: Now that the semester is over, I have taken down the textbook.

Available only within USNA.

- Title page
- Contents
- Chapter 1: Introduction to simulation
- Chapter 2: Random numbers
- Chapter 3: Random variate generation
- Chapter 4: Introduction to ProModel
- Chapter 5: Empirical distributions and attributes
- Chapter 6: Processing and initial state
- Chapter 7: Trace, multiple runs and background graphics
- Chapter 8: Model parameters and scenarios
- Chapter 9: SPLIT and COMBINE statements
- Chapter 10: Path networks, resources, and the JOIN command
- Chapter 11: Input data analysis
- Chapter 12: Verification, validation, and model testing
- Chapter 13: Output data analysis
- Appendix B: The exponential distribution and the Poisson process

### Homework

Note: Now that the semester is over, I have taken down the homework solutions.

- Jan 8: 1.1a
- Jan 9: 1.1b
- Jan 11: 1.1c
- Jan 14: none
- Jan 16: 1.1def. Parts e and f should start with "Using your results from part d..."
- Jan 18: 1.2 [solutions]
- Jan 23: 2.1-2.4
- Jan 25: 2.5. Generate 200 random numbers and use subintervals of length 0.05 instead.
- Jan 28: 2.6, 2.7
- Jan 30: finish the problem in Lesson 10
- Feb 1: 3.2, 3.3
- Feb 4: 3.5, 3.6, 3.8, 3.9
- Feb 6: none
- Feb 8: 3.10
- Feb 15: 4.1a [solution ProModel file]
- Feb 20: 4.1b [solution ProModel file]
- Feb 22: 5.1 [solution ProModel file]
- Feb 25: 6.1 [solution ProModel file]
- Mar 4: 7.1 [solution ProModel file]
- Mar 6: 8.1 [solution ProModel file] Note this is almost identical to 5.1, except that it sets up scenarios for different numbers of butchers.
- Mar 18: 9.1 [solution ProModel file]
- Mar 20: 9.3 [solution ProModel file] Read the comments in the Processing table carefully.
- Mar 22: 10.1 [solution ProModel file]
- Mar 25: 11.2

### Lesson notes

- 1. Introduction to simulation (Jan 8)
- 2. Simulation using Excel (Jan 9) [Excel file]
- 3. Performance measures (Jan 11) [Excel file]
- 4. Sample mean, sample variance, confidence intervals (Jan 14)
- 5. Replications in Excel (Jan 16) [Excel file]
- 6. An example (Jan 18) [Excel file]
- 7. Random number generation (Jan 23) [Excel file, completed Excel file]
- 8. Chi-squared test for uniformity (Jan 25) [Excel file]
- 9. Kolmogorov-Smirnov test for uniformity, testing for independence (Jan 28) [Excel file]
- 10. A diversion (Jan 30) [Excel file, completed Excel file]
- 11. Random variate generation and the inverse transform method (Feb 1)
- 12. Chi-square goodness-of-fit test (Feb 4) [Excel file]
- 13. An application (Feb 6) [completed Excel file]
- 14. Using random numbers to estimate area (Feb 8) [Excel file]
- 15. Introduction to ProModel (Feb 15)
- 16. Global variables in ProModel (Feb 20) [ProModel file]
- 17. Attributes and user-defined distributions in ProModel (Feb 22) [ProModel file]
- 18. Advanced routing (Feb 25) [first ProModel file, second ProModel file]
- 19. Basic ProModel review (Feb 27, Mar 1) [solutions, solution ProModel file]
- 20. Trace, streams, and replications (Mar 4) [ProModel file]
- 21. Model parameters and scenarios (Mar 6) [ProModel file]
- 22. More ProModel review (Mar 8) [solution ProModel file]
- 23. COMBINE and SPLIT statements (Mar 18) [first ProModel file, second ProModel file]
- 24. Path networks and resources (Mar 20) [ProModel file]
- 25. Advanced ProModel review (Mar 22) [ProModel file, completed ProModel file]
- 26. Input data analysis (Mar 25) [Excel file]
- 27. Input data analysis, cont. (Mar 27) [Excel file]
- 28. Model testing and output data analysis (Mar 29) [ProModel file]

### Quizzes

Note: Now that the semester is over, I have taken down the quiz solutions.

- 1. Jan 16 [Excel file, solutions, solution Excel file]
- 2. Jan 23 [Excel file, solutions, solution Excel file]
- 3. Jan 30 [Excel file, solutions]
- 4. Feb 7 [solutions, solution Excel file]
- 5. Feb 20 - not really a quiz
- 6. Feb 27 - see Lesson 19
- 7. Mar 6 [ProModel file, solutions, solution ProModel file]
- 8. Mar 27 [ProModel file, solutions]

### Exams

Note: Now that the semester is over, I have taken down the exam solutions.

- Exam 1 (Feb 11)
- Information
- Excel file
- Solutions, solution Excel file
- Exam 2 (Apr 3)
- Information
- Excel file
- Solutions: Excel file, ProModel file for 1a, ProModel file for 1b, ProModel file for 3
- Final Exam (May 3)