🔧 Piping Engineering — Industrial Process Systems

Process Piping for Gigafactories:
NMP, Electrolyte, and Coolant
System Design

A gigafactory handles three categories of process fluids that each demand their own piping philosophy — N-Methyl-2-pyrrolidone solvent in electrode manufacturing, highly reactive electrolyte in cell filling, and process coolant in thermal management. Getting the piping wrong for any of these results in product contamination, personnel hazard, or facility fire. This is the complete ASME B31.3 design framework for all three.

📅 May 2025 ⏱ 18 min read ✍️ KVRM Engineering Team 📐 ASME B31.3 / PESO / ATEX

Battery manufacturing is unique among industrial processes in the demands it places on process piping. Three distinct fluid systems — NMP solvent, liquid electrolyte, and process coolant — run through a gigafactory simultaneously. They share nothing in common: different materials of construction, different pressure and temperature regimes, different leak detection strategies, different statutory frameworks, and different consequence profiles if the piping fails.

NMP failure causes a toxic atmospheric release and a significant financial loss — NMP costs ₹180–220 per litre and a single electrode line uses several thousand litres per day. Electrolyte failure causes a fire: the LiPF₆ electrolyte solvent (ethylene carbonate, dimethyl carbonate, ethyl methyl carbonate) is flammable, and HF gas generation makes it simultaneously toxic. Coolant failure causes production downtime — the chilled water or glycol circuit that maintains cell formation room temperatures and dry room humidity control is directly in the critical path of production yield.

All three systems must be designed, documented, tested, and maintained under ASME B31.3 Process Piping — supplemented by Indian statutory requirements under PESO (Petroleum and Explosives Safety Organisation) for the flammable fluid circuits, and ATEX/IEC 60079 area classification for the electrolyte filling zones.

NMP Solvent Piping System

NMP is a high-boiling-point polar aprotic solvent — the only commercially proven carrier for PVDF binder in cathode slurry manufacturing. It is also toxic, expensive, and heavily regulated. The piping system that delivers, circulates, and returns NMP must recover more than 99% of the solvent used, or the facility’s operating economics and environmental permit are both compromised.

NMP (N-Methyl-2-pyrrolidone, CAS 872-50-4) is used in cathode electrode manufacturing as the carrier solvent for the PVDF (polyvinylidene fluoride) binder and active material slurry. It is applied by slot-die coating to aluminium foil, then evaporated in a dryer oven at 100–140°C. The evaporated NMP vapour is captured and returned to liquid NMP through a recovery condenser and distillation system.

NMP System Piping Scope

The NMP piping system in a gigafactory electrode manufacturing area covers four sub-systems:

  • 01

    Fresh NMP Supply

    From bulk storage tanks (typically 50–200 m³ carbon steel tanks with nitrogen blanket) to mixing vessels and slurry preparation tanks. Supply piping: 25–80 mm diameter, carbon steel (internally coated), operating at 2–5 bar gauge, ambient temperature. Nitrogen purge connections required at all high points. Pump type: gear pump or diaphragm pump for precise flow control.

  • 02

    Slurry Transfer Piping

    From mixing vessels to coating machines. This is the most demanding NMP piping — the slurry is viscous (5,000–80,000 cP depending on solid loading), abrasive (active cathode particles), and temperature-sensitive. Material: 316L stainless steel (Ra <0.8 µm internal finish); no carbon steel in contact with slurry. Pipe sizing: use Hagen-Poiseuille with non-Newtonian viscosity correction. Velocities kept below 1.5 m/s to minimise segregation and particle degradation.

  • 03

    NMP Vapour Recovery Ducting

    From dryer oven exhaust to condensers and recovery system. This is a vapour-phase system operating at slightly negative pressure (dryer is maintained at −5 to −20 Pa relative to adjacent spaces to prevent NMP escape). Material: 316L stainless steel ducting; all joints fully welded. The NMP vapour–air mixture at dryer exhaust is typically 10–40 g/Nm³ — well below the LEL of 128 g/Nm³ for NMP in air, but ATEX Area Classification Zone 2 applies at duct joints and vent points.

  • 04

    Recovered NMP Return

    From recovery distillation column condensate to fresh NMP storage or direct recycle to slurry mixing. Recovered NMP purity must be verified (GC analysis, water content <0.03%) before returning to production. Piping: 316L stainless steel, 15–40 mm diameter, with sampling points at distillation column outlet.

