Questions tagged [anylogic]

AnyLogic is a flexible, multi-method modeling tool capable of producing a variety of simulations. From supply chain and logistics, to manufacturing and market analysis, to disease and social norm dispersion, AnyLogic allows businesses, researchers, and public policy makers to evaluate decisions before they're implemented in practice.

AnyLogic is a multi-method simulation modeling tool developed by The AnyLogic Company (former XJ Technologies). It supports agent-based, discrete event, and system dynamics simulation methodologies. AnyLogic is cross-platform simulation software that works on Windows, macOS and Linux.

AnyLogic is used to simulate:

  • markets and competition,
  • healthcare
  • manufacturing
  • supply chains and logistics
  • retail
  • business processes
  • social and ecosystem dynamics
  • defense
  • project and asset management
  • pedestrian dynamics
  • rail
  • IT
  • aerospace

Wikipedia

The AnyLogic platform is based on and uses Java as its main scripting language. It also allows custom model extensions using Java and any standard Java library can be imported and used within models. AnyLogic also includes a graphical modeling interface to allow drag and drop functionality for library objects.

The Professional version allows for the creation of Java runtime applications that can be distributed to users. AnyLogic models can be uploaded to the AnyLogic Cloud and run from any browser.

To compare the latest AnyLogic versions, check the download page here.

2667 questions
3
votes
1 answer

Is there a way to construct a single function to get the coordinates in main of a sub-agent that is present in multiple upper-level agents?

Is there a straightforward way to to get the coordinate points of an agent in relation to main when that agent is the lower agent of multiple other agents? For example: I have a Box agent. There are populations of Box agents in both my Shelf and…
Shingston
  • 217
  • 1
  • 8
3
votes
1 answer

How to get a variable passenger arrival rate out of a schedule?

I'm about to setup an airport Check-In Terminal with anylogic. I already loaded a "test" excel file which contains the relevant data : Flight, C/I start time, C/I end time and number of C/I passengers (n). Next I created a schedule: Type: int (start…
Speedmaxl
  • 41
  • 5
3
votes
1 answer

Avoiding database queries in Anylogic

I would like to avoid costly repeated data base queries in Anylogic. I have seen the following thread in Stack Overflow What is the fastest way to look up continuous data on Anylogic (Java, SQL) where a simple three step answer is provided but I'm…
mo_le28
  • 33
  • 3
3
votes
1 answer

How do I make AnyLogic recognize the Lombok plugin?

Lombok is a great plugin that has an installer for Eclipse and IntelliJ. AnyLogic is Eclipse-based, so how do we get it to work there too?
Dylan Knowles
  • 2,726
  • 1
  • 26
  • 52
3
votes
1 answer

Work shift scheduling with break times for specific agents

I am building a simulation model for a production line. There are two shifts (morning and night shift, 12 hours each) daily. Within each shift, the workers are split into 4 groups and each group goes for meal breaks at a staggered timing (eg. 4…
user16171092
  • 135
  • 8
3
votes
1 answer

Move agent from existing queue to shorter queue in the pedestrian library

I am building a super market simulation in which a customer (agent) walks to different spots (target lines) and then goes to the checkout (Ped Service) with the pedestrian library. When agents are sent to the Ped Service, they will select one of the…
3
votes
1 answer

Invalide value : Nan in Pie chart

How can I avoid getting the error "Invalid value:NaN"? I have created a Pie Chart and the values are the result of a division. I only want the chart to create if the result is not a NaN, otherwise that value should be set to zero! Can I do this in…
Miriana
  • 95
  • 6
3
votes
1 answer

What does _xjal stands for in anylogic generated code?

I have inherited an anylogic model at work. It's my first contact with anylogic. There is hardly documentation, so I try to dissect the generated code to understand, what is going on. There is one thing that appears all the time: _xjal It appears in…
3
votes
1 answer

Did anyone work with set_center method in AnyLogic?

I'm using AnyLogic for a project in Supply Chain. I would love to ask those who have seen the predefined model in AnyLogic. Its path is in: Welcome > Example Models > Supply Chains and Logistics > Product delivery. In the model they used a function…
Chloe
  • 83
  • 6
3
votes
1 answer

Parameter Variation: Fixed, but different seeds for runs

so I run a parameter variation experiment with many probabilistic parameters. I use random seeds, which results in a variety of different outcomes, and this is basically what I want. One experiment in my case consists of 200 runs. It is good…
jonas_fe
  • 51
  • 6
3
votes
1 answer

Load database tables from MySQL

I am working on a simulation of a blood supply chain and created and imported some tables to manage the masterdata of various agent populations like blood processing centres, testing centres, hospitals and so on. These tables contain the name of…
ridex
  • 31
  • 3
3
votes
2 answers

How to include JAXB functions in AnyLogic 8.4.0?

I have an AnyLogic model that uses JAXB functions for parsing an XML file. The model used to work earlier but it doesn't now since apparently the newer versions of Java don't include JAXB. The online examples of how to do this in Java programs…
3
votes
2 answers

Reporting Utilization of Individual ResourcePool units

In Anylogic, How can I get statistics such as utilization of individual resource pool units? As the resourcePool.utilization() function returns the mean utilization for all units in the resource pool. Is it possible to access the data of each…
3
votes
1 answer

How to use "wait" in anylogic?

I have a stock agent which is created in the end of my production line. My products are characterized by their model. I'm trying to create a logic to take out the products from this stock agent when they are to be delivered to the client. This…
3
votes
2 answers

Anylogic Road Traffic Library Lane Change error

I am trying to model a highway system of roads but I am getting this error: root.[3]: Car failed to change lane (that was necessary to continue movement) or route to the specified destination cannot be found The full error code…
Akshay Gaur
  • 2,235
  • 21
  • 26