Publications des agents du Cirad

Cirad

Facilitating the design of ABM and the code generation to promote participatory modelling

Uhnak P., Bommel P.. 2016. In : Sauvage, S. (ed.), Sánchez-Pérez, J.M. (ed.), Rizzoli, A.E. (ed.). Proceedings of the 8th International Congress on Environmental Modelling and Software. Toulouse : Université de Toulouse, p. 827-835. International Congress on Environmental Modelling and Sofware (iEMSs 2016), 2016-07-10/2016-07-14, Toulouse (France).

Designing and implementing an ABM is a hard task that needs programming skills besides design skills. This is especially true when dealing with Participatory Modelling (PM) where the model should no longer appear as a black box. On the contrary, participants of a PM process should easily understand the relationship between the outputs of a simulation and the underlying conceptual model, and even contribute to modify it. For that purpose, we have developed an UML Class Diagram Editor that allows the participants to design the structure of their model. Then it generates the source code of the model that can be loaded on Cormas, an ABM platform dedicated to natural resources management. Conversely, the editor is also able to read existing code to generate a diagram by reverse engineering. As autonomous software, our editor can produce standard XMI files and other types of codes. Currently, Cormas is the targeted platform, but code generation can be easily available for other platforms. Obviously the generated code does not enable to run a simulation. It contains only the structure of the model: classes, attributes (with their default value) and associations. Methods to instantiate a simulation and activate the agents still need to be implemented. Nevertheless, Cormas offers many useful methods of its generic classes that can be reused by the specific agents of the modellers. As Cormas is oriented toward interactive simulation, this code generator will greatly facilitate the involvement of stakeholders in participating in the design of models to explore scenarios regarding their own socio-environmental systems.

Documents associés

Communication de congrès

Agents Cirad, auteurs de cette publication :