Model of the total exchange carbon flux for terrestrial ecosystems