Relative Content

Tag Archive for anylogic

How to control arrival rate with agent specific attributes in AnyLogic?

I have Person agent in GIS space and 3 facilities. Which person will go to which facility is determined outside of simulation (an attribute in Person ‘facilityChoice’). For three facility I drew 3 process flow source -> moveTo -> queue -> delay -> sink. At each source, only the people specific to that facility are entering. Question: HOW CAN I CONTROL ARRIVAL RATE? The person agent has one attribute ‘age’. I want to control the arrival rate based ‘age’. For instance, if age is 65, arrival rate will be 5 per minute, if age is 20 then 1 per minute, and so on. Below is a model snapshot.

How to get agents in main to interact with a node inside another agent

I’m working on implementing a line of sight/vision cone in Anylogic and I’ve hit a couple roadblocks. My primary question is how to get agents to provide contacts with a node inside another agent, but I’ll also show the other attempts I tried and gave up on in case those have more merit.

AnyLogic Custom Experiment: Parallel Evaluations

I have implemented a custom Genetic Algorithm and want to run my simulations that are in the same generation parallel with one another. For my specific use case, I could not use the in-built Optimisation Experiment as I had to define over 1500 parameters if I do so.

How to change the stacking order of agents in a 2D view of a custom agent population?

In AnyLogic, I have a custom agent called ‘Slab’. I’ve created an agent population using this agent, where an event creates a ‘Slab’ agent every 3 minutes, labeled as S0, S1, S2, and so on. When these slabs stack, I can control the stacking order by setting the z-value so that the later generated agent, S2, appears on top of the earlier generated agent, S0. However, in the 2D view, S0 still appears on top. How can I make S2 display above S0 in the 2D view?
anylogic 2D and 3D view

Not Able to Launch Anylogic

I have tried installing Anylogic 8.2/8.3/8.4 however not able to launch the Anylogic SW. Each time I launch I get check error message with below error: