Skip to content

Latest commit

 

History

History

geo_schelling

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

GeoSchelling Model (Polygons)

Summary

This is a geoversion of a simplified Schelling example. For the original implementation details please see the Mesa Schelling examples.

GeoSpace

Instead of an abstract grid space, we represent the space using NUTS-2 regions to create the GeoSpace in the model.

GeoAgent

NUTS-2 regions are the GeoAgents. The neighbors of a polygon are considered those polygons that touch its border (i.e., edge neighbours). During the running of the model, a polygon queries the colors of the surrounding polygon and if the ratio falls below a certain threshold (e.g., 40% of the same color), the agent moves to an uncolored polygon.

How to Run

To run the model interactively, run solara run app.py in this directory. e.g.

solara run app.py

Then open your browser to http://127.0.0.1:8765/ and press the play button .