Modeling the anaerobic fermentation of CO, H2 and CO2 mixtures at large and micro-scales