In the last few years Agent Based Models (ABMs) have attracted growing interest in the field of computational simulation thanks to their applicability in very heterogeneous landscapes, usability for fine-grained descriptions and comprehensibility for application domain experts. However, the lack of a well-defined semantics for specifying how agents behave and how they get coupled and scheduled may lead to inconsistent results. To fill this gap we proposed a well defined ABMs semantics that, using Extended Stochastic Symmetric Nets for model description, allows the modeller to automatically derive the corresponding ABM simulator that is directly executable in the NetLogo ABM framework. In the present paper we propose an improvement that exploits locality of state change effects to avoid recomputing the rates of the enabled events at each state change. This is achieved by exploiting structural properties of the ESSN model to generate optimized NetLogo code (semi)automatically. The results obtained for an example case-study demonstrate a relevant improvement in terms of execution time when structural optimizations are employed to reduce rates calculations.

Exploiting Structural Dependency Relations for Efficient Agent Based Model Simulation

Amparore E. G.;
2023-01-01

Abstract

In the last few years Agent Based Models (ABMs) have attracted growing interest in the field of computational simulation thanks to their applicability in very heterogeneous landscapes, usability for fine-grained descriptions and comprehensibility for application domain experts. However, the lack of a well-defined semantics for specifying how agents behave and how they get coupled and scheduled may lead to inconsistent results. To fill this gap we proposed a well defined ABMs semantics that, using Extended Stochastic Symmetric Nets for model description, allows the modeller to automatically derive the corresponding ABM simulator that is directly executable in the NetLogo ABM framework. In the present paper we propose an improvement that exploits locality of state change effects to avoid recomputing the rates of the enabled events at each state change. This is achieved by exploiting structural properties of the ESSN model to generate optimized NetLogo code (semi)automatically. The results obtained for an example case-study demonstrate a relevant improvement in terms of execution time when structural optimizations are employed to reduce rates calculations.
2023
27th International Conference on Analytical and Stochastic Modelling Techniques and Applications, ASMTA 2023 and 19th European Performance Engineering Workshop, EPEW 2023
ita
2023
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Springer Science and Business Media Deutschland GmbH
14231
353
368
9783031431845
9783031431852
ABM Simulation; Structural analysis; Symmetric Nets
Pennisi Marzio; Amparore E.G.; Franceschinis Giuliana
File in questo prodotto:
File Dimensione Formato  
978-3-031-43185-2.pdf

Accesso aperto

Tipo di file: PDF EDITORIALE
Dimensione 903.51 kB
Formato Adobe PDF
903.51 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/2077356
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
social impact