A Piping Tutorial
A Piping Tutorial
1. 1. Introduction
1.1. 1.1. Definition of Piping
2
1.2. 1.2. Piping Nomenclature & Components
3
1.3. 1.3. Regulatory Acts, Codes & Standards
5
1.4. 1.4. Line Designation Tables
7
Problem Set 1 8
Problem Set 2 17
3. 3. Supplemental Documents
3.1. 3.1. Owner’s Specifications & Documents
25
3.2. 3.2. Contractor’s Standards & Documents
26
Problem Set 3 27
4. 4. Piping Design
4.1. 4.1. Failure Mechanisms
28
4.2. 4.2. Code Considerations for Design
29
4.3. 4.3. Material Selection
40
4.4. 4.4. Fabricated Tees & Area Reinforcement
54
4.5. 4.5. Piping Flexibility Analysis
58
Exam
Pipe is a pressure tight cylinder used to convey a fluid or to transmit a fluid pressure, ordinarily
designated pipe in applicable material specifications. Materials designated tube or tubing in the
specifications are treated as pipe when intended for pressure service.
Piping is an assembly of piping components used to convey, distribute, mix, separate, discharge,
meter, control or snub fluid flows. Piping also includes pipe-supporting elements but does not
include support structures, such as building frames, bents, foundations, or any equipment
excluded from Code definitions.
Piping components are mechanical elements suitable for joining or assembly into pressure-tight
fluid-containing piping systems. Components include pipe, tubing, fittings, flanges, gaskets,
bolting, valves and devices such as expansion joints, flexible joints, pressure hoses, traps,
strainers, in-line portions of instruments and separators.
• • header
• • branch connection
• • valve
• • flange
• • expansion joint
• • expansion loop
• • pipe support
• • reducer
• • elbow
Pipe system essentials:
Pipe support • • Support elements which serve to maintain the structural integrity of
the piping system, these are typically non-linear elements
Expansible fluid • • Any vapour or gaseous substance, any liquid under such pressure
and temperature such that when pressure is reduced to atmospheric, will
change to a gas
Codes
Codes are rules for the design of prescribed systems which are given the force of law through
provincial, state and federal legislation. In Canada, provincial governments have the
responsibility for public safety that includes these facilities, among others:
• • Pressure piping
• • Pressure vessels
• • Boilers
• • Pipelines
• • Plumbing systems
• • Gas piping
The following are applicable to the first four facilities listed above.
Cites the “minimum requirements for the design, construction, testing, operation, maintenance
and repair of pipelines”:
In the US:
As in Canada, some facilities are governed by federal regulations. Interstate pipeline facilities are
defined by the:
The Province of Alberta Safety Codes Act "Design, Construction and Installation of Boilers &
Pressure Vessels Regulations" par 7(2) requires that construction of a pressure piping system
must include submission of drawings, specifications and other information and include:
(a) flow or line diagrams showing the general arrangement of all boilers, pressure vessels,
pressure piping systems and fittings (2 copies)
(b) pipeline identification lists showing the maximum pressures and temperatures for each
pressure piping system (2 copies)
(c) a list of pressure relief devices, including the set pressure (2 copies)
(d) material specifications, size, schedule and primary service rating of all pressure piping and
fittings (2 copies)
(f) the pressure pipe test procedure outlining the type, method, test media , test pressure, test
temperature, duration and safety precautions (1 copy)
(g) a form, provided by the Administrator, completed by the engineering designer or contractor
which relates to the general engineering requirements for design and field construction of
pressure piping systems (AB 96)
(h) such other information as is necessary for a safety codes officer to survey the design and
determine whether it is suitable for approval and registration
Problem Set 1
1 Which Act governs the design of plant pressure piping systems in Alberta?
3 For what fluid service category may a hydrotest be waived per B31.3?
The following codes are used for the design, construction and inspection of piping systems in
North America.
Piping typically found in electric power generating stations, in industrial and institutional
plants, geothermal heating systems and central and district heating and cooling plants.
B31.4 Pipeline Transportation Systems for Liquid Hydrocarbons and Other Liquids
Piping transporting products which are predominately liquid between plants and terminals
and within terminals, pumping, regulating, and metering stations.
Piping transporting products which are predominately gas between sources and terminals
including compressor, regulating and metering stations, gas gathering pipelines.
Piping typically found in industrial, institutional, commercial and public buildings and in
multi-unit residences which does not require the range of sizes, pressures and
temperatures covered in B311.1
Piping transporting aqueous slurries between plants and terminals within terminals,
pumping and regulating stations.
The following codes are used to specify the geometric, material and strength of piping and components:
Piping component standard developed by the American Society of Mechanical Engineers or the
American National Standards Institute (ANSI)
Piping covering fire protection systems using water, carbon dioxide, halon, foam, dry
chemical and wet chemicals.
SP-6 Standard Finishes for Contact Faces Pipe Flanges and Connecting End Flanges
of Valves and Fittings
SP-25 Standard Marking System for Valves, Fittings, Flanges and Union
SP-44 Steel Pipeline Flanges
SP-53 Quality Standards for Steel Castings and Forgings for Valves, Flanges and
Fittings and Other Piping Components - Magnetic Particle
SP-54 Quality Standards for Steel Castings and for Valves, Flanges and Fittings and
Other Piping Components - Radiographic
SP-55 Quality Standards for Steel Castings and for Valves, Flanges and Fittings and
Other Piping Components - Visual
SP-58 Pipe Hangers and Supports - Material, Design and Manufacture
SP-61 Pressure Testing of Steel Valves
SP-69 Pipe Hangers and Supports - Selection and Application
SP-75 High Test Wrought Butt Welding Fittings
SP-82 Valve Pressure Testing Methods
SP-89 Pipe Hangers and Supports - Fabrication and Installation Practices
2.5 API
The API standards are focused on oil production, refinery and product distribution services.
Equipment specified to these standards are typically more robust than general industrial
applications.
Publ. 941 Steel for Hydrogen Service at Elevated Temperature and Pressures in Petroleum
Refineries and Petrochemical Plants
Publ. 2009 Safe Welding and Cutting Practices in Refineries
Publ. 2015 Safe Entry and Cleaning of Petroleum Storage Tanks
2.6 ASTM
There are numerous American Society for Testing and Materials designations cover the
specification of wrought materials, forgings and castings used for plate, fittings, pipe and valves.
The ASTM standards are directed to dimensional standards, materials and strength
considerations.
A 53 Specification for Pipe, Steel, Black and Hot –Dipped, Zinc Coated Welded and
Seamless
A 106 Specification for Seamless Carbon Steel Pipe for High Temperature Service
A 181 Specification for Forgings, Carbon Steel for General Purpose Piping
A 182 Specification for Forged or Rolled Alloy Steel Pipe Flanges, Forged Fittings, and
Valves and Parts for High Temperature Service
A 193 Specification for Alloy Steel and Stainless Steel Bolting Materials for High
Temperature Service
A 194 Specification for Carbon and Alloy Steel Nuts for Bolts for High Pressure and
High Temperature Service
A 234 Specification for Piping Fittings of Wrought Carbon Steel and Alloy Steel for
Moderate and Elevated Temperatures
A 333 Specification for Seamless and Welded Steel Pipe for Low Temperature Service
A 350 Specification for Forgings, Carbon and Low Alloy Steel Requiring Notch
Toughness Testing for Piping Components
A 352 Specification for Steel Castings, Ferritic and Martensitic for Pressure Containing
Parts Suitable for Low Temperature Service
A 420 Specification for Piping Fittings of Wrought Carbon Steel and Alloy Steel for Low
Temperature Service
A 694 Specification for Forgings, carbon and Alloy Steel for Pipe Flanges, Fittings,
Valves and Parts for High Pressure Transmission Service
A 707 Specification for Flanges, Forged, Carbon and Alloy Steel for Low Temperature
Service
Problem Set 2
1. 1. A project award has been made. At the kick off meeting, the PM advises that piping
design will be to B31.4. The facility is steam piping in a refinery extending from the boiler to
the tank farm. What do you do or say and why?
3. 3. What flange specification would you expect to reference for a gas pipeline facility?
Due to copyright laws, the following figures have not been published here. We leave as an
exercise for the user to retrieve these for reference.
Many of the Owners in the industries we service are technically sophisticated and will often have
supplementary specifications, standards or practices. It is the intent of these documents to clarify
and provide interpretation of the legislated Codes and industry-accepted standards specific to the
Owner’s facilities.
These specifications typically go beyond the requirements of Codes and without exception do not
contravene a Code requirement.
Engineering contractors may be called upon to provide the engineering specifications for a project
if an Owner does not have his own standards or if required by terms of the contract.
Problem Set 3
3 Under what conditions can the Owner’s standard override a Code provision?
• • analytical design
• • material selection
• • geometric layout
• • fabrication
• • inspection specification
• • component specification
Piping and piping components may fail if inadequately designed, by a number of different
mechanisms. These failures, in the majority of cases are either load controlled or displacement
controlled failures.
Design of piping systems is governed by Codes. All codes have a common theme, they are
intended to set forth engineering requirements deemed necessary for safe design and
construction of piping installations.
The Codes are not intended to apply to the operation, examination, inspection, testing,
maintenance or repair of piping that has been placed in service. The Codes do not prevent the
User from applying the provisions of the Codes for those purposes.
Engineering requirements of the Codes, while considered necessary and adequate for safe
design, generally use a simplified approach. A designer capable of applying a more rigorous
analysis shall have the latitude to do so, but must be able to demonstrate the validity of such
analysis.
Design Conditions
Design conditions refer to the operating and design temperature and pressure that the piping
system will operate at over the course of its design life.
Code Design Temperature & Design Pressure
( P ∗ Do )
tmin = 2( SE + PY ) + A , or
P ∗ d + 2 SE + 2 yPA
t= 2( SE + Py − P )
The limit is based on the limit stress being less than the basic allowable stress at temperature.
This limit is based on the static yield strength of the material.
SL ≤ Sh ; stress due to sustained loadings shall be less than the basic allowable stress at
temperature. Sustained loadings are those due to pressure, self weight of contents & piping and
other sustained loadings particular to the situation. The limit is based on the static yield strength
of the material.
P ∗ Do
Slp= 4 ∗ tn
SE ≤ SA = f(1.25 Sc + 0.25 Sh). SE stresses arise from the constraint of the thermal strain
displacements associated with the expansion of pipe due to temperature. The limit is based on
fatigue considerations.
Where the sum of the longitudinal stresses is less than Sh, the difference may be used as an
additional thermal expansion allowance.
2 2
SE =
Sb + 4 ∗S
t
2 2
ii M i + i o M o
S b
=
Z
B31.1 (cont’d)
Cycles, N Factor, f
P∗D SE − P
P∗D D ∗ (1 −
SE + P
t = 2( SE + PY ) or t = 2 SE or t = 2 (Lamé Equation)
The limit is based on the limit stress being less than the basic allowable stress at temperature.
This limit is based on the static yield strength of the material.
SL ≤ Sh ; stress due to sustained loadings shall be less than the basic allowable stress at
temperature. Sustained loadings are those due to pressure, self weight of contents & piping and
other sustained loadings particular to the situation. The limit is based on the static yield strength
of the material.
SE ≤ SA = f(1.25 Sc + 0.25 Sh). SE stresses arise from the constraint of the thermal strain
displacements associated with the expansion of pipe due to temperature. The limit is based on
fatigue considerations.
Where the sum of the longitudinal stresses is less than Sh, the difference may be used as an
additional thermal expansion allowance.
Design of Piping – B31.4
Pi ∗ D
t = 2S
The limit is based on the limit stress being less than the basic allowable stress at temperature.
This limit is based on the static yield strength of the material.
S = 0.72 ∗ E ∗ SMYS ,
SL ≤ 0.75 • SA
SL, the stress due to sustained loadings shall be less than 0.75 x the allowable stress range, SA at
temperature. Sustained loadings are those due to pressure, self weight of contents & piping and
other sustained loadings particular to the situation.
SE ≤ SA
Design of Piping – B31.8
B31.8 (1975) essentially limits the pressure design consideration to three items:
Design pressure:
2∗ S ∗t
P= D F•E•T
S = SMYS ,
B31.8 applies itself to the above ground piping in discussing expansion and flexibility to a
temperature of 450 °F.
SE ≤ 0.72 • S
Design of Piping – CSA Z662
Pressure Design:
3
2 S ∗ t × 10 × F × L × J × T
P= D ; units are metric
SE ≤ 0.72 • S • T
Design of Piping
Code Code +
Calculation Method
Simple
Complex
Answer Quality
Conservative
Accurate
Effort
Least
Most
Design Loads
The Codes prescribe minimum rules for stress conditions and alert the designer explicitly to some
of the loadings likely to act on a system. In addition to the previous listing, most of the Codes
specify design rules for:
The Codes caution the designer to consider the effect of other loadings and their impact on the
stress state of the system:
•• impact events (hydraulic shock, liquid & solid slugging, flashing, transients)
•• auto- refrigeration, seasonal temperature variations
• • vibration
• • discharge reactions
• • temperature gradients
• • bi-metallic connections
The Codes do not explicitly alert the designer to other loadings which may cause failure in the
piping system, including:
Key Considerations
• • Material specification
• • Chemical Composition
• • Mechanical Properties
• • Brittle fracture toughness
• • Carbon equivalent
• • Inspection
• • Repair Welding Procedure
Fittings – Low Temp ASTM A 420 WPL6 ASTM A 420 WPL6 ASTM A 420 WPL6
Fittings – High Temp ASTM A 234 WPB ASTM A 234 WPB ASTM A 234 WPB
ASTM A 216 WCB ASTM A 216 WCB
Flanges ASTM A 105 ASTM A 105 ASTM A 105
ASTM A 181 ASTM A 181 ASTM A 181
ASME B16.5 ASME B16.5 ASME B16.5
Flanges – Low Temp ASTM A 350 LF2 ASTM A 350 LF2 ASTM A 350 LF2
ASTM A 352 LCB ASTM A 352 LCB
Flanges – High Temp ASTM A 105 ASTM A 105 ASTM A 105
ASTM A 181 ASTM A 181 ASTM A 216 WCB
ASTM A 216 WCB ASTM A 216 WCB
Valves ASTM A 105 ASTM A 105 API 6D
ASME B16.34 API 600 API 600
Valves – Low Temp ASTM A 350 LF2 ASTM A 350 LF2
ASTM A 352 LCB ASTM A 352 LCB
Valves – High Temp ASTM A 216 WCB ASTM A 216 WCB
As can be seen from the Table, material selection can be made from available national standards
such as ASTM and API.
Material Selection – Common Specifications for Carbon Steel Systems (cont’d)
Brittle fracture refers to the often catastrophic failure of materials when subjected to
stresses at a lower temperature which the materially would normally be able to withstand
at higher temperatures.
A “transition temperature” can be defined at the 13.5, 20, 27 J (10, 15, 20 ft-lb) energy
level.
Charpy test results for steel plate obtained from failures of Liberty ships revealed that
plate failure never occurred at temperatures greater than the 20-J (15 ft-lb) transition
temperature.
This transition temperature varies with the material and is not used as a criterion.
Transition Temperatures
The transition temperature establishes the temperature at which a material “goes brittle”.
It’s major shortcoming is it’s imprecision and non-repeatability.
Charpy Testing
Impact testing provides a repeatable means to establish the impact toughness capability
of a material under temperature. The more common method is the Charpy drop test
measurement which determines the energy absorbing capacity of a standard specimen.
Energy
This figure provides a correlation between material group, reference thickness and
exemption temperature.
Material group is defined in Table A-1. For example, SA 106 B is given a Min Temp
rating of “B”. Entering Figure 323.2.2A, this material is impact testing exempt up to a
thickness of 0.5” down to a minimum temperature of –20 F. Curve B rises to a minimum
temperature of 75 F for a material thickness of 3”.
Table 5.1 provides a toughness category matrix. This matrix is somewhat cumbersome
to apply as it requires cross referencing to CSA Z 245 and makes use of toughness
categories I, II & III. It is not intuitively obvious what these categories represent.
This Table also inherently provides for a risk based approach by bringing in service fluid,
test fluid and pipe design operating stress parameters.
Case Study:
On the next page, the Material Requisition Form has certain boxes marked off to
indicated inspection needs. Not all marked boxes are appropriate! Do you know which?
INSPECTION REQUIREMENTS
Project No. Project Name Requisition No. Page 1 of 1
INSPECTION CHECKLIST: The Inspector may check (C), review (R), approve (A) and/or w itness (W) the
follow ing items marked (X) below .
Welder's Qualifications (R) Sandblast, Painting, Coating and Galvanizing (A)
Draw ing and Procedures (R) Mechanical/Electrical/Pneumatic Run Test (W & A)
X Material Test Reports (C, R, & A) X Nameplates, Tagging (C); Marking
Hydrotest (C) X Machining Tolerances (C)
Performance Test (W on one pump per model) Tube Cleaning and Installation Procedure (R)
Complete Train Test (W & A) Tube Bundle Insertion (W & A)
NPSH Test ( A) One per pump model Shop Fit Up Prior to Assembly (W)
Sound Level Test X Compliance w ith Specifications (C)
X Dimensional Check (C ) X Cleanliness Prior to Shipment (C)
X NDT (R) Electrical and Mechanical Runout (C)
Charts (C) Wiring Continuity/High Pot Test (C)
Rotor Balancing (R) X Flange Face Finish (C)
Compliance w ith Dimensional Outline Draw ing (C) Final Equipment Inspection (A)
Compliance w ith Vendor's P&ID (C) Final Packaging Inspection (W & A)
Coupling Type and Size (R) Seal Pressure Test (C)
Coupling Hub Contact
Notes: 1) The Contractor's inspector or designate shall have access to Vendor's premises for the purpose of documentation review ,
auditing or source inspection.
In summary, this paragraph states that branch connections must be made using fittings that are
inherently reinforced such those listed in Table 326.1 or fabricated and sufficiently reinforced using
design criteria based on area reinforcement principles. This presumes that a branch connection
opening weakens the pipe wall and requires reinforcement by replacement of the removed area to
the extent it is in excess to that required for pressure containment. The Code is fully detailed in the
necessary calculations. These calculations can be very tedious, time consuming prone to error if
done by hand. A computer program is advised for productivity; a spreadsheet based program is
more than adequate.
No calculation is required for branch connections made by welding a threaded or socket weld
coupling or half coupling if the branch does not exceed 2 NPS nor ¼ the nominal size of the run line.
The coupling cannot be rated for less than 2000 CWP.
The area reinforcement rule can be at times, be overly conservative; in other instances,
this approach can be deficient even within the limits of applicability defined in the Code.
Code users must be aware of the limits of applicability of the Code rules which are given
in paragraph 304.3.1. Jurisdictions such as the Alberta Boiler Safety Association (ABSA)
have defined additional limits. WRC publications also have guidance on this issue.
4.5 Flexibility Analysis
The above list is actually very conservative and discretion is required in applying these
rules to ensure economical approach to piping analysis.
Paragraph 319.4.1 lists the conditions under which flexibility analysis may be waived.