AnyLogic is a multimethod simulation modeling tool developed by The AnyLogic Company (formerly XJ Technologies).[5] It supports agent-based, discrete event, and system dynamics simulation methodologies.[6] AnyLogic is cross-platformsimulation software that works on Windows, macOS and Linux.[6]
AnyLogic is used to simulate: markets and competition,[7] healthcare,[8][9] manufacturing,[10] supply chains and logistics,[11][12] retail,[13][14] business processes,[15] social[16] and ecosystem dynamics,[17] defense,[18] project and asset management,[19] pedestrian dynamics[20] and road traffic,[21] IT,[22] and aerospace.[23] It is considered to be among the major players in the simulation industry, especially within the domain of business processes is acknowledged to be a powerful tool.[24][25]
History
In the early 1990s, there was a big interest in the mathematical approach to modeling and simulation of parallel processes. This approach was applied to the analysis of correctness of parallel and distributed programs.[26] The Distributed Computer Network (DCN) research group at Saint Petersburg Polytechnic University developed a software system for the analysis of program correctness; the new tool was named COVERS (Concurrent Verification and Simulation). This system allowed graphical modeling notation to be used for describing system structure and behavior. The tool was developed with the help of a research grant from Hewlett-Packard (Commonly known as HP).
In 1998, the success of this research inspired the DCN laboratory to organize a company with the mission of developing a new generation of simulation software. Development emphasis was placed on applied methods: simulation, performance analysis, behavior of stochastic systems, optimization and visualization. The resulting software was released in 2000 and featured the latest information technologies: an object-oriented approach, elements of the UML standard, the use of Java, and a modern GUI.[27]
The tool was named AnyLogic, because it supported all three well-known modeling approaches: system dynamics,[16]discrete event simulation,[28]agent-based modeling,[29] and any combination of these approaches within a single model.[30][31] The first version of AnyLogic was V4[32] because the numbering continues the numbering of COVERS 3.0.
AnyLogic 5 was released in 2003. The new version was focused on business simulation in different industries.[33] AnyLogic 7 was released in 2014.[34] It featured many updates aimed at simplifying model building, including support for multimethod modeling, a decreased need for coding, renewed libraries, and other usability improvements. AnyLogic 7.1, also released in 2014, included a new GIS implementation: in addition to shapefile-based maps, AnyLogic started to support tile maps from free online providers, including OpenStreetMap.[35]
2015 marked the release of AnyLogiс 7.2 with the built-in database and the Fluid Library.[36] Since 2015, AnyLogic Personal Learning Edition (PLE) is available for free for the purposes of education and self-education. The PLE license is perpetual, but created models are limited in size.[37]
The new Road Traffic Library was introduced in 2016 with AnyLogic 7.3.[38]
AnyLogic 8 was released in 2017. Beginning with Version 8.0, the AnyLogic model development environment was integrated with AnyLogic Cloud, a web service for simulation analytics.[39][1]
Starting with version 8.2, the software introduced dynamic imaging and improved GIS mapping.[41] The Material Handling Library was added in version 8.3, providing advanced tools for simulating factories and warehouses.[42] Subsequent versions continued to enhance these features, allowing for more complex and multi-level simulations, such as buildings and automated guided vehicle systems.
AnyLogic 8.4 and later versions further refined transport and material handling capabilities, including introducing transporters that move without guidance paths and more flexible conveyor systems.[43] AnyLogic 8.7 expanded capabilities with overhead cranes, pedestrian area simulations with capacity restrictions, and support for social distancing rules.[44]
With version 8.8, the transition to Java 11 streamlined the coding process, enhancing model creation and execution. AnyLogic 8.9 incorporated Git for better version control and introduced a memory dump analyzer for improved debugging.[45] In AnyLogic 8.9.2, the NVIDIA Omniverse Connector was introduced, allowing users to link their simulations with detailed animations. This connection lets users export 3D models from AnyLogic to NVIDIA Omniverse, enhancing the visual quality and facilitating collaboration.[46]
AnyLogic and Java
AnyLogic includes a graphical modeling language and also allows the user to extend simulation models with Java code.[40] The Java nature of AnyLogic lends itself to custom model extensions via Java coding[47]
Features
Simulation language
The AnyLogic simulation language consists of the following items:
Statecharts are used mostly in Agent Based modeling to define agent behavior. They are also often used in Discrete Event modeling, e.g. to simulate machine failure. [49][50]
Action charts are used to define algorithms. They may be used in Discrete Event modeling, e.g. for call routing, or in Agent Based modeling, e.g. for agent decision logic. [51][52]
Process flowcharts are the basic construction used to define processes in Discrete Event modeling. Looking at this flowchart you may see why the Discrete Event style is often called Process Centric. [53]
The language also includes low-level modeling constructions (variables, equations, parameters, events etc.), presentation shapes (lines, polylines, ovals etc.), analysis facilities (datasets, histograms, plots), connectivity tools, standard images, and experiments frameworks.
AnyLogic libraries
AnyLogic includes the following standard libraries:
The Process Modeling Library is designed to support DE simulation in Manufacturing, Supply Chain, Logistics and Healthcare areas. Using the Process Modeling Library objects you can model real-world systems in terms of entities (transactions, customers, products, parts, vehicles, etc.), processes (sequences of operations typically involving queues, delays, resource utilization), and resources. The processes are specified in the form of flowcharts. The Process Modeling Library is a successor of the Enterprise Library from AnyLogic 6, which is also available in AnyLogic 7. [54]
The Pedestrian Library is dedicated to simulating pedestrian flows in a physical environment. It allows you to create models of pedestrian-intensive buildings (like subway stations, security checks etc.) or streets (large numbers of pedestrians). Models support statistics collection on pedestrian density in different areas. This ensures the acceptable performance of service points with a hypothetical load, estimates lengths of stay in specific areas, and detects potential problems with interior geometry – such as the effect of adding too many obstacles – and other applications. In models created with the Pedestrian Library, pedestrians move in continuous space, reacting to different kinds of obstacles (walls, different kinds of areas), as well as other pedestrians. Pedestrians are simulated as interacting agents with complex behavior, but the AnyLogic Pedestrian Library provides a higher-level interface for the faster creation of pedestrian models in the style of flowcharts. [20][55]
The Rail Library supports modeling, simulating, and visualizing operations of a rail yard of any complexity and scale. The rail yard models can be combined with discrete event or agent based models related to: loading and unloading, resource allocation, maintenance, business processes, and other transportation activities.[56]
The Fluid Library allows the user to model storage and transfer of fluids, bulk goods, or large amounts of discrete items, which are not desirable to model as separate objects. The library includes blocks such as tank, pipeline, valve, and objects for routing, merging, and diverging the flow. To improve model execution speed, the Fluid Library uses a linear programming solver. The library is designed to improve AnyLogic use in manufacturing, oil, gas, and mining industries. The user can simulate oil pipes and tanks, ore, coal conveyors, and production processes where liquids or bulk materials are involved, for example, in concrete manufacturing. [57]
The Road Traffic Library allows users to simulate vehicle traffic on roads. The library supports detailed, physical level modeling of vehicle movement. Each vehicle represents an agent that can have its own behavioral patterns inside. The library allows users to simulate vehicle movement on roads, taking into account driving regulations, traffic lights, pedestrian crossings, priorities at junctions, parking lots, and public transport movements. The library is suitable for modeling highway traffic, street traffic, on-site transportation at manufacturing sites, or any other systems with vehicles, roads, and lanes. A special traffic density tool is included to help analyze road network loads. [58]
The Material Handling Library assists in process simulation in factories and warehouses. The library contains conveyors, transporters, and other elements simplifying the creation of detailed production models.
Besides these standard libraries, users can create their own ones and distribute them. [59][60]
Model animation
AnyLogic supports interactive 2D and 3D animation. [55]
AnyLogic allows users to import CAD drawings as DXF files, and then visualize models on top of them. [61] This feature can be used for animating processes inside objects like factories, warehouses, hospitals, etc. This functionality is mostly used in Discrete Event (process-based) models in manufacturing, healthcare, civil engineering, and construction. AnyLogic software also supports 3D animation and includes a collection of ready-to-use 3D objects for animation related to different industries, including buildings, road, rail, maritime, transport, energy, warehouse, hospital, equipment, airport-related items, supermarket-related items, cranes, and other objects.
Models can include custom UI for users to configure experiments and change input data.
Geospatial models, GIS integration
AnyLogiс models can use maps as a layout, which is often required by supply chains, logistics, and transportation industries. AnyLogic software supports the traditional shapefile-based map standard, SHP by Esri. In addition, AnyLogic supports tilemaps from free online providers, including OpenStreetMap. Tilemaps allow the modeler to use map data in models and to automatically create geospatial routes for agents. The main tilemap features in AnyLogic include:
The model can access all of the data stored along with online-based maps: cities, regions, road networks, and objects (hospitals, schools, bus stops, etc.). [62]
Agents can be placed in specified points on the map, and moved along existing roads or routes.
Users can create the required elements inside the model using the built-in search.
Model integration with other IT-infrastructure
An AnyLogic model can be exported as a Java application, that can be run separately, or integrated with other software. As an option, an exported AnyLogic model can be built into other pieces of software and work as an additional module to ERP,[63]MRP, and TMS systems. Another typical use is integration of an AnyLogic model with TXT, MS Excel,[64] or MS Access files and databases (MS SQL, MySQL, Oracle, etc.). Also, Anylogic models include their own databases based on HSQLDB.
AnyLogic and AI
AnyLogic integrates artificial intelligence (AI) into its simulation platform to create a flexible and powerful environment for AI applications. It allows users to train AI agents, incorporate machine learning models into simulations, and generate synthetic data for various purposes. [65][66]
AnyLogic provides a reliable simulation environment for training AI agents using reinforcement learning. It enables the development of policies that can later be applied in real-world systems. This approach helps create AI agents that are better prepared to handle complex and dynamic scenarios.[67]
Moreover, the platform supports embedding pre-trained machine learning (ML) models into simulations. This feature allows users to evaluate how these models perform within a system and make necessary adjustments. By testing AI solutions in a simulated setting, AnyLogic reduces risks and ensures smoother implementation in real-world systems.[68]
AnyLogic can generate large amounts of synthetic data that is clean, well-structured, and labeled. This data is particularly useful for training machine learning models when real-world data is unavailable or unsuitable. It provides a practical solution for data-driven AI development.[69]
Integration with AI Tools
AnyLogic works with several advanced AI tools to extend its capabilities. For example, it integrates with H2O.ai, enabling simulations to incorporate powerful machine-learning techniques. H2O.ai improves the predictive power of simulations by combining advanced machine learning algorithms with AnyLogic’s simulation tool.[70]
Pypeline and ONNX Helper allow users to connect AnyLogic simulations with Python-based models or those stored in the ONNX format. With Pypeline, users can run Python scripts and functions directly within the simulation environment.[71] On the other hand, ONNX is a standard that makes it easier to use and share models across various AI platforms.[72]
Alpyne makes it possible to interact with AnyLogic models directly from Python, providing more control over reinforcement learning experiments. This tool is important for users developing complex AI strategies that require iterative testing and refinement. With Alpyne, users can export their simulation models from AnyLogic and manage them in Python.[73]
System dynamics and discrete events are traditional simulation approaches, agent based is a newer one. Technically, the system dynamics approach deals mostly with continuous processes whereas discrete event and agent-based models work mostly in discrete time, i.e. jump from one event to another.
System dynamics dealing with aggregates is obviously used at the highest abstraction level. Discrete event modeling is used at low to middle abstraction. As for agent based modeling, this technology is used across all abstraction levels, and agent may model objects of very diverse nature and scale: at the "physical" level agents may be e.g. pedestrians or cars or robots, at the middle level – customers, at the highest level – competing companies.
AnyLogic allows the modeler to combine these simulation approaches within the same model. [8] As an example, one could create a model of the package shipping industry where carriers are modeled as agents acting/reacting independently whereas the inner workings of their transport and infrastructure networks could be modeled with discrete event simulation. Similarly, one can model consumers as agents whose aggregate behavior feeds a systems dynamics model capturing flows such as revenues or costs which do not need to be tied to individual agents. This mixed language approach is directly applicable to a wide variety of complex modeling problems that may be modeled via any one approach albeit with compromises.
AnyLogic Cloud
AnyLogic Cloud is a web service for simulation analytics. It allows users to store, access, run, and share simulation models online, as well as analyze experiment results.
Using AnyLogic model development environment, developers can upload their models to AnyLogic Cloud and set up sharable web dashboards to work with models online. These dashboards can contain configurable input parameters and output data in the form of charts and graphs. Model users can set input data on the dashboard screen, run the model, and analyze the output.
AnyLogic Cloud allows users to run models using web browsers, on desktop computers and mobile devices, with the model being executed on the server side. Multiple run experiments are performed using several nodes. The results of all executed experiments are stored in the database and can be immediately accessed. Models can be run both with and without HTML5-based interactive animation.[76]
Developers can choose whether they want their models to be private or publicly available in the model library, which includes models from other AnyLogic users.
History
AnyLogic Cloud was introduced in 2017 with the release of AnyLogic 8.0.[77][1] Further enhancements with AnyLogic 8.1 included new plotting capabilities, improved 3D animations, and tools for collaborative editing and community engagement within the Cloud.[78]
The introduction of AnyLogic Private Cloud Lite with version 8.4 provided a simple, locally deployed option for organizations to share simulations privately.[79] With continuous updates, including a more flexible AnyLogic Cloud API introduced in version 8.5, AnyLogic Cloud has evolved to support more dynamic and interactive simulation activities.[80]
AnyLogic Cloud version 2.1.0 was released in 2020. It focused on improved versioning for Private Cloud to facilitate easy upgrades.[81] Throughout 2020 and 2021, enhancements included the introduction of backup and restore tools, support for the HTTPS protocol in Private Cloud, and the ability for models to interact with native code via Java Native Interface.[82]
In 2021, AnyLogic Cloud introduced access to the AnyLogic 9 technology preview for subscribers and performance enhancements for model galleries and model execution. [83]
The year after, Cloud transitioned to Java 11 and Angular 13 for the web UI, alongside several security updates for third-party libraries to improve performance and fix vulnerabilities. Private Cloud instances gained the ability to manage user authentication via LDAP and Active Directory servers.[84]
In 2023, updates included new experiment types such as Optimization and Optimization with replications, enhanced chart options, and significant improvements to the Private Cloud installation scripts and UI.[85][86]
The updates in 2024, specifically version 2.4.1, introduced support for Java 17 and new animations.json configuration for Private Cloud.[87] Following this, AnyLogic Cloud 2.5.0 brought significant improvements such as the new Completed Runs view and Single Sign-On (SSO) support, enhancing the user interface and security for both SaaS and Private Cloud users. [88]
anyLogistix supply chain optimization software
The AnyLogic Company converted its development efforts for the supply chain domain in a separate software tool – anyLogistix. This spin-off product was introduced in 2014 as AnyLogic Logistics Network Manager and was renamed anyLogistix in 2015.
anyLogistix is based on the AnyLogic and CPLEX engines, GIS, and the new industry-oriented GUI. It also includes algorithms and techniques specific for supply chain design and optimization. Like other simulation software such as Arena and SIMUL8, optimization functionality is provided by OptQuest.[89] anyLogistix is fully integrated with AnyLogic, for instance, AnyLogic can be used for customization of objects inside anyLogistix, including warehouses, production sites, suppliers, inventory, sourcing, and transportation policies.
History
Since its launch in 2017, anyLogistix has consistently enhanced its supply chain design and analytics capabilities. Early versions introduced features such as IBM ILOG CPLEX® for optimized network configurations, dedicated fleets, and flexible transportation routing. Over time, significant functionalities were added, such as the Safety Stock Estimation and Capacitated Transport Optimization experiments, refining inventory management and delivery routes.[90]
The introduction of anyLogistix Studio Edition streamlined extension development and facilitated the creation of digital twins, blending detailed modeling with real-time data. Versions like 2.13 and 2.15 emphasized network optimization, introducing database scenario import/export features to support collaboration and complex data integration.[91][92]
The development team’s focus shifted towards anyLogistix 3.0, launched in 2022, which transformed the software with a new tech stack, improved client-server architecture, and enhanced user experience. [93]
This version allowed running experiments from browsers and provided cross-platform access, catering to Windows, macOS, and Linux users. Subsequent updates, like 3.1, introduced multi-user access and an API for integration, enhancing collaborative capabilities and performance for complex supply chain modeling projects.[94]
anyLogistix 3.2, launched in 2024, introduced time windows for simulation modeling, which allowed users to set specific operating hours for each facility, making simulations more realistic.[95] With the release of anyLogistix 3.3, new features were added such as data grouping in tables and advanced visualization tools. This version also includes a new KPI metrics panel that helps users analyze performance more effectively by comparing different runs and viewing key metrics directly on the dashboard.[96]
^Yingzhou Lu, Minjie Shen, Huazheng Wang, Xiao Wang, Capucine van Rechem, Tianfan Fu, Wenqi Wei. [https://arxiv.org/pdf/2302.04062 "Machine Learning for Synthetic Data Generation:
A Review"]. Journal Of Latex Class Files, Vol. 14, No. 8, August 2021