Pick up Thomas Schelling's Micro Motives and Macro Behavior; he originated many of these models (the most mind-blowing to me was that a small segregation preference among individuals balloons into way more segregation than was desired just because of physical constraints inherent in the geometry of neighborhoods).