Memuat
Memuat
Monte Carlo Simulation for Geography and Disaster Studies
0 views
Find the best values of number of shelters and shelter capacity to optimise total evacuation travel time with Monte Carlo Simulation, then compare the resulting scenarios. Monte Carlo simulation uses repeated random sampling to estimate the distribution of a model's output under uncertainty. It suits risk analysis, parameter uncertainty, and event probabilities that are hard to compute analytically.

Find the best values of number of shelters and shelter capacity to optimise total evacuation travel time with Monte Carlo Simulation, then compare the resulting scenarios.
| Role | Variable | Unit |
|---|---|---|
| Main | Total evacuation travel time | min |
| Supporting 1 | Number of shelters | - |
| Supporting 2 | Shelter capacity | jiwa |
A 10000-draw Monte Carlo run gives Total evacuation travel time a mean of 49.88 (SD 8.50), a P5-P95 range of 37.53 to 64.61, and a 30.0% chance of exceeding the threshold.
Computed from illustrative synthetic data, not from a real study.
Monte Carlo simulation uses repeated random sampling to estimate the distribution of a model's output under uncertainty. It suits risk analysis, parameter uncertainty, and event probabilities that are hard to compute analytically.
Report the mean, percentile interval (for example 5 to 95), event probability, and number of runs. Include a convergence plot to show results are stable.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
import numpy as np
import matplotlib.pyplot as plt
rng = np.random.default_rng(30)
N = 20000
# Uncertain inputs: demand, unit price and unit cost
number_of_shelters = rng.normal(1000, 150, N) # demand
shelter_capacity = rng.triangular(8, 10, 13, N) # price
cost = rng.uniform(5, 8, N)
total_evacuation_travel_time = number_of_shelters * (shelter_capacity - cost) - 2000 # profit
print("Mean profit:", round(total_evacuation_travel_time.mean(), 1))
print("Std:", round(total_evacuation_travel_time.std(ddof=1), 1))
print("5th / 95th percentile:", np.percentile(total_evacuation_travel_time, [5, 95]).round(1))
print("P(profit < 0):", round((total_evacuation_travel_time < 0).mean(), 4))
running = np.cumsum(total_evacuation_travel_time) / np.arange(1, N + 1)
fig, ax = plt.subplots(1, 2, figsize=(10, 4))
ax[0].hist(total_evacuation_travel_time, bins=60)
ax[0].axvline(0, color="r"); ax[0].set_xlabel("Profit")
ax[1].plot(running); ax[1].set_xlabel("Runs"); ax[1].set_ylabel("Running mean")
plt.tight_layout()
plt.show()Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$19
excl. 11% VAT
Duration: 5 working days
Output: Python files + result figures
Deliverables
Package 2 · most chosen
US$56
excl. 11% VAT
Duration: 9 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$128
excl. 11% VAT
Duration: 14-17 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. Monte Carlo Simulation is commonly used at this level in Geography and Disaster Studies. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output Python gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$19, Package 2 (your data analysis and interpretation) US$56 and Package 3 (full guidance) US$128, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. Python is a trademark of the Python Software Foundation.
Back to Python portfolio