In the center of the workspace you will see the graphical editor.
To the left of the graphical editor you can see the Projects view and the Palette view sharing the same area. The Projects view provides access to AnyLogic models currently opened in the workspace. The workspace tree provides easy navigation throughout the models. The Palette view contains all graphical elements you can add onto the grpahical editor of your agent just by drag'n'drop. Model elements are grouped by categories in a number of stencils (palettes).
On the right side of the workspace you can see the Properties view. The Properties view is used to view and modify the properties of a currently selected model element(s). When you select something – e.g., in the Projects view or in the graphical editor – the Properties view displays the properties of the selection.
You can collapse/expand sections by:
Hover the mouse over the vertical navigation bar in the Palette view. You will see the popup list with the palette names. Just choose the palette name from the list.
You can expand and collapse sections by clicking their headers. The parameters have the following icons next to their names:
Dynamically evaluated expression
Small triangle indicates that you can switch between design-time (static) and run-time (dynamic) values. Example:
Here you can enter the code for actions
Problems and Console views are only shown when there issues with building a model, in which case they will appear automatically. You can find these settings in Tools > Preferences > General:
You can open these views anytime from the View menu or by clicking their icons in the status bar:
Sometimes you may have tons of graphical elements on the same diagram:
Now you can temporarily hide those elements. Click the icons in the status bar to hide or unhide elements:
Hide Space markup elements
Hide SD links
Hide 2D elements
Hide 3D elements
Drop-down lists enable you just to choose the element, while previously you had to type the element name.
Whenever you need to define a dynamically evaluated expression, switch to the code field.
To make a reference to a graphical object (such as a path, a node, an area) in a logical object (such as queue or delay) you simply click the object in the editor.
Now you just choose the required time units from the drop-down list instead of typing: 10*minute(), 12*hour() ...
There are two modes for choosing the group where to add the shape(s):
Completion suggests only relevant choices now.
Trigger type indicators for transitions:
Unconnected transitions are highlighted in red:
When you add blocks, the closest ports get automatically connected, significantly reducing model design time.
Flowchart block connection settings added in the Preferences:
New element Option list for defining agent attributes that have limited choice of alternative options:
Click the toolbar button when entering the stochastic expression:
The Probability Distribution Wizard will open:
If none of the provided distributions fits the data, you can use the Custom Distribution to define your own one. Distribution can return one of three types:
For discrete type, there are two definition modes:
Having loaded the data, choose the interpolation:
Defines probabilities for options of the chosen option list
Simply drag the element Agent from the General palette into the graphical editor. The wizard dialog window will open automatically. Please refer to Creating an agent population for instructions.
No more Environment element.Every agent acts as environment for agent populations that are on its diagram:
New handy functions added:
Functions for Discrete space only:
The old functions are still here:
Functions sending messages to random agent(s) now prohibit choosing the message sender as the recipient. Read more in Communication.
Each agent has a non-removable link Connections – this is for standard networks with bidirectional connections.
Here you define the reaction on the message reception, in its properties:
Links have customizable visual appearance:
You can add custom links with custom names and visual appearance.
Link can be:
Link can be:
Agent has non-removable visual link to the upper level agent (to the other agent where this one lives) such as main, city, company.
This is just a pointer, not a link – we need it not to send messages, but to access owner parameters and functions. Now you refer to the owner agent just by pointer name (main, distributor, …)
The elements of the super class are shown pale (and are not editable here):
You make agent move by calling one of its movement functions:
Space Markup elements:
Network is automatically created when at least two network elements (a path and a node, or two paths) are connected together:
Right-click the group of network shapes, choose Convert > Convert to Network Elements:
moveTo() and moveToInTime() functions provide several notations, enabling defining target location in different ways:You can define location as:
Process Modeling Library:
Flowchart objects will stop and wait until the next objects are ready, and "Push" is still available as an option:
Selecting the advanced option Forced pushing you turn the Push protocol on for this block:
Resource Pools do not require graphic connection to the blocks using resources in the flowchart (Seize, Assemble, Release, etc.)
Alternative to modeling a failure/repair just with a delay, you can model it with a flowchart describing the process. The flowchart start is defined with the specified ResourceTaskStart block.
If preemption is enabled, break will preempt the currently performed task (if allowed in the task properties & the task priority is lower):
Maintenance can be defined as:
These processes do not run in parallel, for example, the preparation process starts only when the entity gets to this Seize block:
You may need to define some other task that cannot be described by previously mentioned task patterns.
First, define the task(s) with the block(s) ResourceTask. Then choose the task(s) in the ResourcePool’s List of tasks:
When some other task is initiated, you may choose what to do with the task being executed currently:
Blocks supporting preemption options: Seize, Service, Assembler.
Define the conveyor parameters in the Properties view:
And then observe the process:
For more details please see Creating custom entity and resource types.
Special space markup shape: PalletRack.
Example of vertical levels animated in 3D:
Similar flowchart blocks for defining the logic:
Using SelectOutputIn and a set of SelectOutputOut blocks you can create a quasi-block SelectOutput with the required number of exits. You do not need to connect these blocks together graphically.
Now there is just one palette Presentation. By default all shapes are shown both in 2D and 3D (Text shapes by default are shown in 2D only (since they are used mostly for decoration)).
Hundreds of new ready-to-use 3D objects:
Built-in decoration for:
After you have added path into the graphical editor, select it and go to the section Appearance of its Properties view. Select a suitable path type in Type.
3D palette is now a part of Presentation palette. Drag and drop the element Light into graphical editor and go to its Properties view. There you can find a parameter Predefined type wuith the following types: street light, car headlight, daylight, moonlight, custom. If you select a custom type, you can define all settings manually, such as Light source type, Attenuation, etc. Below is the example of using car headlight predefined type:
Please refer to Light 3D for more details.
Since each pedestrian is modeled as a specific object, individual features can be adhered to them. These can be added to them:
These features can be checked during the pathway of a pedestrian throughout a process diagram and affect their behavior.
Please refer to Creating custom pedestrian types for the details.
Wall - Exterior walls, interior walls, guard rails
Rectangular Wall - Working spaces
Circular Wall - Columns, fountains, skating-rinks
Service with lines - Turnstiles, cash desk, passport checkpoint
Service with area - Electronic queue (ticket office, bank office, info point)
Attractor - With attractors you can define exact waiting points inside the area
Pathway - With Pathway you may tell pedestrians to follow a specified route
For more information please refer to Pedestrian markup.
Rail tracks: auto-connect and auto creation of switches.
Now you just drag Railway tracks on the canvas and get 2D and 3D animation automatically.
All types and sizes of US rail cars:
This is essential for System Dynamics modelers.
We use these values:
Generates a sample of the Triangular distribution with mode set to average.
This is just a helper for specifying distribution in the form like "roughly this, +/-20%“.
Is equivalent to: triangular ( average * (1 - variability), average * (1 + variability) )
Use new constructor and handy methods.
Schedule() – creates empty schedule with no data.
Methods that initialize the schedule:
For more information please refer to Schedule API.
Numerical methods settings moved from experiment to model properties.
Clock element moved to Pictures palette.