ABSTRACT

This chapter shows how CD++ simplifies the construction of such cellular models by allowing an intuitive rule-based model specification. It presents the definition of different models, including pollution in a basin, vegetation growth, watershed formation, and fire spreading, and will focus on how to define such rule-based applications using the Cell-Discrete-event systems specification (DEVS) methodology and how to implement the model in CD++. The chapter analyzes only rules to compute the next position of the ants, thus avoiding collisions. It considers how much water must be passed to the neighbors by comparing the level in the current cell and in the neighborhood and how much water is received from the inverse neighborhood. The chapter provides an initial state, representing the slope of the terrain before raining and introduces different methods based on Cell-DEVS that can be used for modeling fire spreading. It discusses a model on the viability of population spread in a field and different ant foraging models.