Simple implementation of the El Farol Bar Problem
Model was written in NetLogo 6.0
•
Viewed 367 times
•
Downloaded 24 times
•
Run 0 times
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
Comments and Questions
Click to Run Model
to setup ca set-default-shape turtles "person" ask patches with [abs pxcor < 5 and abs pycor < 4] [set pcolor white] ask n-of n-of-agents patches with [pcolor = black] [sprout 1] reset-ticks end to go choose tick end to choose let turtles-in-the-bar count turtles-on patches with [pcolor = white] ask n-of round (n-of-agents * simultaneous-move-prop) turtles [ ifelse turtles-in-the-bar > bar-limit [ move-to one-of patches with [pcolor = black] ] [ move-to one-of patches with [pcolor = white] ] ] end
There is only one version of this model, created over 7 years ago by Giangiacomo Bravo.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Simple implementation of the El Farol Bar Problem.png | preview | Preview for 'Simple implementation of the El Farol Bar Problem' | over 7 years ago, by Giangiacomo Bravo | Download |
This model does not have any ancestors.
This model does not have any descendants.
Rodgers Munene
El Farol Bar Problem Model (Question)
How can I apply this model in power microgrid resilience modelling? Bearing in mind that power microgrid resilience under fault or abnormal conditions is unpredictable and complex and ill-defined and deductive reasoning cannot be possible. Only inductive reasoning under boundedly rational agents solutions are found to give better results.
Posted over 7 years ago