b31gops {pipenostics}R Documentation

ASME B31G. Operational status of pipe

Description

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

Usage

b31gops(wth, depth)

Arguments

wth

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

depth

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

Value

Operational status of pipe as an integer value:

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

 library(pipenostics)

 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!


[Package pipenostics version 0.2.0 Index]