| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The materials in this repo provide a Python implementation of the Replications Algorithm to automatically select the no. of replications for a Discrete-Event Simulation.
The main tutorial can be found in the automated_reps.ipynb notebook.
The materials have been made available under an MIT license. The materials are as-is with no liability for the author. Please provide credit if you reuse the code in your own work.
Please feel free to use or adapt the code for your own work. But if so then a citation would be very much appreciated!
@software{The_replications_algorithm,
author = {Monks, Thomas },
license = {MIT},
title = {{The replications algorithm for DES in Python}},
url = {https://github.com/TheOpenScienceNerd/replications-algorithm}
}All dependencies can be found in binder/environment.yml and are pulled from conda-forge. To run the code locally, we recommend installing miniforge;
miniforge is Free and Open Source Software (FOSS) alternative to Anaconda and miniconda that uses conda-forge as the default channel for packages. It installs both conda and mamba (a drop in replacement for conda) package managers. We recommend mamba for faster resolving of dependencies and installation of packages.
navigating your terminal (or cmd prompt) to the directory containing the repo and issuing the following command:
mamba env create -f binder/environment.ymlActivate the mamba environment using the following command:
mamba activate rep_algRun Jupyter-lab
jupyter-lab. ├── binder │ └── environment.yml ├── callcentresim │ ├── __init__.py │ ├── model.py │ └── output_analysis.py ├── CHANGELOG.md ├── CITATION.cff ├── LICENSE ├── images │ └── ... ├── automated_reps.ipynb ├── README.md └── rep_utility.py
| Back | FazBrowse Home | New Git URL |