Ever wondered if agent-based models have been applied to look at elections? I recently came across a nice little NetLogo model by Michael Laver which is part of the book "Party competition: an agent based model" (2012).
This simple model allows users to explore the 2012 US presidential election campaign, Just like the election itself the model has two phases. 1) the primary contest between the Republican challengers. 2) The winner of the Republican primary then goes head to head with the Democratic incumbent.