This template represents an agent or individual moving over a surface represented by a grid, for example, animals (agents) moving through vegetation represented by a grid or air parcels moving over a surface in a Langrangian model.
A grid is represented by a fixed instance submodel, each instance a patche (or cell). Each patch with a row and column attribute variable.
The agents are represented as population submodel. Each agent has a position specified by an x and y co-ordinate. The change in co-ordinates will be a main focus of customisation by the template user. Given specifications of the grid it is possible to calculate the grid column and row that the agent occupies.
Using an association submodel it is then possible to find the collection of agents that are in a patch.
Attachment | Size |
---|---|
AgentInPatch.sml | 370.11 KB |