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
1
vote
1 answer

Using gaming concepts to build user agents for market research purposes

I work for a market research company in the online space. We have been spending all of our cycles for over a year and a half building the next big thing in this space with regards to profiling our respondents (over time) to better place them in…
1
vote
3 answers

Store data snapshots from an agent-based Matlab simulation

I'm writing an agent-based simulation in MATLAB in which agents play a game in rounds, selling stuff to each other. Pretty much everything (agents, items, locations, contracts...) is implemented as an object using MATLAB's OOP functionalities. Every…
Jacob
  • 336
  • 3
  • 10
1
vote
2 answers

How to directly access class instances through class dictionary in Python

I need a way of accessing directly an instance of a class through an ID number. As I tried to explain here, I am importing a .csv file and I want to create an instance of my class Person() for every line in the .csv file, plus I want to be able to…
Wilco
  • 429
  • 2
  • 5
  • 13
0
votes
2 answers

Is it possible to use Agent Based Modelling tools such as Netlogo to do network simulation (e.g TCP)

I intend to model using Netlogo. However, I haven't seen any solid reference to using Netlogo for network simulations. I would like to check for simple network parameters like throughput and how changes in agent-set (Network node in the case) can…
samup4web
  • 21
  • 4
0
votes
0 answers

How to simulate wind speed in AnyLogic?

I have created a Wind Farm using this tutorial. Now I want to simulate the wind speed and simulate the turbine is going off due to heavy wind. I found this research paper which describes about the components of the wind simulator and the logic…
Randi
  • 639
  • 2
  • 6
  • 23
0
votes
0 answers

Issue Linking DB Table to GISRegions in Anylogic/ Spawning Agents to the GISRegions

I am working in AnyLogic and am quite new. Description: of 'Tract' Country>State>County>City>Tract. I have census tract data of the different districts of a city. In this data each row is one "tract" which has a population associated with it. I have…
Kimon
  • 1
  • 1
0
votes
1 answer

Is there a way to use seizeTransporter through AnyLogic to carry a number of agents?

Is there a way to use seizeTransporter through AnyLogic to carry a number of agents? For instance, board a number of passengers onto an elevator and take them to the upper floors! In a high-rise construction project, TransporterFleet blocks are used…
Sunny
  • 1
0
votes
0 answers

how to implement excel sheet values in anylogic software agent based modeling in time plot with the normal distribution?

In AnyLogic software, I am developing an agent-based simulation of cars and components. I have three agents: Main, which is responsible for plotting all the data, Cars, which consists of 100 individual car agents, and Component, which represents a…
0
votes
0 answers

Changing the lane of moving turtle on 3 lanes according to the color

I'm trying to extend the inbuilt model of NetLogo software, called Traffic 2 lanes, and modified little bit it as a bottle production line, which has three color bottles, moving in 3 lanes in random color order. My requirement is, in original…
Kelumsd
  • 1
  • 2
0
votes
1 answer

How to simulate an order queue in repast across multiple ranks(processor cores )?

I am just beginning with repast python. I want to simulate a small order handling process with multiple steps. Let's say there are 1000 orders with different order placement timestamps. There are 3 steps after the order is received, picking(10 - 15…
Vinay
  • 1,149
  • 3
  • 16
  • 28
0
votes
1 answer

How to create new turtles and place them randomly in a GIS map?

I have turtles placed in the environment using GIS data. The model runs for 5 years. At the end of each year, based on the turtle's annual income, I am killing one turtle and I want to create a new turtle in the same GIS point where the previous…
amik89
  • 11
  • 2
0
votes
1 answer

How can I dynamically change the size of an agent's icon in a 3D Display in Repast Simphony?

I am trying to change the 3D model's size of an agent programmatically but it doesn't seem to be a way, any ideas? I tried making the agent extend the DefaultStyle3D class but there only is a method to update the scaling factor, which by the way…
0
votes
1 answer

Error in Python code for Schelling Segregation problem

I have a problem where I am supposed to model the Schelling Segregation problem using Python. I have been stuck on this for quite a while now, but I think my issue is that my neighbours aren't being swapped correctly from an unhappy agent into an…
0
votes
0 answers

Minimax Tic Tac Toe game not choosing optimal move

I'm trying to build my first Tic-Tac-Toe game. I've modelled both players playing MiniMax strategy.The point is Players seem to pick moves that maximize their own utility correctly, but they won't stop the opponent from making 3 in a row. I can't…
0
votes
0 answers

Can I automate the assignment of attributes to agents in MESA without having to manually name each attribute?

I have a set of attributes (in form of a dataframe). Columns representing agents and rows representing attributes. Not all agents have all attributes, which means I can't manually name and assign the attributes or it'll be messy and hard to…