This document discusses calculation methodologies for designing piping systems. It begins with an introduction to piping systems and their importance. It then discusses stresses piping systems experience from thermal expansion, weight, wind, and earthquakes. ASME B31.3 codes are commonly used for process piping design. The document presents methods to increase piping system flexibility through the use of pipe loops and expansion joints to absorb thermal expansion stresses. Pipe loops are preferable to expansion joints due to being simpler and more reliable.