This Python implementation tries to model school choice and resulting school segregation based on the work of Schelling (1971) and Stoica & Flache (2014).
* An agent-based model for primary-school choice * empirically realistic -- used to simulate the city of Amsterdam * can model strongly non-linear effects in for instance segregation