Questions tagged [agent-based-modeling]

Agent-based modeling is a computer simulation method where agents make decisions based on their interactions with each other and their environment. It combines elements of game theory, complex systems, emergence, computational sociology, multi-agent systems, and evolutionary programming.

From Wikipedia:

An agent-based model (ABM) (also sometimes related to the term multi-agent system or multi-agent simulation) is a class of computational models for simulating the actions and interactions of autonomous agents (both individual or collective entities such as organizations or groups) with a view to assessing their effects on the system as a whole. It combines elements of game theory, complex systems, emergence, computational sociology, multi-agent systems, and evolutionary programming. Monte Carlo Methods are used to introduce randomness. ABMs are also called individual-based models.

474 questions
0
votes
1 answer

Conditionally halting a seize taking place in Seize block

I want to halt patients (agents) from seizing treatment rooms (resource) from two resource pools until one of the pools has one room available. This because once the patient has seized from one pool, it will be blocked to evaluate seizure from the…
Gaute
  • 49
  • 7
0
votes
1 answer

Generate a number within a range and considering a mean val

I want to generate a random number within a range while considering a mean value. I have a solution for generating the range: turtles-own [age] to setup crt 2 [ get-age ] end to get-age let min-age 65 let max-age 105 set age (…
Hannah H.
  • 266
  • 3
  • 14
0
votes
0 answers

Netlogo : Using Levelspace for importing values from a child model to a parent model

Good day, I am working with Levelspace since I want to create a model of Agents with brains. I have two files: the master containing the environnement within which agents without brain can evolve with simple rules the child containing the brain…
Juliette
  • 1
  • 1
0
votes
1 answer

Netlogo GIS Extension copying polygon feature to patches conversion error

I have a polygon feature data set of emergency service zones for Tucson Metropolitan Area and want to copy the polygon attributes to the patches. The code is only creating/coloring these patches.(Picture shown below). enter image description here I…
0
votes
1 answer

Netlogo and GIS extension unsupported projection file

I am trying to import my ARCGIS Pro project to Netlogo and I am getting this error. Extension exception: unsupported projection 'Mercator_Auxiliary_Sphere' error while observer running GIS:LOAD-DATASET called by procedure SETUP-MAP called by…
0
votes
1 answer

Can we include a procedure (let's say check wind ) in both the setup and go procedure of NetLogo?

I am building a model for dispersion of pollutants in air for which I want to import wind velocity information stored in a .csv file. I was wondering if the procedure to check wind from at each tick can also be included in the setup procedure to…
0
votes
0 answers

How I can impose social distance in agent based anylogic model?

I was trying to model an agent-based anylogic model where pedestrian agents will maintain a distance of 6 feet between them when moving in the continuous space. How I can do that? I tried to put a circle of 6 feet radius around the agent and…
Tariq
  • 57
  • 6
0
votes
0 answers

How can I send/copy selected parameters of an agent to other agents before its deletion?

I have an agent A. The agent has some parameters. The agent is performing a task. When he completes it, the agent is deleted. In the meantime, further processes take place in other agents (B-D). In the last step of the process agent (E) is created.…
0
votes
1 answer

How I can evaluate a condition on next time-step in anylogic?

I am trying to write a code for one state to another state transition where the system will first store the initial model time and then will check a condition (used while loop). It will continue to run the loop until the condition is false and when…
Tariq
  • 57
  • 6
0
votes
1 answer

How can we change 3D animation object (agents representation) color based on statechart?

I have a person agent who has a 3D representation of a man (default 3D pic of a human from anylogic). Can we change color of that 3D person agent's representation based on states? For example, when a agent moves from state A to B, it will change…
Tariq
  • 57
  • 6
0
votes
1 answer

How can I control individual pedestrian type agents behavior using statechart in anylogic?

I am trying to do a pedestrian modeling where individual pedestrian agent behavior needs to be controlled. Can I do that using the pedestrian agent's statechart? Update: Sorry that my initial question wasn't clear enough main jaywalker…
Tariq
  • 57
  • 6
0
votes
1 answer

How to access resource object when being utilised by a service?

I am currently trying to model a set of stores with the following Agents: Customers Employees I want to utilise a state chart to show what role (service) the employee is currently undertaking Cashier Inventory However, I cannot find any way to…
0
votes
0 answers

Is there any faster way to find the path with maximum attribute [duration] of vertices in a directed acyclic graph?

this code works in small networks (30 vertices) but for a 300 vertices network takes hours! Is there a faster way? to calculate-duration ask act 0 [set color green] set pathlist [ ] loop [ if all? deps [color = green] [stop] let path [0] …
0
votes
0 answers

Maximum integer value for a variable in NetLogo

I'm trying to increment an agent property on each tick in the "go" procedure. But it will not increment after some value above 10000's. What could be the issue? Is my code wrong? What is the maximum value that can hold by a variable? to go ask…
dunu008
  • 105
  • 1
  • 15
0
votes
0 answers

How to ask turtles move along a specific path in Netlogo?

I am trying to ask turtles to move along the path that I set please see pic below: I want people walking alone the pink path one by one (like in a queue). here's my piece of code: ;;set paths where people walk in a queue ask patches with […
DJJKZ
  • 175
  • 12