A bioenergetic model of a mixed production fermentation