The rate at which an ecosystem's producers capture and store a given amount of chemical energy as biomass in a given length of time.