Skip to main content

Designing and Building an Agent-Based Model

  • Chapter
  • First Online:
Agent-Based Models of Geographical Systems

Abstract

This chapter discusses the process of designing and building an ­agent-based model, and suggests a set of steps to follow when using agent-based modelling as a research method. It starts with defining agent-based modelling and discusses its main concepts, and then it discusses how to design agents using different architectures. The chapter also suggests a standardized process consisting of a sequence of steps to develop agent-based models for social science research, and provides examples to illustrate this process.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 379.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 379.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    There are minor differences between the code of the original model in NetLogo’s library and the code presented here.

  2. 2.

    Global variables are defined (or declared) outside any procedure, and they can be accessed or refer red to from any place in the program. In contrast, local variables are defined inside a procedure, and can be accessed only within this procedure. The variables similar-neighbors and total-neighbors (lines 75–76) are local variables.

Recommended Reading

  • Edmonds, B., & Scott, M. (2005). From KISS to KIDS – An ‘anti-simplistic’ modelling approach. In P. Davidson, B. Logan, & K. Takadema (Eds.), Multi-agent and multi-agent-based simulation. MABS, 2004. New York/Berlin: Springer.

    Google Scholar 

  • Epstein, J. M. (2006a). Generative social science. Princeton: Princeton University Press.

    Google Scholar 

  • Epstein, J. M. (2008). Why model? Journal of Artificial Societies and Social Simulation, 11(4), 12. Available at: http://jasss.soc.surrey.ac.uk/11/4/12.html

  • Gilbert, N., & Troitzsch, K. G. (2005). Simulation for the social scientist. Milton Keynes: Open University Press.

    Google Scholar 

  • Gilbert, N. (2008a). Agent-based models. London: Sage.

    Google Scholar 

  • Moss, S. (2008). Alternative approaches to the empirical validation of agent-based models. Journal of Artificial Societies and Social Simulation, 11(1), 5. Available at: http://jasss.soc.surrey.ac.uk/11/1/5.html

References

  • Acerbi, A., & Parisi, D. (2006). Cultural transmission between and within generations. Journal of Artificial Societies and Social Simulation 9(1). Available at: http://jasss.soc.surrey.ac.uk/9/1/9.html

  • Allport, G. W. (1954). The nature of prejudice. Cambridge, MA: Addison-Wesley.

    Google Scholar 

  • Balci, O. (1994). Validation, verification, and testing techniques throughout the life cycle of a simulation study. Annals of Operations Research, 53, 121–173.

    Article  Google Scholar 

  • Crooks, A. T., & Castle, C. (2012). The integration of agent-based modelling and geographical information for geospatial simulation. In A. J. Heppenstall, A. T. Crooks, L. M. See & M. Batty (Eds.), Agent-based models of geographical systems (pp. 219–252). Dordrecht: Springer.

    Google Scholar 

  • Crooks, A. T., & Heppenstall, A. J. (2012). Introduction to agent-based modelling. In A. J. Heppenstall, A. T. Crooks, L. M. See & M. Batty (Eds.), Agent-based models of geographical systems (pp. 85–105). Dordrecht: Springer.

    Google Scholar 

  • Epstein, J. M. (2006b). Generative social science. Princeton: Princeton University Press.

    Google Scholar 

  • Epstein, J. M., & Axtell, R. (1996). Growing artificial societies: social science from the bottom up. Cambridge, MA: MIT Press.

    Google Scholar 

  • Friedman-Hill, E. (2003). Jesss in action: Rule-based systems in Java. Greenwich: Maning.

    Google Scholar 

  • Garson, D. G. (1998). Neural networks: An introductory guide for social scientists. London: Sage Publications.

    Google Scholar 

  • Gilbert, N. (2008b). Agent-based models. London: Sage.

    Google Scholar 

  • Gilbert, N., Pyka, A., Ahrweiler, P. (2001). Innovation networks: A simulation approach. Journal of Artificial Societies and Social Simulation, 4(3). Available at: http://jasss.soc.surrey.ac.uk/4/3/8.html

  • Gilbert, N. et al. (2006). Emerging artificial societies through learning. Journal of Artificial Societies and Social Simulation, 9(2). Available at: http://jasss.soc.surrey.ac.uk/9/2/9.html

  • Hutchins, E., & Hazlehurst, B. (1995). How to invent a lexicon: The development of sharedsymbols in interaction. In N. Gilbert & R. Conte (Eds.), Artificial societies: The computer simulation of social life (pp. 157–189). London: UCL Press.

    Google Scholar 

  • Jost, J. T., Banaji, M. R., & Nosek, B. A. (2004). A decade of system justification theory: Accumulated evidence of conscious and unconscious bolstering of the status quo. Political Psychology, 25(6), 881–919.

    Article  Google Scholar 

  • Laird, J. E., Newell, A., & Rosenbloom, P. S. (1987). Soar: An architecture for general intelligence. Artificial Intelligence, 33(1), 1–64.

    Article  Google Scholar 

  • Macy, M., & Willer, R. (2002). From factors to actors: Computational sociology and agent-based modeling. Annual Review of Sociology, 28, 143–166.

    Article  Google Scholar 

  • Massey, D. S., & Denton, N. A. (1988). The dimensions of residential segregation. Social Forces, 67(2), 281–315.

    Google Scholar 

  • Ngo, T. A., & See, L. M. (2012). Calibration and validation of agent-based models of land cover change. In A. J. Heppenstall, A. T. Crooks, L. M. See & M. Batty (Eds.), Agent-based models of geographical systems (pp. 181–196). Dordrecht: Springer.

    Google Scholar 

  • Parry, H. R., & Bithnell, M. (2012). Large scale agent-based modelling: A review and guidelines for model scaling. In A. J. Heppenstall, A. T. Crooks, L. M. See & M. Batty (Eds.), Agent-based models of geographical systems (pp. 525–542). Dordrecht: Springer.

    Google Scholar 

  • Schelling, T. C. (1971). Dynamic models of segregation. Journal of Mathematical Sociology, 1, 143–186.

    Article  Google Scholar 

  • Scott, J. (2000). Social network analysis (2nd ed.). London: Sage.

    Google Scholar 

  • Sherif, M. (1966). In common predicament; social psychology of intergroup conflict and cooperation. Boston: Houghton Mifflin.

    Google Scholar 

  • Sidanius, J., Pratto, F., van Laar, C., & Levin, S. (2004). Social dominance theory: Its agenda and method. Political Psychology, 25(6), 845–880.

    Article  Google Scholar 

  • Sun, R. (2006). The CLARION cognitive architecture: Extending cognitive modeling to social simulation. In R. Sun (Ed.), Cognition and multi-agent interaction: From cognitive modeling to social simulation (pp. 79–99). New York: Cambridge University Press.

    Google Scholar 

  • Tajfel, H. (1981). Human groups and social categories: Studies in social psychology. Cambridge: Cambridge University Press.

    Google Scholar 

  • Taatgen, N., Lbiere, C., & Anderson, J. (2006). Modeling paradigms in ACT-R. In R. Sun (Ed.), Cognition and multi-agent interaction: From cognitive modeling to social simulation (pp. 28–51). Cambridge: Cambridge University Press.

    Google Scholar 

  • Terna, P. (1997). A laboratory for agent based computational economics. In R. Conte, R. Hegselmann, & P. Terna (Eds.), Simulating social phenomena (pp. 77–88). Berlin: Springer.

    Google Scholar 

  • Wilensky, U. (1997a). NetLogo traffic basic model. Evanston: Center for Connected Learning and Computer-Based Modeling, Northwestern University. Available at: http://ccl.northwestern.edu/netlogo/models/TrafficBasic

  • Wilensky, U. (1997b). NetLogo segregation model. Evanston: Center for Connected Learning and Computer-Based Modeling, Northwestern University. Available at: http://ccl.northwestern.edu/netlogo/models/Segregation

  • Wilensky, U. (1999). NetLogo. Evanston: Center for Connected Learning and Computer- based Modeling, Northwestern University.

    Google Scholar 

  • Wray, R. E., & Jones, R. M. (2006). Considering Soar as an agent architecture. In R. Sun (Ed.), Cognition and multi-agent interaction: From cognitive modeling to social simulation (pp. 53–78). New York: Cambridge University Press.

    Google Scholar 

  • Ye, M., & Carley, K. M. (1995). Radar-Soar: Towards an artificial organization composed of intelligent agents. Journal of Mathematical Sociology, 20(2–3), 219–246.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohamed Abdou .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer Science+Business Media B.V.

About this chapter

Cite this chapter

Abdou, M., Hamill, L., Gilbert, N. (2012). Designing and Building an Agent-Based Model. In: Heppenstall, A., Crooks, A., See, L., Batty, M. (eds) Agent-Based Models of Geographical Systems. Springer, Dordrecht. https://doi.org/10.1007/978-90-481-8927-4_8

Download citation

Publish with us

Policies and ethics