ASME B31.3 Material and Design Requirements for NMP

ParameterNMP Supply (Liquid)Slurry TransferVapour Recovery
Fluid Category (B31.3)Normal Fluid ServiceNormal Fluid ServiceNormal Fluid Service (vapour)
Pipe MaterialCS (A106 Gr B) with epoxy lining, or 304 SS316L SS, electropolished, Ra ≤0.8 µm316L SS welded duct
FittingsCarbon steel (A234 WPB) or 304 SS BW316L SS butt-welded only — no threaded316L SS butt-welded
FlangesANSI 150# raised faceMinimise flanges — sanitary tri-clamp at equipment connectionsMinimise — welded preferred
GasketsPTFE or spiral-wound SS/PTFEPTFE or EPDM (check slurry compatibility)PTFE
Valve TypeBall valve (full-bore, SS trim)Diaphragm valve (zero dead-leg) or ball valveButterfly valve (SS body, PTFE seat)
Design Pressure10 bar g (hydrostatic test: 15 bar g)15 bar g (high viscosity pump head)Full vacuum to +0.5 bar g
Operating Temperature15–30°C (ambient)20–45°C80–130°C at oven outlet
InsulationHeat tracing if ambient <10°C (NMP freezes at –24°C — not usually required in India)None requiredCalcium silicate + aluminium cladding (prevent condensation in cool sections)
Leak DetectionNMP pan and drain under all flanges; NMP sensor at sumpsContinuous NMP vapour monitoring (PID sensor) in enclosed areasNMP vapour concentration monitoring — alarm at 25% LEL

PESO Registration for NMP Storage: In India, NMP storage above 500 litres in a manufacturing facility requires registration under the Petroleum Act 1934 and Petroleum Rules 2002 as a “Class C petroleum” (flash point 60–93°C — NMP flash point is 91°C). Bulk NMP tanks and NMP process vessels above the threshold require PESO approval and annual inspection. Factor 6–9 months into the project schedule for PESO licensing for gigafactory NMP storage.

Electrolyte Piping System

Electrolyte piping is the highest-hazard fluid system in the gigafactory. Lithium-ion cell electrolyte is a solution of lithium hexafluorophosphate (LiPF₆) dissolved in a mixture of organic carbonate solvents — typically ethylene carbonate (EC), dimethyl carbonate (DMC), and ethyl methyl carbonate (EMC). The organic solvents are flammable (flash point 16–25°C for DMC and EMC) and the combination reacts with moisture to generate hydrofluoric acid (HF) — one of the most acutely toxic industrial chemicals.

A single electrolyte pipe leak into a humid environment does not just create a fire hazard — the LiPF₆ reaction with atmospheric moisture generates HF gas. HF at 3 ppm causes immediate respiratory irritation; at 30 ppm it is immediately dangerous to life and health. The electrolyte piping system must be designed to make leaks essentially impossible, and the facility must be designed to detect and respond to leaks before HF concentrations reach dangerous levels.

Electrolyte System Design Requirements

Material of Construction

316L stainless steel throughout — no copper, brass, aluminium, or zinc-coated fittings (all attack electrolyte or generate HF). Pipe bore Ra ≤0.4 µm electropolished. Absolute dryness in piping required: moisture content below 10 ppm (by weight). All piping nitrogen-purged and capped immediately after pressure test.

Zero Dead-Leg Design

Dead legs in electrolyte piping collect moisture and solid LiPF₆ precipitate. ASME B31.3 dead-leg limit: length ≤ 3× pipe diameter from any branch. Use weld-end diaphragm valves at equipment connections — no standard gate or globe valves with packing that can absorb moisture and introduce it to the system.

Welded Construction — No Threaded Joints

Zero threaded joints permitted in electrolyte lines — threads leak, and even trace electrolyte leakage generates HF in atmospheric moisture. All joints: orbital TIG-welded (ASME IX qualified welder; 100% borescope inspection of weld ID). Flanged connections only at equipment and instrument connections; use spiral-wound PTFE/316SS gaskets.

