Sizing Theory

Automated Pipe Sizing is a small subset of the mathematical field of Optimization. This is a complex subject that has evolved over many years - the topics here are not attempting to replicate this complexity but instead provide simplified understanding of the methods so that users of ANS can appropriately size systems and adjust models and parameters as needed.

  • Sizing and Optimization - ANS is designed to simplify the optimization problem as much as possible. Those familiar with optimization may find this topic useful to connect common optimization terms to those used in ANS.

  • Boundaries vs. Design Requirements - "Requirements" can be defined in many ways. Boundaries force a certain flow or pressure, whereas Design Requirements place limits on allowable values. While similar, the distinction is important in a sizing context.

  • Physical Parameters vs. Monetary Cost - Monetary Cost sizing is often difficult to the amount of data required. For this reason, minimum cost is often estimated with a physical parameter, such as pipe weight.

  • Brute Force Method - The most basic way to conclusively find a minimum is to exhaustively test all possibilities. This is impossible on a realistic time scale for most systems.

  • Gradient Based Methods - The fastest methods for solving a continuous Objective are based on gradients. Understanding the core of these methods can help in finding better solutions more quickly.

  • Estimating the Gradient - The gradient is only estimated - not analytically determined. This fact means the associated parameters may require adjustment in some cases. Understanding the affect of these adjustments is important.

  • Branch and Bound - Only some methods are inherently suited to discrete sizing. Gradient based methods usually rely on narrowing the solution space and solving a number of easier problems.