Skip to content

aumashankar/hotelling-law-mesa3.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotelling's Law Mesa Simulation

Overview

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.

Hotelling's Law

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.

Installation

To run this simulation, you will need Python 3.x and the following Python libraries:

  • mesa
  • scipy
  • numpy
  • matplotlib
  • solara You can install all required libraries by running:
pip install -r requirements.txt

Project Structure


hotelling-law-mesa3.0/
├── __init__.py
├── model.py
├── agents.py
├── app.py
├── Readme.md
├── requirements.txt
└── tests.py

Running the Simulation

To start the simulation, navigate to the project directory and execute the following command:

solara run app.py

Project Details

Professor: Vipin P. Veetil

Indian Institute of Management, Kozhikode

Hotelling Law Simulation - Visualization

plot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages