Batch Microbial Cultures: A Model That Can Account for Environment Changes