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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

Sort collection by a parameter

i'm trying to sort descending a collection C of agents. My agent P has got a parameter p1 ( an integer between 0 and 4, which is assigned via a distribution at the creation of the agent itself) As a ...
ilaria lazzarini's user avatar
0 votes
1 answer
17 views

Handle LinkedHashMap. How update array of a particular key

I have a problem with linkedHashMap. I built a collection as follows: int v[]={0,0,0,0,0}; collection.put("A",v); collection.put("B",v); collection.put("C",v); collection....
ilaria lazzarini's user avatar
0 votes
0 answers
24 views

Despite the definition of the type of disease, the software still does not diagnose the variable. What should I do؟ [closed]

I am working on a discrete event simulation project. I want my patients to go through different routes according to the type of disease, which I did with the filter in the condition section, but the ...
sajedeh's user avatar
0 votes
1 answer
32 views

NullPointerException when injecting to PedSource with a level created in code

I'm using the pedestrian library. At this point the model is creating a number of rectangular walls that represent shelf mods, and the pedestrians enter and move to a point and then exit. The walls ...
Aaron's user avatar
  • 5
-2 votes
0 answers
14 views

Can I make a job sequencing simulation with Anylogic 7.0.2 professional? If it's possible, how to make it?

I want to make a job sequencing simulation using heuristic methods such as SPT, EDD, and MST. Is it possible to make it with Anylogic 7.0.2 professional version? If it's possible, how to do it? I have ...
Shafaa P Al Zahra's user avatar
0 votes
1 answer
25 views

I want to the female mosquito to spawn eggs three times in its life cycle with different nu each time i.e 200,150,100 at day 17,20,23

I am trying to model the mosquito lifecycle and got stuck in the part where female mosquitoes have to lay eggs with different numbers each time. say at the age of 17, 20, and 23 with 200–250, 150–200, ...
Celina's user avatar
  • 43
1 vote
1 answer
28 views

Select Parking Lot based on free space in Road Traffic Library of Anylogic

I have two ParkingLot namely parkinglot1 and parkinglot2. Please refer to the image below I have used a collection namely (parkingSpaces). And in the carSource block I am using the following to ...
Jahidul Hasan Razib's user avatar
0 votes
0 answers
15 views

How to count inPickup port of Pickup block from PML in anylogic?

I am trying to calculate a KPI using the following formula dataset.add(pickup.out.count()*pickup.inPickup.count()) But I noticed pickup.inPickup.count() is returning 0 every time. Is there a way ...
Jahidul Hasan Razib's user avatar
0 votes
2 answers
23 views

Car Parking Lot Capacity issue in Road Traffic Library in Anylogic

I am working on model where my cars appear in Parking lot. I am using Road Traffic Library. The max capacity of Parking Space is 100 by default in Anylogic. So whenever my source is inputting more ...
Jahidul Hasan Razib's user avatar
1 vote
1 answer
20 views

How can I integrate a rotating camera view in my anylogic model?

I have been trying to incorporate a camera that rotate 360 degree around my model automatically.
Jahidul Hasan Razib's user avatar
0 votes
0 answers
16 views

Anylogic Simulation help - multiple sources

I'm new to Anylogic simulation. Just after some advise on building my simulation. I'm trying to build a simulation that models 6 different types of cars which need their engine, tries, breaks, etc ...
Bill's user avatar
  • 1
0 votes
0 answers
32 views

How to specify the services in the block pedService based on the agent's current level?

I am currently using Anylogic 8 to create a simulation model of the elevator. I find a useful tutorial from this blog: https://elc.github.io/blog/images/elevator-simulation/student-behavior.jpg. I am ...
Gavin Xu's user avatar
0 votes
1 answer
21 views

anylogic - agent does't leave the queue to enter the restricted area start, which is avaible

I have a queue with maximum capacity. After that I have a restricted area start (capacity=3) to access to the resources (3 bankers). I put a select output to choose the right banker: the client goes ...
Giulia's user avatar
  • 1
0 votes
0 answers
13 views

How to show agents (Pedestrians) which is inside another agent Floor 2 in Main agent?

I have a model where I have an agent called Floor 2. And agent pedestrian fills up the floor 2 at a rate of 1 per second. When I call floor 2 in main agent, the pedestrians dont show up. And the floor ...
Jahidul Hasan Razib's user avatar
0 votes
0 answers
14 views

Same resource in different services of AnyLogic

