Simple implementation of the El Farol Bar Problem

Simple implementation of the El Farol Bar Problem preview image

1 collaborator

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by the author
Model was written in NetLogo 6.0 • Viewed 204 times • Downloaded 10 times • Run 0 times
Download the 'Simple implementation of the El Farol Bar Problem' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


Comments and Questions

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 6 years ago

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 6 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 6 years ago, by Giangiacomo Bravo Download

This model does not have any ancestors.

This model does not have any descendants.