Heat integration and optimal HEN design applied to a gas pipeline/power generation system