~/talk

Simulations in Python: Discrete Event Simulation with SimPy

Talkat PyData NYC 2022 · 2022-11-09..11-11· [machine-learning]
links:none on file
slides:none on file

Builds an M/M/1 queue in SimPy + simpy_helpers inside a Jupyter notebook, using numpy draws for exponential interarrival and service times (mean service 20) and running about 200 entities through a single-capacity server. Measures total, waiting and service times, compares random seeds 34 and 35, and plots histograms and queue size over time. Implements a priority flag so priority customers wait less, and the code runs and produces the reported metrics.

AI-written summary · about

  1. 0:00Python simulations with SimPy
  2. 1:06What is simulation?
  3. 2:53Types of simulations
  4. 5:00Discrete event simulation
  5. 7:06Queuing theory basics
  6. 11:19M/M/1 queuing model
  7. 16:37Simulation model components
  8. 20:53Theory questions
  9. 23:02Introducing SimPy
  10. 26:20Setting up environment
  11. 28:09Defining entities
  12. 33:03Resources and service times
  13. 34:30Source and generation
  14. 36:38Running simulation
  15. 39:08Analyzing outputs
  16. 42:46Summary & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.