Forest dynamics model with Python and D