Modeling spatiotemporal dynamics of total and active organic carbon