|
| 1 | +# Hotelling's Law Mesa Simulation |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +This project is an agent-based model implemented using the Mesa framework in Python. It simulates market dynamics based on Hotelling's Law, exploring the behavior of stores in a competitive market environment. Stores adjust their prices and locations if it's increases market share to maximize revenue, providing insights into the effects of competition and customer behavior on market outcomes. |
| 6 | + |
| 7 | +## Hotelling's Law |
| 8 | + |
| 9 | +Hotelling's Law is an economic theory that predicts competitors in a market will end up in a state of minimum differentiation, often referred to as the "principle of minimum differentiation" or "Hotelling's linear city model". This model explores how businesses choose their location in relation to competitors and how this affects pricing and consumer choice. |
| 10 | + |
| 11 | +## Installation |
| 12 | + |
| 13 | +To run this simulation, you will need Python 3.x and the following Python libraries: |
| 14 | + |
| 15 | +- mesa |
| 16 | +- scipy |
| 17 | + |
| 18 | +You can install all required libraries by running: |
| 19 | + |
| 20 | +```bash |
| 21 | +pip install -r requirements.txt |
| 22 | +``` |
| 23 | + |
| 24 | +## Project Structure |
| 25 | + |
| 26 | +```plaintext |
| 27 | +mesa-examples/ |
| 28 | +└── examples/ |
| 29 | + └── hotelling_law/ |
| 30 | + ├── hotelling_law/ |
| 31 | + │ ├── __init__.py |
| 32 | + │ ├── model.py |
| 33 | + │ └── agents.py |
| 34 | + ├── __init__.py |
| 35 | + ├── app.py |
| 36 | + ├── Readme.md |
| 37 | + ├── requirements.txt |
| 38 | + └── tests.py |
| 39 | +``` |
| 40 | + |
| 41 | +## Running the Simulation |
| 42 | + |
| 43 | +To start the simulation, navigate to the project directory and execute the following command: |
| 44 | + |
| 45 | +```bash |
| 46 | +solara run app.py |
| 47 | +``` |
| 48 | + |
| 49 | +# Project Details |
| 50 | + |
| 51 | +### Professor: [Vipin P. Veetil](https://www.vipinveetil.com/) |
| 52 | +### Indian Institute of Management, Kozhikode |
| 53 | + |
| 54 | +### Project by |
| 55 | + |
| 56 | +| Group 8 | | | |
| 57 | +|-|---------------------------|---------------| |
| 58 | +| Name | Email Id | Roll No | |
| 59 | +| Amrita Tripathy | amrita15d@iimk.edu.in | EPGP-15D-010 | |
| 60 | +| Anirban Mondal | anirban15e@iimk.edu.in | EPGP-15E-006 | |
| 61 | +| Namita Das | namita15d@iimk.edu.in | EPGP-15D-046 | |
| 62 | +| Sandeep Shenoy | sandeep15c@iimk.edu.in | EPGP-15C-076 | |
| 63 | +| Sanjeeb Kumar Dhinda | sanjeeb15d@iimk.edu.in | EPGP-15D-074 | |
| 64 | +| Umashankar Ankuri | umashankar15d@iimk.edu.in | EPGP-15D-096 | |
| 65 | +| Vinayak Nair | vinayak15d@iimk.edu.in | EPGP-15D-102 | |
| 66 | +| Wayne Joseph Unger | wayne15d@iimk.edu.in | EPGP-15D-104 | |
| 67 | + |
| 68 | + |
| 69 | +### Hotelling Law Simulation - Visualization |
| 70 | + |
0 commit comments