Synthesis of flexible heat exchanger networks—I. Convex networks