AnyLogic supports full integration of all simulation methods, and provides you with the unique ability to make agents living in GIS space also pass through the process flowcharts defined with Process Modeling Library blocks.
In this article we will describe all common tasks related to GIS - process-centric integration.
You have agents living in GIS space, and want them to pass through process defined with a flowchart. You can easily insert GIS agents into a flowchart by using the Enter block of Process Modeling Library. In this case typically you may need to end the flowchart with Exit block, not to delete the agents leaving the flowchart with Sink (see the figure below). To insert agent in a flowchart starting with Enter block, use the block's function take(), passing the agent as the function argument, e.g. enter.take(truck);
All the Process Modeling Library blocks that generate new agents ( Source, Enter, Assembler, Batch, Split) allow modelers to place the generated agents in GIS space, in the specific point on the map. To know how to define a new GIS location, please refer here.
Moreover, you can add generated agents to some specific agent population. In the first Advanced section of the flowchart block, choose Add agents to: custom population, and choose the population from the Population drop-down list below.
When your GIS agent resides in a Process Modeling Library flowchart, you can make it move to a new GIS location using MoveTo flowchart block. To know how to define a new GIS location, please refer here.
Process Modeling Library blocks support several ways of defining the GIS location for generated / moved agents.
You can define the new GIS location as: