Versions Compared

Key

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

...

The outputs of this function are nominal pipe diameters. The pipe diameter is referenced from the pipe database.

Description

Arrays: The pipe database needs to store the many parameters of the pipes available to build the plants.

  • Pipesizes: This array holds the nominal pipe size, in inches, and actual average outer diameter.
  • MinWallThicknesses: This array holds the values for the wall thicknesses for each different PipeSpecification and nominal pipe size.
  • Pipe Fittings: This array holds the nominal pipe size, in inches, the elbow radius, tee length, and socket depth for each. It is used to get information to draw tees, crosses, and elbows in the plant.

Functions

*innerdiameter(Nominal Pipe Size, PipeSpecification)
*NominalPipeSize(PipeSize)
*InnerD(PipeSize,PipeSpecification)
*IDindex(index,PipeSpecification)
*IDindex1(index,PipeSpecification)
*outerdiameter(NominalPipeSize)
*outerradius(NominalPipeSize)
*AvailPipeSizes(PipeSpecification)
*AvailPipeSizes1(PipeSpecification)
*D.nominal(D.inner, PipeSpecification)
*ElbowRadius(NominalPipeSize)
*ShortTeeLength(NominalPipeSize)
*TeeLength(NominalPipeSize)
*SocketDepth(NominalPipeSize)
*CrossLength(NominalPipeSize)
*ConRadius(NominalPipeSize)