b31gops: ASME B31G. Operational status of pipe

Description Usage Arguments Value References See Also Examples

View source: R/b31gops.R

Description

Determine the operational status of pipe: is it excellent? or is technological control required? or is it critical situation?

Usage

1
b31gops(wth, depth)

Arguments

wth

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

depth

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

Value

Operational status of pipe:

Type: assert_numeric and assert_subset.

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(), b31gpf(), b31gsap()

Examples

1
2
3
4
5
 b31gops(.438, .1)
 # [1] 2  # typical status for the most of pipes

 b31gops(.5, .41)
 # [1] 3  # alert! Corrosion depth is too high! Replace the pipe!

pipenostics documentation built on March 2, 2021, 5:06 p.m.