In this short simulation, I simulated population of a community. The population is affected by several factors listed in the code. Based on these factors, the population changes in a unique fashion which is demonstrated through a matplotlib plot.
Following are the factors that are taken into consideration:
- Starting Population
- Infant mortality
- Food
- Fertility x and Fertility y
- Healthcare
- Agriculture
- Chance of disaster
- Age of death
- War Related Deaths