Sizing and Optimization

Techniques for minimizing or maximizing certain parameters - optimization - have been used throughout a variety of industries for many decades. As computers become more prevalent and more powerful, they are able to handle larger problems with more variables and greater complexity. Optimization problems can be enormously complex, and techniques for solving them are almost always iterative. Such problems are generally impractical to solve without a computer.

The selection of pipe sizes to minimize some parameter - often monetary cost - is one specific example of optimization. For the sake of clarity, the mathematical terminology used when discussing optimization problems is compared to the terminology used in the ANS module here.

  • Optimization - Modifying a system to minimize or maximize some parameter.

    • In ANS - This is represented by the name of the module - Automated Network Sizing. The sizes of the various network pipes are modified automatically by the application, to achieve some goal.

  • Objective - The goal of optimization is referred to as the Objective. Minimizing monetary cost is a very common Objective. Others may be minimizing the time to complete an action, or maximizing the amount of material a machine can process.

    • In ANS - The term Objective is retained.

  • Objective Function - It is required that the Objective can be calculated for any configuration of the system. This calculation is represented by the Objective Function, much like any other mathematical function. The Objective is to find the global maximum or minimum of this Objective Function.

    • In ANS - Is not a user input, and is not visible.

  • Constraint - Anything that is required by the system regardless of the Objective value. For example, an Objective might be to minimize the amount of cloth needed to make a blanket. The smaller the blanket, the less material it needs, but a tiny blanket is not very useful. Instead, the Optimization might be Constrained such that the blanket must be some minimum area.

    • In ANS - These are called Design Requirements.

  • Design Variable - Anything that is allowed to change in order to modify the Objective value. In the blanket example, this might be the width, length, and thread count of the blanket. As with any mathematical problem, the more variables there are, the harder the problem is to solve.

    • In ANS - The variables that are allowed to change are the pipe sizes. There are countless ways a fluid system could be Optimized, but pipe sizing is one of the most significant that will impact cost. The total number of design variables in the current analysis is displayed near the bottom of the Size/Cost Assignments panel as Independently Sized Pipes.