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

How can I make a GIS region an agent in anylogic?

Is there any way to make a GIS region an agent? For example, In Arizona we have 15 counties. Can I make the individual county area an individual agent? In the tutorials it mentions how to place one agent in a GIS region but it's not mentioned how…
Tariq
  • 57
  • 6
0
votes
1 answer

How to control interactions of agents in simple evolutionary games in AnyLogic?

Learning AnyLogic agent-based modeling capabilities, I want to model a simple evolutionary game. Setting There are N agents (even number) each having two states, i.e. Cooperate and Defect, and they may switch between states dependent on the results…
0
votes
1 answer

How to position Canvas with agents in classical Agent-Based Modeling in AnyLogic

I'm new to AnyLogic and trying to figure out how Agent-based models should be set there. There is a famous Epidemic model, which I'm trying to reproduce. Most tutorials on classical ABM deal with old GUI settings. For example, in version 8.5+, which…
garej
  • 508
  • 1
  • 8
  • 24
0
votes
1 answer

Netlogo: Nested if/ifelse statements

Building my first ABM using Netlogo and have a problem involving ifelse statements and how to use them. I'm modelling agents response to flooded properties. The concepts are as follows: If an agent is flooded, they will consider adopting protective…
DavMorr
  • 21
  • 2
0
votes
2 answers

Creating Agents and Adding to a Population

I'm trying to create individual agents with a set of parameters, have them choose a population/collection of other agents to join, then use the sortAscending function to rank the agents based on a composite score of characteristics. I'm stuck with…
0
votes
1 answer

NetLogo: Setting a turtle's variable based on its neighbours on a network

I'm creating a virtual society where turtles have a 3 dimensional vector of opinions.What I'd like is that each turtle in the network has a vector of opinions that is related to turtles in the network following a normal distribution. A possibility I…
lomper
  • 379
  • 1
  • 12
0
votes
1 answer

calculating drivers salary in AnyLogic

In Anylogic I am trying to calculate the average driver salary based on some statistics that will be collected during the model run-time. I have figured out how to collect the required statistics. However I want to know how to create a function…
0
votes
1 answer

How to create condition in NetLogo that 2 slider values cannot exceed defined value?

I created a model which as 2 different sliders, namely ratio1 and ratio2. They are located on the interface and their values should add up to 1 (here: labour-unit), and also cannot exceed this value. For now, NetLogo let's me exceed the condition. I…
0
votes
1 answer

Debugging code for a n-of command in NetLogo

I've set up firms (turtles) in an industry (world) which either produce at home (firms-own: reshored? false) or have offshored their production (firms-own: offshored? true). Further, I have given them a maximum-level-of-automation and their current…
user11277648
  • 53
  • 1
  • 5
0
votes
0 answers

How to prevent agents' ability to 'jump' barriers in NetLogo?

I'm asking this question in reference to a previous question answered here: Is there a way to create impassable barriers in NetLogo? A user helpfully suggested a way to generate off-limits patches (i.e. barriers) in NetLogo. However, as he…
SC7
  • 3
  • 2
0
votes
1 answer

How to ask for a specific share of turtles with a minimum share of a value?

I've set up firms (turtles) in an industry (world) which either produce at home (firms-at-home located > ycor) or have offshored their production (offshore-firms located < ycor). I have given them a firms-own called offshored? which is answered with…
0
votes
1 answer

Is there a way to create impassable barriers in NetLogo?

I am attempting to code a path-finding behavior wherein agents will locate an optimal patch in the environment and navigate their way around fences to reach said patch. I've created a patch variable 'f', which is set to 1 to indicate fences and 0…
SC7
  • 3
  • 2
0
votes
0 answers

How to receive an absolute instead of a decimal number for a reported ratio in percentages on NetLogo?

I've set up firms (turtles) in an industry (world) which either produce at home (firms-at-home located > ycor) or have offshored their production (offshore-firms located < ycor). I have given them a firms-own called offshored? which is answered with…
user11277648
  • 53
  • 1
  • 5
0
votes
1 answer

How to command IFELSE condition in combination with AND and a maximum value to be reached?

My turtles are firms and they have a turtles-own which is firm-level-of-automation. At setup, this parameter is a random value between 0 and 1. At go, it proportionally rises with the R&D-investment. It should rise up until 0.99, as full automation…
user11277648
  • 53
  • 1
  • 5
0
votes
0 answers

How to monitor the percentage of specfic turtles dependent on a turtles-own variable?

I would like to add a monitor on my interface which shows the amount of firms-at-home (in %) of all firms in the setup-world. I'm trying to set up firms (turtles) in an industry (world) which either produce at home (firms-at-home) or have offshored…
user11277648
  • 53
  • 1
  • 5