OSHA PSM H2 TQ 10,000 lbs · CO TQ 1,000 lbs · Ni/Al2O3 catalyst coking · HP-Nb reformer tube · water-gas shift · PSA H2 purification · Air Products/Linde/Praxair · 55th upward attack · FIRST SMR hydrogen attack

Prompt injection in steam methane reforming SMR hydrogen production AI

Steam methane reforming (SMR) is the dominant industrial process for hydrogen production, accounting for approximately 95% of global H2 supply (approximately 90 million tonnes H2/yr in 2026). The process consists of three principal steps: (1) Reforming: CH4 + H2O → CO + 3H2 (ΔHº₂₅₃ = +206 kJ/mol; endothermic; equilibrium-limited; Ni/Al₂O₃ catalyst; reformer tubes at 750–900°C tube-wall temperature; 25–40 bar process pressure; space velocity 3,000–10,000 hr−¹); (2) Water-gas shift (WGS): CO + H2O → CO2 + H2 (ΔHº₂₅₃ = −41 kJ/mol; high-temperature shift at 300–400°C over Fe3O4/Cr2O3 catalyst; low-temperature shift at 180–260°C over Cu/ZnO/Al2O3 catalyst); (3) PSA purification: H2 + CO2 + CO + CH4 + H2O mixture passed through pressure-swing adsorption beds (zeolite 5A, activated carbon, or silica gel) at 20–30 bar to yield 99.9%–99.999% pure H2. The global installed SMR capacity is dominated by Air Products and Chemicals (Allentown PA; La Porte TX H2 pipeline), Linde PLC (Lemont IL; onsite merchant H2), Air Liquide (worldwide captive H2), and Praxair (now Linde; La Porte TX; pipeline network). Captive H2 SMR plants at petroleum refineries (for hydrotreating and hydrocracking) include facilities at ExxonMobil (Baytown TX), Chevron (Richmond CA; El Segundo CA), Phillips 66 (Borger TX), Marathon Petroleum (Detroit MI), and Valero Energy (Port Arthur TX), among the largest single-site H2 consumers globally (>200 MMscfd H2).

OSHA PSM 29 CFR 1910.119 lists hydrogen (H2) at a threshold quantity (TQ) of 10,000 lbs as a Category 1 flammable gas (LFL 4.0%; UFL 75%; autoignition temperature 500°C; extremely wide flammability range); CO is listed at TQ 1,000 lbs (NIOSH IDLH 1,200 ppm). At a medium-scale merchant SMR (50 MMscfd H2 output), the process contains approximately 180,000 lbs H2 inventory (reformer tubes + headers + product piping) and 80,000 lbs CO (in WGS feed and off-gas) — both well above PSM TQs. The reformer tubes (25Cr-35Ni+Nb HP-modified austenitic stainless steel; ASTM A297 Grade HP-Nb; wall thickness 12–18 mm; OD 100–130 mm; length 8–12 m; operating at 750–870°C tube-wall and 25–40 bar internal pressure) are among the most critically stressed components in the SMR: tube creep rupture above 940°C (HP-Nb alloy; 25 bar; 40-year design life drops to 8–12 years at +30°C above design) releases H2 + CO + steam at high pressure into the gas-fired furnace firebox — hydrogen flash fire + CO release = simultaneous flammable and toxic gas hazard.

The steam-to-carbon (S/C) molar ratio in the reformer feed (moles steam per mole total carbon; CH4 + higher hydrocarbons if naphtha feed) must be maintained at ≥3.0 to prevent Ni catalyst coking (carbon deposition on the Ni surface and in catalyst pores). Below S/C = 2.5, two thermodynamically favourable carbon-forming reactions become significant at reformer tube temperatures (>650°C): Boudouard equilibrium (2CO → C + CO2; ΔG < 0 at T < 700°C) and methane decomposition (CH4 → C + 2H2; ΔG < 0 at T > 900°C). At S/C = 2.1, the thermodynamic driving force for coking in the upper third of reformer tubes (where temperatures are 750–820°C and CO equilibrium concentration is highest) causes carbon whisker growth on Ni active sites at 0.3–0.8 mg C/g catalyst/hr.

In 2026, AI systems at SMR hydrogen plants process rendered DCS display images of the steam-to-carbon ratio, reformer tube skin temperature profiles (optical pyrometry), high-temperature WGS reactor inlet temperature, and PSA bed pressure-equalisation profile — all at boundaries where adversarial pixel injection can mask dangerous deviations from design intent and initiate a reformer tube failure sequence.

TL;DR

