Participatory Agent-Based Simulation for Renewable Resource Management : The Role of the Cormas Simulation Platform to Nurture a Community of Practice

This paper describes how the Cormas platform has been used for 12 years as an artefact to foster learning about agent-based simulation for renewable resource management. Among the existing generic agent-based simulation platforms, Cormas occupies a tiny, yet lively, place. Thanks to regular training sessions and an electronic forum, a community of users has been gradually established that has enabled a sharing of ideas, practices and knowledge, and the emergence of a genuine community of practice whose members are particularly interested in participatory agent-based simulation.

A multi-agent system (MAS) is a metaphor of reality (in its social, biological and physical dimensions) that views a socio-ecosystem as a set of interacting autonomous entities located within an environment.
To make their decisions, these objective-driven entities refer to specific representations of their environment (Ferber 1999).When applied to ecosystem management, this paradigm enables the representation of relationships between stakeholders with regards to renewable natural resources (Bousquet and Le Page 2004;Le Page et al. 2011).Most domain models related to the management of renewable natural resources share certain similarities, and the MAS paradigm can be used to design them.Indeed, the environment corresponds to a portion of space that contains certain resources which abundance and quality may change according to intrinsic dynamic processes.Stakeholders, groups of stakeholders and/or institutions (any kind of entities making decisions somehow related to the resources) are represented as computer agents interacting with both the environment and the other agents (Bousquet et al. 1999;Janssen 2002).
1.2 An agent-based simulation model refers to the concrete model implemented with a computer programming language.It is used to simulate in silico the evolution of the domain model, namely the socioecosystem represented as a MAS.There is a bewildering abundance of terms found in the literature to refer to this kind of MAS application in environmental management.This point has been stressed by Hare and Deadman (2004), whose recommendation to use the neutral umbrella term "agent-based simulation" (ABS) will be followed in this paper.

1.3
In the mid 90s, faced with the task of developing models to represent several specific socio-ecosystems, the modelers in the CIRAD Green research unit felt that it was worth building on existing work by providing a set of functionalities to facilitate the process of designing agent-based models and of running simulations.Cormas (Common-pool Resources and Multi-Agent Systems), a generic agent-based simulation platform, was therefore implemented in 1997 based on the object-oriented programming language Smalltalk (Bousquet et al. 1998).As it would have to address natural resource issues, the platform's space representation functionalities were deemed to require particular attention.In Cormas, elementary spatial entities are either raster cells or polygons organized across hierarchical levels: lower-level spatial entities can be aggregated to create compound spatial entities whose components are defined as sets of contiguous elementary spatial entities filling a shared condition.To facilitate the design of realistic virtual environments, a link between Cormas and the more widely used Geographical Information System software was also established through an asynchronous operation of functions within each system that enable file-based data exchange.

1.4
By the late 90s, people who were not members of the initial core group of Cormas designers started to use the platform.In this paper, we suggest that the Cormas user community operates as a community of practice fostering efficient learning on agent-based modeling and simulation for renewable resource management.We discuss the crucial role of training sessions on multi-agent systems for natural resource management, where Cormas plays a key role, and then we analyze the scientific production of the community.Before that, in order to position Cormas, we provide an overview of the existing agent-based simulation generic platforms.
The rise of agent-based simulation platforms 2.1 Software frameworks provide abstractions and mechanisms for the definition of agents and their environments to support their interactions, but also additional functionalities like simulation management (setup and scheduling), its visualization, monitoring and the acquisition of data about the simulated dynamics (Gilbert and Bankes 2002;Bandini et al. 2009).Such generic ABS platforms facilitate the process of converting a conceptual agent-based model (a model framed by referring to the multi-agent system paradigm) into a ready-to-run computer simulation model.

Diversity of ABS platforms
2.2 Among the recent comparative reviews of existing ABS platforms some are rather general in nature (Railsback et al. 2006;Nikolai and Madey 2009), while others focus on a specific domain like geosimulation (Castle and Crooks 2006) or social simulation (Gilbert and Bankes 2002;Tobias and Hofmann 2004).We briefly present here the most cited ABS platforms to contextualize Cormas.

2.3
The early ABS platforms were developed using general purpose programming languages (generally object-oriented).Without dispute, java is the most widely used object-oriented language, and therefore offers a huge library of modules.The vast majority of existing ABS platforms are based on java: Ascape, developed in the USA at Brookings Institution (Parker 2001).Mason, developed in the USA at George Mason University (Luke at al. 2005).Repast, created in the USA at the University of Chicago and subsequently maintained by organizations such as Argonne National Laboratory (North et al. 2006).Swarm, developed in the USA at Santa Fe Institute (Minar et al. 1996).

