Pressure switch
Explosion-proof pressure switch on a 1/2" weld-neck flange (port process, facing down) through a bar-stock block valve with bleed plug: a bolted diaphragm-sealed sensing element under a cast Ex d enclosure with a threaded round cover, set-point access cap and a gland on the conduit entry.
Installation
Copies instruments/pressure-switch.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 { PressureSwitch } from './components/deck-twin/instruments/pressure-switch'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<PressureSwitch />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
housing | "actuatorBlue" | "stainless" | "aluminium" | "equipmentPaintDark" | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Field bubble with PS plus H / HH / L / LL (PSH, PSHH, PSL, PSLL) on a short process connection, usually feeding a trip.
Switches have S as the function letter and no T. A PSV is a relief valve, not a switch: PSV has V for valve. PDSH across a filter is a differential pressure switch.
ratinghousingtagTypical suppliers
Ashcroft. 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/pressure-switch.json, or copy a ready-made instruction:
Add the Deck Twin "Pressure switch" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add pressure-switch` (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 pressure-switch` for its props, ranges and ports. Render <PressureSwitch /> 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