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

Is there a way to export a model to the cloud and make visible the simulation window prior to running the model?

I have a model that adjust in the simulation window a parameter prior to running the model (see figure) but when I export model to the cloud the simulation window is not accesible because the model run immediatly. Is there a way to export a model to…
0
votes
1 answer

Automatically running AnyLogic sliders so that different combinations are chosen

I am creating a system dynamics model in AnyLogic to be representative of a water mass balance for a city. One of the important aspects of this is to understand how different conservation measures affect supply-demand relationships. There are 3…
0
votes
1 answer

Unreachable target error for Pedestrian agents

I'm working with the pedestrian library to create an agent-based simulation. When I run the model, I randomly get the bellow error for some simulation runs or random agents. Has anyone faced this issue…
0
votes
0 answers

Queuing up materials based on their configuration

this is a follow up question regarding my previous question "I am trying to figure out how to queue 3 material items which would then enter 3 different stations. Lets say the material items are named as (1,2,3). For the first station, it will accept…
Afif
  • 1
  • 1
0
votes
1 answer

Same resource from resource pool for subsequent process

There is a process, box enters station (i) and operator and machine are used for SETUP, then box moves to (ii) where only machine is used. there is 1 - operator, but 2- machines. there are 2 conveyer systems. How to ensure that box uses same…
0
votes
1 answer

How to queue up multiple material items into a station

I am trying to figure out how to queue 3 material items which would then enter 3 different stations. Lets say the material items are named as (1,2,3). For the first station, it will accept 1 and then 2 and then 3. For the next station, it will…
Afif
  • 1
  • 1
0
votes
1 answer

Programatically selection destination nodes for moveTo block

I am working on an model where a plane must move to a gate. The plane has its destination gate set as its parameter. When I try to programmatically assign the gate to the moveTo's self.DEST_NODE, I get what I think is a type error. I'm quite new to…
Msterup
  • 1
  • 1
0
votes
2 answers

Is there a method to randomly generate agents created from a database?

Example of packages I am currently generating agents with parameters read from DB at a source node. These agents in the model are packages of different types (so basically the packages have the same list of parameter names like package name, volume,…
user16171092
  • 135
  • 8
0
votes
1 answer

Show a percentage of progress of simulation in anylogic parameter variation experiment

I am currently doing a parameter variation experiment. I want to display a progress bar of the each simulation (similar to the animation provided by anylogic "progress of parallel runs"), which would be calculated as number of days elapsed in the…
0
votes
1 answer

Control anylogic through external programs

I want to use python or JAVA to control the anylogic model. For example, start or shutdown model, input and output data and so on. Does Anylogic provide such an interface, like COM, Socket. or do i have to develop my own java interface to achieve…
Mengzhang
  • 35
  • 5
0
votes
1 answer

Insert data row by row into anylogic database?

I have a table og_table in the anylogic database that I load data into. From that table, I programmatically iterate on it through selectResultSet, and now I want to re-write those rows with some transformation into new_table. My plan then was just…
ocean800
  • 3,489
  • 13
  • 41
  • 73
0
votes
1 answer

AnyLogic stopped running and won't reopen. I get a popup window saying "An error has occurred. See the log file". Suggestions?

I was running a model then canceled it before it was completed. Not anything out of the ordinary. Then, my machine stopped working (black screen with no mouse responsiveness, it was weird) and after a restart via task manager, I can't reopen…
Vince
  • 25
  • 5
0
votes
1 answer

AnyLogic: How can I measure total busy/idle time?

I've been trying to use Resource Function timeInState(ResourceUsageState.USAGE_BUSY, TimeUnits.Hour) to measure how may hours a machine is busy. This is my approach using HorasExtra as a variable: Approach I get this error: class…
Diego
  • 93
  • 6
0
votes
1 answer

How to trigger a condition transition using a cyclic event in AnyLogic?

I wanted to change the state of the agent(s) by a cyclic event(reset) as shown. What command should I used to trigger the transition(resetHome) every 24hrs after the first initial 12 hours?
0
votes
2 answers

Sum of times doesn't add up to the duration of the simulation

I have an industrial simulation with 2 agent types, operators and machines. Each agent type has statecharts controlling different aspects of their logic, like production, idle, etc. And while entering and exiting each single one of the states of the…
Ismail
  • 3
  • 3
1 2 3
99
100