2.4
However, inadequate programming skills remain an obstacle to the use of ABS for many researchers (Railsback et al. 2006).Indeed, many potential users of ABS platforms are not familiar with computer programming.Scientific university programs often neglect basic programming skill development, and this is true in many fields in which ABS is used.

2.5
NetLogo, developed in the USA (Wilensky 1999), leaned towards simplicity by providing a very simple programming language (a "script") that does not require a background in informatics, and is aimed at attracting non specialists (non modeler scientists as well as scholars) so that they can learn about complex systems by writing programs and/or running computer simulations by themselves.

2.6
The Cormas development team at CIRAD (Bousquet et al. 1998) opted for Smalltalk to develop the platform and design the models despite certain reservations concerning the relatively small community of Smalltalk developers (Tobias 2004).However Smalltalk provides some clear advantages over other languages.As this language is purely object-oriented, its inherent logic is easier to pick up, however for people who are used to other programming languages, its logic can be counterintuitive.Smalltalk has been said to be the best beginner's language (Kühne 2001) and the debugging of a Smalltalk program is a learning process in itself.When a bug stops the execution of the program, a live inspector window pops up and provides contextual clues to help resolve the issue.This gives the trainee programmer a more intimate vision of how Smalltalk works.

2.7
To assess how the use of ABS platforms grew over the last decade, we conducted a survey with Google Scholar on September 24, 2010 by searching for articles with the exact phrase "agent-based simulation".Only year-referenced articles were recorded, with no verification of the relevance of each reference and the results shown in figure 1 should therefore be considered with caution.Popularity of ABS platforms 2.9 We used Google Scholar once more on September 24, 2010 in order to record the number of dated citations of the seminal papers for the 6 ABS platforms described above.We propose to define a platform popularity index based on the average number of citations per year since these seminal papers were published (see table 1).improve their skills in a particular common domain (Wenger 1998).In addition, they usually develop common language and jargon, concepts or tools that are typically understood just by the members (Lesser and Storck 2001).

3.2
Shortly after the first version of Cormas was released (late 90s), an electronic forum was set up to nurture a community of Cormas users and a two-week training session was developed so that people interested in the Cormas platform could improve their individual skills through exchanging and sharing a pool of resources.A member of the Cormas community is defined as someone who attended (at least) one training session and/or once subscribed to the electronic forum (see the proposed typology based on these two dimensions in table 2).  3 shows that 57% of the Cormas community members (N = 759) attended a training session.Most of them never subscribed to the forum.Nevertheless, the electronic forum has played a key role as 40% of the members joined the community through the forum.
Figure 3. Distribution of Cormas community member types as defined in table The electronic forum: a necessary but limited tool

3.4
The electronic forum paved the way for the setting-up of a genuine COP.The forum was assessed by Guechtouli (2009) who used the Cormas user community to validate a theoretical agent-based model that investigated communication and knowledge transfer within a COP (Guechtouli 2008).Reviewing all the 967 messages sent to the Cormas forum between 2000 and 2006, Guechtouli found 289 messages dealing with technical aspects related to the platform and noted that the number of responders to technical questions on Cormas had steadily increased during the period of her survey (see figure 4).ABMs with Cormas, 12,5% on case studies, 22,5% on lectures and 10% on Role-Playing Games.Altogether, half of the time was directly focused on mastering the simulation platform.This was accomplished through training based on a didactic model during the first week (spreading of a forest fire with a Cellular Automata, introduction of reactive and then cognitive fireman agents) and then through the implementation of specific prototype models by groups of 2 to 3 trainees during the second week.If we consider that programming language proficiency cannot be taught but must be learned (Kühne 2001), this mix of objectivist design (during the first week) and constructivist design by means of personal projects (during the second week) was aimed at shifting the emphasis from teaching to learning.

3.8
Moreover, Cormas models were demonstrated in both case studies and lectures.For the latter, a library of didactic models was progressively established, with some creations and some replications of standards, like the spatial prisoner's dilemma game (Nowak and May 1992), to introduce the basic concepts of game theory and cellular automata, or foraging robots (Drogoul and Ferber 1992) to teach cooperation with reactive agents.

