A Heat to Power unit will be fed by the recovered heat energy and cold cooling water or from cold recovery. By active utilizing this energy the Heat to Power unit will ensure electric power directly to the grid or for charging the batteries. By combining a Heat to Power unit in the automatic Waste Energy Recovery System, the vessels energy efficiency will be improved.