Chapter X

Codes, Standards, and Documentation

Red Seal Practice study guide with diagrams.

Codes, Standards, and Documentation

Introduction

This chapter covers one of the pillars of the steamfitter-pipefitter trade: mastery of codes, standards, and technical documents. On the Red Seal exam, approximately 8 to 12% of questions cover this competency area. You must not only know standard numbers, but also know when and how to apply them in real-world job site situations. This chapter prepares you to identify the right standard for the right application, interpret specifications, and avoid common pitfalls.

Applicable National Standards and Codes

The Canadian Electrical Code (CE Code)

The Canadian Electrical Code (CE Code) is published by the Canadian Standards Association (CSA) under the designation CSA C22.1. Although this code primarily concerns electricians, the steamfitter-pipefitter must be familiar with certain sections, particularly Chapter V, which deals with electrical installations in classified areas (hazardous locations). When you install natural gas, propane, or steam piping in areas where explosive atmospheres may exist, the classification of these areas (Class I, Division 1 or 2) determines minimum distances and the types of connections permitted.

Rule 8-200 of the CE Code concerns calculation methods for circuit loading, but for the pipefitter, it is Section 18 (hazardous locations) that is most relevant. You must know that a gas leak on improperly grounded piping can cause a spark. Electrical continuity of metallic piping is therefore a requirement you must verify, especially when installing dielectric unions or insulating flanges.

CSA B149.1 — Natural Gas and Propane Code

CSA B149.1 is the definitive reference for any natural gas or propane piping installation in Canada. This standard is adopted by all provinces and territories, making it essential exam content. The key sections you must master are:

Section 4: General requirements concerning materials and fittings. Steel pipes must conform to CSA Z245.1 or ASTM A53 (Grade B). Threaded fittings must be forged steel or malleable iron.
Section 5: Piping installation. Gas piping must be supported at maximum intervals of 2.4 m for pipes from 1/2 in to 1-1/4 in, and 3.0 m for pipes 1-1/2 in and larger. Vertical piping must be supported at every floor level.
Section 6: Leak testing. All gas piping must undergo a test at a pressure of at least 50 kPa (7 psi) for a minimum duration of 15 minutes before being placed in service. For high-pressure systems (over 14 in water column), the test pressure must be 1.5 times the maximum service pressure, with a minimum of 50 kPa.

Table 5.1 of the B149.1 standard provides maximum flow rates for gas piping. You must be able to use it to size a line. For example, for a 3/4 in nominal diameter steel pipe, with a pressure drop of 0.5 in water column and an equivalent length of 15 m, the maximum flow rate is approximately 3.7 m³/h of natural gas (specific gravity 0.60).

CSA B51 — Boilers and Pressure Vessels

CSA B51 governs the design, fabrication, and inspection of boilers and pressure vessels. For the steamfitter-pipefitter, this standard is crucial because it defines requirements for safety valves and pressure relief devices. Every boiler must be equipped with at least one safety valve whose discharge capacity must be sufficient to relieve the boiler's maximum steam output. The valve must be set at a pressure not exceeding the boiler's maximum allowable working pressure (MAWP) .

The B51 standard also requires that high-pressure steam piping (over 103 kPa or 15 psi) be inspected by an authorized inspector before being placed in service. You must know the hydrostatic test procedures: the test pressure must be 1.5 times the maximum service pressure and maintained for at least 30 minutes for steam piping.

CSA B52 — Mechanical Refrigeration

Although less common in the pipefitter's daily work, CSA B52 applies when you install refrigerant piping in air conditioning or refrigeration systems. This standard defines requirements for copper tubing, brazed fittings, and pressure tests. Refrigerant piping must be leak-tight at a pressure of at least 1.1 times the maximum service pressure for low-pressure systems, and 1.25 times for high-pressure systems.

Welding Standards: CSA W47.1 and CSA W59

Welding is a core activity for the steamfitter-pipefitter. CSA W47.1 establishes certification requirements for welding companies. You must know that only welders certified under this standard may perform welds on pressure piping. CSA W59 covers structural steel welding, but for piping, ASME Section IX (welder qualification) often applies in addition.

Welding procedures must be qualified according to the WPS (Welding Procedure Specification) and the PQR (Procedure Qualification Record). Each welder must have a valid WPQ (Welder Performance Qualification) for the specific process used (SMAW, GTAW, GMAW, FCAW). On the exam, you may be asked which document to verify before allowing a welder to work on pressure piping: the answer is the WPQ and the corresponding WPS.

Reading and Interpreting Drawings and Documents

Piping and Instrumentation Diagrams (P&ID)

Piping and instrumentation diagrams (P&IDs) are the most important documents for the pipefitter. They show the functional relationship between equipment, piping, valves, and instruments. You must be able to read the following symbols:

SymbolMeaning
Ball valve
Butterfly valve
Globe valve
Check valve
Plug valve
Diaphragm valve
PSVPressure Safety Valve
PCVPressure Control Valve
FTFlow Transmitter
PTPressure Transmitter

