Introduction
GAMA is a platform for building and running agent-based models. Models and experiment plans are written in GAML, the language used to define agents, their behavior and the conditions for running simulations.
GAMA's design is rooted in research on multi-agent-based simulation. A foundational reference is Drogoul, Vanbergue and Meurisse, βMulti-Agent Based Simulation: Where Are the Agents?β (2003), which examines how computational agents relate to the different parts of a simulation. This perspective is reflected in GAML, where simulations and experiments are modeled alongside the agents that populate a model.
From a model to a simulationβ
A model defines its environment and the types of agents that can exist in it. The global species describes model-wide state and behavior; other species describe agent types. When a simulation runs, GAMA creates a model instance and the agents defined by the model.
An experiment plan describes how to run a model. It can define input parameters and outputs, and it selects how the simulation is run, such as through the graphical interface or as a batch experiment. When an experiment starts, GAMA creates an experiment agent to manage one or more simulation agents. Each simulation instantiates the agents defined by the model.
Main termsβ
| Term | Meaning |
|---|---|
| Model | A definition of a simulation, including its global state and agent species. |
| Species | A definition of an agent type, including its attributes and behavior. |
| Agent | A running instance of a species. |
| Global species | The model-wide species that provides the simulation's global state and behavior. |
| Experiment plan | A definition of how to run a model, including its type, parameters and outputs. |
| Simulation | A running instance of a model, managed by an experiment. |
A GAML file can contain model, species and experiment declarations. Experiment plans can also be defined in separate experiment files. The detailed syntax and options are covered in basic species, GUI experiments and exploring models.