I have a doubt about why a resource is not occupied in some moments of the simulation. I have 2 services [service A and service B] that seize 2 resources each of them (one in common [resource C] and ...
Irene Domínguez's user avatar
-2 votes
0 answers
42 views

Schedule Action for a system dynamics problem on Anylogic

I've got a problem with system dynamic on Anylogic, with the Schedule. I explain best the question: the goal is to stop the flow Provides after 8 hour and restart the flow every day, in a cycling mode....
Liz's user avatar
  • 1
0 votes
1 answer
25 views

events action in system dynamics problem using anylogic

can anyone help me with the function i have to insert in the action? It's a system dynimcs problem and my goal is to work 8 hours and then stop the production every day. The input flows are ...
ali's user avatar
  • 11
1 vote
1 answer
20 views

System dynamics in anylogic

I have a problem with anylogic program. I would like to implement a system dynamics problem where process works 8 hours a day beacause I want to simulate a factory timetable. The time I've used in ...
ali's user avatar
  • 11
0 votes
1 answer
31 views

How to use programmatically created schedule object in resource pool in AnyLogic?

I am trying to programmatically create a schedule from inputs and use it as capacity for my resourcePoolSortation. However, I cannot assign this new schedule as "Capacity defined by On/Off ...
Yashar Ahmadov's user avatar
0 votes
0 answers
20 views

Anylogic Boarding Delays & Queues

I'm trying to do a boarding simulation with agents & the process modelling library in Anylogic. The model should be somewhat like the aircraft boarding examples from the Anylogic cloud, just with ...
Lucas Plank's user avatar
1 vote
1 answer
28 views

I want to access a ResourcePool selection method programatically

I have a simulation that outputs KPIs to an Excel spreadsheet and I want to output some scenario parameters as well. One of these is the resource selection policy (see below). Is there a way that I ...
Anthony Clissold's user avatar
-1 votes
0 answers
16 views

AnyLogic: Agents Stuck Trying to Seize Resource in Model

I'm modeling a lab in AnyLogic. The process flow involves widgets that need to be processed with a piece of equipment, with the following key steps: Widgets arrive. Widgets are prepared (weighed, ...
PGD's user avatar
  • 1
0 votes
1 answer
26 views

How can I specify priority of agent type in ResourcePool in Anylogic?

I have a model, where I have a agent with parameter Type. There are Type1, Type2, and Type3. I have one Service Station (ResourcePool) with capacity 2. Now, I want to prioritize Type2 so that instead ...
Jahidul Hasan Razib's user avatar
0 votes
1 answer
33 views

How to vary the interarrival rates based on agent type in anylogic?

I am working on a model, where I want to vary the interarrival rates of agents based on parameter Type. I have a parameter Type of Option List containing type2 and type7. I tried to change the arrival ...
Jahidul Hasan Razib's user avatar
-1 votes
1 answer
39 views

How to visualize distance travelled in AnyLogic

I'm trying to produce a histogram plotting distance travelled by pedestrian agents. It is fairly easy to plot the time in the model, based on this tutorial from AnyLogic. But I couldn't find a way to ...
Kirill's user avatar
  • 21
0 votes
0 answers
33 views

Agent exiting network port missaligned with paired network port

I have an AGV (transporter) agent originally located in the main area, responsible for entering another agent called BeltAndRack where pallets are stored, retrieving them, and returning to main. The ...
Francisco Marques's user avatar
0 votes
1 answer
24 views

How to fix my viewArea so that it cannot be scolled or dragged in Anylogic

Is there a way to lock my ViewArea to one place in Anylogic? I dont want it to be moved or scrolled when I run the model.
Jahidul Hasan Razib's user avatar
0 votes
0 answers
17 views

Anylogic Model : Resource charts

I have developed a model with some resource pools: Workers namely – Warehouse workers, production workers and outbound workers; and also Transporters namely – Fork lifters in Inbound, Warehouse and ...
jenni savariar's user avatar
0 votes
1 answer
43 views

Is there a function to get the current node that an AGV is in?

I'm modeling DES using material handling library that has multiple AGVs on guided path. There are a few rectangular nodes that covers some part of the path that AGV travel pass through. I have an ...
Ong's user avatar
  • 15
0 votes
1 answer
22 views

AnyLogic model : Can I use the string entry from the Database file as a condition in selectoutput5?

I am working on a model that sorts the agents based on the department column. I tried the timestamp column from the database for the agent arrival and it works fine. now along the process, at one ...
jenni savariar's user avatar
1 vote
1 answer
41 views

How to add agent's presentation which is in another to the main?

Hi I have an agent called B in side my agent A. Agent A has been added to the main. I have a plot inside agent B and I want to show that in my main. So I am calling currentTurbine.plot.setLocation(...
Randi's user avatar
  • 641
0 votes
1 answer
43 views

Is there a way to comment out a mulitline of code?

Are there a shortcuts-key combination to comment out a block of code in anylogic? Here's an example of what I'm trying to achieve: code line 1 code line 2 code line 3 Into: //code line 1 //code line ...
Telso's user avatar
  • 131
1 vote
1 answer
48 views

AnyLogic: How to make AGV wait/sleep separately using event

I have 10 AGVs(TransporterFleet) moving on a guided path. I created functions to return random time and duration for AGV's error. All functions and event were created in AGV, not main() because I want ...
Ong's user avatar
  • 15
1 vote
1 answer
27 views

One queue feeding multiple downstream blocks

I am modeling a system in which units of raw materials are kept in large storage container. The raw materials are used in three different and unrelated manufacturing processes. Units of the raw ...
fgbologah3's user avatar
0 votes
0 answers
21 views

How can I access one agent delay block within another agent in AnyLogic?

As depicted in the image below, I have an 'if' condition where I intend to check the delay.size property, which resides in another agent named Car. How can I access the delay block's 'size' property ...
Aqeel Tariq's user avatar
1 vote
2 answers
40 views

How to check if an agent arrived at certain point node?

Hi Iam moving a truck to a point node along with a path using main.trucks.get(0).moveTo(main.nodeHill); This works successfully and now I want to check if the truck is arrived to the point node. Is ...
Randi's user avatar
  • 641
0 votes
1 answer
30 views

Anylogic Path not found! Agents located in same level and network

Recently I tried replicating @Benjamin Schumann's approach to creating an Agent-Based Anylogic Network since I want to use it for a warehouse simulation project ---> https://benjamin-schumann.com/...
mj_davis's user avatar
1 vote
1 answer
29 views

Anylogic reset resourcePool agent parameter each day

I'm modelling a call centre in AnyLogic. I have two agent types - calls, and call operators. Each call operator has a variable that tracks the number of calls that they have answered, however I want ...
Anthony Clissold's user avatar
0 votes
0 answers
22 views

How to model a freight container's warehouse storage system in Anylogic

[Context] I'm modeling the operations of a freight container warehouse, where empty freight containers are stored while awaiting the request from the shipping company that owns each container (for ...
Lucas V.'s user avatar
0 votes
1 answer
30 views

Anylogic: Is there a way to delay the output rate of a tank in Anylogic Fluid library?

Using Anylogic Fluid Library, I have a tank that stores liquids, which currently has a variable input rate and a fixed output rate (controlled by a valve). I want it to store the liquid for a period ...
Hongcheng Xie's user avatar
1 vote
2 answers
47 views

How to transition from one state to another state based upon distance of agent in a network in Anylogic

I am trying to develop an Agent Based model where patient gets to hospital based on the nearest hospital distance. I have two agent population on Main, patients (Population of 10) hospitals (...
Jahidul Hasan Razib's user avatar
0 votes
1 answer
20 views

Change the color of a region in Anylogic GIS

I am currently carrying out a project to simulate the distribution of resources to different regions. Using Anylogic 8.3 together with GIS I was able to box the regions but I need the color of that ...
Ramiro Córdoba's user avatar
0 votes
1 answer
48 views

Exception during discrete event: Can't set arrival callback during movement

I am encountering this error in the image while running the simulation, I am not sure where that agent is or how to find it as its a really huge model. Please can someone help me with understanding ...
PAL's user avatar
  • 5
0 votes
1 answer
34 views

I want to know how to make cars wait in parking untill they are called by the next parking lot in anylogic software?

I am working on anylogic software.In the road traffic library I used delay block to make the cars waiting in one parking lot.I want them to move from one parking to next parking lot and I want to make ...
Sushma's user avatar
  • 1
1 vote
0 answers
30 views

Can I use RouteData API for any agent?

network with nodes Let's say an agent is located at Node1 and the three resource units from one resource pool are located at Node2, 3, and 4 respectively. When an agent is to seize one resource unit ...
SHLH's user avatar
  • 13
0 votes
1 answer
19 views

Tracking an Agent's GIS Region location as it goes from GIS Point to GIS Point

So I have a series of GIS points on a map and Truck agents travel from point to point at random. There's a series of arbitrary non-overlapping regions within the map (akin to county or state). I'm ...
Jack Nelson's user avatar
0 votes
0 answers
20 views

How do I make a full loop / circuit in the railway system?

I am aware this may seem like an obvious question, but I cannot figure it out. Whenever I try and connect two pieces of straight track and they look connected, it still gives me the error that "...
Lapis's user avatar
  • 1
0 votes
1 answer
19 views

how to remove agents from a given anylogic storage

in the following code I would like to add a command that after retStroage=orangeStorage which makes me delete the agents inside the orange storage how can I do? int nRetrieved = nForRetrieve....
PaNDax ObEx's user avatar
0 votes
1 answer
38 views

How to plot the values extracted by EVENT in Anylogic

I am using an EVENT to get the speed of my transporter fleet using transporterFleet.getSpeed() every 1 second. Now, I want to get these value in a chart or Database. I know getSpeed() returns the ...
Jahidul Hasan Razib's user avatar
0 votes
1 answer
28 views

How to plot the values of my agent parameter in Main Agent?

I have a model, where I am storing the agent.starttime=time() and agent.endtime = time, and using the formula agent.processingtime = agent.endtime - agent.starttime to get the processing time of each ...
Jahidul Hasan Razib's user avatar

1
2 3 4 5
54