Calculate allowable depth of the corroded area in the pipe.
b31gacd(dep, maop, d, wth, l)
design pressure of the pipe, [PSI]. Type: assert_double
.
maximum allowable operating pressure - MAOP, [PSI]. Type: assert_double
.
nominal outside diameter of the pipe, [inch]. Type: assert_double
.
nominal wall thickness of the pipe, [inch]. Type: assert_double
.
measured maximum longitudinal length of corroded area, [inch].
Type: assert_double
.
allowable depth of the corroded area in the pipe, [inch]. Type: assert_double
.
ASME B31G-1991. Manual for determining the remaining strength of corroded pipelines. A supplement to ASTME B31 code for pressure piping.
b31gacd(1093, 910, 30, .438, 7.5)
#> [1] 0.249
# [1] 0.249 # [inch]