DES RAP Book and four worked examples

Authors
Affiliations

Amy Heather

University of Exeter Medical School

Thomas Monks

University of Exeter Medical School

Alison Harper

University of Exeter Business School

Fatemeh Alidoost

University of Exeter Business School

Robert Challen

School of Engineering Mathematics and Technology, University of Bristol

Navonil Mustafee

University of Exeter Business School

Summary

We have developed the DES RAP Book, a practical guide that teaches users how to build reproducible discrete-event simulation models (DES) that fit into a reproducible analytical pipeline (RAP), with tips that benefit all types of models and analysis.

Key features include:

  • Dual Implementation: Every concept is demonstrated with working code examples in both Python (SimPy) and R (simmer), allowing you to learn in your preferred language.

  • Example repositories: The book includes practical case studies like M/M/s queueing models and a stroke capacity planning model, implementing all the book recommendations and available as separate GitHub repositories.

  • Built on Research: Follows the STARS reproducibility recommendations and the NHS RAP Community of Practice Levels of RAP.

  • Interactive Learning: Structured as a Quarto website with searchable content, code examples you can copy, and clear explanations suitable for beginners through advanced users.

Websites and GitHub repositories

DES RAP Book:  

Python M/M/s queueing model:  

R M/M/s queueing model:  

Python stroke model:  

R stroke model:  

Preview e-book


Publications

In development!


This page was written by Amy Heather and reflects her interpretation of this work, which may not fully represent the views of all project authors or affiliated institutions.