Testing, Purging, and Leak Detection Procedures
Red Seal Practice study guide with diagrams.
Testing, Purging, and Leak Detection Procedures
Introduction
This chapter covers one of the most critical aspects of the gasfitter trade: verifying the tightness of installations, purging piping systems, and detecting leaks. These procedures are not only regulatory requirements—they save lives. The Natural Gas and Propane Installation Code (CSA B149.1) strictly governs these operations. You must master the principles, pressure calculations, acceptable purge gases, and detection methods to pass the Red Seal exam.
Learning Objectives
By the end of this chapter, you will be able to:
Section 1: Fundamental Principles of Testing
1.1 Why Test?
A tightness test is proof of safety. It confirms that an installation has no leaks before it is put into service. Natural gas and propane are flammable and can form explosive mixtures in air between certain limits (lower and upper explosive limits). An undetected leak can lead to an explosion, carbon monoxide poisoning, or fire.
1.2 Types of Tests
| Type of Test | Primary Purpose | When to Perform |
|---|---|---|
| Pressure test (pneumatic) | Verify tightness under pressure | Before commissioning, after any modification |
| Leak test (tightness) | Detect leaks on a system in service | During commissioning, during service work |
| Operational test | Verify proper operation of appliances and safety devices | After commissioning |
1.3 Test Pressure vs. Service Pressure
Test pressure is always higher than service pressure. It is applied to create a pressure gradient that forces the detection of any leak. Test pressure must never exceed the maximum rated pressure of the installation components (pipes, fittings, valves, appliances).
Section 2: Pressure Testing According to CSA B149.1
2.1 General Rule (Article 4.8 of CSA B149.1)
The CSA B149.1 Code requires that every gas installation be subjected to a pressure test before being put into service. The specific requirements are set out in Article 4.8 of the Code. Here are the essential points:
2.2 Minimum Test Pressures
The following table summarizes the minimum test pressures required by CSA B149.1 (Article 4.8.2):
| Type of Installation | Minimum Test Pressure |
|---|---|
| Natural gas piping (service pressure ≤ 7 kPa) | 14 kPa (2 psi) |
| Natural gas piping (service pressure > 7 kPa) | 1.5 × maximum service pressure, with a minimum of 14 kPa |
| Propane piping (service pressure ≤ 7 kPa) | 14 kPa (2 psi) |
| Propane piping (service pressure > 7 kPa) | 1.5 × maximum service pressure, with a minimum of 14 kPa |
| Underground piping (all gases) | 1.5 × maximum service pressure, with a minimum of 350 kPa (50 psi) |
Important note: For underground piping, the minimum test pressure is significantly higher (350 kPa) due to soil stresses and the impossibility of visually detecting leaks after backfilling.
2.3 Calculating Test Pressure
For an installation with a maximum service pressure of 100 kPa, the test pressure would be:
Test pressure = 1.5 × 100 kPa = 150 kPa
Reminder: Test pressure must never exceed the rated pressure of the components. Always check the manufacturer's specifications.
2.4 Testing Procedure
2.5 Factors Affecting Pressure Gauge Readings
Section 3: Purging of Piping Systems
3.1 Definition and Purpose
Purging is the operation of removing air or another gas from piping before it is put into service, or removing gas before servicing. The purpose is to prevent the formation of a flammable air-gas mixture inside the piping.
3.2 Acceptable Purge Gases
According to CSA B149.1 (Article 4.9), the following gases may be used for purging:
| Gas | Use | Remarks |
|---|---|---|
| Inert gas (nitrogen, helium) | Initial and final purging | Safe, does not form a flammable mixture |
| Natural gas | Purging a natural gas line | Must be done in a manner that avoids any flammable mixture |
| Propane | Purging a propane line | Must be done in a manner that avoids any flammable mixture |
| Compressed air | Purging a line before a pressure test | Must never be used to purge a line containing gas |
Golden rule: Never use compressed air to purge a line containing natural gas or propane. The air-gas mixture can become explosive.
3.3 Initial Purging Procedure (Commissioning)
3.4 Purging a Line Out of Service (Servicing)
Before cutting into a line or disassembling an appliance, residual gas must be removed:
3.5 Calculating the Volume of Gas to Purge
The volume of gas to purge depends on the volume of the piping. For a cylindrical pipe:
Volume (L) = π × (inside diameter in dm / 2)² × length (dm)
Example: A pipe with an inside diameter of 25 mm (0.25 dm) and a length of 10 m (100 dm):
Volume = π × (0.25 / 2)² × 100 = 3.1416 × 0.015625 × 100 = 4.91 L
You must therefore inject at least 4.91 L of nitrogen to purge this pipe, but in practice, you inject 3 to 5 times this volume to guarantee a complete purge.
Section 4: Leak Detection
4.1 Detection Methods
| Method | Principle | Application |
|---|---|---|
| Detection solution (soapy water) | Bubble formation at the leak point | Detecting leaks on accessible joints and fittings |
| Electronic gas detector | Catalytic or infrared sensor | Detecting leaks on installations in service |
| Gas analyzer (oxygen / LEL) | Measures gas concentration in air | Verifying purging and detecting leaks in confined spaces |
| Flame test (never recommended) | Observing flame color change | Prohibited by the Code — risk of explosion |
4.2 Detection Solution
Detection solution is a mixture of water and soap (or a commercial product). It is applied with a brush or spray to fittings, threads, welds, and valves. If a leak exists, bubbles will form.
Mandatory inspection points:
4.3 Electronic Detector
The electronic gas detector is a valuable tool for installations in service. It must be calibrated regularly and used according to the manufacturer's instructions. It is particularly useful for:
4.4 Leak Detection Procedure on an Installation in Service
4.5 Leaks in Confined Spaces
In a confined space (trench, basement, crawl space), leak detection is more complex. Gas can accumulate and create an explosion hazard. Use a portable detector with an alarm and ventilate the space before entering.
Section 5: Regulatory and Code Requirements
5.1 CSA B149.1 — Natural Gas and Propane Installation Code
Key articles to know:
5.2 Canadian Electrical Code, Part I
This Code applies to electrical installations in classified areas (where flammable gases may be present). When working near electrical equipment, ensure it complies with this Code to avoid ignition sources.
5.3 Other Relevant Codes
Section 6: Practical Calculations for the Exam
6.1 Pressure Conversions
| Unit | Equivalent |
|---|---|
| 1 kPa | 0.145 psi |
| 1 psi | 6.895 kPa |
| 1 bar | 100 kPa |
| 1 atm | 101.325 kPa |
Example: Convert 14 kPa to psi: 14 × 0.145 = 2.03 psi.
6.2 Calculating Test Pressure
Typical problem: A natural gas installation has a maximum service pressure of 150 kPa. What is the minimum test pressure?
Solution: Test pressure = 1.5 × 150 = 225 kPa. Since 225 kPa > 14 kPa, the test pressure is 225 kPa.
Typical problem 2: A propane installation has a service pressure of 3.5 kPa. What is the minimum test pressure?
Solution: 1.5 × 3.5 = 5.25 kPa. Since this result is below 14 kPa, the minimum test pressure is 14 kPa.
6.3 Calculating Purge Volume
Typical problem: A pipe with an inside diameter of 50 mm (0.5 dm) and a length of 25 m (250 dm) must be purged. What volume of nitrogen should be planned?
Solution:
Volume = π × (0.5 / 2)² × 250 = 3.1416 × 0.0625 × 250 = 49.09 L
In practice, plan for 3 to 5 times this volume, approximately 150 to 250 L of nitrogen.
6.4 Leak Detection: Interpreting Readings
A gas detector displays a concentration of 15% of the LEL. The LEL of natural gas is 5% (volume in air). The actual concentration is:
Actual concentration = 15% × 5% = 0.75% (volume)
This concentration is below the LEL, but it indicates a leak that must be located and repaired.
Section 7: Safety During Testing and Purging
7.1 Associated Hazards
| Hazard | Cause | Prevention |
|---|---|---|
| Explosion | Flammable air-gas mixture | Purge with nitrogen, verify concentration |
| Overpressure | Faulty regulator, improperly closed valve | Use a calibrated regulator, monitor the gauge |
| Asphyxiation | Inert gas (nitrogen) in a confined space | Ventilate, use an oxygen detector |
| Burns | Contact with a flame or hot surface | Wear gloves, maintain safe distances |
7.2 Personal Protective Equipment (PPE)
7.3 Procedure in Case of a Detected Leak
Pitfalls to Avoid
Summary
Review Questions
Answers to Review Questions
This chapter prepares you for exam questions on testing, purging, and leak detection. Review Articles 4.8 to 4.10 of CSA B149.1 and practice pressure and volume calculations. Good luck with your preparation!
Ready to test this chapter?
Practice with exam-aligned questions and timed simulations.
Start Practicing Free