This is an attempt to implement a working simulation model originally envisioned in a HN comment here: https://news.ycombinator.com/item?id=20480438.
Press "Simulate" to see the basic flow. Link the results to the model by pressing the map-pin-shaped button above the graphs, and then change parameters to observe change in behavior.