Thermodynamic analysis of product formation in mesophilic acidogenesis of lactose