Double-Containment Piping

Electrolyte lines in production areas should use double-containment piping — an inner carrier pipe within an outer containment pipe. Any leak from the inner pipe is contained within the annulus and detected by a leak sensor in the annular space before reaching the facility environment. The annulus is monitored for HF and electrolyte vapour; any detection triggers automatic valve closure.

ATEX / IECEx Instrumentation

All instruments — pressure transmitters, flow meters, level sensors — in the electrolyte area must be rated ATEX Zone 1 (Ga/Gb category) due to the flash point of DMC/EMC below 23°C. Coriolis flow meters preferred for electrolyte dosing — no moving parts, high accuracy at low flow rates, suitable for hazardous area duty.

HF Leak Detection

Electrochemical HF sensors at all electrolyte handling areas, set points: 1 ppm (warning), 3 ppm (alarm + personnel evacuation). Sensors require monthly calibration — HF sensor drift is a known maintenance issue. Backup: photoionisation detection (PID) for total VOC as a fast-response supplementary detector for large flammable leaks.

Electrolyte System — Pressure Test and Commissioning Protocol

Electrolyte piping cannot be hydrostatically tested with water — moisture contamination is irreversible. ASME B31.3 Clause 345.4 permits pneumatic testing (nitrogen) as an alternative to hydrostatic test for services where water contamination is unacceptable. The pneumatic test protocol:

// Electrolyte piping pneumatic test protocol — ASME B31.3 Clause 345.4

Step 1: Pre-test preparation
  — Verify all welds have been 100% RT or UT examined (B31.3 Clause 345.4.2)
  — Confirm all instruments isolated or removed
  — Install temporary pressure gauges at high and low points

Step 2: Leak test (low pressure) — B31.3 Clause 345.4
  — Pressurize slowly with dry nitrogen to 25% of test pressure
  — Hold 10 minutes — no pressure drop permitted
  — Check all joints with soap solution (no proprietary foaming agent with Cl⁻)

Step 3: Pneumatic pressure test
  — Design pressure: 8 bar g  →  Test pressure = 1.1 × 8 = 8.8 bar g (B31.3)
  — Pressurize in 10% increments of test pressure — hold 5 min at each step
  — At test pressure: hold 10 minutes minimum
  — Reduce to design pressure for final joint inspection
  — CAUTION: Personnel exclusion zone during pneumatic test — nitrogen at 8.8 bar g
    stores significant energy. Use blast shield or remote observation.

Step 4: Drying and nitrogen purge
  — Purge with dry nitrogen (dew point ≤ −60°C) — minimum 3 volume changes
  — Measure outlet dew point — accept when ≤ −50°C
  — Cap all open ends immediately. Do not leave open to atmosphere.
  — Maintain nitrogen blanket until first electrolyte fill

Step 5: First electrolyte fill
  — Introduce electrolyte slowly, monitoring HF sensors at all times
  — Check for external discolouration (electrolyte leaves white crystalline residue on SS)
  — Stand-off inspection only at first pressurisation — no hands near joints

Process Cooling and Chilled Water Piping System

The process cooling system in a gigafactory serves three distinct thermal loads, each with different temperature and purity requirements: the dry room air handling units (typically 12–16°C chilled water supply), the formation room temperature control (typically 20–25°C water supply, precision ±0.5°C), and the electrode dryer process cooling (hot-side cooling water, 35–45°C return). These cannot all be served from the same chilled water circuit without careful hydraulic design.

Coolant System Piping Design Parameters

