Preface#
Welcome to a short method tutorial for building free and open source computer simulation models in python using simpy
and streamlit
.
Free and open source software (FOSS)
Most people are familiar with “open source” software. The “free” in FOSS is less well understood. It standands for “freedom” as opposed to price. In general, the license associated with FOSS provides users the freedom to use, adapt and distribute copies of their own software to benefit others. All the software used in this tutorial is FOSS.
Where to start#
Please follow the instructions to install python and setup the
conda
virtual environment on your own machine.Checkout the background reading
Citation#
We have a journal article that accompanies this online book published in NIHR open research: https://openresearch.nihr.ac.uk/articles/3-48
Monks T and Harper A. Improving the usability of open health service delivery simulation models using Python and web apps [version 1; peer review: 1 approved, 2 approved with reservations]. NIHR Open Res 2023, 3:48 (https://doi.org/10.3310/nihropenres.13467.1)
@article{monksharper2023improving,
title={Improving the usability of open health service delivery simulation models using Python and web apps},
author={Monks, T and Harper, A},
journal={NIHR Open Research},
volume={3},
pages={48},
year={2023},
url={https://doi.org/10.3310/nihropenres.13467.1},
doi={10.3310/nihropenres.13467.1},
note={Version 1; Peer Review: 1 Approved, 2 Approved with Reservations}
}
To reference the code in this book please use the following citation
Monks, Thomas, & Harper, Alison. (2023). SimPy and StreamLit Tutorial Materials for Healthcare Discrete-Event Simulation (v1.1.0). Zenodo. https://doi.org/10.5281/zenodo.8159080
@software{monks_thomas_2023_8193001,
author = {Monks, Thomas and
Harper, Alison},
title = {{SimPy and StreamLit Tutorial Materials for
Healthcare Discrete-Event Simulation}},
month = jul,
year = 2023,
publisher = {Zenodo},
version = {v1.1.2},
doi = {10.5281/zenodo.8193001},
url = {https://doi.org/10.5281/zenodo.8193001}
}
We would appreciate a citation to both artefacts thank you! :)