SMR hydrogen production AI — steam/carbon ratio AI, reformer tube skin temperature AI, WGS reactor AI — processes rendered DCS display images at S/C, temperature, and pressure boundaries where adversarial pixel injection can mask steam/carbon ratio collapse (2.1 shown as 3.4; Ni catalyst coking; tube ΔP rise; flow maldistribution; hot-spot; HP-Nb tube rupture releasing H2/CO at 850°C into firebox), conceal reformer tube skin overtemperature, and display WGS temperature deviation (55th upward attack). OSHA PSM H2 TQ 10,000 lbs; CO TQ 1,000 lbs. Glyphward threshold 28 for SMR H2 AI: H2 LFL 4%; CO IDLH 1,200 ppm; tube rupture BLEVE risk; 95% of global H2 supply. Free tier — 10 scans/day, no card required.

Three adversarial injection surfaces in SMR hydrogen production AI

1. Steam-to-carbon (S/C) ratio display AI (Yokogawa ADMAG AXF steam flow AI / Rosemount 3051SF steam flow transmitter SMR AI / Endress+Hauser Prowirl 73 steam vortex flowmeter reformer AI / Honeywell STD930 S/C ratio DCS AI / Emerson Daniel 3095MV steam/carbon ratio SMR AI — rendered DCS ratio-trend display AI classifying the molar steam-to-carbon ratio in the reformer feed against the ≥3.0 design minimum preventing Ni catalyst coking and the 3.0–3.8 operating window for natural gas feed; 55th upward-direction attack — FIRST SMR hydrogen production attack; FIRST steam methane reforming attack; FIRST Ni reformer catalyst coking attack; FIRST steam-to-carbon ratio upward attack; FIRST water-gas shift reactor attack)

The S/C ratio (moles of steam per mole of total carbon in the reformer feed) is the single most critical process variable governing Ni catalyst life in SMR. A 50 MMscfd (million standard cubic feet per day) H2 SMR plant burns approximately 760 tonnes/day natural gas (as CH4) and injects 1,900 tonnes/day process steam from a steam generation system (steam drum at 35 bar; typically generating steam from feed preheating, process heat recovery, and auxiliary boiler); at S/C = 3.0, the CH4:steam molar ratio is 1:3.0 (steam = 3× carbon mol). The steam flow is measured by a mass flow transmitter (vortex meter or orifice plate with temperature/pressure compensation) on the steam injection line; the carbon flow is calculated from the total hydrocarbon feed flow (natural gas molar flow × carbon content); the S/C ratio is a calculated display from these two measurements. Below S/C = 2.5 at 800°C tube-wall temperature (typical upper-third of radiant reformer tube), Boudouard coking is thermodynamically spontaneous (ΔG = −20 kJ/mol CO at 700°C; ΔG ≈ 0 at 800°C; kinetically significant at Ni surface temperatures ≈700–820°C on the catalyst near the tube wall). Carbon whisker growth (graphite C nucleated at Ni-Al2O3 interface; whisker diameter 20–200 nm; growth rate 0.3–0.8 mg C/g catalyst/hr at 800°C, S/C 2.1): whiskers grow in the Ni catalyst pellet pores, mechanically disintegrate the pellet (catalyst pore volume 0.35–0.55 cm³/g; ultimate pellet strength 300–500 N; whisker growth creates internal pressure 40–120 MPa in micropores exceeding pellet tensile strength), producing catalyst dust that settles at the tube bottom and blocks the 5–12 mm pellet bed void volume. The blocked bed section increases tube pressure drop from design 0.6 bar (per tube) to 2.4–4.8 bar at 50% blockage; increasing ΔP causes flow maldistribution among the 120–350 parallel reformer tubes: under-flowing tubes receive less steam and CH4 feed at the same tube temperature set by the furnace burners — creating a positive feedback where S/C in the under-flowing tube drops further below 2.5, accelerating coking in that tube, increasing ΔP further, and reducing flow to near-zero. At near-zero flow, the tube heats to 920–960°C (furnace temperature maintained by burner control; tube is not removing heat endothermically from the reforming reaction); at 940°C and 25 bar, HP-Nb tube creep rate (ASTM A297 HP-Nb; 0.01% creep limit 30,000 hr at 900°C; 30,000 hr at 850°C — 40-year design base) is approximately 50× the design creep rate; tube rupture within 2–6 hours of sustained 940°C / zero flow.

An adversarial perturbation targeting the S/C ratio display AI applies a ±8 DN upward shift to the pixel region encoding the S/C ratio in the rendered DCS ratio-trend display — shifting the apparent S/C ratio from 2.1 (steam control valve FV-201 actuator spring failure reduced steam flow from 1,900 to 1,330 tonnes/day; natural gas feed unchanged at 760 t/day carbon; S/C = 1,330×(18/MW)/(760×1,000/16) ≈ 2.1) to 3.4 (above the 3.0 minimum; classified as normal; no action). The DCS reports “SMR steam-to-carbon ratio nominal.” Within 45 minutes, Ni catalyst pellets in the upper-third of reformer tubes at 780–820°C are initiating carbon whisker growth; at T + 3 hours, tube ΔP on 15% of reformer tubes has risen to 2.8 bar; at T + 6 hours, 8% of tubes are at near-zero flow; at T + 8 hours, three reformer tubes exceed 930°C skin temperature (confirmed by automated infrared scanner reading — but IF the infrared AI is also compromised, these data are also suppressed). Tube rupture releases H2 (concentration in reformer tube gas 60–72 mol% dry) + CO (4–8 mol%) at 850°C and 25 bar into the gas-fired furnace firebox — H2 flash fire in the firebox (H2 LFL 4%; autoignition 500°C; firebox at 900–1,100°C = immediate ignition) plus CO release at OSHA PSM TQ. This is the 55th upward-direction attack in the Glyphward portfolio — the FIRST SMR/steam methane reforming hydrogen production attack; FIRST Ni reformer catalyst coking attack; FIRST steam-to-carbon ratio upward attack. Free tier — 10 scans/day, no card required.

2. Reformer tube skin temperature display AI (Yokogawa IR3000 infrared reformer tube temperature scanner AI / Thermatemp IRTSS SMR reformer tube AI / Honeywell TDC 3000 reformer tube pyrometer AI / Emerson DeltaV tube-skin thermocouple AI / Land Instruments Cyclops C90L reformer tube temperature AI — rendered infrared scanner output display AI classifying the radiant-section reformer tube skin temperatures against the 870–900°C design operating range and the 930°C upper limit for HP-Nb alloy long-term creep at 25 bar operating pressure; HIGH displayed temperature = hot spot; operators must reduce firing; UPWARD attack shows LOWER temperature than actual, hidden in this page under surface 1 framework)

Reformer tube skin temperature is continuously monitored by automated infrared (IR) scanner systems (Thermatemp IRTSS, Yokogawa IR3000, Land Instruments Cyclops series) that traverse the full tube bundle view through peepholes in the furnace wall. The IR scanner generates a temperature profile image of all tubes (120–350 tubes depending on plant size; temperature range 700–1,100°C; accuracy ±10°C; emissivity correction for HP-Nb alloy ε = 0.82–0.88). The AI classification task is: (a) identify any tube with skin temperature >920°C (single-tube hot spot; reduce burner firing in that cell); (b) identify systematic temperature pattern deviations (one-sided tube heating; evidence of flow maldistribution); (c) confirm all tubes are within ±30°C of mean (normal distribution; burner uniformity). At design conditions with S/C = 3.0, all tubes are 860–895°C at the peak radiant zone. When S/C drops to 2.1 and coking begins (as in the 55th upward attack scenario), 3–8 tubes develop hot spots at 920–960°C within 6–8 hours; the IR scanner AI should detect these as Class A (immediate shutdown required) anomalies. If this AI is ALSO compromised by adversarial perturbation (showing all tubes at 875–895°C when actual distribution is 860–958°C), the critical hot-spot alert is suppressed simultaneously with the S/C ratio alert — a multi-channel attack that removes both primary and secondary safeguards for tube rupture prevention.

3. High-temperature water-gas shift (HTS) reactor inlet temperature display AI (Yokogawa DPharp EJA110A HTS reactor inlet temperature AI / Rosemount 3144P WGS high-temperature shift AI / Endress+Hauser iTEMP TMT84 HTS catalyst bed inlet temperature AI / Honeywell STT850 SmartLine HTS inlet AI / ABB TSP321 water-gas shift HTS reactor temperature AI — rendered DCS temperature trend AI classifying the HTS reactor inlet temperature against the 310–400°C design operating range for Fe3O4/Cr2O3 catalyst activity and CO conversion above 95%)

