Modeling of microbial substrate conversion, growth and product formation in a recycling fermentor