ServiceSupply TempReturn TempΔTFluidPipe MaterialKey Design Issue
Dry Room AHU Cooling6–8°C12–14°C6–8°CChilled water (inhibited)Carbon steel (BS1387 Gr B) with cathodic protection or CPVC >DN100Condensation on pipes in dry room — insulate to vapour barrier standard. Chilled water at 6°C in a −40°C dew point room causes ice formation if insulation fails.
Formation Room Climate20–22°C24–26°C4–6°CDeionised water + 5% inhibitor316L SS or CPVC (electrolyte splash risk — avoid copper)Temperature uniformity ±0.5°C across room requires variable flow with individual AHU control. Pipe sizing: low velocity (<1 m/s) to avoid turbulence noise in precision-controlled space.
Electrode Dryer Cooling30–35°C40–45°C8–12°CGlycol-water (30% EG)Carbon steel Schedule 40; SS at dryer connectionsHigh return temperature requires separate cooling tower or heat exchanger — cannot return directly to main chiller.
Battery Cell Cooling (Formation)18–22°C24–28°C6°CDeionised water + corrosion inhibitor (non-conductive)PVDF or PP (conductive coolant must not contact cell terminals)Conductivity of coolant must be <10 µS/cm — deionised water with non-ionic inhibitor. Monitor conductivity continuously in-line.
CDU / Liquid Cooling (GPU racks)18–24°C30–35°C10–14°CDeionised water + glycol (20%)316L SS or HDPE (above 50 mm)High supply flow rate (30–60 L/min per CDU). Pressure drops through CDU manifold critical — see CDU manifold article.

Pipe Sizing for Coolant Systems — Design Methodology

// Coolant pipe sizing — Darcy-Weisbach method for turbulent flow
// Example: Dry room AHU cooling header, 10 AHUs × 45 kW each = 450 kW total load
// Chilled water: supply 8°C, return 14°C  →  ΔT = 6°C

// Step 1: Calculate volumetric flow rate
Q = P / (ρ × Cp × ΔT)
  = 450,000 / (1000 × 4.18 × 6)
  = 17.94 L/s  →  17.9 L/s  (use 18 L/s for sizing)

// Step 2: Select pipe size for target velocity 1.0–1.5 m/s (main header)
// Pipe Area = Q / v  →  A = 0.018 / 1.2 = 0.015 m²  →  D = 138 mm
// Select: DN150 pipe (ID 154.1 mm for Sch 40 CS)  →  v = 0.97 m/s  ✓

// Step 3: Pressure drop calculation (Darcy-Weisbach)
ΔP/L = f × (ρv²) / (2D)
// Re = ρvD/µ = 1000 × 0.97 × 0.154 / 0.001 = 149,400  →  turbulent
// Moody friction factor f (Colebrook): ε = 0.046 mm (commercial steel)
// ε/D = 0.046/154.1 = 0.0003  →  f ≈ 0.018 (from Moody chart at Re=149,400)
ΔP/m = 0.018 × (1000 × 0.97²) / (2 × 0.154)
       = 55 Pa/m  (0.55 mbar/m)

// Target: ≤ 2 mbar/m on main headers for efficient pump operation
// 55 Pa/m = 0.55 mbar/m  ✓  — within target

// Step 4: Add equivalent lengths for fittings and valves
// Total equivalent length = straight pipe + Σ(Le) for fittings
// DN150 gate valve: Le = 1.4 m  |  90° elbow: Le = 6.7 m  |  tee branch: Le = 22 m
// For a typical 80 m run with 8 elbows, 2 gate valves, 3 tee branches:
// Le_total = 80 + (8×6.7) + (2×1.4) + (3×22) = 80 + 53.6 + 2.8 + 66 = 202.4 m
ΔP_total = 202.4 × 55 = 11,132 Pa ≈ 0.11 bar

// This is the pressure drop for the main header — add AHU internal ΔP (typically 0.3–0.5 bar)
// to determine pump head requirement for this branch

Insulation and Condensation Control

Critical design issue for gigafactory chilled water piping: Pipes carrying 6–8°C chilled water through spaces with ambient conditions of 22°C and 50% relative humidity will condense moisture on the pipe surface unless properly insulated. Inside a dry room (dew point −40°C or lower), any condensation on chilled water pipes is catastrophic for production — it raises the room dew point above its control set point. All chilled water piping in dry room spaces must be insulated to prevent surface temperatures reaching the dew point of the driest condition in the room. Insulation design: closed-cell foam (K-flex, Armaflex HT) with continuous vapour barrier — no joints, no gaps, no penetrations. Use factory-applied jacketing wherever possible.

Common Routing and Layout Principles for All Three Systems

