Authors: Dr. Alison Cozad and Dr. Cara Touretzky

Picture this. You’re an engineer for an international oil company, and you’ve just been tapped to design a simple heat exchanger that will be installed at a chemical plant.

Given that heat exchangers can run anywhere from \$100,000 to $1,000,000 and beyond, it’s important that you choose one that keeps things cool—while keeping costs low. And your leaders are eager to break ground, so they need your design yesterday.

What’s the best way to approach a scenario like this? Or other familiar chemical engineering equations?

Many of us may be tempted to dive into a spreadsheet and brute force our way through it. But there’s a better way. It’s called mathematical optimization.

 

What is optimization?

People often associate optimization with industrial engineering or transportation, which tend to have more linear applications. But there are plenty of ways to use optimization in scenarios with nonlinear variables, too. And with Gurobi, you have the benefit of proving global optimality for nonlinear non-convex problems as well.

As we like to say, if you can model it, you can optimize it. To figure out if your scenario is ripe for optimization, consider these questions:

  • Do you have a problem that involves a complex, interconnected set of decisions?
  • Can you quantify and compare the outcomes of your decisions?
  • Do you want to find new ways to use your resources more efficiently?
  • Do you work in a constantly changing business environment?

 

The case of the heat exchanger

Let’s go back to our scenario with the heat exchanger. Here’s an example of how you might design your model. In this scenario, you have one hot stream (H1) and two cold streams (C1 and C2). The lines depict several possible paths where you might consider laying pipe.

Heat Exchange Network Synthesis
Heat Exchange Network Synthesis. This sample heat exchanger scenario is inspired by the textbook Systematic Methods of Chemical Process Design by Biegler, Grossman and Westerberg (1997)

 

In this example, there are at least five combinations to play with, given the constraints of your space and the liquids you’re working with. The questions are: Which of these options is most cost-effective and efficient? And what size should the exchangers be in order to meet the process requirements?

Heat Exchange Network - Possibilities
Heat Exchange Network – Possibilities. Five piping options, each with additional design choices for heat capacity, flowrates, temperatures, and the size of each exchanger.

 

Answer it with a solver

A mathematical solver can help calculate models like this in a fraction of the time that you can do it yourself in a spreadsheet. And when you use a solver, it helps you in other key ways:

  • Prove your design. Have confidence that the solution you present to your leadership team is the top option—and that you haven’t leaned too heavily on design rules-of-thumb. You’ve mathematically tested an array of options and landed on the best one. It’s a proven solution, and one that’s easy to explain.
  • Troubleshoot later. Use this same model down the road for troubleshooting. Say that you build your heat exchanger exactly as designed. But three years later, it’s no longer hitting your target temperatures. You can use your model to do a parameter estimation, re-identify the heat coefficient, and see what’s changed over time.

 

How Gurobi helps

When you bring in a solver like Gurobi Optimizer, you focus more on building a solid model of your systems. Then you can trust that our solver is powerful enough to give you the answer you need in a reasonable time.

Curious how we used Gurobi to solve this heat exchanger scenario? Get the full walkthrough in our recent webinar: Optimizing Non-linear Chemical Engineering Applications.

Guidance for Your Journey

30 Day Free Trial for Commercial Users

Start solving your most complex challenges, with the world's fastest, most feature-rich solver.

Always Free for Academics

We make it easy for students, faculty, and researchers to work with mathematical optimization.

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.

Academic License
Gurobi provides free, full-featured licenses for coursework, teaching, and research at degree-granting academic institutions. Academics can receive guidance and support through our Community Forum.

Search

Gurobi Optimization