3.9
As with the electronic forum (see figure 4), certain trainees played an important role in boosting the community.Prototype models, which were developed by participants during training courses, became material to be used in later training sessions.For instance, a theoretical model was prototyped in December 1998 to investigate the dynamics between individual and collective representations in an agentbased "forest" model (Bonnefoy et al. 2000), and the Dricol ABM (Thebaud and Locatelli 2001) was prototyped in May 2000 to explore the emergence of resource-sharing conventions.Trainees today are asked to replicate these models in order to learn the methodological steps involved in taking a conceptual agent-based model designed with UML to its implementation phase in Cormas (Le Page and Bommel 2005).Similarly, the SYLVOPAST computer-assisted role-playing game (Etienne 2003) also sprang from a training session (organized in December 1999).Since then, it has been used many times to let trainees experience the potentialities of tools like role-playing games to support collective decision-making processes.
3.10 In the next section, we analyze Cormas-linked publications with a particular focus on the relation between authors and the Cormas-user community.
Analysis of Cormas-linked publications

4.1
We conducted a survey with Google Scholar on September 21th 2010 by searching for the keyword "Cormas" located anywhere in articles.After checking the validity of each individual result, we ended up with a collection of 270 publications.References-denoted M-describing a specific model developed with the Cormas platform (focused on the model representing a given socio-ecosystem) were differentiated from references -denoted P-related to the Cormas simulation platform itself.M papers represent 54% of the total (see figure 6).The majority (59%) of the P papers (denoted P0) just mentioned Cormas in passing as one of the existing ABS platforms while 41% (denoted P1) provided a description of the Cormas platform and addressed methodological issues (see figure 6).To characterize the diversity of M references, several dimensions were analyzed.The first one deals with the location of the Cormas model on a spectrum ranging from the most theory-driven to the most evidence-driven (Moss 2008).A theory-driven model is strictly the computational implementation of some theoretical features.Such models are usually abstract, and not connected to any specific context like the one already mentioned in the field of geography (Bonnefoy 2000).This subcategory, denoted Mt, represents only 10% of the whole M category.On the opposite side of the spectrum, an evidencebased model straightforwardly integrates information about a given socio-ecosystem into a simulation model, and therefore enables a better understanding of the system and the exploration of contrasted management scenarios.It is related to what Janssen and Ostrom (2006) called "case study analysis" in their typology of empirical approaches to ABS, along with i) role-playing games (interactive simulations based on situations in particular communities in which participants play the roles they play in real life, enabling the elicitation and sharing of representations) ii) laboratory experiments (very precise hypotheses tested in a highly abstract and controlled environment to compare alternative models of human decision making); and iii) stylized facts (empirical facts that arose similarly in various statistical studies).Case study analysis (denoted here Ma) and role-playing game (denoted here Mg) focus on the context in which particular subjects make their decisions.These two types are the most common types of models implemented with Cormas (31% and 18% respectively, see figure 6).

4.3
As illustrated in figure 7, the number of theoretical models identified began to decrease after the fourth year.Thereafter, models developed with Cormas were predominantly applied ones.What is most remarkable however, is the steady increase in the use of Cormas to support role-playing games, and this since the early days of the platform (see the trend of the Mg category in figure 7).Today the Mg category accounts for half of the publications that describe a model implemented with Cormas.Geographical zones covered by cormas models 4.6 Another Cormas specificity is that two-thirds of the models deal with case studies located in developing countries (see figure 9).Once again, this has to do with CIRAD's research focus, even if users outside CIRAD are also contributing to this specificity (e.g.Saqalli et al. 2010;Rebaudo et al. 2011).In addition, the fact that Cormas training sessions took place at locations in different corners of the world heavily influenced the geographic distribution of models.For instance, in South America the training sessions led to the development of several models based on local issues.This trend was observed for all the different locations.
http://jasss.soc.surrey.ac.uk/15/1/10.html6 12/10/2015 As all the authors of a single publication are not necessarily linked to the community in the same way (e.g.some may have been trainees, some not) we assigned a global author indicator to all the M references defined as one of the 6 indicators proposed in table 2 for individual members.To achieve this, we selected from all the co-authors of a single publication the strongest linkage to the community for both the attendance to a training session and the subscription to the electronic forum.
Figure 10.Distribution of Cormas model publications according to the relations of co-authors to the Cormas community 4.8 For instance, if a co-author was a trainee but never participated in the forum and another co-author still subscribes to the forum but never attended a training session, the publication was classified in the TSS category (see table 2). Figure 10   As soon as a simulation platform starts to be used by people outside the designer core group, a user community emerges.The main benefit of being a member of the community is related to the ease in mastering the simulation platform.The resources available to the community members are an electronic forum and a dedicated website providing a library of existing models, a list of publications, tutorials, etc.Additionally, the organization of events that allow face-to-face interactions between community members helps cement the user community.Such events are typically introductory courses designed to train participants.They exist for all the platforms mentioned in this article and may sometimes be expanded through advanced courses.In addition, distance learning can also be used, especially when the focus is on technical aspects.E-learning modules, such as the one developed on Cormas, therefore provide a flexible way to incite people to use the tool when they wish to do so.Events allowing face-toface interactions between community members also give them the opportunity to present new or tentative results and to talk about methodological issues.SwarmFest, which is organized annually since 1997, is a good example of this kind of informal conference (summer seminar) where participants sharing a common interest in agent-based modeling in general, and methodological implementation issues in particular, can regularly meet.

