{"id":21293326,"url":"https://github.com/ejw-data/sim-queue","last_synced_at":"2026-07-02T20:33:52.784Z","repository":{"id":182115198,"uuid":"667970955","full_name":"ejw-data/sim-queue","owner":"ejw-data","description":"Basic waiting line queuing system ","archived":false,"fork":false,"pushed_at":"2023-07-21T06:35:48.000Z","size":979,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T06:47:09.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ejw-data.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-18T18:02:32.000Z","updated_at":"2023-07-19T01:01:08.000Z","dependencies_parsed_at":"2025-01-22T06:51:11.797Z","dependency_job_id":null,"html_url":"https://github.com/ejw-data/sim-queue","commit_stats":null,"previous_names":["ejw-data/sim-queue"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejw-data%2Fsim-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejw-data%2Fsim-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejw-data%2Fsim-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejw-data%2Fsim-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ejw-data","download_url":"https://codeload.github.com/ejw-data/sim-queue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762236,"owners_count":20343976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T13:54:21.809Z","updated_at":"2026-07-02T20:33:52.772Z","avatar_url":"https://github.com/ejw-data.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sim-queue\n\nAuthor:  Erin James Wills, ejw.data@gmail.com  \n\n![Queueing Simulation](./images/queue-simulation.png)  \n\u003ccite\u003ePhoto by \u003ca href=\"https://unsplash.com/@adriendlf?utm_source=unsplash\u0026utm_medium=referral\u0026utm_content=creditCopyText\"\u003eAdrien Delforge\u003c/a\u003e on \u003ca href=\"https://unsplash.com/s/photos/checkout?utm_source=unsplash\u0026utm_medium=referral\u0026utm_content=creditCopyText\"\u003eUnsplash\u003c/a\u003e\u003c/cite\u003e\n\n\u003cbr\u003e\n\n## Overview  \n\u003chr\u003e  \nBasic waiting line queueing system  \n\n## Excel Simulations\n1.  `queue-sim.xlsm` - Queue system that calculates arrivals and service time based on a normal distribution and generates the wait time, leaving time, and number of people in the queue.  \n\n## R Simulations\n1.  `queue_sim.ipynb` - Python (utilizing R package) version of the Excel `queue-sim.xlsm`\n1.  `chained_queue_sim.ipynb` - Continuation of the `queue_sim.ipynb` that illustrates how one queue can feed into multiple other queues.  \n\n## Python Simulations\n1.  `queue_sim.ipynb` - Python version of the Excel `queue-sim.xlsm`.  Uses basic Python specifically scipy and numpy.  \n\n\n\n## Technologies\n* Excell\n* Python\n* R\n\n\n\n## Installations\n* R\n    1.  Ensure R is installed\n    1.  Ensure R is added to the Path (PC):  `C:/Program Files/R/\u003cversion\u003e/bin`\n    1.  Open Gitbash and type `r` to open the r terminal\n    1.  Install package:  `install.packages('quequecomputer')`\n    1.  Select download region from popup\n    1.  Check that package is now available:  `libary('quequecomputer')` - no errors should occur\n    1.  Close terminal and open new Gitbash and install `pip install rpy2` into your environment\n\n```Note:  rpy2 requires R 4.0+ and Python 3.7+ and older version of Visual Studio Build Tool (like 2019) can cause install errors.  I needed to uninstall the older tool and reinstall the most recent version.  Visual Studio Build Tools 2022 works fine with R 4.2 and Python 3.10 for my setup```  \n\n## Improvements\n* use quequecomputer and for loop over the number of servers but to make it better find the average of at least 20 points for each observer.  Then plot it.  \n* use quequecomputer and simulate something like a covid processing center to determine the number of people and building size.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fejw-data%2Fsim-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fejw-data%2Fsim-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fejw-data%2Fsim-queue/lists"}