Improved processing logic of composting tank.