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

Is it possible to run through several states in one statechart at the same time?

Is it possible to run through several states in one statechart at the same time? My simulation model is agent-based. A) At the moment I consider my process as a continuous chain for simplicity. This means that only when the product is ejected from…
Sihem
  • 1
  • 1
0
votes
1 answer

Seized resource physical location

I would like to find the location of the seized resource whenever a resource is seized. For instance in the job shop example model- see the attached photo, the material is moved by a forklift from a rack to a table in order to be process by a CNC…
0
votes
1 answer

How can I repeat a statechart under a certain condition?

How can I repeat a statechart under a certain condition? I don't want to make a transition back to the first state. For example Agent A has a statechart. And Agent B also has a statechart. The last states in Agent A are contained at the beginning of…
Sihem
  • 1
  • 1
0
votes
1 answer

Major and minor Netlogo problems

what happens is the cars move throughout the simulation and so do the people in the image, the blue car at the moment is on coordinate (16,-2) and the people are on (20, -5) (20,-6) (20,-7) and (20, -8) respectively, what I want to do is make any…
Mercurial
  • 79
  • 8
0
votes
1 answer

How to check if 2 different breeds of turtles are on the same patch

The final part of my design involves me recording down anytime a car breed drives into or in netlogo terms, is on the same patch or X and Y coordinate as the people breed as they navigate across the edge of the screen. Had this been java I could've…
Mercurial
  • 79
  • 8
0
votes
1 answer

Anylogic new branch throwing "cannot be resolved to a variable" error

I'm building an Anylogic model. I've built these models off and on for a few years, and I've never seen the program display this behavior. Until this morning, it ran beautifully. I've made a single change in a single agent type—I've added an extra…
TheChainsOfMarkov
  • 323
  • 1
  • 2
  • 11
0
votes
1 answer

Can Netlogo support 2D time series as forcings for turtles?

I am new to Netlogo, but want to use it for my next ABM. However I can't find any information on the ability of Netlogo to use 2D time series as drivers for the turtles. I know that Netlogo can use static information like bathymetry, but what about…
0
votes
1 answer

How do I properly simulate a rate of infection?

I am practicing my Netlogo skills by trying to simulate viral infection rate in a closed environment. The simulation I came up with runs well, but after reviewing the results something seems off in terms of how agents infect other agents. Here is my…
Dani
  • 5
  • 2
0
votes
0 answers

Multiple instances of a class updated when individual instance should be

I'm building an agent-based model that simulates a stock market in which different participants have semi-randomized behavior. For some reason, multiple agents of the same class all engage in identical trading behavior. Basic question is: why do…
0
votes
0 answers

How to avoid edge effects in simulation models?

I am simulating individual movements in virtual landscapes using an agent-based model. I have different virtual landscapes varying in spatial aggregation of resources that have been built from Gaussian random field models (GRF). To avoid edge…
Marine
  • 521
  • 1
  • 4
  • 23
0
votes
1 answer

How I can send command to the person agents living in one specific GIS region? Consider there are several GIS regions

Suppose there are 1000 Person agent on 4 (a,b, c,d) GIS region area. On a certain event, I want to communicate with all the agents living inside GIS region "a" . In "a" region we have 200 person agents.If I send message or command to Person state…
0
votes
0 answers

NetLogo LevelSpace Extension for Passing Agents Between Models

I'm using NetLogo's LevelSpace extension to pass agents between two models. Specifically, I am wanting to make agents leave one model and appear with all of their attributes in another model, and vice versa. For example, if one model was of a work…
DWSmithCSS
  • 11
  • 1
0
votes
1 answer

How to fetch index of agent from list of agent in ANYLOGIC

As i am using getConnections() that will Returns a collection of agents(i.e,list not single agent) connected to any agent. I want to connect the agents (those which are present in the collection returned by getConnections()) to another agent.…
0
votes
3 answers

How do I connect agents by name in AnyLogic?

I am trying to connect different agent types by names. So, for example, I have a dataset where I have a list of patient names and their doctors name. I would first like to create two different populations of patients and doctors where each…
AyeTown
  • 831
  • 1
  • 5
  • 20
0
votes
1 answer

getting a particular colored turtle to do something on a particular colored patch in Netlogo

I am putting together a Netlogo model where students and criminals are interacting on a college campus. If criminals are close to students, a chase ensues so that when a criminal is distance < 1 the student dies. In addition to dying when criminal…
Ryan Bobo
  • 101
  • 7