Category "anylogic"

In AnyLogic, how can I use the findFirst function but for three different agent populations / data types?

Question: Is there a way to write one function that would account for the different data types? Would generics work and if so how do you do that in AnyLogic? Ba

AnyLogic error "Invalid Project File Format"

When trying to open my model, I'm getting the error message "Invalid Project File Format" the file format is .alp. I don't think this is the reason, I saw here

What is wrong with code - Trying to batch agent with similar account ID?

I am trying to batch Sales Invoice per customer . My agents are Invoice. I am looping through each of the account and checking how many invoices are there for e

How to seize 1 resource unit and not the entire resource pool for downtime tasks

I have a resource pool which contains 2 units. I also have a downtime defined for this resource pool. When the downtime is triggered, the entire resource pool o

Anylogic: Time depending stock in-flow with table functions

I would like to simulate a stock (array with six different dimensions) and its changes over the years in Anylogic. The initial values of the stock are given as

Changing transporterfleet based on programmaticaly created schedule

In following up related to my previous question previous question, when a schedule programmatically is created, where I run the function at the start-up of my m

Agent and overhead crane have different spaces in AnyLogic

I have an overhead Crane placed in Main, and i want to use this crane to move agent which is placed in an another agent called as MyAgent. When i tried to do th

How to run exported Parameters Variation experiment in a headless environment automatically?

I would like to run an exported Parameters Variation experiment on my Linux machine. Although there is a way for setting a Simulation experiment to start automa

Pedestrian arrival rate of 5 per h only 3 showing for 1 h during the simulation. Any reason why?

I'm trying to simulate a pedestrian flow in the entrance of an hospital. We are installing check-in platforms and I want to know how many platforms we should ge

Define agent with parameter (%) and delay time in main is based of it. (Anylogic)

I have a simple model which has a separate Agent called 'Passenger'. Inside the Passenger I have a parameters called 'WITH_CHILDREN' which it's default value is

Trasporters are jammed at a specific location in AnyLogic

I hope you are having a great day. Recently, I tried to build an AnyLogic model with free-space transporters, but I encountered an unexpected situation as shown

Importing and mapping AutoCAD line segments to Anylogic Paths

I have an excel file containing AutoCAD line data that I wish to map to AnyLogic Path constructs. To do this I am trying to edit the XML file and adding in path

calculating all the the values of a flow in anylogic

I am writing an economic project in anylogic. I want to sum all the money that flows between two stocks, in fact I need to sum all the values that a flow get du

seizeTransporter Block out port stop working

I am modelling earthmoving operation. Every trench agent seize two transporters, one excavator, and one truck. When truck is released it will do some other job

Create a new transporterFleet from an existing transporterFleet [closed]

I have a transporter type agent called Truck. Its population called truck. I added a TransporterFleet block to the model which is called truck

AnyLogic and Alpyne library: Any issue with the Resource block?

I am trying to develop a simulation model in which actions are performed by an intelligent agent, through Reinforcement Learning, namely using the Alpyne librar