{"id":17668692,"url":"https://github.com/digipie/agent-based-simulations","last_synced_at":"2026-03-19T01:43:48.872Z","repository":{"id":126774794,"uuid":"173566757","full_name":"DigiPie/agent-based-simulations","owner":"DigiPie","description":"Agent-based-simulations developed using AnyLogic.","archived":false,"fork":false,"pushed_at":"2019-04-21T17:15:54.000Z","size":5524,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T15:14:02.130Z","etag":null,"topics":["agent-based-modelling","anylogic","simulation"],"latest_commit_sha":null,"homepage":"","language":null,"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/DigiPie.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":"2019-03-03T11:36:59.000Z","updated_at":"2024-04-13T12:38:48.000Z","dependencies_parsed_at":"2023-06-18T00:48:07.104Z","dependency_job_id":null,"html_url":"https://github.com/DigiPie/agent-based-simulations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigiPie%2Fagent-based-simulations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigiPie%2Fagent-based-simulations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigiPie%2Fagent-based-simulations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DigiPie%2Fagent-based-simulations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DigiPie","download_url":"https://codeload.github.com/DigiPie/agent-based-simulations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246321664,"owners_count":20758674,"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":["agent-based-modelling","anylogic","simulation"],"created_at":"2024-10-23T23:23:28.713Z","updated_at":"2026-01-08T21:04:08.404Z","avatar_url":"https://github.com/DigiPie.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# agent-based-simulations\nAgent-based-simulations using AnyLogic\n\n## Schelling Segregation model\nThis is a [Schelling Segregation model](https://lectures.quantecon.org/jl/schelling.html) of household movements in the context of humans, orcs, elves and dwarves.\n\n### Properties\n* Timescale is in Years.\n* Household agents are either in Happy or Unhappy state. Every year, this state is updated with the following rules:\n  * Human and elf households are Happy when at least 3 neighbours are of the same race.\n  * Orc and dwarf households are Happy when at least 2 neighbours are of the same race.\n* Every year, all Unhappy households jump to new random positions.\n\n### Preview\n![](schelling_segregation/schelling_segregation.gif)\n\n### Usage\n1. Download [schelling_segregation.alp](schelling_segregation/schelling_segregation.alp)\n2. Open and run the model using [AnyLogic](https://www.anylogic.com/downloads/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigipie%2Fagent-based-simulations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigipie%2Fagent-based-simulations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigipie%2Fagent-based-simulations/lists"}