Gas filter-separator
Horizontal two-stage gas filter-separator: coalescing filter section and vane section in the upper barrel, one liquid sump barrel per stage with its own downcomer, level gauge and drain, and a davit-hinged quick-opening closure with locking band, handwheel and pressure-warning lock for element change-out. Saddles, sump level gauges, PDI across the elements, nameplate and lifting lugs.
Installation
Copies vessels/filter-separator.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 { FilterSeparator } from './components/deck-twin/vessels/filter-separator'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<FilterSeparator />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
diameter | number (m) | null | 0.3 – 2 |
length | number (m) | null | 1.5 – 10 |
sumpDiameter | number (m) | null | 0.2 – 0.8 |
pressure | number (barg) | null | 5 – 200 |
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
inletNps | number (NPS, in) | null | |
outletNps | number (NPS, in) | null | |
drainNps | number (NPS, in) | null | |
insulated | boolean | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Horizontal vessel with filter elements (dashed vertical lines) in the first section, a vane or mesh pack in the second, a smaller liquid sump barrel below joined by downcomers, and a quick-opening closure (thick bar) at the filter end.
The second barrel underneath and the filter elements tell it from a horizontal separator. A vertical housing with cartridges is a cartridge-filter.
diameterlengthsumpDiameterpressureratinginletNpsoutletNpsdrainNpsinsulatedtagTypical suppliers
Parker (PECO). 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/filter-separator.json, or copy a ready-made instruction:
Add the Deck Twin "Gas filter-separator" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add filter-separator` (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 filter-separator` for its props, ranges and ports. Render <FilterSeparator /> 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