Lines on a P&ID have specific meanings: a thick solid line represents process piping, a dotted line represents underground or existing piping, and a short-dash line represents utility lines (air, cooling water). Arrows indicate the direction of flow. Line numbers typically follow the format: size - fluid - material - pressure - insulation. For example, 6"-STM-304L-150-INS means: 6-inch piping, steam, 304L stainless steel, 150-pound pressure class, insulated.

Shop Drawings and Isometrics

Isometric drawings are simplified three-dimensional representations of piping. They are used for shop fabrication and on-site assembly. Each isometric must include:

Exact dimensions between weld points
Elbow angles (45°, 90°) and bend radii
Part numbers and material references
Welding annotations (joint type, weld size)
Support points and anchors

Shop drawings are detailed drawings prepared by the fabricator or contractor. They must be approved by the engineer before fabrication. You must verify that the dimensions match actual field measurements, accounting for tolerances: typically ± 3 mm for lengths and ± 1° for angles.

Technical Specifications

Specifications (specs) are written documents that supplement the drawings. They describe materials, installation methods, testing, and acceptance criteria. Specifications are organized according to the CSI (Construction Specifications Institute) MasterFormat system. The relevant sections for the pipefitter are:

Section 23 21 00: Heating and steam piping and accessories
Section 23 22 00: Valves for heating and steam
Section 23 05 00: Common requirements for heating, ventilation, and air conditioning
Section 40 05 00: Common requirements for process piping

Each specification contains clauses on testing and inspection. For example, a specification may require a hydrostatic test at 1.5 times the service pressure, with a hold time of 2 hours and visual inspection of all joints. You must document these tests in test reports signed by the supervisor and the client.

Testing and Commissioning Procedures

Hydrostatic Testing

The hydrostatic test is the most common method for verifying the leak-tightness and strength of piping. The standard procedure is as follows:

45.Preparation: Fill the piping with water, purging all air through vents located at high points.
46.Pressurization: Increase the pressure gradually, in increments of 25% of the test pressure, checking for leaks at each stage.
47.Hold: Maintain the test pressure for the specified duration (typically 30 minutes to 2 hours).
48.Inspection: Visually check all joints, flanges, and fittings. Any leak, no matter how small, requires stopping the test and making repairs.
49.Depressurization: Release the pressure slowly and drain the water.

The hydrostatic test pressure is generally 1.5 times the maximum service pressure for steam and hot water piping, and 1.25 times for gas piping per CSA B149.1 (with a minimum of 50 kPa). For plastic piping (CPVC, PEX), the test pressure must be reduced to 1.25 times the service pressure and the water temperature must not exceed 38 °C.

Pneumatic Testing

Pneumatic testing (with air or nitrogen) is used when hydrostatic testing is not possible (for example, for piping that cannot be filled with water due to its location or design). Pneumatic testing is more dangerous than hydrostatic testing due to the energy stored in compressed gas. The test pressure must not exceed 1.1 times the service pressure, and the pressure must be increased in small increments with waiting periods to allow for stabilization. During pneumatic testing, no one should be near the joints — a minimum distance of 6 m is recommended.

Test Documentation

Each test must be documented in a test report that includes:

The date and time of the test
The line or section number tested
The test pressure and hold duration
The fluid used (water, air, nitrogen)
The results (accepted or rejected)
Signatures of the technician and supervisor

These reports are part of the project's quality record and may be required during regulatory inspections or safety audits.

Traceability and Document Management

The Quality Record (QA/QC)

Quality assurance/quality control (QA/QC) is a systematic process that ensures work meets specifications and standards. For the pipefitter, this involves:

Verifying material certificates (mill certificates) that attest to the chemical composition and mechanical properties of pipes and fittings.
Verifying welder qualification certificates (WPQ) and welding procedures (WPS).
Maintaining a welding log that records each weld, the welder, the date, the procedure used, and the results of non-destructive testing (NDT).
Managing non-conformances: any deviation from specifications must be documented and approved by the engineer.

Non-Destructive Testing (NDT)

NDT methods are inspection techniques that do not destroy the part. The main methods used in piping are:

MethodAbbreviationApplicationAdvantagesLimitations
Industrial radiographyRTDetection of internal defects in weldsDetects cracks, porosity, inclusionsCostly, radiation hazards
Ultrasonic testingUTThickness measurement, defect detectionFast, portableRequires qualified operator
Dye penetrant testingPTDetection of surface cracksSimple, inexpensiveDetects surface defects only
Magnetic particle testingMTDetection of surface and near-surface cracksFast on ferromagnetic materialsDoes not work on austenitic stainless steel
Eddy current testingETDetection of surface and sub-surface defectsFast, automatableLimited to conductive materials

The percentage of welds to be inspected is defined by project specifications. For high-pressure steam piping, radiographic inspection is often required on 100% of welds. For normal service piping, a sampling of 10 to 25% may be sufficient.

Document Revision Management

Drawings and specifications are revised throughout a project. Each revision is identified by a letter (A, B, C...) or a number (0, 1, 2...). You must always work with the latest approved revision. Obsolete documents must be removed from circulation and marked "OBSOLETE." A document control system must be in place to ensure all personnel use the correct versions.

