Membrane nitrogen generator
Hollow-fibre membrane nitrogen package: inlet block valve, coalescing, fine-coalescing and activated-carbon filters with auto drains to a drip tray, flanged electric air heater with TT, a framed rack of membrane modules with feed, product and permeate headers, a permeate / off-spec vent riser, O2 analyser cabinet with sample rotameter, product pressure-control valve and 3-way off-spec valve, and a buffer receiver with PSV, gauge, transmitter and drain. modules sets the rack size.
Installation
Copies packages/nitrogen-generator.tsx and the shared lib/ into src/components/deck-twin/. Needs three, @react-three/fiber and @react-three/drei. See installation for the manual route.
Usage
import { Canvas } from '@react-three/fiber'
import { OrbitControls } from '@react-three/drei'
import { Stage } from './components/deck-twin/lib/stage'
import { NitrogenGenerator } from './components/deck-twin/packages/nitrogen-generator'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<NitrogenGenerator />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
modules | number | null | 2 – 16 |
receiverDiameter | number (m) | null | 0.5 – 1.6 |
receiverHeight | number (m) | null | 1 – 3 |
pressure | number (barg) | null | 8 – 20 |
airNps | number (NPS, in) | null | |
n2Nps | number (NPS, in) | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Dash-dot package boundary with air filters (diamond with a dashed line), an air heater, membrane modules (rectangles with a diagonal dashed membrane line, permeate vented to atmosphere) and a nitrogen receiver before the N2 outlet.
Membrane modules with a vent line identify the generator; a nitrogen bottle rack is a gas-cylinder-quad. Often shown on the utilities P&ID as a single package box. ISA codes here: AT = O2.
modulesreceiverDiameterreceiverHeightpressureairNpsn2NpstagTypical suppliers
Semco Maritime · Air Products (PRISM) · BERG Kompressoren · Atlas Copco. The geometry is generic and sized from public standards. It is not vendor CAD.
For agents
Machine-readable entry with props, ranges, defaults and ports:
Or fetch /r/nitrogen-generator.json, or copy a ready-made instruction:
Add the Deck Twin "Membrane nitrogen generator" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add nitrogen-generator` (it copies the file and the shared lib into src/components/deck-twin/), then `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz info nitrogen-generator` for its props, ranges and ports. Render <NitrogenGenerator /> inside a React Three Fiber <Canvas shadows>, wrapped in <Stage> from src/components/deck-twin/lib/stage. Set props from my data (metres, NPS in inches, ASME class) and leave the rest at defaults. Install three, @react-three/fiber, @react-three/drei and @types/three if they're missing. Full guide: https://decktwin.com/skill/SKILL.md