期刊名称:Journal of Artificial Societies and Social Simulation
印刷版ISSN:1460-7425
出版年度:2018
卷号:21
期号:2
页码:1-14
DOI:10.18564/jasss.3668
出版社:University of Surrey, Department of Sociology
摘要:Methods for testing and analyzing agent-based models have drawn increasing attention in the literature, in the context of eorts to establish standardframeworksfor the development and documentation of models. This process can benefit from the use of established soware environments for data analysis and visualization. For instance, the popular NetLogo agent-based modelling soware can be interfaced with Mathematica and R, letting modellers use the advanced analysis capabilities available in these programming languages. To extend these capabilities to an additional user base, this paper presents the pyNetLogo connector, which allows NetLogo to be controlled from the Python general-purpose programming language. Given Python’s increasing popularity for scientific computing, this provides additional flexibility for modellers and analysts. PyNetLogo’s features are demonstrated by controlling one of NetLogo’s example models from an interactive Python environment, then performing a global sensitivity analysis with parallel processing.