Welcome to the Agent-Based Modelling (ABM) repository for Q2 2023. This project focusses on the development of ABM-models to display protection motivation theory for flood adaptation
This repository contains the coursework and final assignment for the course. The main objective is to implement and explore agent-based models using Python and the Mesa framework.
- Base Models: Initial models used as the foundation for more complex simulations.
- Final Assignment: Detailed report and implementation of the final project.
- Tutorials: Jupyter notebooks with step-by-step instructions on using the Mesa framework.
To get a local copy up and running, follow these simple steps.
- Python 3.x
- Virtual environment tools (e.g.,
venv
orvirtualenv
)
- Clone the repo
git clone https://github.com/thomaslautenb/ABM.git
- Create a virtual environment
python -m venv env
- Activate the virtual environment
- On Windows:
.\env\Scripts�ctivate
- On MacOS/Linux:
source env/bin/activate
- On Windows:
- Install dependencies
pip install -r requirements.txt
Run the Jupyter notebooks to explore the models and tutorials.
jupyter notebook
Navigate to the desired notebook and run the cells to see the model in action.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.