Modelling composting as a microbial ecosystem: a simulation approach