An implementation of "Daisy World" as an agent based model (ABM) with evolving daisys, using mesa. The original model was aimed at showing how living organism can change the environment on a global scale via an albedo feedback loop (Watson & Lovelock, 1983). This model implements random mutations, leading to changes in albedo over generations. Setting is a spherical world, with solar energy getting weaker towards poles (upper and lower border) and being maximal at equator (vertical middle). The model ilustrates a variety of effects, e.g. how organisms adapt and conquer a habitat, or the persistance of non-equilibrium states.
Adapt the dimensions of the model in server.py. The dimensions of the model can have major impact on the behaviour, affecting the heat gradient and the relative influence sphere of each cell (togeher with "Radius of heat integration")
$ python3 run.py
A browser window should open automatically (http://127.0.0.1:8521/). Adapt parameters and press Reset, then Run.
Watson, A. J., & Lovelock, J. E. (1983). Biological homeostasis of the global environment: the parable of Daisyworld. Tellus B: Chemical and Physical Meteorology, 35(4), 284-289.