Skip to content

Hai1218/geo-Schelling-housing-nyc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

GeoSchelling Model (Points & Polygons)

Adopted from GeoSchelling Points

Summary

This is a gis integrated version of a simplified Schelling example.

GeoSpace

Census Tracts 2020 of New York County (Manhattan)

GeoAgent

As this crude version is adopted from a simplied geoschelling model - the current form jas 2 types of agents but they need to be modify to minic housing and population dynamic.

As it stands, the two types of GeoAgents are: people(Points) and regions(Census Tract). Each person resides in a randomly assigned region, and checks the color ratio of its region against a pre-defined "happiness" threshold at every time step. If the ratio falls below a certain threshold (e.g., 40%), the agent is found to be "unhappy", and randomly moves to another region. People are represented as points, with locations randomly chosen within their regions. The color of a region depends on the color of the majority population it contains (i.e., point in polygon calculations).

How to run

To run the model interactively, run mesa runserver in this directory. e.g.

mesa runserver

Then open your browser to http://127.0.0.1:8521/ and press Start.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages