Abstract
Most applied microsimulation models are hard-coded for a specific national dataset and application. The dream of using a generic modeling package instead of programming each model from the ground up has not yet materialized. Until then, several experiences from such specific programs should be useful in order to shorten and improve development cycles. In this chapter, we present design principles that gradually have emerged from our efforts to create agent-based dynamic microsimulation models. We discuss advantages of distinguishing between the internal logic of the model (kernel), the tools potentially useful for several models, and the user interface. The main part of the chapter suggests design principles regarding parameter input, matrix input, equation evaluation, result aggregation, biography aggregation, memory allocation, random number generation, handling of sets, random choice between many alternatives, primary and secondary attributes, parallel execution, and twins or equations. For almost any model, we prefer storing the entire population in core memory as this results in no file access from inner loops during execution. Several of the suggestions point towards favoring basic data structures and algorithms available in any general computer language rather than extensive use of “modern” object classes and method wrappers. For example, it is far more memory efficient to store population attributes in indexed arrays as compared to separate object instances for each individual. In addition to using the discussed design principles while constructing new intrinsic national and regional simulation models, we would emphasize their use in further efforts to create generic high-level software for dynamic microsimulation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Aschan-Leygonie, C., Baudet-Michel, S., Gautier, D., Holm, E., Lindgren, U., Mäkilä, K., Mathian, H., & Sanders, L. (1999). Micro modelling of the population dynamics in a region with strong urban growth. In S. E. Van der Leeuw (Ed.), Archeomedes.
Bacon, B., & Pennec, S. (2007). APPSIM – Modelling family formation and dissolution (Online Working Paper – WP2). http://www.canberra.edu.au/centres/natsem/
Berner, B., Drottz Sjöberg, B., & Holm, E. (2011). Social science research 2004–2010, themes, results and reflections. Stockholm: SKB. ISBN: 978-91-978702-2-1
Boman, M., & Holm, E. (2004). Multi-agent systems, time geography, and microsimulations. In M.-O. Olsson & G. Sjöstedt (Eds.), Systems approaches and their application: Examples from Sweden (pp. 95–118). Dordrecht: Kluwer.
Brouwers, L., Ekholm, A., Janlöv, N., Johansson, P., & Mossler, K. (2011, June 8–10). Simulating the need for health- and elderly care in Sweden – A model description of Sesim-LEV. Paper presented at the Third General Conference of the International Microsimulation Association Stockholm.
Caldwell, S., & Morrison, R. (2000). Validation of longitudinal microsimulation models: Experience with CORSIM and DYNACAN. In L. Mitton et al. (Eds.), Microsimulation in the new millennium. Cambridge: Cambridge University Press.
Clarke, M., & Holm, E. (1987). Micro-simulation methods in spatial analysis and planning. Geografiska Annaler Series B, Human Geography, 69(2), 145–164.
Dekkers, G., & Zaidi, A. (2011). The European network for dynamic microsimulation (EURODYM) – A vision and the state of affairs. International Journal of Microsimulation, V4(1), 100–105.
Fredriksen, D., Knudsen, P., & Martin Stølen, N. (2011, June 8–10). The dynamic cross-sectional microsimulation model MOSART. Paper presented at the Third General Conference of the International Microsimulation Association Stockholm.
Hägerstrand, T. (1970). What about people in regional science, regional science association papers, Vol. XXIV. Heidelberg: Springer.
Hägerstrand, T. (1991). Tiden och Tidsgeografin. In G. Carlestam & B. Sollbe (Eds.), Om tidens vidd och tingens ordning, T21. Stockholm: Statens råd för byggnadsforskning.
Harding, A. (2007, August 21). Challenges and opportunities of dynamic microsimulation modelling. Plenary paper presented to the 1st General Conference of the International Microsimulation Association, Vienna. Available at http://www.euro.centre.org/ima2007/programme/day2.htm
Harding, A., Keegan, M., & Kelly, S. (2010). Validating a dynamic microsimulation model: Recent experience in Australia. International Journal of Microsimulation, 3(2), 46–64.
Holm, E., & Öberg, S. (2004). Contagious social practice? Geografiska Annaler, 86B(4).
Holm, E., & Sanders, L. (2007). Spatial microsimulation models. In L. Sanders (Ed.), Models in spatial analysis (Geographical information systems series). Newport Beach: ISTE.
Holm, E., & Timpka, T. (2007). A discrete time-space geography for epidemiology: From mixing groups to pockets of local order in pandemic simulations. Studies in health technology and informatics, 129, 464–8.
Holm, E., Mäkilä, K., & Öberg, S. (1989). Tidsgeografisk handlingsteori – Att bilda betingade biografier. Gerum Rapport 8, Department of Geography, Ume University.
Holm, E., Lindgren, U., Mäkilä, K., & Malmberg, G. (1996). Simulating an entire nation. In G. Clarke (Ed.), Microsimulation for urban and regional policy analysis. London: Pion.
Holm, E., Holme, K., Mäkilä, K., Mattsson-Kaupi, M., & Mörtvik, G. (2002). The SVERIGE spatial microsimulation model – Content, validation, and example applications (Gerum Kulturgeografi 2002, Vol. 4). Umeå: Umeå Universitet.
Holm, E., Lindgren, U., Eriksson, M., Eriksson, R., Häggström Lundevaller, E., Holme, K., & Strömgren, M. (2004a). Transfereringar och arbete (Arbetsrapport R2004, Vol. 16). Östersund: ITPS – Institutet för tillväxtpolitiska studier.
Holm, E., Lindgren, U., & Malmberg, G. (2004b). Arbete och tillväxt i hela landet – betydelsen av arbetskraftsmobilisering (Vol. 22). Östersund: ITPS – Institutet för tillväxtpolitiska studier.
Holm, E., Lindgren, U., Häggström Lundevaller, E., & Strömgren, M. (2007). SVERIGE. In A. Gupta & A. Harding (Eds.), Modelling our future, population ageing health and aged care: International symposia in economic theory and econometrics (Vol. 16). Amsterdam/Boston: Elsevier.
Holm, E., Lindgren, U., & Strömgren, M. (2008). Socioekonomiska effekter av stora investeringar i Oskarshamn. SKB R-08–76.
Klevmarken, A. (1997). Behavioral modeling in micro simulation models: A survey (Working Paper Series 997:31). Uppsala University, Department of Economics.
Rephann, T., & Holm, E. (2004). Economic-demographic effects of immigration: Results from a dynamic, spatial microsimulation model. International Regional Science Review, 27, 379–410.
Rephann, T., Mäkilä, K., & Holm, E. (2005). Microsimulation for local impact analysis: An application to plant shutdown. Journal of Regional Science, 45, 183–222.
Statistics Canada. (no date). Modgen 15 years of creating models. http://www.statcan.gc.ca/microsimulation/pdf/modgen-hist-eng.pdf. Accessed 20 Aug 2011.
Strömgren, M., & Holm, E. (2004). Åldrande befolkning och framtida behov av kommunalskatt, Kulturgeografiska institutionen, Umeå universitet.
Strömgren, M., & Holm, E. (2010). Using downscaled population in local data generation (Technical Report). ESPON 2013 Database.
Waddell, F., & Ulfarsson, G. (2004). Introduction to urban simulation: Design and development of operational models. In B. Stopher & H. Kingsley (Eds.), Handbook in transport, Volume 5: Transport geography and spatial systems (pp. 203–236). New York: Pergamon Press.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer Science+Business Media Dordrecht.
About this chapter
Cite this chapter
Holm, E., Mäkilä, K. (2012). Design Principles for Micro Models. In: Tanton, R., Edwards, K. (eds) Spatial Microsimulation: A Reference Guide for Users. Understanding Population Trends and Processes, vol 6. Springer, Dordrecht. https://doi.org/10.1007/978-94-007-4623-7_12
Download citation
DOI: https://doi.org/10.1007/978-94-007-4623-7_12
Published:
Publisher Name: Springer, Dordrecht
Print ISBN: 978-94-007-4622-0
Online ISBN: 978-94-007-4623-7
eBook Packages: Humanities, Social Sciences and LawSocial Sciences (R0)