A simplified general model for a waste-to-energy plant