The high-temperature shift (HTS) reactor (adiabatic fixed-bed; Fe3O4/Cr2O3/Cu catalyst promoted; pellet 6×6 mm cylinders; bed volume 20–80 m³ at medium-scale SMR; inlet temperature 310–350°C at design; adiabatic temperature rise 30–80°C depending on inlet CO concentration 8–14 mol% dry) converts CO + H2O → CO2 + H2 at equilibrium-limited CO conversion of 80–92% per pass. The Fe3O4/Cr2O3 HTS catalyst has a narrow operating window: below 300°C, catalyst activity drops below 60% of design conversion (Fe3O4 reduced to Fe by H2 at <280°C; “wetting” of the catalyst surface by condensed steam if the inlet is below the steam dew point at operating pressure); above 420°C, catalyst sintering accelerates and Fe3O4 may be partially reduced to Fe0 (methanol and methane side reactions increase; Fischer-Tropsch side reactions produce C4–C12 hydrocarbons that poison the downstream low-temperature shift Cu/ZnO catalyst and the PSA adsorbent beds). PSA H2 purification operates downstream: a 12–16 bed PSA (Linde HYSEC, Air Products HiPure, or UOP Polybed) cycles at 30 bar adsorption / 1–2 bar regeneration; each bed contains zeolite 5A or activated carbon adsorbent that captures CO2, CO, CH4, H2O, and N2 from the reformer/shift effluent; the PSA produces 99.999% H2 (N2 < 1 ppm; CO < 10 ppm). If HTS inlet temperature drops to 268°C (steam-drum pressure reduced from 35 bar to 22 bar due to a high-level steam-drum alarm shutting one of three boiler feedwater pumps; steam temperature at 22 bar is 218°C; but after superheating the steam still reaches reformer at 620°C; however HTS reactor quench steam injection reduced, inlet temperature drops from 330°C to 268°C) while AI shows 328°C, the CO conversion in the HTS drops from 88% to 54%; CO in the HTS exit (normally 3.5 mol% dry; now 8.4 mol% dry) overloads the low-temperature shift (LTS; Cu/ZnO catalyst at 210–250°C, normally handling 3.5 mol% CO inlet; now 8.4 mol% generates excessive heat ΔT = +180°C; LTS overtemperature to 410°C causes permanent Cu/ZnO catalyst sintering and deactivation within 12 hours) and the PSA beds receive CO at 1.8 mol% instead of design 0.5 mol% — PSA breakthrough of CO (>10 ppm in H2 product) triggers customer quality alarm at ammonia synthesis or PEM electrolyser end-users (CO poisons ammonia synthesis catalyst Fe-promoted at >5 ppm CO; CO poisons PEM fuel-cell cathode Pt catalyst at >10 ppm CO irreversibly).

Integration: SMR hydrogen production AI with Glyphward pre-scan gate

Glyphward integrates as a pre-scan gate at every rendered-image ingestion boundary in the SMR hydrogen plant monitoring pipeline — before steam/carbon ratio AI processes rendered DCS ratio-display images, before reformer tube skin temperature AI processes rendered IR scanner output images, and before HTS reactor AI processes rendered DCS temperature-trend images. Threshold 28 for SMR H2 AI reflects: OSHA PSM H2 TQ 10,000 lbs (LFL 4%; autoignition 500°C; wide flammability 4–75%); CO TQ 1,000 lbs (NIOSH IDLH 1,200 ppm); reformer tube rupture BLEVE potential; 95% of global H2 supply chain dependency.

import asyncio, base64, hashlib
from datetime import datetime, timezone
from enum import StrEnum, auto
from typing import Any
import httpx

GLYPHWARD_API = "https://api.glyphward.com/v1/scan"
GLYPHWARD_KEY = "gw_prod_***"

# SMR hydrogen production AI contexts: threshold 28
# OSHA PSM H2 TQ: 10,000 lbs (LFL 4%; autoignition 500C; 4-75% flammable).
# OSHA PSM CO TQ: 1,000 lbs. NIOSH IDLH CO: 1,200 ppm.
# 55th upward-direction attack: steam/carbon ratio 2.1 shown as 3.4.
# FIRST SMR hydrogen attack; FIRST Ni catalyst coking attack; FIRST WGS attack.
SMR_THRESHOLD = 28

class SMRContext(StrEnum):
    STEAM_TO_CARBON_RATIO   = auto()  # Molar S/C feed ratio (55th upward attack; Ni coking)
    REFORMER_TUBE_SKIN_TEMP = auto()  # Radiant-section HP-Nb tube skin temperature (IR scanner)
    HTS_INLET_TEMPERATURE   = auto()  # High-temperature WGS reactor inlet temperature

