Waste energy plant