The GIS Map shape has been greatly improved: now it supports tiled maps (i.e. OpenStreetMap), and you can use all the data that comes along with them: cities, regions, road networks, objects (hospitals, schools, bus stops, etc.). You can place agents in specific locations on the map, and make them move along existing roads or routes. The routes can be requested from one of the supported route servers (AnyLogic, YOURS or BRouter), or you can create a routing graph from an .osm file using the built-in wizard. Once downloaded, tiles and routes are cached, enabling users to work in offline mode.
You can create the required elements on the map inside the model, using the built-in map search or new space markup elements (i.e. GIS Point, GIS Route, and GIS Region). Using the GIS Search Results view, you can also create a GIS Multiregion object.
The environment of the agent becomes GIS Space when you add a GIS Map shape on its diagram.
Read all about the new GIS features in the help section GIS Models.
The GIS space has been traditionally used in the agent-based modeling. Now you can combine agents, GIS and process flowcharts in one model.
Read more about this integration here.
See AnyLogic API reference: GIS package
Now you have access to parameters of a custom agent type in every flowchart block with no need to specify it anywhere except for the block that generates those agents in the flowchart. These are the flowchart blocks like Source, Enter, Assembler, Split, Batch, ...
For instance, specify your agent as the New agent that the Source block should generate, and you will be able to use the agent variable to access your custom agent type's parameters in the following library blocks of this flowchart. You can check if the agent type is propagated in the Advanced section of the properties of library blocks.
The Parameter element now can be defined in Time, Rate, Speed, Length, Acceleration, and Area units of measurement. First you choose the parameter type, then you will be able to choose the units for this type.
Now you have the ability to quickly set your agents’ speed at miles or kilometers per hour, choose time units for timeouts in events, transitions, Source blocks, and so on. Then, no matter what your model time units are, the objects in the model will keep their processes defined in the real units of measurement.
In the control's Properties, select the option Link to, and then choose an element from the drop-down list: a parameter, a variable, even a parameter of some flowchart block. There is no need to manually type the name of this parameter anymore:
After you choose some element in another object's properties, you can find it in the graphical editor by clicking this button:
All elements that are used by a flowchart block or any other object are highlighted in the graphical editor. If you select a block that refers to other objects in its properties, you will see these objects highlighted in the purple color:
Ctrl+click the name of a model element in the code to navigate to it in the graphical editor. The element will appear in the center of the graphical editor, highlighted in the purple color.
You can find the Scale element now on every agent diagram above the X axis. Its new functionality allows you to easily define the scale of agent's animation figures and explicitly control the number of pixels in one meter or any other unit of length for the whole diagram of this agent type.
New Java 8 has better collection-related API
The example models Corporate Education, Product Delivery and Oil Supply Chain feature the new GIS Map functionality.
Airport with Two Terminals - A model of an airport with two terminals. Includes flight schedule, check-in, security check, shuttle train between the terminals, boarding, unboarding and baggage claim. The model features hierarchical/modular architecture, usage of AnyLogic Pedestrian Library, Rail Library, and Process Modeling Library, and 3D/2D animation. The passenger, train, and aircraft processes are interconnected.
Model: Airport with Two Terminals
Corporate Education - A model of corporate education in a company with a number of regional branches and high employee turnover (such as a bank or an insurance company). Allows to obtain the level of employees education over time (fraction of fully trained, training overdue, etc.) as well as the amount of associated travel as a function of the number and location of own trainers and group policy. The model is fully parameterized from Excel, including branch locations, employee types and numbers, individual education plans, trainers and trainer competences.
Model: Corporate Education
Product Delivery - This model simulates product delivery in Europe. The supply chain includes three manufacturing facilities and fifteen distributors that order random amounts of the product each 1-2 days. There is a fleet of trucks in each manufacturing facility. When a manufacturing facility receives an order from a distributor, it checks the number of products in storage. If the required amount is available, it sends a loaded truck to the distributor. Otherwise, the order waits until the factory produces the sufficient number of products. This model is essentially multi-method. Distributors, trucks and manufacturing facilities are agents with custom behavior. The latter includes system dynamics diagram of production and a flowchart that simulates order processing. Agents live in a GIS space. Names of initial locations of manufacturing facilities and distributors are read from Excel file. GIS search engine is used to find locations on map and place agents there. Trucks move on real roads, and routes are created when vehicles start moving to destinations.
Model: Product Delivery
Oil Supply Chain - An oil supply chain. Crude oil is delivered by tankers to the port storages. Then, by pipeline to refineries. Refined product is pumped through a pipeline network to the terminal storages, and then is delivered by ground transport to the retailers. This is an agent based model: storages, refineries, retailers, pipelines,trucks, and tankers are agents. The model has 2D animation on a GIS map.
Model: Oil Supply Chain