# Tag: anylogic

## how to count pedestrians or other calculations in a specific area in anylogic

Now I set three services and let pedestrians run between the targetline1 and targetline2 in anylogic. Part of pedestrians will enter into services and then go to the targetline1 or 2. I want to count the total number of pedestrians only in the node(blue rectangular). how can I calculate pedestrians only in the node area? (I also want to calculate

## Anylogic-how to calculate distance between pedestrians

I use the pedestrian library (use the ped source, ped Goto, and ped sink) and want to simulate the sidewalk environment. The goal of this model is to get the data that the distance between pedestrians is less than 1m. So, I try to calculate the distance between pedestrians. In the Anylogic, the information of pedestrians can be collected by

## Anylogic. NullPointerException. Error when executing a discrete event

I’m doing a project for studying. There is an agent with 2 variables that take the value True or False using the randomTrue() function. The construction of the project does not reveal errors. At startup, it throws an error when executing a discrete event:NullPointerException. Not a single agent was entered into the system. On source 0. I tried to change

## Scheduling Simulation Run in Anylogic

I am working on workshop model where i have set of service blocks and resource pools associated with it. I want to run the Simulation for 8 hours on daily basis but is should run for a week. For example the run time is 80 hours, model start on 3 -sept at 8:00AM and run till 3-sept 4:00PM, now model

## creating an Agent with differently set parameters according to probabilities

I am modeling an assembly line that has a big variety of products that require different steps in the assembly (mostly different delay times). From previous trial and error I’ve learned that I have to …

## Anylogic – Block and unblock based on condition

Is it possible to use a simple true/false statement in a Hold block’s blocking condition to block an agent if condition is true and unblock if condition is false? If not, is there another way? I need …

## Anylogic: Use individual RandomNumberGenerator for each ressource

We are working on a simulation of a production chain of six machines connected in a series. For all of them, we need failure times etc. which are distributed differently. I am looking for a way to …