Digital Library

of the European Council for Modelling and Simulation



Distributing RePast Simulations Using Actors


Franco Cicirelli, Angelo Furfaro, Andrea Giordano, Libero Nigro

Published in:


(2009).ECMS 2009 Proceedings edited by J. Otamendi, A. Bargiela, J. L. Montes, L. M. Doncel Pedrera. European Council for Modeling and Simulation. doi:10.7148/2009 


ISBN: 978-0-9553018-8-9


23rd European Conference on Modelling and Simulation,

Madrid, June 9-12, 2009

Citation format:

Cicirelli, F., Furfaro, A., Giordano, A., & Nigro, L. (2009). Distributing RePast Simulations Using Actors. ECMS 2009 Proceedings edited by J. Otamendi, A. Bargiela, J. L. Montes, L. M. Doncel Pedrera (pp. 226-232). European Council for Modeling and Simulation. doi:10.7148/2009-0226-0232



RePast is a well-known agent-based toolkit for modelling and simulation of complex systems. The toolkit is normally used on a single workstation, where modelling, execution and visualization aspects are dealt with. This paper describes an approach aimed to distributing RePast models, with minimal changes, over a networked context so as to address very large and reconfigurable models whose computational needs (in space and time) can be difficult to satisfy on a single machine. Novel in the approach is an exploitation of a lean actor infrastructure implemented in Java. Actors bring to RePast agents migration, location-transparent naming, efficient communications, and a control-centric framework. Actors can be orchestrated by an in-the- large custom control structure which can ensure the necessary message precedence constraints. Preliminary experience is being carried out using HLA/RTI as middleware. However, the realization can also work with other standard transport layers such as Java Socket and Java RMI. The paper introduces the design rationale behind mapping RePast on to actors and discusses a distributed example.

Full text: