Theory of the chemostat.