Fiscal metering skid

Liquid or gas fiscal metering skid: inlet and outlet headers with blind-flanged ends, parallel meter runs (ultrasonic or turbine) each with an inlet block valve, basket strainer with DP gauge, plate flow conditioner, 10D / 5D straight lengths, P transmitter, duplicate TTs plus a test thermowell, thermal relief valve and a motor-operated DBB outlet valve with body bleed, plus a prover header with MOV diverters, prover return with check valve, sampler, densitometer loop, local JB and overhead cable tray. runs sets the run count and skid width.

API MPMS Ch. 4 / 5ISO 17089-1AGA 9ASME B16.5ASME B16.10
Drag to orbit, scroll to zoom
Parameters
–

Installation

$npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add metering-skid

Copies packages/metering-skid.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 { MeteringSkid } from './components/deck-twin/packages/metering-skid'

export default function Scene() {
  return (
    <Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
      <Stage>
        <MeteringSkid />
      </Stage>
      <OrbitControls makeDefault />
    </Canvas>
  )
}

Props

PropTypeDefaultRange
runsnumbernull1 – 6
meterType"ultrasonic" | "turbine"null
headerNpsnumber (NPS, in)null
runNpsnumber (NPS, in)null
rating150 | 300 | 600 | 900 | 1500 | 2500null
tagstringnull
...groupposition, rotation, scale…

P&ID

P&ID symbol for metering-skid

Dash-dot boundary with an inlet header and outlet header joined by parallel meter runs; each run has an inlet block valve, strainer, flow element (FE / FQ, ultrasonic or turbine) with PT and TT, and an outlet valve; a prover connection and sampler may be shown.

tag Xtag AISA FEISA FTISA FQIISA FQISA PTISA TTISA ATISO 10628-2 / PIP PIC001 (package boundary with contents); ISA 5.1 FE / FQ

Parallel identical runs between two headers are the signature. A single flowmeter in a line is an instrument, not a metering skid; a compact prover (X-R155 type) is a separate box connected by the prover loop. ISA codes here: AT = sampler / densitometer.

Fiscal metering system datasheet (API MPMS Ch. 4 / 5, AGA 9 / ISO 17089-1) fields and the props they set
Number of meter runsruns
Meter typemeterType
Header sizeheaderNps
Meter run sizerunNps
Flange ratingrating
Tag numbertag

Typical suppliers

Emerson (Daniel) · KROHNE · Sensia / SLB (Caldon). 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:

$npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz info metering-skid

Or fetch /r/metering-skid.json, or copy a ready-made instruction:

Add the Deck Twin "Fiscal metering skid" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add metering-skid` (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 metering-skid` for its props, ranges and ports. Render <MeteringSkid /> 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