6 Monte Carlo Simulation Methods

Simulation and Modeling · Unit 6

Monte Carlo Simulation Methods

Exam-focused notes for Monte Carlo Simulation Methods (Simulation and Modeling, BIT407): what the TU syllabus asks and how it has actually been tested, with 1 solved past questions from this unit.

Monte Carlo Simulation Methods in short

Some systems have so much random behaviour that no formula can describe them. The Monte Carlo method solves such problems by trying them many times with random numbers and averaging the outcomes.

Monte Carlo Simulation Methods: notes

Monte Carlo simulation principles

Monte Carlo simulation is a method that uses repeated random sampling to estimate a quantity or to study a system with random inputs. The name comes from the casino town, because chance drives the method.

The method works because of the law of large numbers. The average of many random trials gets closer to the true expected value as the number of trials grows. The error falls roughly in proportion to $\frac{1}{\sqrt{N}}$. So 100 trials give an error scale of 0.1, and 10,000 trials give 0.01.

The general procedure:

  • Describe the system and the random quantities in it.
  • Find or choose a probability distribution for each random input.
  • Generate random numbers and turn them into values of the inputs.
  • Compute the output for each trial.
  • Repeat many times, then find the mean, spread, and confidence interval of the output.

Monte Carlo is a static simulation, since time is usually not important. It differs from discrete event simulation, which follows a system through time.

Example: to estimate $\pi$, pick random points in a unit square. The share that falls inside the quarter circle is about $\frac{\pi}{4}$. So $\pi$ is about four times that share.

What this unit covers

  • Monte Carlo simulation principles
  • Random number generation
  • Monte Carlo method applications
  • Probability and statistical foundations
  • Monte Carlo examples and case studies

Monte Carlo simulation principles

0 · 5 marks

Describe how Monte Carlo simulation method is used in simulation? [5]

Show solved answer

Monte Carlo Simulation Method in Simulation

Definition and Concept

Monte Carlo simulation is a computational technique that uses random sampling and statistical analysis to model and solve complex problems. It relies on repeated random sampling to obtain numerical results for systems that are difficult or impossible to solve analytically.

Key Characteristics

1. Random Sampling

  • The method generates random numbers or random samples from probability distributions
  • These samples represent uncertain variables in the system being modeled
  • Multiple iterations (thousands or millions) are performed to build a statistical picture

2. Probabilistic Modeling

  • Uncertain parameters are represented as probability distributions rather than fixed values
  • Each simulation run uses different random values drawn from these distributions
  • This captures the range of possible outcomes

How It Works in Simulation

Step-by-step process:

  1. Define the Model - Identify the system, variables, and relationships
  2. Specify Probability Distributions - Assign distributions to uncertain inputs (normal, uniform, exponential, etc.)
  3. Generate Random Samples - Use random number generators to sample from these distributions
  4. Run Simulation - Execute the model with sampled values to get an output
  5. Repeat - Perform many iterations (N times, where N is large)
  6. Analyze Results - Collect all outputs and compute statistics (mean, variance, percentiles, confidence intervals)

Applications

  • Risk Analysis - Evaluating project completion times, cost overruns
  • Financial Modeling - Stock price predictions, portfolio analysis
  • Engineering - System reliability and performance under uncertainty
  • Queuing Systems - Analyzing waiting times and resource utilization

Advantages

  • Handles complex, nonlinear systems effectively
  • Provides probability distributions of outcomes, not just point estimates
  • Flexible and applicable to diverse problem domains

Note: Since reference notes were not provided for this topic, this answer draws from standard simulation methodology taught in computer science curricula.

Open this answer on its own page →