Compact piston prover
Small-volume (compact) piston prover on a skid: honed flow tube between bolted inlet and outlet housings, nitrogen spring plenum with charge panel, optical switch housing with detector blocks, duplicate flow-tube TTs and housing PTs, a hydraulic piston-return pack, and a motor-operated 4-way diverter valve with seal-check bleed that sends meter flow through the prover in either direction. Prover controller, cable tray, supports and shackled padeyes.
Installation
Copies packages/compact-prover.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 { CompactProver } from './components/deck-twin/packages/compact-prover'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<CompactProver />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
nps | number (NPS, in) | null | |
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
tubeLength | number (m) | null | 1.2 – 4 |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
A horizontal flow tube with a piston (displacer) drawn inside and two detector switches on top marking the calibrated volume, connected by a prover loop with valves to the metering skid; often just a box labelled "prover".
Piston in a tube with detector marks = compact prover; a long U-shaped pipe loop with spheres is a conventional ball prover. ISA codes here: ZS = detector.
npsratingtubeLengthtagTypical suppliers
Emerson (Brooks / Daniel) · Welker · Ergil. 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/compact-prover.json, or copy a ready-made instruction:
Add the Deck Twin "Compact piston prover" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add compact-prover` (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 compact-prover` for its props, ranges and ports. Render <CompactProver /> 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