A framework for waste heat energy recovery within manufacturing