Thursday, January 23, 2014
Agentscript: ABM Framework
Wednesday, March 13, 2013
GAMA (Gis & Agent-based Modelling Architecture) Platform
"GAMA is a simulation platform, which aims at providing field experts, modelers, and computer scientists with a complete modeling and simulation development environment for building spatially explicit agent-based simulations."
Tuesday, January 29, 2013
Agent-based modeling in ArcGIS
Thursday, May 31, 2012
Diseases and Refugee camps
![]() |
| Dadaab refugee camp |
While this is still work in progress, we thought it worth sharing to see what feedback we may get. More details about the models will come soon.
Click here to see previous blog posts on diseases
Wednesday, March 14, 2012
Distributed MASON
However, if you don't use MASON, you might also be interested in Repast for High Performance Computing
Friday, April 29, 2011
Using agents to explore traffic: Part Two-Micro to Macro
From a local scene we can also turn to exploring more larger scenes such as entire metropolitan regions. The movie below is of that of TRANSIMS microsimulation-agent based model applied to downtown Chicago:
Monday, January 31, 2011
Urban Growth and Change

The reason I bring this up are twofold. First I recently stumbled upon a site from the NY Times entitled "Mapping America: Every City, Every Block" which shows data from the US Census Bureau's American Community Survey from 2005 to 2009. What is interesting is that there are several maps showing the distribution of racial and ethnic groups throughout the US along with the percentage of foreign born and how neighborhood have changed over time (similar work is also being done at CASA for the UK's population). Such data could come in handy for residential segregation models.
Thursday, December 30, 2010
GeoMason: Geospatial Support for MASON
Over the last few months I have been experimenting with GeoMason in terms of using both raster and vector data to build spatially explicit agent-based models. Overall, I have been impressed by the speed of which such models run at and the example models that come with it GeoMason are really useful.
Below are some of the test models we have developed for a course on entitled GIS and Agent-based modeling which was taught in the Department of Computational Social Science at GMU.
Thursday, June 17, 2010
GMU Fiarfax Campus created with CityScape
The movie below show my initial attempt of creating a agent-based traffic model around the Fairfax Campus of George Mason University. The model utilizes a real world elevation data downloaded from the U.S. Geological Survey's (USGS) National Map, the road data comes from OpenStreetMap and the building footprints from the Geospatial Data Collection at Mason.
Thursday, May 20, 2010
Cormas and ComMod
Following on from the UVA Bay Game post I thought it was about time to blog about Cormas and the ComMod (Companion Modeling Approach) which focus on participatory agent-based modeling for resource management.
Some references for further reading:
- Barreteau, F.O. and others (2003), 'Our Companion Modelling Approach', Journal of Artificial Societies and Social Simulation, 6(1), Available at http://jasss.soc.surrey.ac.uk/6/2/1.html.
- Etienne, M. (2003), 'SYLVOPAST: A Multiple Target Role-Playing Game to Assess Negotiation Processes in Sylvopastoral Management Planning', Journal of Artificial Societies and Social Simulation, 6(2), Available at http://jasss.soc.surrey.ac.uk/6/2/5.html.
- Gilbert, N., Maltby, S. and Asakawa, T. (2002), 'Participatory Simulations for Developing Scenarios in Environmental Resource Management', in Urban, C. (ed.), Third Workshop on Agent-Based Simulation, SCS European Publishing House, Passau, Germany, pp. 67-72.
- Ramanath, A.M. and Gilbert, N. (2004), 'The Design of Participatory Agent-Based Social Simulations', Journal of Artificial Societies and Social Simulation, 7(4), Available at http://jasss.soc.surrey.ac.uk/7/4/1.html.
Monday, January 4, 2010
modelling4All update
Thursday, November 5, 2009
TourSim: Agent-based modeling for Tourism Planning
Sunday, August 9, 2009
Partitioning Space to generate urban spatial patterns.
Fraser Morgan and David O'Sullivan have recently written a paper entitled "Using binary space partitioning to generate urban spatial patterns" which was presented at the 4th International Conference on Computers in Urban Planning and Urban Management (CUPUM).The abstract of their paper is:
Creating a realistic representation of urban spatial patterns is often problematic. Using existing development as a starting point for testing models of urban growth may introduce inherent biases based on the city chosen. To address this issue, we have used binary space partitioning (BSP) trees to quickly generate a representation of the cadastral spatial pattern seen in cities. This approach, which has links to quadtrees and binary trees used in computer science, includes the standard topologic elements (leaf nodes, children, root node, ancestors, descendants and levels) while also incorporating the spatial element of territory. The substantial flexibility in the resulting urban structure belies the small number of parameters used to control the creation of the tree.
This BSP tree approach was developed to create many similar and realistic urban spatial patterns on which an agent-based model of the purchase, subdivision, building and disposal behaviours of property developers would operate. The motivation for implementing a BSP tree approach was the ability for the developer agents to be able to understand, analyse and enact the mechanism of subdivision upon the urban environment. Through the formalised node structure, the BSP tree approach also enables the straight forward implementation of developer territoriality, neighbourhood attractiveness and spatial metrics for analysis."
Click here to read the full paper which is very interesting. To accompany the paper there is also a NetLogo model is just a small aspect of the wider ABM model that Fraser is working on which provides an interesting representation of an random urban cadastral pattern upon which the ABM does its work.
Friday, May 22, 2009
meta beta's Flu Model
The effect of movement on the maximum infection Level (21 runs) (Source meta beta)
metaABM from MetascapeWednesday, April 8, 2009
Interesting Articles
Going through my RSS feeds I came across three articles which are quite interesting and I thought worth sharing.The first is "Design Guidelines for Agent Based Model Visualization" by Kornhauser et. al., (2009) which discusses the importance of visualizing agent-based models. Specifically the importance of visualization in identifying, communicating and understanding the behaviour of the modelled phenomenon. In this article Kornhauser et. al. (2009) comment that many agent-based modellers create ineffective visualizations of their models. This paper provides ABM visualization design guidelines in order to improve visual design with ABM toolkits
The images to the above and below are examples from the article about are clear and aesthetic visualizations from the NetLogo model library.
The second article entitled 'Tools of the Trade: A Survey of Various Agent Based Modeling Platforms' by Nikolai and Madey (2009), which offers advice for choosing the appropriate agent-based platform for a specific modelling endeavour. The paper references and extends our own work at CASA "Principles and Concepts of Agent-Based Modelling for Developing Geospatial Simulations." Specifically the paper reviews a number of toolkits and characterize each based on 5 characteristics users might consider when choosing a toolkit (e.g. programming language , type of license, operating system, domain, user support), and then we categorize the characteristics into user-friendly taxonomies that aid in rapid indexing and easy reference.The authors have also developed a web-based tool that incorporates all their findings, users input a range of characteristics, and the tool returns a list of candidate platforms that contain those characteristics (such as operating system). The tool is available at http://agent.cse.nd.edu/abmsearchengine.php. Furthermore, Nikolai and Madey (2009), have created a wiki page entitled "ABM Software Comparison," and it is linked from the main "Agent Based Model" post on Wikipedia which anyone can alter or expand.
References:
Fujita, M. and Ogawa, H. (1982), 'Multiple Equilibria and Structural Transition of Non-monocentric Urban Configurations', Regional Science and Urban Economics, 12(2): 161-196.
Kornhauser, D., Wilensky, U. and Rand, D. (2009), 'Design Guidelines for Agent Based Model Visualization', Journal of Artificial Societies and Social Simulation, 12(2), Available at http://jasss.soc.surrey.ac.uk/12/2/1.html.
Nikolai, C. and Madey, G. (2009), 'Tools of the Trade: A Survey of Various Agent Based Modeling Platforms', Journal of Artificial Societies and Social Simulation, 12(2), Available at http://jasss.soc.surrey.ac.uk/12/2/2.html.
Monday, December 22, 2008
ABS2: Agent Based Spatial Simulation
Modellers used a variety of software toolkits ranging from NetLogo, JADE, MATSims, AnyLogic and bespoke programs to explore a variety spatial simulations ranging from traffic simulations to land use change.
For example, road charging in Moscow (using AnyLogic), using MATSim to model travel and locational choices in Lyon, urban daily mobilities using MADKIT, how agents impact on traffic speed (using NetLogo), slowing down urban networks (e.g. to many cars leads to congestion), exploring how traffic lights affect the speed of movement and the distance between cars at different speeds). Demand responsive transport services of shared taxis over non fixed networks (e.g. the Modulobus project).
Moving away from traffic simulations, others explored the use of agent-based models to examine risks from toxic clouds, urban growth and forest fires (using JADE and GRASS), plague epidemics (NetLogo), landscape evolution due to a shifting cultivation system driven by social dynamics, the interrelationships between the built structure of a city and its social organization (Circle City is available here).
Talks also included the need to make agent-based modelling easier. For example, Philippe Mathieu discussed the need to be able to move agents behaviours between different models without the need to copy chunks of code. To this extent he showed us the IODA project. IODA basically allows one to create an interaction matrix of agent-behaviours (an ontology of agent interactions). Volker Grimm discussed individual-based models, and emphasised that representing agents is only one part of the modelling process. The other is the interaction between the agents. It was also noted that there is a need for better model descriptions with the ODD Protocol potentially being the solution.Tuesday, August 12, 2008
Toolkits update
Just a quick note that Repast Simphony 1.1 was released recently and one of its many updates is its option to link with NASA World Wind. So not only can one have a 3D display but can visualize agents with satellite imagery, elevated terrain, and scientific data sets (as shown in the image below). This is quite important for geo-spatial agent-based models in the form of testing its validity, as Mandelbrot (1983) argues that good models which generate spatial or physical predictions that can be mapped or visualised must ‘look right’. Such visualisation of agent-based models also helps us share (disseminate), communicate and potentially influence people about the model as the model’s spatial outcomes can be mapped to real world places which people can potentially relate to.
For a brief tutorial on using RepastS GIS functionally, Nick Malleson from the Agent-Based Crime Simulation blog has recently written an excellent tutorial (and code) showing a small town with a few agents, some houses and some roads. In the model agents choose a random house and then travel there (Click here for a link to his post).
In other news, NetLogo (4.0.3) has also been released and has the GIS extension for handling geographic data is now included (formerly it was separate download).
Friday, December 7, 2007
Recent Developments in Toolkits
Many Agent-based modelling toolkits are continuously being developed and reviews quickly go out of date (see Nikolai and Madey for a recent review). Some recent developments can be seen in Repast, StarLogo and NetLogo toolkits, including the support of 3D environments. Repast Simphony 1.0 has recently been released which includes a point and click interface for model development and full GIS support. Additionally StarLogo has created an open source version of StarLogo called OpenStarLogo. Furthermore it has released StarLogo TNG (see image below) which has a simple user interface which allows users with little or no programming experience to create models. NetLogo also supports 3D models (see below).
Repast Simphony 1.0 - Runtime displays showing 2D and 3D visualization of networks.
StarLogo TNG Hill-Climbers example. Highlighting the user interface to create models (E.g. Block Factory and Block Canvas) and the 3D viewer.
Netlogo Traffic Grid 3D ViewerAllows one to “control traffic lights and overall variables, such as the speed limit and the number of cars, in a real-time traffic simulation (NetLogo)." Thus allowing one to explore traffic dynamics.
Tuesday, November 6, 2007
The Basic Immune Simulator
Just a quick note on a Repast model we recently found called the Basic Immune Simulator developed by Charles Orosz, Virginia Folcik and Christina Sasswas utilizing RepastJ. The model was developed to explore the behaviour of the immune system as a complex system. Folcik, V.A., An, G.C. and Orosz, C.G.(2007) The Basic Immune Simulator: An agent-based model to study the interactions between innate and adaptive immunity. Theoretical Biology and Medical Modelling, 4:39.
Axelrod (2007) ‘Simulation in the social sciences’ inRennard, J.-P. (ed), Handbook of Research on Nature-Inspired Computing for Economics and Management, Idea Group Reference, Hershey, PA.
Thursday, October 11, 2007
Open Source Simulation / Modelling Systems for ABM
Note: This post is now dated and MASON and Repast has changed considerably since this was written. A new post will soon be written (14th July 2010) but in the meantime please see the comments below.This blog has tended to focus on Repast when developing agent-based models as it is the toolkit we most often use to create such models. However, we felt it was time to highlight other open source Simulation/Modelling Systems that allow for the creation of geospatial agent-based models. These include Swarm and MASON. A comparison of Repast, Swam and Mason can be seen in the table below (adapted from Najlis et al., 2001 and Parker, 2001a). The reminder of this post provides further information about each system, identifying examples of geospatial agent-based models that have been developed with these systems. Please feel free to comment on these systems and to highlight other geospatial models developed with these systems.
Swarm is an open source simulation/modelling system designed specifically for the development of multi-agent simulations of complex adaptive systems (Swarm, 2006); although agent-based models can easily be developed using Swarm as well. Originally developed in Objective-C, Swarm is also now available in Java (a Java layer running on top of the Swarm kernel). Inspired by Artificial Life, Swarm was designed to study biological systems, attempting to infer mechanisms observable in biological phenomena (Minar et al., 1996). In addition to modelling biological systems, Swarm has been used to develop models for anthropological, computer science, ecological, economic, geographical, and political science purposes. Useful examples of spatially explicit models include: the simulation of pedestrians in the urban centres (Schelhorn et al., 1999 and Haklay et al., 2001), and the examination of crowd congestion at London’s Notting Hill Carnival (Batty et al., 2003). Najlis et al. (2001) identify the steep learning curve of Swarm as a significant factor to consider before choosing this system to develop an agent-based model, although this should be less of a problem for a modeller with strong programming skills. Many of the other toolkits take their inspiration from Swarm (such as Repast and Ascape (Parker, 2001b)).
MASON (Multi Agent Simulation Of Neighbourhood) was developed by the Evolutionary Computation Laboratory (ECLab) and the Centre for Social Complexity at
To read more about the comparison of different Simulation / Modelling Systems for the creation of geospatial agent-based models check out our working paper ‘Principles and Concepts of Agent-Based Modelling for Developing Geospatial Simulations’.
References
Batty, M., Desyllas, J. and Duxbury, E. (2003), 'Safety in Numbers? Modelling Crowds and Designing Control for the Notting Hill Carnival', Urban Studies, 40(8): 1573-1590.
Castle, C.E. (2006), 'Using Repast to Develop a Prototype Agent-Based Pedestrian Evacuation Model', Proceedings of the Agent 2006 Conference on Social Agents: Results and Prospects,
Castle, C.J.E. and Crooks, A.T. (2006), Principles and Concepts of Agent-Based Modelling for Developing Geospatial Simulations, Centre for Advanced Spatial Analysis (
Collier, N. and North, M.J. (2005), 'Repast for Python Scripting', Annual Conference of the North American Association for Computational Social and Organizational Science (NAACSOS) Notre Dame, Indiana, USA.
Crooks, A.T. (2007), The Repast Simulation/Modelling System for Geospatial Simulation, Centre for Advanced Spatial Analysis (
Crooks, A.T. (2006), 'Exploring Cities using Agent-Based Models and GIS', Proceedings of the Agent 2006 Conference on Social Agents: Results and Prospects, Chicago, USA.
Haklay, M., O'Sullivan, D., Thurstain-Goodwin, M. and Schelhorn, T. (2001), '"So Go Downtown": Simulating Pedestrian Movement in Town Centres', Environment and Planning B: Planning and Design, 28(3): 343-359.
Luke, S., Cioffi-Revilla, C., Panait, L. and Sullivan, K. (2004), 'MASON: A New Multi-Agent Simulation Toolkit', SwarmFest 2004, Eighth Annual Swarm Users/Researchers Conference., University of Michigan, Ann Arbor, Michigan USA.
MASON (2006), Multi Agent Simulation Of Neighbourhood, Available at http://cs.gmu.edu/~eclab/projects/mason
Minar, N., Burkhart, R., Langton, C. and Askenazi, M. (1996), The Swarm Simulation System: A Toolkit for Building Multi-agent Simulations, Available at http://www.santafe.edu/projects/swarm/overview/overview.html [Accessed on August 8th, 2006].
Najlis, R., Janssen, M.A. and Parker, D.C. (2001), 'Software Tools and Communication Issues', in Parker, D.C., Berger, T. and Manson, S.M. (eds.), Meeting the Challenge of Complexity: Proceedings of a Special Workshop on Land-Use/Land-Cover Change,
Parker, D.C. (2001a), Object-Orientated Packages for Agent-Based Modelling, Available at http://mason.gmu.edu/~dparker3/spat_abm/lectures/lecture2_tables.pdf
Swarm (2006), Swarm: a platform for agent-based models, Available at http://www.swarm.org/





