Investigation of self-sustainability of a composting machine