5.2
Unlike unspecialized agent-based simulation platforms such as Repast, Swarm or Netlogo, Cormas also federates its user community through a shared thematic interest in participatory approaches designed to address renewable natural resource management issues.The companion modeling approach that involves local stakeholders as well as scientific domain experts in the modeling process (Barreteau et al. 2003;Etienne 2011) was initiated by researchers from the Green research unit at CIRAD ( Bousquet et al. 1999).Role-playing games are now recognized as powerful empirical tools to support the collective design and refinement of evidence-driven agent-based models providing realistically descriptive specifications of individual behavior and social interaction (Janssen and Ostrom 2006;Moss 2008).During the last decade, a batch of such computer-assisted games related to natural resource management have been developed with Cormas (Bousquet et al. 2002;Etienne 2003;d'Aquino et al. 2003;Castella et al. 2005;Mathevet et al. 2007;Adamatti et al. 2009;Cleland et al. 2010;Souchère et al. 2010;Dumrongrojwatthana et al. 2011;Gourmelon et al. 2011).Today, just like in its early development stage, the evolution of Cormas is driven by its user community needs.Whereas 10 years ago the focus was more on spatial features, it has now switched to facilitated interactive simulation.

Conclusion
6.1 In this paper, we described how the Cormas platform has been used for 12 years as an artefact to foster learning about agent-based simulation for renewable resource management.More than 50 training sessions were organized all over the world.A library of didactic models has been built over time.By manipulating these simple models, inexperienced programmers were getting started with the Cormas platform and the syntax of the Smalltalk object-oriented language.Straight after this initial discovery phase, the trainees followed up with the design and the implementation of a prototype agent-based model related to their case study.Many applications developed with Cormas are models of socio-ecosystems intended to be used to raise the awareness of the stakeholders (including scientists) of the variety of points of view and their consequences in terms of resource management.This is why the Cormas user community is regarded as a group mainly interested in context-specific participatory agent-based simulation.

Figure 1 .
Figure 1.Year-referenced articles in Google Scholar with "agent-based simulation".Light-color portions correspond to references mentioning one of the following ABS platforms: Ascape, Cormas, Mason, NetLogo, Repast, Swarm 2.8 After a decade of steady growth, agent-based simulation seems to have reached its peak in popularity.To get an idea of the rate of ABMs designed with a generic simulation platform, we extracted ABS publications mentioning one of the most frequently cited tools (Ascape, Cormas, Mason, NetLogo, Repast and Swarm).Today, more than half of the publications related to ABS are also related to one generic simulation platform.

Figure 2 .
Figure 2. Number of dated references in Google Scholar quoting the seminal paper of 6 ABS platforms 2.10 Figure 2 shows the evolution of the number of platform seminal paper citations.Swarm, which was a pioneer, remains a major reference, but it seems to have been overtaken by Repast and NetLogo.Since the beginning of the last decade, Cormas has been used by a relatively small community of users.However, this is mitigated by the fact that members are very loyal and active.The Cormas user community 3.1 A community of practice (COP) is any group of people whose members have a common interest in a subject, problem or goal; through collaboration and sharing of ideas, practices and knowledge, they

Figure 6 .
Figure 6.Distribution of Cormas-linked publications 4.2To characterize the diversity of M references, several dimensions were analyzed.The first one deals with the location of the Cormas model on a spectrum ranging from the most theory-driven to the most evidence-driven(Moss 2008).A theory-driven model is strictly the computational implementation of some theoretical features.Such models are usually abstract, and not connected to any specific context like the one already mentioned in the field of geography(Bonnefoy 2000).This subcategory, denoted Mt, represents only 10% of the whole M category.On the opposite side of the spectrum, an evidencebased model straightforwardly integrates information about a given socio-ecosystem into a simulation model, and therefore enables a better understanding of the system and the exploration of contrasted management scenarios.It is related to what Janssen and Ostrom (2006) called "case study analysis" in their typology of empirical approaches to ABS, along with i) role-playing games (interactive simulations based on situations in particular communities in which participants play the roles they play in real life, enabling the elicitation and sharing of representations) ii) laboratory experiments (very precise hypotheses tested in a highly abstract and controlled environment to compare alternative models of human decision making); and iii) stylized facts (empirical facts that arose similarly in various statistical studies).Case study analysis (denoted here Ma) and role-playing game (denoted here Mg) focus on the context in which particular subjects make their decisions.These two types are the most common types of models implemented with Cormas (31% and 18% respectively, see figure6).

