A basic simulation of a coffee operation. Please pardon the mess as this is a work in progress. This is a model that enables forecasting and experimentation under uncertainty, with the goal of steady year-over-year agricultural yields. It can help address questions such as:
- when should I expand / how much?
- what will the impacts of various crop diversification strategies be?
- how can I plan around disaster recovery and mitigation of lost income?
- what would cooperative-wide yields look like if more farmers joined? what about if some left?
The dataset provided can be used for forecasting with
make run
which is equivalent to
python3 simulate.py --farm data/fakeData.csv --years 75 --output testNewFarm.png
and will output this plot, representing the outputs of a collective of farmers over a seventy-five year time span:
Some farmers who joined the cooperative had trees that were already very mature, so this simulation starts back in 1991 to show their hypothetical contributions towards the total yield of the group (in other words, their membership start date is not considered as a factor in this simulation at this time).
Contributions are welcome. There are many aspects of this project to improve, please see CONTRIBUTING.md for a list of places to start. You may also raise an issue if you have questions or suggestions about this code.
This software is released as-is, with no guarantee nor warranty. For more details, please see LICENSE.txt.
Try it in your browser!