Victorino Sanz
Dpto. Informática y Automática, ETSI Informática, UNED, Madrid, Spain
Alfonso Urquia
Dpto. Informática y Automática, ETSI Informática, UNED, Madrid, Spain
Alberto Leva
Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano, Milano, Italy
Ladda ner artikel
http://dx.doi.org/10.3384/ecp14096489Ingår i: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden
Linköping Electronic Conference Proceedings 96:51, s. 489-498
Publicerad: 2014-03-10
ISBN: 978-91-7519-380-9
ISSN: 1650-3686 (tryckt), 1650-3740 (online)
Cellular Automata (CA) can be used to describe dynamic phenomena dependent of the spatial coordinates. This approach exhibits two main advantages: CA models are conceptually simple and can be simulated very efficiently. A new Modelica library named CellularAutomataLib is presented. It facilitates describing one- and two-dimensional CA in Modelica; and interfacing these CA models with other Modelica models. Simulation performance and large model support have been highest priority in the design of the library. To achieve these goals; the CA internal description is programmed in C and it is consequently hidden to the modeling environment; which is released from the burden of causalizing and manipulating the millions of equations that typically compose CA models. The library architecture and use are discussed in this manuscript. Two examples illustrate the library use: heat diffusion on a chip and spread of an epidemic disease. CellularAutomataLib is freely available at
http://www.euclides.dia.uned.es.
Inga referenser tillgängliga