Skip to content

goncalo-aroeira/aasma_project

Repository files navigation

AAMS Beehive Simulation

This project implements a multiagent system to simulate bee colony foraging behavior, developed as part of the Autonomous Agents and Multiagent Systems (AASMA) course at Instituto Superior Técnico. The goal is to explore the interactions between bee colonies, food sources, and their environment, providing insights into collective foraging behaviors and survival strategies.

Using a decentralized approach, each bee agent makes decisions based on local information and simple rules, leading to emergent colony-wide behaviors. The simulation models real-world ecological challenges, such as food scarcity, competition, and predation, by incorporating different bee types, queen strategies, and predator threats (wasps).

Key Features:

  1. Decentralized multiagent system with autonomous decision-making.
  2. Foraging and resource management, with realistic food depletion and regrowth.
  3. Colony survival dynamics, including birth rates, population control, and strategic hive management.
  4. Multiple bee strategies, such as greedy, social, and respectful behaviors.
  5. Predation and defense mechanics, introducing wasps as external threats.
  6. Extensive experimentation and performance analysis, with different environmental setups.

Demo Video: https://youtu.be/QQ6ufTtMS0k

Installation

  1. Make sure you have Python 3.11 or later installed.

  2. Clone the repository:

git clone https://github.com/joao-hs/aams-beehive-simulation.git
  1. Create a virtual environment:
python -m venv .venv
  1. Activate the virtual environment:
source .venv/bin/activate
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

To run the simulation, execute the following command:

python main.py <path/to/config/file.json>

You can create your own configuration file based on the config/base.json file, in order to explore different scenarios.

About

A decentralized multiagent system simulating bee colony foraging, developed for the AASMA course at IST. Features autonomous agents, resource management, predator threats, and strategy evaluation. Includes different bee behaviors, queen decision-making, and survival dynamics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages