{"id":15655196,"url":"https://github.com/chadsr/mesafireevacuation","last_synced_at":"2026-02-28T21:32:34.964Z","repository":{"id":38180186,"uuid":"120735169","full_name":"chadsr/MesaFireEvacuation","owner":"chadsr","description":" Agent Based Fire Evacuation Model built using Project Mesa","archived":false,"fork":false,"pushed_at":"2023-03-06T12:11:30.000Z","size":1084,"stargazers_count":38,"open_issues_count":10,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T11:52:04.486Z","etag":null,"topics":["abm","agent-based-modeling","agent-based-simulation","fire-evacutation","fire-simulation","mesa","project-mesa","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/chadsr.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-08T08:47:37.000Z","updated_at":"2024-12-06T13:21:25.000Z","dependencies_parsed_at":"2024-10-23T04:22:51.022Z","dependency_job_id":"a4881554-ac14-4b69-aeea-8ab531859ac2","html_url":"https://github.com/chadsr/MesaFireEvacuation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chadsr/MesaFireEvacuation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadsr%2FMesaFireEvacuation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadsr%2FMesaFireEvacuation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadsr%2FMesaFireEvacuation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadsr%2FMesaFireEvacuation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chadsr","download_url":"https://codeload.github.com/chadsr/MesaFireEvacuation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadsr%2FMesaFireEvacuation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29952272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["abm","agent-based-modeling","agent-based-simulation","fire-evacutation","fire-simulation","mesa","project-mesa","python3"],"created_at":"2024-10-03T12:56:58.413Z","updated_at":"2026-02-28T21:32:34.932Z","avatar_url":"https://github.com/chadsr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fire Evacuation ABM\n\n[![Tests](https://github.com/Chadsr/MesaFireEvacuation/actions/workflows/tests.yml/badge.svg)](https://github.com/Chadsr/MesaFireEvacuation/actions/workflows/tests.yml)\n\nThe [accompanying paper](./docs/Influence_of_Human_Behaviour_in_the_Evacuation_of_a_Burning_Building.pdf) includes both specification and experimental results. To view the code exactly as it was in the paper, please see [here](https://github.com/Chadsr/MesaFireEvacuation/tree/2597862708a57785b1cb67d4bf527e5896d30a7b).\n\n## Setup\n*You will need to install [Poetry](https://python-poetry.org/docs/) using your preferred method, first, then:*\n\n```\ncd MesaFireEvacutation/\npoetry install\n```\n\n## Usage\n### Visualised Run\n\n```\npoetry run python run.py\n```\n\nRuns the model with a visual interface, in which parameters can be changed.\n\n### Batch Run\n\n```\npoetry run python run_batch.py \u003cnum_iterations\u003e \u003cnum_humans\u003e\n```\n\nRuns the model with num_iterations of all collaboration factor values with the given num_humans.\n\n## Examples\n\n### Realistic Vision\n\n![vision through smoke](https://github.com/Chadsr/MesaFireEvacuation/blob/master/images/vision.png?raw=true)\n\nAs we can see from the figure above, there is an incapacitated agent within the smoke. This agent can not be seen by our healthy agent and will therefore not be helped. We can also observe that the fire is still visible through the smoke, due to its high visibility value.\n\nThis functionality is implemented using [Bresenham's line algorithm](https://en.wikipedia.org/wiki/Bresenham's_line_algorithm), to create a primitive form of CPU-bound ray-tracing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadsr%2Fmesafireevacuation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchadsr%2Fmesafireevacuation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadsr%2Fmesafireevacuation/lists"}