Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Pipe Database contains arrays of nominal pipe sizes, their actual outer diameters and the minimum wall thicknesses based on Pipe Schedules 10, 30, 40, 80, 120,160 and Pipe Standard Dimension Ratios 17, 21, 26,32.5, and 41. From this information an array of available pipe sizes can be constructed given the Pipe Specification, which is the Pipe Schedule or SDR selected in the Master Program. There are a few programs written to return inner and outer diameters of pipes for certain inputs.

The pipe database was updated to limit which pipe sizes in the pipe database were used. For instance, although we found information from manufacturers about 3 inch pipes they are uncommon and are unlikely to be available for use in Honduras. In the future the pipes available for use could be chosen by the user instead of us.

The pipe database also includes many functions that differ only in their ability to return a single column array for inner diameters or a double column array with inner diameters and nominal pipe sizes. Most team members chose to use only those that returned a single column since there was preexisting code that required an available pipe size array of this size. Once an inner diameter is chosen, another function was written to find the nominal pipe size. In the future the use of these two types of functions can be evaluated and those that are not needed can be removed.

Pipe Sizes

A pipe design function was created so that all pipes could be designed quickly and corrected. In order to find the proper diameter the program iteratively solves for the flow that can fit through a pipe of a given diameter with the given head loss until a large enough diameter is found in the pipe database.

...