Sizing Calculations and Pressure Drop

Pressure Drop Calculation

Pressure drop (ΔP) in piping is caused by fluid friction against the internal walls. It is calculated using the Darcy-Weisbach formula:

ΔP = f × (L/D) × (ρ × v² / 2)

Where:

f = friction factor (dimensionless)
L = pipe length (m)
D = inside diameter (m)
ρ = fluid density (kg/m³)
v = fluid velocity (m/s)

For water at 20 °C, the density is 998 kg/m³. For saturated steam at 100 kPa, it is approximately 0.59 kg/m³.

Equivalent Length Calculation

Each fitting (elbow, tee, valve) creates additional pressure drop equivalent to a certain length of straight pipe. The following table gives equivalent lengths in meters for a 50 mm (2 in) pipe:

FittingEquivalent Length (m)
90° elbow (short radius)1.5
90° elbow (long radius)1.0
45° elbow0.8
Tee (straight through)0.6
Tee (branch)3.0
Ball valve (open)0.3
Globe valve (open)8.5
Butterfly valve (open)1.8
Check valve4.5

The total equivalent length is the sum of the actual pipe length and the equivalent lengths of all fittings. This value is used to size the piping using the flow tables in the standards (such as Table 5.1 of CSA B149.1).

Calculation Example

Typical exam question: A natural gas pipeline of 25 mm (1 in) steel, with an actual length of 20 m, has 4 long-radius 90° elbows, 2 ball valves, and 1 tee (branch). The service pressure is 7 kPa. What is the total equivalent length?

Solution:

Actual length: 20 m
4 long-radius 90° elbows: 4 × 1.0 = 4.0 m
2 ball valves: 2 × 0.3 = 0.6 m
1 tee (branch): 1 × 3.0 = 3.0 m
Total equivalent length: 20 + 4.0 + 0.6 + 3.0 = 27.6 m

With this equivalent length, you consult Table 5.1 of CSA B149.1 to determine the maximum allowable flow rate.

Pitfalls to Avoid

100.Confusing the standards: CSA B149.1 covers natural gas and propane, while CSA B51 covers boilers and pressure vessels. Don't mix them up.
101.Forgetting the minimum test pressure: For gas, the test pressure is 50 kPa minimum, even if 1.5 times the service pressure gives a lower value.
102.Neglecting equivalent length: In sizing calculations, the equivalent length of fittings must always be added to the actual length. A 20 m pipe with 10 elbows can have an equivalent length of 35 m.
103.Using the wrong drawing revision: Always check the drawing revision before starting work. A revision error can result in a non-compliant installation.
104.Ignoring support requirements: CSA B149.1 specifies maximum support intervals. A 3/4 in pipe must be supported every 2.4 m maximum.
105.Confusing hydrostatic and pneumatic testing: Pneumatic testing is more dangerous and requires additional precautions (safety distance, reduced pressure).
106.Failing to document tests: An undocumented test is considered not performed. Test reports must be signed and dated.
107.Forgetting electrical continuity: In classified areas, piping must be electrically continuous and grounded. Insulating joints must be installed at specified locations.
108.Using non-compliant materials: Steel pipes must conform to ASTM A53 Grade B or CSA Z245.1. Verify material certificates.
109.Not checking welder qualifications: A welder must have a valid WPQ for the process and welding position used. An expired or non-applicable WPQ invalidates the weld.

Summary

The Canadian Electrical Code (CSA C22.1) , Chapter V, defines classified areas where special precautions apply to piping.
CSA B149.1 is the primary standard for natural gas and propane installations. It specifies materials, installation methods, testing, and supports.
CSA B51 governs boilers and pressure vessels, including safety valves and hydrostatic testing.
Welding standards (CSA W47.1, ASME Section IX) require valid qualifications for welders and procedures.
P&IDs and isometrics are the essential working documents. You must be able to read symbols and annotations.
Hydrostatic tests (1.5 × service pressure) and pneumatic tests (1.1 × service pressure) must be documented in signed reports.
Non-destructive testing (RT, UT, PT, MT) is used to verify weld quality according to specified percentages.
The equivalent length of fittings must be added to the actual length for pressure drop and sizing calculations.
Traceability of materials and welds is essential for regulatory compliance and safety.

Exam Tips

Memorize test pressures: 50 kPa minimum for gas, 1.5 × service pressure for hydrostatic, 1.1 × for pneumatic.
Learn support intervals: 2.4 m for pipes up to 1-1/4 in, 3.0 m for larger pipes.
Familiarize yourself with the most common P&ID symbols: valves, check valves, instruments, lines.
Practice calculating equivalent length using the fittings table.
Review CSA B149.1 requirements for leak testing: minimum 15 minutes at 50 kPa.
For welding questions, remember that the WPS describes the procedure, the PQR proves procedure qualification, and the WPQ proves welder qualification.

Ready to test this chapter?

Practice with exam-aligned questions and timed simulations.

Start Practicing Free