Figure 9 .
Figure 9. Geographic distribution of Cormas models by continent Most of the Cormas applications in Europe are French, which is not surprising as the platform was developed in France.Cormas model publications and the Cormas user community 4.7Now that we have defined what exactly the Cormas user community is, and analyzed publications based on Cormas models, we propose to merge these two sets of data so that the interactions between publishing a model developed with Cormas and the Cormas user community itself can be more easily understood.20% of Cormas course attendees published, as first author (or as co-author), a paper about a model developed with the platform.As all the authors of a single publication are not necessarily linked to the community in the same way (e.g.some may have been trainees, some not) we assigned a global author indicator to all the M references defined as one of the 6 indicators proposed in table 2 for individual members.To achieve this, we selected from all the co-authors of a single publication the strongest linkage to the community for both the attendance to a training session and the subscription to the electronic forum.
presents the distribution of the Cormas model publications according to this principle.71% of the publications are authored by at least one person who attended a training session.Most of the people who expressed an interest in the Cormas platform were not familiar with agent-based modeling and object-oriented programming.Therefore, they felt the specific need to learn how to quickly move from envisioning what an ABM related to their research topic would look like to being able to design, implement and run a concrete prototype ABM.To this end, a training session is the most appropriate way.Figure10also shows that 12% of the Cormas model papers are published by people who neither attended a training session nor ever subscribed to the electronic forum (NTNS category).This proportion increased over time, to reach one-third in 2009 (see figure11).

Figure 11 .
Figure 11.Evolution of the proportion of Cormas model papers published by outsiders of the Cormas user community 4.9 This trend can be explained by the availability, since 2005, of online tutorials demonstrating how to design and operate models with Cormas.For instance, the use of Cormas to implement the successive versions of the StupidModel benchmark proposed by Railsback and his colleagues (2006) has been recorded step by step.Discussion 5.1As soon as a simulation platform starts to be used by people outside the designer core group, a user community emerges.The main benefit of being a member of the community is related to the ease in mastering the simulation platform.The resources available to the community members are an electronic forum and a dedicated website providing a library of existing models, a list of publications, tutorials, etc.Additionally, the organization of events that allow face-to-face interactions between community members helps cement the user community.Such events are typically introductory courses designed to train participants.They exist for all the platforms mentioned in this article and may sometimes be expanded through advanced courses.In addition, distance learning can also be used, especially when the focus is on technical aspects.E-learning modules, such as the one developed on Cormas, therefore provide a flexible way to incite people to use the tool when they wish to do so.Events allowing face-toface interactions between community members also give them the opportunity to present new or tentative results and to talk about methodological issues.SwarmFest, which is organized annually since 1997, is a good example of this kind of informal conference (summer seminar) where participants sharing a common interest in agent-based modeling in general, and methodological implementation issues in particular, can regularly meet.

Table 1 :
Popularity index of 6 ABS platforms ABS platform Year of seminal paper publication Total number of dated citations Number of citations per year

Table 2 :
Typology of Cormas community members according to training session attendance and subscription to the electronic forum

Table 3 .
Programme of the 2-week training course on "Simulation of Complex System: Multi-Agent System and Renewable Resource Management" organized in Montpellier (France) in March 2004 3.7Table3displays the original 2-week course format that was used between 1997 and 2005, where 20% of the time was allocated to learning about Cormas (incl.Smalltalk), 30% on prototyping personal