SimplePop
Jump to navigation
Jump to search
This very simple model demonstrate the basic features of stocks and flows.
The Design Frame shows a Stock with incoming and outgoing Flows. The equations in the Flows births and deaths are evaluated at each time step and add (respectively subtracts) their value to the value of the Stock pop, which keeps a running tally of total population. These Flows use value provided by the sliders birth_rate and death_rate, respectively, multiplying them by the current value of pop.