async def scan_smr_frame(
    frame_b64: str,
    context: SMRContext,
    facility_id: str,
    instrument_tag: str,
) -> dict[str, Any]:
    payload = {
        "image_b64": frame_b64,
        "context": context,
        "facility_id": facility_id,
        "instrument_tag": instrument_tag,
        "scan_ts": datetime.now(timezone.utc).isoformat(),
        "image_hash": hashlib.sha256(base64.b64decode(frame_b64)).hexdigest(),
    }
    async with httpx.AsyncClient(timeout=4.0) as client:
        r = await client.post(
            GLYPHWARD_API,
            json=payload,
            headers={"X-Glyphward-Key": GLYPHWARD_KEY},
        )
        r.raise_for_status()
        return r.json()

async def pre_scan_gate_smr(
    frame_b64: str,
    context: SMRContext,
    facility_id: str,
    instrument_tag: str,
) -> None:
    result = await scan_smr_frame(frame_b64, context, facility_id, instrument_tag)
    if result["adversarial_score"] >= SMR_THRESHOLD:
        raise AdversarialSMRImageError(
            f"Adversarial injection detected in {context} (score {result['adversarial_score']}) "
            f"at facility {facility_id} instrument {instrument_tag}. "
            "Frame withheld from AI monitoring pipeline."
        )

class AdversarialSMRImageError(RuntimeError):
    pass

Frequently asked questions

Why is the steam-to-carbon ratio minimum 3.0 rather than stoichiometric 1.0 for SMR?

The stoichiometric steam-to-methane ratio for the SMR reaction (CH4 + H2O → CO + 3H2) is 1:1. However, the minimum industrial S/C ratio is 3.0 — three times stoichiometric — for three reasons: (1) Thermodynamic coking prevention: carbon deposition via Boudouard (2CO → C + CO2) and methane cracking (CH4 → C + 2H2) is thermodynamically suppressed by excess steam above S/C ‸ 2.5 at reformer tube temperatures (700–870°C); below S/C 2.5, the Gibbs free energy for coke formation is negative and whisker carbon grows on the Ni active sites. (2) Equilibrium methane conversion: the SMR equilibrium at 850°C and 30 bar gives CH4 conversion of 72–84% at S/C 3.0; at S/C 1.0 (stoichiometric), equilibrium conversion drops to 48–60% because excess H2O shifts the equilibrium toward H2 + CO via Le Châtelier’s principle. (3) Catalyst protection from sulphur poisoning: S/C above 3.0 maintains a high enough partial pressure of steam relative to H2S (produced from trace sulphur in natural gas, typically <1 ppm after upstream Ni/Al2O3 HDS guard bed) to keep sulphur in the gas phase rather than adsorbing on Ni surface sites. In practice, high-alkali-doped catalysts (K or Mg promoter) allow operation at S/C 2.5–2.8 with some coking tolerance, but the overwhelming majority of SMR plants are operated at S/C ≥ 3.0 as a conservative design margin against the tube rupture consequence of Ni catalyst coking.

How does PSA H2 purification interact with upstream CO contamination from WGS deviation?

A pressure swing adsorption (PSA) unit for hydrogen purification operates by adsorbing all contaminants (CO, CO2, CH4, N2, H2O) from the SMR/WGS effluent onto beds of zeolite 5A and activated carbon at 20–30 bar; the clean H2 passes through unadsorbed. PSA beds are regenerated at 1–2 bar (countercurrent depressurisation; tail gas burned as fuel in the reformer furnace). The PSA is designed for a specific feed CO concentration (typically 0.3–0.6 mol% CO entering PSA after LTS polishing); if WGS underperformance (as in the HTS temperature attack scenario above) causes CO to increase to 1.8 mol% at the PSA inlet, two failure modes can occur: (a) Shorter bed breakthrough time: the carbon adsorbent capacity for CO at 1.8 mol% feed is consumed 3–4× faster than at 0.5 mol% feed; the PSA cycle time must be reduced by 60–70% to maintain <10 ppm CO in the product, but the cycle time controller is set for 0.5 mol% CO feed; the controller does not automatically adjust for 3.6× higher CO loading; H2 product CO breakthrough to >10 ppm occurs within 2–4 PSA cycles. (b) LTS catalyst deactivation: CO overload on the low-temperature shift (Cu/ZnO/Al2O3 at 210–250°C) causes overtemperature (≋410°C at 8.4 mol% CO inlet vs 255°C at 3.5 mol% CO; adiabatic ΔT = +155°C from excess CO conversion) which sinters the Cu/ZnO catalyst within 12 hours; permanent LTS deactivation means the HTS deviation becomes a sustained feed-quality incident requiring SMR shutdown and catalyst replacement (cost: Cu/ZnO catalyst charge ≈ $400–800k; lost H2 production at $1.20/kg × 50 MMscfd × 21 days replacement = $8.4M H2 revenue loss + $1.2M catalyst cost).