Ever wondered how to tackle complex problems with simulations? Tired of expensive, inflexible software? Welcome to Simulation in Python with SimPy, your practical, down-to-earth guide to discrete-event simulation.
Perfect for engineers, scientists, analysts - or anyone fed up with proprietary simulation tools - this book gives you everything you need to build effective and insightful simulations using Python and SimPy.
Here's what's
Clear explanations of essential SimPy concepts, without the jargon.Step-by-step examples for simulating real-world scenarios, from simple queues to complex multi-resource operations.Advanced but approachable techniques, including priority resources, Monte Carlo simulations, and factorial analysis - explained with real-world context.Sensible tips on collecting, analysing, and visualising simulation data, so you can clearly communicate your findings.A straightforward comparison between using classes versus functions, helping you keep your code clean, modular, and manageable.Plenty of downloadable code examples you can actually use (no more copy-pasting from PDFs!).This isn't a textbook - it's your friendly guide to getting stuff done. Learn SimPy, simplify your modelling, and make better decisions today.
I wrote this book but I'll leave a couple of testimonials here:
"I have worked extensively with simulation tools throughout my career. Harry's guide to SimPy provided clarity and practical insights beyond what I’ve encountered in official documentation. I believe this guide will be highly valuable to professionals and researchers alike."
György Lipovszki, Associate Professor (retd) of Simulation, Computer Controlled Systems and Signal Processing
"I really enjoyed reading your guide as it provides really structured overview especially compared to SimPy's own documentation. Cannot wait to see more of your guides."
This is a great primer to discrete event simulation with simpy. I suggest starting here rather than simpy documentation since there are more practical examples covered here.