Unit 3: Extending Models
Hello Bill,
I was playing with the El Farol model and I thought that any town has a population of 100 persons. What happened in the model when you increase the number of habitants? What I observe is that the average occupancy of the El Farol is always around 1/2 the total population over the time (20000 ticks). Agents are not showing an optimization of the strategy, and the occupancy is similar to what you obtain flipping a coin. What I'm missing?
Thanks in advance.
Hello Bill,
I'm trying to reproduce the histograms that you plot in lecture 3.4.1. I reproduce the code, but I can not figure out how to properly plot the histogram.
histogram [test1] generate an error, histogram test1 no, but do not plot anything.
Can you please, help me?
Hello. In lecture 3.5, Bill Rand describes the results of his change to the El Farol model to incorporate genetic algorithm capabilities within each agent and to ramp up the computational power available overall. He remarks: "“Sure enough, we never quite got up to that 60—but as you increase the computational power, the average attendance at the bar went down; which is interesting, right: you have agents able to make better and better decisions, and yet the system as whole performs less well."
QUESTION: In what respect does the system as a whole perform less well? [No doubt it's staring me right in the face.] Thanks.
The El Farol attendance plot starts from time = 0, and then continues adding data for as long as the model runs. As a result, the data compresses horizontally.
Question: How would one modify the code so that the plot shows a sliding window of N attendance points?
[ Does it require storing a FIFO buffer of N attendance values and plotting the buffer?
Or can the x-axis be limited in the update plot section in some ways?]
Hi everyone,
Trying to follow the extension of the EL FAROL model, I get an error when I try to write:
[
ask turtles with [ attend?] [
set reward reward +1
]
]Has anyone else had this happen to them?
In the post the code is not indented, though it is in fact indented,
I solved, was my bad to not modify if for ifelse...
Subforums
- Introduce Yourself
- Class Announcements
- Study Groups and Meetups
- Technical Issues
- General Discussion
- Course Feedback
- Course Materials to Share
- Unit 1: What is Agent-Based Modeling and Why Should You Use It?
- Unit 2: Building a Simple Model
- Unit 3: Extending Models
- Unit 4: Creating Agent-Based Models
- Unit 5: The Components of an Agent-Based Model
- Unit 6: Analyzing Agent-Based Models
- Unit 7: Verification, Validation, and Replication
- Unit 8: History of ABM and Classic Models
- Unit 9: Advanced ABM