CMP338 Simulation and Modeling

Simulation and Modeling notes

6 chapter notes, in syllabus order. Each starts with the key points.

Unit 1 · 6 hrs

Simulation Basics: Definitions, Types, Models & ApplicationsUnit 1 of Simulation and Modeling introduces core concepts of simulation—its definition, types (discrete vs. continuous), key components (models, experiments, and validation), and real-world applications in engineering, business, and daily life. Learn how simulations replicate real systems to analyze behavior without p9 min read

Unit 2 · 7 hrs

Continuous vs. Discrete Systems: Models, Equations & SimulationUnit 2 of Simulation and Modeling explores how continuous systems (like fluid flow or pendulums) and discrete systems (like traffic queues or digital circuits) are mathematically modeled, simulated, and analyzed using differential equations, difference equations, and state-space representations.10 min read

Unit 3 · 6 hrs

Queuing Systems: Models, Metrics & ApplicationsUnit 3 of Simulation and Modeling explores queuing theory fundamentals—arrival processes, service mechanisms, performance metrics (Little’s Law, utilization), and real-world applications in computer systems, banking, and logistics. Learn to model M/M/1, M/M/c, and priority queues, then analyze their efficiency under di12 min read

Unit 4 · 2 hrs

Markov Chains · note coming

Unit 5 · 7 hrs

Random Numbers: Generation, Testing, and ApplicationsUnit 5 of Simulation and Modeling explores the generation, testing, and application of random numbers in simulations, covering pseudo-random number generators (PRNGs), statistical tests, and real-world use cases like Monte Carlo simulations and cryptography.6 min read

Unit 6 · 4 hrs

Verification and Validation · note coming

Unit 7 · 4 hrs

Simulation Output Analysis: Confidence Intervals, Hypothesis Testing & Steady-State DetectionUnit 7 of Simulation and Modeling covers how to analyze simulation results statistically—confidence intervals, hypothesis testing, steady-state detection, and output data analysis—with real-world applications in queueing systems, financial models, and system performance evaluation.6 min read

Unit 8 · 9 hrs

Computer System Simulation: Models, Queues & PerformanceUnit 8 of Simulation and Modeling explores how to model CPU scheduling, memory allocation, network traffic, and I/O bottlenecks using discrete-event simulation, queueing theory, and probabilistic workloads—with real-world ties to cloud servers, gaming engines, and Nepal’s NTC network.13 min read