Modeling the activated sludge floc microenvironment