Calculate the design pressure that according to ASME B31G-1991 is the conditioned construction characteristic that should not in no way exceeded.
b31gdep(d, wth, smys, def)
nominal outside diameter of the pipe, [inch]. Type:
nominal wall thickness of the pipe, [inch]. Type:
specified minimum yield of stress (SMYS) as a
characteristics of steel strength, [PSI]. Type:
Design pressure of the pipe, [PSI]. Type:
ASME B31G-1991. Manual for determining the remaining strength of corroded pipelines. A supplement to ASTME B31 code for pressure piping.
b31gdep(30, .438, 52e3, .72) #>  1093.748 #  1093.748 # [PSI]