https://github.com/digipie/agent-based-simulations
Agent-based-simulations developed using AnyLogic.
https://github.com/digipie/agent-based-simulations
agent-based-modelling anylogic simulation
Last synced: 17 days ago
JSON representation
Agent-based-simulations developed using AnyLogic.
- Host: GitHub
- URL: https://github.com/digipie/agent-based-simulations
- Owner: DigiPie
- License: mit
- Created: 2019-03-03T11:36:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-21T17:15:54.000Z (almost 7 years ago)
- Last Synced: 2025-02-05T15:14:02.130Z (12 months ago)
- Topics: agent-based-modelling, anylogic, simulation
- Homepage:
- Size: 5.27 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# agent-based-simulations
Agent-based-simulations using AnyLogic
## Schelling Segregation model
This is a [Schelling Segregation model](https://lectures.quantecon.org/jl/schelling.html) of household movements in the context of humans, orcs, elves and dwarves.
### Properties
* Timescale is in Years.
* Household agents are either in Happy or Unhappy state. Every year, this state is updated with the following rules:
* Human and elf households are Happy when at least 3 neighbours are of the same race.
* Orc and dwarf households are Happy when at least 2 neighbours are of the same race.
* Every year, all Unhappy households jump to new random positions.
### Preview

### Usage
1. Download [schelling_segregation.alp](schelling_segregation/schelling_segregation.alp)
2. Open and run the model using [AnyLogic](https://www.anylogic.com/downloads/)