Learn R Programming

pipenostics (version 0.2.0)

b31gsap: ASME B31G. Safe maximum pressure for the corroded area of pipe

Description

Calculate safe maximum pressure for the corroded area of pipe.

Usage

b31gsap(dep, d, wth, depth, l)

Value

Safe maximum pressure for the corroded area of pipe, [PSI]. Type: assert_double.

Arguments

dep

design pressure of pipe, [PSI]. Type: assert_double.

d

nominal outside diameter of pipe, [inch]. Type: assert_double.

wth

nominal wall thickness of pipe, [inch]. Type: assert_double.

depth

measured maximum depth of the corroded area, [inch]. Type: assert_double.

l

measured maximum longitudinal length of the corroded area, [inch]. Type: assert_double.

References

ASME B31G-1991. Manual for determining the remaining strength of corroded pipelines. A supplement to ASTME B31 code for pressure piping.

See Also

Other ASME B31G functions: b31crvl(), b31gacd(), b31gacl(), b31gafr(), b31gdep(), b31gmodpf(), b31gops(), b31gpf()

Examples

Run this code
 library(pipenostics)

 b31gsap(1093, 30, .438, .1, 7.5)
 # [1] 1093  # [PSI], safe pressure is equal to design pressure

 b31gsap(877, 24, .281, .08, 15)
 # [1] 690   # [PSI], safe pressure is lower than design pressure due corrosion

Run the code above in your browser using DataLab