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
2
votes
2 answers

Pause then resuming simulation in Anylogic

I would like to give the user a button that allows them to skip ahead 1 hour in the simulation and then continue running the model if play is clicked. The code below allows the user to skip ahead an hour, however they are unable to resume the…
Stuey.I
  • 133
  • 1
  • 1
  • 6
2
votes
1 answer

Convert strings to date and time in Anylogic

my agent has the next information as parameters: year, month, day, hour, minute second. Now I want to transform all these parameters to a date by using toDate(year, month, hour, minute, second) But somehow I still get the error that I can only…
Aron T.
  • 448
  • 2
  • 7
2
votes
0 answers

Anylogic PLE version 8.7.8 : 3d Objects are not visible

I am using Anylogic PLE version 8.7.8, on macOS 12.01. The 3d objects in anylogic are not visible in my model. This started when I was still using Anylogic version 8.7.6 so I uninstalled anylogic and installed it again to no success. I even upgraded…
2
votes
1 answer

Get agent at the head of conveyor - correct use of ConveyorPath.getAgent()?

In my model, there is a palletizing area where a palletizer agent moves to a location adjacent to an accumulating conveyor, picks up the last box on that conveyor, and transfers it to a pallet. I am trying to find the best way to refer to that last…
Shingston
  • 217
  • 1
  • 8
2
votes
1 answer

Visibility of multiple levels

In my model in Anylogic I tried to create a navigation tool to switch in visibility between floors and navigate through the 2D and 3D visualization. I did this by creating buttons which are coded like: navigate( viewLogic ); Ground0.setVisible( true…
Aron T.
  • 448
  • 2
  • 7
2
votes
2 answers

Camera on transporter of population

I want to put a camera on a transporter of an agent type AGV. Since there are multiple AGV transporters I cannot simply put it on the agent since it will give errors. So I tried to randomly select an AGV of the population, based on the busy…
Aron T.
  • 448
  • 2
  • 7
2
votes
1 answer

AnyLogic -- How many trips are done by my transport fleet in one hour?

I want to show on a graph how many times my "transport fleet" came to "seize transport" in one hour. The image of the complete flow is attached below.
Aqeel Tariq
  • 315
  • 1
  • 8
2
votes
2 answers

Anylogic forklift collision logging

I need to measure the time forklift spends in collision, however movement_log for agent type that is a forklift managed by transporter, fleet is not available. I also can not use statecharts because it uses much performance. Situation: I am…
Kristian
  • 21
  • 4
2
votes
1 answer

AnyLogic memory error: how to know how much the threshold is exceeded?

I have a lot of road traffic and markup elements, charts, nodes and arcs within my Main agent. When running the simulation it throws the following error: Description: The code of method _createPersistentElementsBP4_xjal() is exceeding the 65535…
Yashar Ahmadov
  • 1,616
  • 2
  • 10
  • 21
2
votes
3 answers

Anylogic: Release specific resource

I've got another small issue with AnyLogic resources. I want to be able to release a specific resource from a resource pool - not just any resource from the pool. The reason is that I occasionally seize multiple resources from a ResourcePool (one…
CrustyNoodle
  • 379
  • 1
  • 14
2
votes
4 answers

Anylogic - create Resources and add to ResourcePool

I'm having difficulty finding the documentation I need to work with Resources and resourcePools - there is no "resource API documentation" that I can find. I would like to programatically create static resources (of a custom type) and then add these…
CrustyNoodle
  • 379
  • 1
  • 14
2
votes
1 answer

How to get the seed value for each simulation run in a Monte Carlo experiment?

I am running a Monte Carlo Experiment with several iterations using the 'random seed' option for unique simulation runs. It seems to be, that in some of those runs strange things happen, which is indicated by the output data. I would like to collect…
2
votes
1 answer

Anylogic: Error when run a model as standalone Java application

I want to export my model as a standalone java application. When I want to run .bat file (my OS is windows 7), the following error appears; it says that it can not create Java virtual machine and the error which is given is about illegal access:…
2
votes
1 answer

AnyLogic: Fill a pallet rack on simulation startup with agents

For a simulation of a pallet rack system, I want to prefill that system with agents (for example so that a fill grade of 80% is given). After that prefill the boxes should be spawned by different source blocks. I think in theory I could use the…
Alex
  • 49
  • 4
2
votes
1 answer

AnyLogic: a single traffic lane for public transport

My objective is to restrict any means of transport (except for public transport) from moving on a particular traffic lane. Thus, I am intended to allow a single lane for public transport. Is it possible to create it only with the interface elements?…