Reproducible analytical pipelines for healthcare discrete‑event simulation: An open guide and worked examples

Reproducible
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

Thomas Slater

Department of Mathematics and Statistics, University of Exeter

Navonil Mustafee

University of Exeter Business School

Published

16 Jun 2026

Doi
Journal
NIHR Open Research

Abstract

Discrete-event simulation (DES) is a popular technique for exploring problems in healthcare. For these models to be reused and have lasting impact, they need to be reproducible, transparent and well structured. Reproducible analytical pipeline (RAP) approaches are structured robust workflows that ensure analyses can be reproduced. They have emerged as best practice, but modellers struggle to implement them due to gaps in accessible guidance, skills, and time. This paper presents an integrated set of resources designed to help modellers bridge this implementation gap: an open-access e-book and four worked example repositories demonstrating complete RAP workflows for DES in both Python and R. The online book provides step-by-step guidance through nine major sections covering introductory material, project set-up, model inputs, model building, output analysis, experimentation, verification and validation, style and documentation, and collaboration and sharing. The case studies demonstrate varying complexity: a classic M/M/s queueing model, and a replication of a stroke care pathway model. The worked examples serve dual purposes: they demonstrate that RAP principles are achievable for healthcare DES models (from canonical queueing systems to real-world clinical pathways), and they provide templates that modelling teams can adopt and adapt within routine decision-support projects. ## Research artefacts

➤    View research summary and artefacts

Article

Citation

BibTeX citation:
@article{heather2026,
  author = {Heather, Amy and Monks, Thomas and Harper, Alison and
    Alidoost, Fatemeh and Challen, Robert and Slater, Thomas and
    Mustafee, Navonil},
  title = {Reproducible Analytical Pipelines for Healthcare
    Discrete‑event Simulation: {An} Open Guide and Worked Examples},
  journal = {NIHR Open Research},
  date = {2026-06-16},
  url = {https://pythonhealthdatascience.github.io/stars/pages/publications/2026/heather2026reproducible/},
  doi = {10.3310/nihropenres.14296.1},
  langid = {en}
}
For attribution, please cite this work as:
Heather, Amy, Thomas Monks, Alison Harper, Fatemeh Alidoost, Robert Challen, Thomas Slater, and Navonil Mustafee. 2026. “Reproducible Analytical Pipelines for Healthcare Discrete‑event Simulation: An Open Guide and Worked Examples.” NIHR Open Research, June. https://doi.org/10.3310/nihropenres.14296.1.