Tutorials


RepastPy works by compiling the components in the project pane into Java code compatible with the Repast simulation framework. Building a simulation is then done by adding components from the component palette to the property pane, customizing these components by editing their properties, compiling the project and then running the resulting RePast simulation.

A RepastPy simulation minimally consists of a model component, such as Default Network Model, and an agent component, such as Default Network Node. Once compiled the model is responsible for setting up the various pieces of the simulation including the agents. The agent component acts as a template for the creation of agents by the model. The agent component defines the properties and behavoir of an agent, and the model when compiled and run creates some number of these agents.

RepastPy is distributed with three tutorials of increasing complexity that illustrate the above in step by step fashion. The tutorials build on each other and so it is best to do them in order. The completed project files for the tutorial simulations can be found in the simbuilder/tutorial directory. Click on the links below to proceed to the tutorials themselves.