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
0
votes
1 answer

ANYLOGIC - Cut out data in the log of a specific interval

Anylogic Hello everybody, I want to cut out the data from the first 20 days on in the log. Means the simulation should start at t=0 but start collecting the data in the log from day 20 on. Does anyone knows how this works? Thanks in advance for your…
0
votes
1 answer

is it possible to copy the current state of the statechart from one agent to another?

I am trying to make a model to simulate the contagion of covid in public spaces using a mix between SEIR and pedestrian models. In another question I asked to use a static population. They suggested that before deleting the agent a copy be saved in…
NicolasA13
  • 15
  • 3
0
votes
1 answer

How to batch agents based on delivery location and inventory level

To understand my question let me first introduce my model. The process starts when around 50 order agents enter at the same time the "enter" block (see picture). After that, the delay block delays the orders for 1 second, to separate them. Then, the…
0
votes
1 answer

Considering differences in the same materials - Stations

I am trying to simulate a manufacturing assembly process, where material items are processed following an unique line. In the quality control stations, when a failure is detected, the object is sent to the repair area (by a truckpallet) and, when it…
Manu_CS
  • 1
  • 1
0
votes
1 answer

source.count( ) does not give me the correct value

I have a source and a variable. in the "on exit" source section there is "variable=source.count()". The source generates n agents by inject fuction, but the variable has value n-1. why? thanks for the help.
0
votes
1 answer

Cyclic Timeout Event Double Looping

I am trying to use a cyclic event countdown to trigger certain functions. However, the problem I am facing is that the event in my model seems to double run at each trigger. An example is shown in the screenshot, where at each trigger, the model…
user16171092
  • 135
  • 8
0
votes
1 answer

How to batch agents with similar parameters with different batch size?

I have an agent called products, and in this agent, I assigned a parameter called sp; in the simulation, I have the same agent with a different sp range from 1 to 5. I want to batch the agents with the same sp in the same batch, depending on the sp.…
0
votes
1 answer

Anylogic: sort move to agents in collection based on distance

In anylogic, I have modelled trucks to go to multiple delivery locations. The trucks moves to the first location in the collection using the code moveTo(order.orderLocation.getFirst()); After the truck went to the first location, the first agent is…
Yope
  • 43
  • 6
0
votes
1 answer

How can I use a static population of agents with a pedestrian model?

I am trying to make a model to simulate the contagion of covid in public spaces using a mix between SEIR and pedestrian models. and I was stuck when using my population of agents with the pedestrian library. Looking in the documentation about…
NicolasA13
  • 15
  • 3
0
votes
1 answer

Anylogic: how to Batch agents with similar parameters?

I have an agent called products, and in this agent, I assigned a parameter called sp; in the simulation, I have the same agent with a different sp range from 1 to 5. I want to batch the agents with the same sp in the same batch, which is 10. So if I…
0
votes
1 answer

anylogic: How to view the simulation date and time

I would like to have a view of the simulation date and time in my view area. I tried to copy the method of the product and delivery example but it didn't work. I did the following: in the simulation experiment properties window I typed the…
0
votes
1 answer

AnyLogic: stop Delay for a specific agent in the delay block

In my process, I have a delay block with unlimited capacity. The agents in the delay block are only freed if stopDelay() is called. If an event occurs, I want to stop the delay for some of the agents stored in this delay block. However, I only want…
Alex
  • 49
  • 4
0
votes
1 answer

how to find the nearest agent based on distance?

I am trying to make that when an agent is less than a specified distance from any other, they change color. But when I use getNearestAgent(this.getPopulation()) it gives me the Agent in the position 0 of the population list. I'm using an event to…
NicolasA13
  • 15
  • 3
0
votes
1 answer

In Anylogic How can I model truck that deliver orders to multiple clients

I'm creating a model based on the product delivery example provided by AnyLogic. In my own model, I want a truck to deliver multiple orders in one trip instead of one. My process diagram is shown below. Here, an order enters via the enter block and…
Yope
  • 43
  • 6
0
votes
1 answer

Anylogic GIS programmatically search for schools in a given location

Without using the search option in the GIS map in anylogic, I want Anylogic to take a user input which is the name of a location and then place an agent in that location. Then, as the model runs I want it to search for schools near that…