{"id":48417906,"url":"https://github.com/andrematte/simulation-mm1-queue","last_synced_at":"2026-04-06T07:35:20.098Z","repository":{"id":110591413,"uuid":"421821921","full_name":"andrematte/simulation-mm1-queue","owner":"andrematte","description":"Discrete Event Simulation of a M/M/1 Queue developed using Python. Class Project.","archived":false,"fork":false,"pushed_at":"2021-11-12T21:27:31.000Z","size":1484,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-29T20:47:33.028Z","etag":null,"topics":["discrete","event","mm1","python","queue","simulation"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrematte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-10-27T13:06:34.000Z","updated_at":"2021-11-29T19:34:24.000Z","dependencies_parsed_at":"2023-09-24T16:56:42.403Z","dependency_job_id":null,"html_url":"https://github.com/andrematte/simulation-mm1-queue","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"090ffc84b69e620b45715c58054d7209774f946e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrematte/simulation-mm1-queue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrematte%2Fsimulation-mm1-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrematte%2Fsimulation-mm1-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrematte%2Fsimulation-mm1-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrematte%2Fsimulation-mm1-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrematte","download_url":"https://codeload.github.com/andrematte/simulation-mm1-queue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrematte%2Fsimulation-mm1-queue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["discrete","event","mm1","python","queue","simulation"],"created_at":"2026-04-06T07:35:20.015Z","updated_at":"2026-04-06T07:35:20.081Z","avatar_url":"https://github.com/andrematte.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PPGEE0260: Modelagem e Simulação Discreta de Sistemas\n\nAluno: Carlos André de Mattos Teixeira\n\nCódigo baseado em: https://github.com/williewheeler/stats-demos/blob/master/queueing/single-queue-sim.ipynb \n\n## Descrição do Projeto\n\n**Objetivo:** Adicionar dois novos eventos no simulador de fila M/M/1.\n\n**Requisitos:**\n\n1. Um programa executável e todos os arquivos necessários à sua execução;\n2. Um relatório contendo toda a documentação do programa (variáveis, parâmetros, rotinas, fluxogramas das rotinas, etc.);\n3. Um pequeno manual sobre como executar o programa e constando a modelagem do sistema.\n\n**Método de Avaliação:**\n\nO simulador será avaliado com base nos seguintes critérios e pesos:\n\n1. Funcionamento de acordo com o solicitado. Isto é, o modelo executado deve ter um comportamento (observável) semelhante ao descrito no escopo desta proposta\n2. Implementação de funções aleatórias. Pelo menos as funções: Uniforme, Triangular, Normal e Exponencial. Além da alternativa de uso de um valor constante\n3. Interface com o usuário (entrada de dados, visualização dos resultados)\n4. Resultados dos experimentos\n5. Documentação\n\n\n## Instruções de Execução\n\n\n- As simulações são executadas através do arquivo *Jupyter Notebook* [`experiments.ipynb`](https://github.com/andrematte/simulation-mm1-queue/blob/main/experiments.ipynb).\n- Para executar uma simulação com as configurações padrão, basta executar a função `run_sim_and_plot(parameters)`. As configurações padrão são as seguintes:\n  \n  | Parâmetro                | Valor       |\n  |--------------------------|-------------|\n  | Seed                     | 24          |\n  | Número de Clientes       | 400         |\n  | Taxa Média de Chegada    | 16          |\n  | Taxa Média de Serviço    | 32          |\n  | Distribuição             | Exponencial |\n\n- É possível personalizar os experimentos ao sobreescrever o dicionário de parâmetros com a função`generate_parameters()` e, em seguida, executar a função `run_sim_and_plot(parameters)`. Por exemplo:\n\n```python\nparameters = generate_parameters(NUM_JOBS, MEAN_ARRIVAL_RATE, MEAN_SERVICE_RATE, DISTRIBUTION)\nrun_sim_and_plot(parameters)\n```\n\n## Referências\n\n\n[1] https://github.com/williewheeler/stats-demos/blob/master/queueing/single-queue-sim.ipynb \n\n[2] https://medium.com/wwblog/simulating-an-m-m-1-queue-in-python-f894f5a68db2\n\n[3] https://web.fe.up.pt/~mac/ensino/docs/IO20032004/FilasEspera.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrematte%2Fsimulation-mm1-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrematte%2Fsimulation-mm1-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrematte%2Fsimulation-mm1-queue/lists"}