In a gigafactory, all three piping systems — NMP, electrolyte, and coolant — run through the same process building. Their routing must ensure that a failure of one system does not create a hazard for an adjacent system or personnel.

  • Segregation by elevation: Run electrolyte piping below coolant piping. A coolant pipe failure above an electrolyte pipe drips water onto electrolyte surfaces — with HF generation risk. Coolant headers should always be at higher elevation than electrolyte headers in shared pipeways.
  • Electrolyte isolation zones: All electrolyte piping above the electrolyte filling room floor level must have remotely actuated block valves at the room entry and exit points — closeable from outside the room. Fire or HF release triggers automatic valve closure to isolate the room.
  • NMP drain philosophy: Design the NMP system so that all drain points flow to the NMP recovery tank — never to a general facility drain or sump. NMP contamination of drains violates environmental permit. Size all NMP drain headers for 150% of maximum spill volume from the largest connected vessel.
  • Colour coding and labelling: Implement IS 2379 (Indian Standard for pipe colour coding) plus a gigafactory-specific overlay: NMP = orange with “SOLVENT” legend; electrolyte = red with “ELECTROLYTE — TOXIC/FLAMMABLE” legend; chilled water = blue; process cooling = green. Label every 3 m and at all changes of direction.

Pre-Commissioning, Commissioning, and Turnover Documentation

Process piping commissioning in a gigafactory follows a strict sequence — pressure testing, flushing, drying, chemical cleaning, and first fluid introduction each require their own documented protocol and sign-off before proceeding to the next phase.

Piping Isometric Drawings (ISO)

Every process pipe spool requires an isometric drawing showing all welds (numbered), supports, instrument connections, slope direction, and high/low points. ISOs are the primary document for quality control of weld inspection records. Complete ISO set is a contractual handover requirement before any pressure testing is permitted.

Weld Inspection Records (WIR)

Each weld: welder ID (ASME IX qualified), visual inspection result, NDE type (RT/UT/PT as specified), NDE result, and acceptance/rejection status. WIRs must be linked to the ISO weld number. For electrolyte piping: 100% weld inspection; for NMP and coolant: 10–20% random RT unless ASME B31.3 Category M (Category M applies to fluids with TLV <1 ppm — not applicable to NMP/coolant but may apply to high-toxicity electrolyte variants).

Pressure Test Certificates

For each test pack: test date, test medium (water/nitrogen), test pressure, hold duration, inspector name, pass/fail result, and equipment serial numbers for gauges used (with calibration certificates attached). Pneumatic test certificates for electrolyte lines additionally require sign-off from the facility Safety Officer that the personnel exclusion zone was in place throughout the test.

Punch List Clearance

Category A punch list items (safety-critical) must be cleared before pressure testing. Category B items (non-safety but affecting function) must be cleared before first fluid introduction. Category C items (cosmetic or minor) may remain open subject to written agreement. No fluid may enter the system until all Category A and B items are closed and signed off by the KVRM/Owner’s Engineer representative.


Conclusion

Process piping design for a gigafactory is three separate engineering disciplines running simultaneously in the same building. NMP piping is a solvent recovery engineering problem — contained, monitored, and designed for near-total solvent recapture. Electrolyte piping is a hazardous process engineering problem — welded, double-contained, dried to single-digit ppm moisture, and surrounded by HF detection infrastructure. Coolant piping is a precision HVAC engineering problem — sized for low pressure drop, insulated to prevent condensation in dry environments, and zoned to match the temperature and purity requirements of each production area it serves.

The engineering decisions made in process piping design have direct consequences for battery quality, facility safety, and operating cost. They cannot be treated as a late-stage procurement item. Process piping design must begin in parallel with equipment layout — because the piping routing, material selection, and connection philosophy are all functions of the equipment it serves, the hazard zone it passes through, and the statutory framework that governs it in India.

Designing a Gigafactory Process Piping System?

KVRM provides full ASME B31.3 process piping engineering for gigafactory NMP, electrolyte, and cooling systems — from PFD to ISO drawings, pressure test protocols, and statutory approvals.

Discuss Your Project →
KVRM Engineering Team

Process Piping · ASME B31.3 · Gigafactory MEP · Hazardous Area Design

Scroll to Top