created with NetLogo
view/download model file: Hotelling-2008-4.nlogo
This model represents a simple extension of the Hotelling spatial competition model by considering two dimensions.
A "num-of-people" of consumers feel like having an ice-cream that is sold by any of the two firms (firm 1 and firm 2). At each moment, each consumer at a given position goes to the "closest" firm, buys an ice-cream, and returns to its original place.
By switching ON "move-if-close" , people will only buy ice-cream from its "closest" firm if it is whitihin a distance lower than the "max-distance" set at the InterfaceFirms can choose on from the following rules of behaviour
1) "Random" -> If my competitor sells more ice-cream than I, I will move randomly to another spot
2) "Go to competitor" -> If my competitor sells more ice-cream than I, I will move towards his location
3) "Go to people" -> If my competitor sells more ice-cream that I, I will move towards the location (patch) that
MAXIMIZES the number of people closer to that location that to my competitor. That is,
I will move towards the patch that MAXIMIZES the market share (given the location of
my competitor)
"Setup" will create a "num-of-people" consumers randomly spread around the world and two firms: firm 1 (blue) and firm 2 (green
"Go" makes firms move around the world to gain consumers as described above
"rule" chooses the "rule of behaviour" used by firms??
??